easy tray menu - consider adding it to MX-16

Here you can exchange scripts that you created or have permission to share with other users.
Message
Author
User avatar
Jerry3904
Administrator
Posts: 21881
Joined: Wed Jul 19, 2006 6:13 am

Re: easy tray menu - consider adding it to MX-16

#21 Post by Jerry3904 »

I have no time ATM to spend with this, just wanted to take an initial look. Saved it, made it executable, ran into an error:

Code: Select all

jb@UTRA:~/MX $ ./yop_menu
rm: cannot remove ‘/home/jb/.pipe.tmp’: No such file or directory
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

user755
Posts: 35
Joined: Sat Nov 05, 2016 8:14 am

Re: easy tray menu - consider adding it to MX-16

#22 Post by user755 »

Jerry3904 wrote:I have no time ATM to spend with this, just wanted to take an initial look. Saved it, made it executable, ran into an error:

Code: Select all

jb@UTRA:~/MX $ ./yop_menu
rm: cannot remove ‘/home/jb/.pipe.tmp’: No such file or directory
please keep the filename as:


/home/demo/traymenu


maybe I should make that more obvious. Thanks though! :puppy:

user755
Posts: 35
Joined: Sat Nov 05, 2016 8:14 am

Re: easy tray menu - consider adding it to MX-16

#23 Post by user755 »

I refined the script a little, thanks!

user755
Posts: 35
Joined: Sat Nov 05, 2016 8:14 am

Re: easy tray menu - consider adding it to MX-16

#24 Post by user755 »

please also note I made a note in the "long form" above, saying that

rm: cannot remove ‘/home/jb/.pipe.tmp’: No such file or directory

can be safely ignored, while there is no redirect to dev null of this err msg.


overall, netbook users like myself have a real handy tool at heir hands with this, else I would not waste my time on such stuff. improvements welcome! :cool:

User avatar
Jerry3904
Administrator
Posts: 21881
Joined: Wed Jul 19, 2006 6:13 am

Re: easy tray menu - consider adding it to MX-16

#25 Post by Jerry3904 »

I have no more time now, but should you replace "demo" with "$USER"?
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

user755
Posts: 35
Joined: Sat Nov 05, 2016 8:14 am

Re: easy tray menu - consider adding it to MX-16

#26 Post by user755 »

worth checking out.

~ already failed with yad ... so ...

user755
Posts: 35
Joined: Sat Nov 05, 2016 8:14 am

new version 2.4

#27 Post by user755 »

Jerry3904 wrote:I have no more time now, but should you replace "demo" with "$USER"?
OK, I updated to ver. 2.4 using $HOME

:turtle: advantages:
- just works auto-started, unlike other menues I could mention
- saves repeated entry of root password for call of thunar/dolphin etc.
- fast even on netbooks, everything is kept in ONE SINGLE FILE named /home/demo/traymenu
- works in 3 DTE : KDE, LXDE, XFCE plus probably others
- appfinder seems unlikely to ever find all relevant apps in most distros, so the only solution is a fully manual menu

user755
Posts: 35
Joined: Sat Nov 05, 2016 8:14 am

Re: easy tray menu - consider adding it to MX-16

#28 Post by user755 »

possible traps:

- with openbox, sudo dolphin may not work, use plasma DT
- autostart in KDE: check "symlink" else a file copy will used, which is usually not desirable

Post Reply

Return to “Scripts”