Topic: ADesk Menu .. a menu for your systray
Hello ..
yes , again a python/gtk script .. ![]()

Source : adesk-menu_0.2.tar.bz2
Video : http://www.youtube.com/watch?v=9QoXAgOgqts
Last edited by ADcomp (2009-12-16 11:06:57)
ADcomp
CrunchBang Linux Forums » Tips, Tricks & Scripts » ADesk Menu .. a menu for your systray
Hello ..
yes , again a python/gtk script .. ![]()

Source : adesk-menu_0.2.tar.bz2
Video : http://www.youtube.com/watch?v=9QoXAgOgqts
Last edited by ADcomp (2009-12-16 11:06:57)
Fantastic, it's exactly the only thing missing to Tint2, and now Tint2 could have a menu !
I test your menu, no bugs for the moment ... good job !
I keep it on my systray, thanks you ADcomp ![]()
Edit : I just change the logo for a more "CrunchBang" one
Last edited by Kookaburra (2009-12-15 11:02:20)
It is good i really like it, but when i have a web browser open for example the menu pops up behind the window.
Great work as always
Works flawlessly on default 9.04 install ![]()

I have got htop in my system menu but when I click on it X crashes, the mouse moves but i can't click on anything or use any keyboard shortcuts. I am still testing it to find bugs.
^ ah, you found a bug
X doesn't crash for me but htop just doesn't launch.
but htop just doesn't launch.
Yes me too.
@ADcomp : why you don't create au launchpad page, in order to put all your project ? It's could be great ! ![]()
https://launchpad.net/projects/+new
Hello .. thanks for feedbacks ![]()
So , here first update : adesk-menu_0.1.tar.bz2
* htop should work fine now ..
* menu should always appear above other windows ..
* adesk-menu -s => save menu to ~/.config/adesk-menu/config. So you can modify it to custom menu
* ..
Bye
I have tested it again and it appears above all other windows. I generated the config file using the command so I could change the command to get htop working because nothing happened when I clicked on it in the menu.
Last edited by craigh (2009-12-16 00:12:40)
Hi craigh,
One question .. Do you have x-terminal-emulator on your system ? ( I use it if 'Terminal=true' in .desktop file .. like htop )
david@acer-desktop:~$ which x-terminal-emulator
/usr/bin/x-terminal-emulator
david@acer-desktop:~$ ll /usr/bin/x-terminal-emulator
/usr/bin/x-terminal-emulator -> /etc/alternatives/x-terminal-emulator
david@acer-desktop:~$ ll /etc/alternatives/x-terminal-emulator
/etc/alternatives/x-terminal-emulator -> /usr/bin/terminatorif not , you can modify adesk-menu ( line 83 ) .. simply change x-terminal-emulator with your terminal app. ( terminator ? )
cmd = "x-terminal-emulator -e %s" % cmdto
cmd = "terminator -e %s" % cmdGr8!
Last edited by Zwopper (2009-12-16 00:39:36)
i love it! this is going straight into my autostart. many thanks ADComp!
It really is very good, works very well in an instant
As you know with openbox the menu is always just where you want it - right click anywhere and there it is.. Could this menu somehow be called up also by clicking on the desktop? - say with CTRL+Right click, or middle click or something?
Could this menu somehow be called up also by clicking on the desktop?
no .. not yet, anyway.
Hi tawan,
Here for you : adesk-menu_0.2.tar.bz2
Video : ADesk Menu v0.2 ( youtube )
adesk-menu -tSo now you can call up menu with any key|mousebind you want .. ![]()
Bye
Last edited by ADcomp (2009-12-16 11:03:01)
hey nice!
I have added it to CTRL+ALT+m - it works perfectly.
I'd like it on a better combination but that is a minor detail for me to work out, thanks a lot, it works great.
Hi tawan,
Here for you : adesk-menu_0.2.tar.bz2
Video : ADesk Menu v0.2 ( youtube )
adesk-menu -tSo now you can call up menu with any key|mousebind you want ..
Bye
@ADComp, there is a slight problem with your adesk-menu -t feature....it won't work unless adesk-menu is already running. I find this to be a problem because I'm using your cbpanel program (which I enjoy very much, thank you) and I wanted to get the menu button to display adesk-menu. There is already an icon in the systray, however, making it redundant. I'm sorry if this seems petty but I rather like my menu buttons to be on the corner of the screen, which with cbpanel, adesk-menu is not...could you help me out?
I was also curious as to whether cbpanel was still in development....I don't know python myself but am willing to learn if you don't mind me taking it over. Could you point me to some good resources, please? Thanks.
Hi mahatman2,
Ok .. I guess so, like add an option to not show icon in systray. I do it when I have some free time ![]()
cbpanel is more like a 'proof of concept' .. Most people here use tint2
Python is cool ![]()
Python : http://docs.python.org/tutorial/
PyGtk : http://faq.pygtk.orgTwo another nice tuto ( python and pygtk ) .. well explained
Python : http://zetcode.com/tutorials/pythontutorial/
PyGtk : http://zetcode.com/tutorials/pygtktutorial/A good book : http://www.diveintopython.org/
Howto write your own widget : http://www.pygtk.org/articles/cairo-pyg dgets2.htm
if you want to play with gstreamer : http://pygstdocs.berlios.de/pygst-tutorial/
Aight, THanks! THis will come in handy.
would you mind if I tried my hand at cbpanel? I don't know what I'd do, but I thought your permission might be nice.
Last edited by mahatman2 (2009-12-16 20:05:53)
@mahatman2: go
.. but take care! I'm not a guru coder .. so perhaps my code isn't a good example ![]()
send me a PM is you need more info.
Its better than thelauncher - better memory usage.
option to not show icon in systray
- super
and an option to control placement of the menu.
Would be great for my oroborus + tablaunch desktop.:D
It doesn't work for me ![]()
I execute the script, the systray icon does appear, however whenever I click on it, the menu seems to appear but it appears off screen (I don't know if I explained clearly...my tint2 systray is on the bottom right, when I click on ADesk Menu, it seems to appear but under the icon...which makes it appear off screen!)
I'm using Compiz as a standalone WM.
Last edited by cbrunos (2009-12-30 19:27:05)
@cbrunos : menu works fine with openbox / tint2 ( top or bottom ) .. so it's maybe compiz and I can't help you. ![]()
but if I have time , I install compiz ..
I tried to put my tint2 on top of the screen. This time it works perfectly! The menu comes down and I can see it. It seems to be an orientation problem.
But what I'm interested in, is being able to ctrl-right click anywhere and summon the menu.
But the
adesk-menu -tdoesn't work, even when adeskemnu is already running...do I have to put the adeskmenu executable somewhere specific for this function to work?
Last edited by cbrunos (2009-12-30 20:53:14)
Hi,
adeskbar is beatiful app. Still i have some questions (i am newbie here, so maybe these questions are answered):
1) how can i run multiple docks (and can i configure each one separate)?
2) how can i set them to work at startup?
Thanks and regards
Posts [ 1 to 25 of 79 ]
CrunchBang Linux Forums » Tips, Tricks & Scripts » ADesk Menu .. a menu for your systray
Forums powered by PunBB. Hosted by Linode.
Copyright © CrunchBang Linux.
Proudly powered by Debian GNU/Linux.
Debian is a registered trademark of Software in the Public Interest, Inc.