SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2009-12-15 09:55:49

ADcomp
Python Script Master
From: Belgium
Registered: 2008-12-22
Posts: 598
Website

ADesk Menu .. a menu for your systray

Hello ..

yes , again a python/gtk script ..  smile

adesk-menu.png

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)


David [aka] ADcomp

Offline

Help fund CrunchBang, donate to the project!

#2 2009-12-15 10:38:55

Kookaburra
#! CrunchBanger
From: Orléans - France
Registered: 2009-09-03
Posts: 234

Re: ADesk Menu .. a menu for your systray

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 wink


Edit : I just change the logo for a more "CrunchBang" one tongue wink

1260874842.jpg

Last edited by Kookaburra (2009-12-15 11:02:20)

Offline

#3 2009-12-15 18:40:44

craigh
#! CrunchBanger
From: UK
Registered: 2009-08-02
Posts: 209

Re: ADesk Menu .. a menu for your systray

It is good i really like it, but when i have a web browser open for example the menu pops up behind the window.


Running Crunchbang on eee pc 701 and Dell Mini 10v.

Offline

#4 2009-12-15 18:54:47

rizzo
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,100

Re: ADesk Menu .. a menu for your systray

Great work as always big_smile Works flawlessly on default 9.04 install cool

Testing_Adeskmenu_by_omns.png

Offline

#5 2009-12-15 18:58:58

craigh
#! CrunchBanger
From: UK
Registered: 2009-08-02
Posts: 209

Re: ADesk Menu .. a menu for your systray

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.


Running Crunchbang on eee pc 701 and Dell Mini 10v.

Offline

#6 2009-12-15 19:02:32

rizzo
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,100

Re: ADesk Menu .. a menu for your systray

^ ah, you found a bug smile X doesn't crash for me but htop just doesn't launch.

Offline

#7 2009-12-15 19:23:52

Kookaburra
#! CrunchBanger
From: Orléans - France
Registered: 2009-09-03
Posts: 234

Re: ADesk Menu .. a menu for your systray

omns wrote:

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 ! smile

https://launchpad.net/projects/+new

Offline

#8 2009-12-15 22:02:21

ADcomp
Python Script Master
From: Belgium
Registered: 2008-12-22
Posts: 598
Website

Re: ADesk Menu .. a menu for your systray

Hello .. thanks for feedbacks  big_smile

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


David [aka] ADcomp

Offline

#9 2009-12-16 00:12:20

craigh
#! CrunchBanger
From: UK
Registered: 2009-08-02
Posts: 209

Re: ADesk Menu .. a menu for your systray

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)


Running Crunchbang on eee pc 701 and Dell Mini 10v.

Offline

#10 2009-12-16 00:27:04

ADcomp
Python Script Master
From: Belgium
Registered: 2008-12-22
Posts: 598
Website

Re: ADesk Menu .. a menu for your systray

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/terminator

if not , you can modify adesk-menu ( line 83 ) .. simply change x-terminal-emulator with your terminal app. ( terminator ? )

            cmd = "x-terminal-emulator -e %s" % cmd

to

            cmd = "terminator -e %s" % cmd

David [aka] ADcomp

Offline

#11 2009-12-16 00:39:21

Zwopper
The GIMP Pimp
From: Deep in The Swedish Woods
Registered: 2008-11-28
Posts: 580
Website

Re: ADesk Menu .. a menu for your systray

Gr8!

Last edited by Zwopper (2009-12-16 00:39:36)


My artwork at deviantART   |    My Tweet   | My upcoming web page
Crea diem!
Lenovo ThinkPad E320 | 8GB | 120GB Samsung 840 SSD | Xubuntu 12.10 & #! Waldorf

Offline

#12 2009-12-16 00:52:15

brummbaer
Member
From: portland, or
Registered: 2009-10-16
Posts: 47
Website

Re: ADesk Menu .. a menu for your systray

i love it! this is going straight into my autostart. many thanks ADComp!


Hell, there are no rules here - we're trying to accomplish something.  - T. A. Edison
http://www.grendelchen.com/  | brummbaer456 at gmail dot com

Offline

#13 2009-12-16 07:21:54

tawan
#! Junkie
Registered: 2009-01-30
Posts: 385
Website

Re: ADesk Menu .. a menu for your systray

It really is very good, works very well in an instant smile

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?


I blog too much....       geek stuff LinuxMintDebian | linux noob stuff LinuxMintNoob | spiritual stuff Daily Cup of Tao

Offline

#14 2009-12-16 09:29:53

ADcomp
Python Script Master
From: Belgium
Registered: 2008-12-22
Posts: 598
Website

Re: ADesk Menu .. a menu for your systray

tawan wrote:

Could this menu somehow be called up also by clicking on the desktop?

no .. not yet, anyway.


David [aka] ADcomp

Offline

#15 2009-12-16 11:00:53

ADcomp
Python Script Master
From: Belgium
Registered: 2008-12-22
Posts: 598
Website

Re: ADesk Menu .. a menu for your systray

Hi tawan,

Here for you : adesk-menu_0.2.tar.bz2

Video : ADesk Menu v0.2 ( youtube )

adesk-menu -t

So now you can call up menu with any key|mousebind you want .. big_smile

Bye

Last edited by ADcomp (2009-12-16 11:03:01)


David [aka] ADcomp

Offline

#16 2009-12-16 11:29:19

tawan
#! Junkie
Registered: 2009-01-30
Posts: 385
Website

Re: ADesk Menu .. a menu for your systray

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.

ADcomp wrote:

Hi tawan,

Here for you : adesk-menu_0.2.tar.bz2

Video : ADesk Menu v0.2 ( youtube )

adesk-menu -t

So now you can call up menu with any key|mousebind you want .. big_smile

Bye


I blog too much....       geek stuff LinuxMintDebian | linux noob stuff LinuxMintNoob | spiritual stuff Daily Cup of Tao

Offline

#17 2009-12-16 17:51:12

mahatman2
#! Die Hard
From: Chattanooga TN
Registered: 2009-09-13
Posts: 550

Re: ADesk Menu .. a menu for your systray

@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.


Punch all your friends.

Offline

#18 2009-12-16 18:47:00

ADcomp
Python Script Master
From: Belgium
Registered: 2008-12-22
Posts: 598
Website

Re: ADesk Menu .. a menu for your systray

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 wink

cbpanel is more like a 'proof of concept' .. Most people here use tint2

Python is cool  cool

ADcomp wrote:

Python : http://docs.python.org/tutorial/   big_smile
PyGtk : http://faq.pygtk.org

Two 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/


David [aka] ADcomp

Offline

#19 2009-12-16 20:05:14

mahatman2
#! Die Hard
From: Chattanooga TN
Registered: 2009-09-13
Posts: 550

Re: ADesk Menu .. a menu for your systray

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)


Punch all your friends.

Offline

#20 2009-12-17 02:21:20

ADcomp
Python Script Master
From: Belgium
Registered: 2008-12-22
Posts: 598
Website

Re: ADesk Menu .. a menu for your systray

@mahatman2: go smile .. but take care! I'm not a guru coder .. so perhaps my code isn't  a good example hmm

send me a PM is you need more info.


David [aka] ADcomp

Offline

#21 2009-12-22 00:12:24

harii
Member
From: La Porte City , IA , U.S.A
Registered: 2009-02-08
Posts: 11
Website

Re: ADesk Menu .. a menu for your systray

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

Offline

#22 2009-12-30 19:26:46

cbrunos
#! Member
From: Strasbourg, France
Registered: 2009-09-22
Posts: 73
Website

Re: ADesk Menu .. a menu for your systray

It doesn't work for me sad
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)


Xmonad is the best way to get things done, fast.
My french linux blog: http://cbrunos.wordpress.com

Offline

#23 2009-12-30 20:17:12

ADcomp
Python Script Master
From: Belgium
Registered: 2008-12-22
Posts: 598
Website

Re: ADesk Menu .. a menu for your systray

@cbrunos :  menu works fine with openbox / tint2 ( top or bottom ) .. so it's maybe compiz and I can't help you.  sad
but if I have time , I install compiz  ..


David [aka] ADcomp

Offline

#24 2009-12-30 20:48:57

cbrunos
#! Member
From: Strasbourg, France
Registered: 2009-09-22
Posts: 73
Website

Re: ADesk Menu .. a menu for your systray

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 -t

doesn'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)


Xmonad is the best way to get things done, fast.
My french linux blog: http://cbrunos.wordpress.com

Offline

Help fund CrunchBang, donate to the project!

#25 2010-01-29 20:54:43

wassm.
Member
Registered: 2009-09-06
Posts: 41

Re: ADesk Menu .. a menu for your systray

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


Dell Mini 10v, 1GB RAm, 160 GB Hard Disk, #! (testing)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo