yad --notification --menu="xfce4-appfinder so-called!xfce4-appfinder|Firefox webbrowser!firefox" &
for a menu to start Firefox or Appfinder, mid-button to quit. This is very convenient, because some of the best apps must be added manually to a menu. Here is a super convenient menu: no endless password entry required for thunar (dolphin) etc.
save it as /home/demo/traymenu file and goto services / autostart to activate. Just so convenient !
(note: the attachment (unfortunately invisible to unregistered users) is just some tm.png icon, use any other icon that you like in its place , i.e. /home/demo/tm.png ! (I used a cookie or an ace of hearts playing card icon in the screen shots)
Code: Select all
# This is the Traymenu 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/demo/traymenu
# 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 "App-finder"
# and hence must be added manually: possible examples are "packagesearch", "apper" or "xara".
# make sure you have a nice icon file in place at: /home/demo/tm.png
# click middle mouse button to quit this Traymenu
exec 3<> $PIPE
yad --notification --listen <&3 &
# do not use ~ , use $HOME instead
appfinder !xfce4-appfinder & |\
edit 'extlinux.conf' bootmenu !gksudo -u root leafpad /live/boot-dev/boot/extlinux/extlinux.conf & |\
su thunar !gksudo -u root thunar |\
edit this tray menu 2.4 !leafpad $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
# release thread 2016 : this version = 2.4 https://forum.mxlinux.org/viewtopic.php?p=396865#p396865