LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
3.0 64 bit lite-tweaks --- not relevant my mistake
#1
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
Good Luck
Reply
#2
(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 Smile
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)