# tray menu   --  run programs from the system tray

**URL:** https://support.blue-systems.com/t/tray-menu-run-programs-from-the-system-tray/4400
**Category:** Rolling 2018.01
**Created:** [February 14, 2018, 12:24am UTC](https://support.blue-systems.com/t/tray-menu-run-programs-from-the-system-tray/4400 "2018-02-14T00:24:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sp2004c](https://support.blue-systems.com/letter_avatar/sp2004c/32/5_5575768a8748004e209b776fc1b2916d.png) [@sp2004c](https://support.blue-systems.com/u/sp2004c)
#### Post date: [February 14, 2018, 12:24am UTC](https://support.blue-systems.com/t/tray-menu-run-programs-from-the-system-tray/4400/1 "2018-02-14T00:24:23Z")

</div>

finally! the deployment crisis is over! 😉

[attachment=1110]  
ever installed a package and a menu entry for it was nowhere to be found?  
in 30 years of Linux, nobody wanted to fix this deployment crisis.  
[attachment=1108]  
Hence, only ONE solution remains: create your menu manually yourself.  
Nothing else will ever work in Linux.  
How? just put a bash line into the traymenu, restart, done. Greatest tool ever!! 😃🙂

in the attached .zip file is just an icon and this little bash script “tray menu”

* * *

```auto
#!/bin/bash

# This is the Traymenu 2.5 script, which can be conveniently auto-started at every log-in.

# it must reside as an executable (set the EXE bit attribute) text file named : /home/YOU/traymenu

# traymenu works well in liquidshell !

# You can add menu items in a very simple manner, by adding a line in this script file.
# This makes sense for programs which are not found by "PkgBrowser"
# and hence must be added manually: possible examples are "packagesearch", "apper" or "xara" , "App-finder" // in Debian , anyway.
# make sure you have a nice icon file in place at ~ which is like /home/YOU/tm.png

# click middle mouse button to quit this Traymenu

# run 
# sudo pacman -S install gksudo yad
# in Netrunner Rolling Release 2018.1 to have everything working
cd $HOME # keep icon in symlinked autostart, this line is not in the zipfile yet

PIPE="$HOME/.pipe.tmp"
rm $PIPE
mkfifo $PIPE
exec 3<> $PIPE
yad --notification --listen <&3 &

# do not use ~ , use $HOME instead                   
echo "menu:\
dolphin !dolphin . |\
kate !kate & |\
su mc !gksudo -u root konsole |\
                                                        |\
edit this tray menu 2.5 !kate $HOME/traymenu |\
new tray menu after edit ! $HOME/traymenu | " >&3

echo "icon:$HOME/tm.png" >&3
echo "tooltip:Tray menu - right click on icon for a user-modifiable menu" >&3

# tooltip seems to be broken in currenty yad - may work if fixed later

# release thread 2016 : this version = 2.5 https://forum.mxlinux.org/viewtopic.php?p=396865#p396865 
# dolphin !dolphin & |\
```
