View Full Version : Desktop Menu plugin
mikedee
March 9th, 2007, 05:26 PM
This plugin activates the desktop menu when you click on the desktop.
The porting was standard except there is no pionterOnlyOnDesktop function in Compiz. This function seems like it would be slow and seems unnecessary to me.
I have changed it so that it listens for EnterNotify and LeaveNotify events and then updates an internal flag. I removed the command options because I am not sure why they are really necessary, they are provided by core.
It seems to work (it pops up my KDE menu when I click on the desktop). I have tested it with a desktop window and without, both work so please report any other problems.
There is no gconf schema at the moment.
http://www.anykeysoftware.co.uk/compiz/plugins/desktopclick.tar.gz
This plugin uses bmenu, for more information see this post
http://forum.beryl-project.org/viewtopic.php?p=7070#p7070
For info on the xml format, see this post
http://forum.beryl-project.org/viewtopic.php?p=19039#p19039
Written by tb7653
bijoux
March 9th, 2007, 08:34 PM
holy crap.. thanks mike! that was fast hehe... i was going to give it a shot but you beat me to it.. oh well better off that way anyway. got it installed and working properly it seems. i notice a little slowdown though in my system in general.. dont know if thats plugin related..
thanks to tb7653 for this plugin BTW.
http://i109.photobucket.com/albums/n50/SAbijoux/2007-03-09_1280x800_scrot-1.png
*in love with the blur :oops:
stjepan
March 9th, 2007, 09:52 PM
kxdocker? what theme?
what icons? what gtk theme? what metacity theme?
bijoux
March 10th, 2007, 01:38 AM
kxdocker? what theme?
what icons? what gtk theme? what metacity theme?
hi,
thats not kxdocker (which i loathe btw hehe) thats engage launcher / docker / tray / systray from the enlightenment project. its a little hassle to compile/configure (outdated/no official documentation) if you want to try it, ill walk you thru it. :)
dock icons are polar; gtk/metacity is z-unified. you should be able to find them on gnome-look.org
bigfoot
June 26th, 2007, 03:50 AM
Greetings. All right, I'll admit I'm a newbie to Compiz. I have downloaded, built, and installed the desktopclick plugin but am unsure of how to get it to work/if it's actually working/if I installed it correctly. Unfortunately when I click on the desktop, no menu pops up. None of the mouse buttons produce anything.
I think I built and installed it properly. An ls -l on /root/.compiz/plugins shows:
-rwxr-xr-x 1 root root 45552 Jun 25 22:37 libdesktopclick.so
so I know that it is there. ~/.compiz/plugins also shows libdesktopclick.so (Not sure that it is part of it, but there is nothing located in /usr/lib/compiz that relates to libdesktopclick.) Do I have to somehow active the plugin? Nothing shows up in compiz-settings, but again I'm not sure if anything is supposed to or not.
Again I will admit I am very new to Compiz so maybe I'm just missing something simple. Are there any keys that I have to use in conjunction with the mouse click on the desktop to get a menu to show up?
I tried using both compiz-0.3.6 and compiz-0.5.0 and had the same results. I am using Gentoo - both compiz versions came from default portage.
Thank you in advance and sorry if this is a very dumb question. If there is any other information needed about what I am using to help figure this out, just let me know.
malwk-
June 26th, 2007, 02:06 PM
Hej there
Um... I am willing to install engage, have tried two times, but never had the luck to make it look like that, can you please help out, I see you did a great job installing and configuring it. Please, I will greatly appreciate your help:)
Thanks in advance.
Greetings. All right, I'll admit I'm a newbie to Compiz. I have downloaded, built, and installed the desktopclick plugin but am unsure of how to get it to work/if it's actually working/if I installed it correctly. Unfortunately when I click on the desktop, no menu pops up. None of the mouse buttons produce anything.
I think I built and installed it properly. An ls -l on /root/.compiz/plugins shows:
-rwxr-xr-x 1 root root 45552 Jun 25 22:37 libdesktopclick.so
so I know that it is there. ~/.compiz/plugins also shows libdesktopclick.so (Not sure that it is part of it, but there is nothing located in /usr/lib/compiz that relates to libdesktopclick.) Do I have to somehow active the plugin? Nothing shows up in compiz-settings, but again I'm not sure if anything is supposed to or not.
Again I will admit I am very new to Compiz so maybe I'm just missing something simple. Are there any keys that I have to use in conjunction with the mouse click on the desktop to get a menu to show up?
I tried using both compiz-0.3.6 and compiz-0.5.0 and had the same results. I am using Gentoo - both compiz versions came from default portage.
Thank you in advance and sorry if this is a very dumb question. If there is any other information needed about what I am using to help figure this out, just let me know.
randall.lefevre
July 10th, 2007, 08:32 PM
Thanks mikedee!
I used and loved this plugin on Beryl. It's great to be able to keep on using it with my migration to Compiz.
I'm hoping for some help with the following:
When I compile desktopclick (for use with Compiz version: 1:0.5.1+git20070709~3v1ubuntu0 from download.tuxfamily.org repository), I get:
# make
-e compiling : desktopclick.c -> build/libdesktopclick.lodesktopclick.c: In function 'desktopclickDisplayInitOptions':
desktopclick.c:136: error: 'CompOption' has no member named 'shortDesc'
desktopclick.c:136: warning: implicit declaration of function 'N_'
desktopclick.c:137: error: 'CompOption' has no member named 'longDesc'
desktopclick.c: At top level:
desktopclick.c:252: error: initializer element is not constant
desktopclick.c:252: error: (near initialization for 'desktopclickVTable.getVersion')
desktopclick.c:253: error: initializer element is not constant
desktopclick.c:253: error: (near initialization for 'desktopclickVTable.getMetadata')
desktopclick.c:254: warning: initialization from incompatible pointer type
desktopclick.c:255: warning: initialization from incompatible pointer type
desktopclick.c:256: warning: initialization from incompatible pointer type
desktopclick.c:257: warning: initialization from incompatible pointer type
desktopclick.c:258: warning: initialization from incompatible pointer type
desktopclick.c:259: warning: initialization from incompatible pointer type
desktopclick.c:260: warning: initialization from incompatible pointer type
desktopclick.c:263: warning: initialization from incompatible pointer type
desktopclick.c:264: warning: initialization from incompatible pointer type
desktopclick.c:269: warning: initialization makes integer from pointer without a cast
desktopclick.c:271: warning: excess elements in struct initializer
desktopclick.c:271: warning: (near initialization for 'desktopclickVTable')
make: *** [build/libdesktopclick.lo] Error 1
Using Ubuntu 7.04 (installed as command-line system from i386 alternate, then installed X and Compiz) with build essentials and compiz/plugins build dependencies.
Kernel: 2.6.20-16-generic #2 SMP i686
I can supply a list of all the dev packages installed if needed.
I'm sure it's just my own stupidity, but I'd like another set or two of eyes to make sure.
Thanks in advance for any assistance.
Randall
RYX
July 10th, 2007, 08:41 PM
The plugin is not very up-to-date and needs some fixes to work with the current git-version of compiz. It is hard to make plugins always available for latest git because things permanently change.
(You could try to install mikedee's python-plugin and use my python-version of the desktopmenu-plugin which is included with the python-plugin, but I can't assure you that it will work with latest git because Mike seems to be away for a while) ...
:)
randall.lefevre
July 10th, 2007, 10:03 PM
Thanks for the prompt response RYX.
I'll just have to get out my reading glasses (figuratively) and delve into some source from plugins working with git 0.5.1 to try and resolve the issue(s).
Kind regards,
Randall
RYX
July 11th, 2007, 01:11 AM
I think you'll just have to convert it to use the new metadata-system. It should be fairly simple by looking at some of the default plugins and applying the metadata-related things to the desktopclick-plugin.
(You could first have a look at the compiz-fusion repo which is currently at gitweb.opencompositing.org and see if there is already an up-to-date version of the plugin)
best regards
Rico
jcat
August 15th, 2007, 07:57 PM
hi,
thats not kxdocker (which i loathe btw hehe) thats engage launcher / docker / tray / systray from the enlightenment project. its a little hassle to compile/configure (outdated/no official documentation) if you want to try it, ill walk you thru it. :)
dock icons are polar; gtk/metacity is z-unified. you should be able to find them on gnome-look.org
A little Howto on Engage would be great :)
I tried it out once before, but from memory it was a pain to setup launchers etc.
Cheers,
jcat
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.