google-code-export / gpick

Automatically exported from code.google.com/p/gpick
2 stars 0 forks source link

Provide a dbus interface to start picking colors #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hey, I really like gpick and have it running in the background. I would really 
like to assign a shortcut to just the picking functionality (without the UI 
window). This would pretty much look exactly like what happens when I press on 
the notification icon. On a two monitor set up it becomes very tedious to drag 
the mouse the second monitor to enable this feature

I realize that adding a global desktop shortcut is not easy (and I also use KDE 
as my main DE), therefore I think the best would be to either:

1) allow it over an argument in the command line
2) provide a simple DBUS method 

Then I could simply bind a keyboard key to a particular command and it would 
work out of the box. 

Thanks!

Original issue reported on code.google.com by Wat...@gmail.com on 5 Jun 2012 at 9:45

GoogleCodeExporter commented 9 years ago
Both methods implemented in revision 79bb244b8bd0. 

You can bind a shortcut key to the command `gpick -p`, or use D-Bus (dbus-send 
--session --type=method_call --dest=com.google.code.gpick /gpick/Control 
com.google.code.gpick.Control.ActivateFloatingPicker).

Original comment by thezbyg on 18 Jun 2012 at 9:22

GoogleCodeExporter commented 9 years ago
Thanks, thats perfect!

Original comment by Wat...@gmail.com on 19 Jun 2012 at 6:16

GoogleCodeExporter commented 9 years ago

Original comment by thezbyg on 10 Jul 2012 at 5:50