Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

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
Forum Veteran
Forum Veteran
Posts: 21644
Joined: Wed Jul 19, 2006 6:13 am

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

#21 Post by Jerry3904 » Mon Nov 14, 2016 10:48 am

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: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

user755
Forum Novice
Forum  Novice
Posts: 59
Joined: Sat Nov 05, 2016 8:14 am

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

#22 Post by user755 » Mon Nov 14, 2016 10:55 am

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
Forum Novice
Forum  Novice
Posts: 59
Joined: Sat Nov 05, 2016 8:14 am

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

#23 Post by user755 » Mon Nov 14, 2016 10:58 am

I refined the script a little, thanks!

user755
Forum Novice
Forum  Novice
Posts: 59
Joined: Sat Nov 05, 2016 8:14 am

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

#24 Post by user755 » Mon Nov 14, 2016 11:07 am

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
Forum Veteran
Forum Veteran
Posts: 21644
Joined: Wed Jul 19, 2006 6:13 am

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

#25 Post by Jerry3904 » Mon Nov 14, 2016 11:15 am

I have no more time now, but should you replace "demo" with "$USER"?
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

user755
Forum Novice
Forum  Novice
Posts: 59
Joined: Sat Nov 05, 2016 8:14 am

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

#26 Post by user755 » Mon Nov 14, 2016 11:19 am

worth checking out.

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

user755
Forum Novice
Forum  Novice
Posts: 59
Joined: Sat Nov 05, 2016 8:14 am

new version 2.4

#27 Post by user755 » Tue Nov 15, 2016 6:08 am

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
Forum Novice
Forum  Novice
Posts: 59
Joined: Sat Nov 05, 2016 8:14 am

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

#28 Post by user755 » Tue Nov 15, 2016 7:42 am

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”