06-21-2016, 07:23 AM
(06-21-2016, 01:02 AM)aus9 link Wrote: Hi
clean install no updates no software removed then I run as root and gui opens OK
Code:root@asus:/home/gordon# lite-tweaks
find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional
(-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.
cat: '/root/.config/xfce4/panel/whiskermenu-*.rc': No such file or directory
ls: cannot access '/root/.local/share/Trash/files/': No such file or directory
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
looking at possible answers I get
Code:find / -name whisker*
/home/gordon/.config/xfce4/panel/whiskermenu-1.rc
/var/lib/dpkg/info/whiskermenu.list
/var/lib/dpkg/info/whiskermenu.md5sums
/usr/share/xfce4/panel/plugins/whiskermenu.desktop
/etc/skel/.config/xfce4/panel/whiskermenu-1.rc
find: ‘/run/user/1000/gvfs’: Permission denied
IMHO looks trivial to fix the skel or root rc file
the max depth lines appear to be these
Code:cat /usr/bin/lite-tweaks | grep maxdepth
if [ "$(find /var/cache/apt/archives/ -maxdepth 1 -size +100k)" ]; then
if [ "$(find /var/log -type f \( -iname \*.gz -o -iname \*.0 -o -iname \*.1 \) -maxdepth 100 -size +1k)" ]; then
Not that I am a coder so feel free to ignore my feedback
Lite Tweaks was not designed to be run as root, and doesn't need to be. Cheers