This will only work if the window manager or the window with focus
doesn't
already grab the same keys. Does the example work without a window
manager
running?
Thanks for the reply, but I believe libX will generate an error if the
keys are already grabbed. In this case there is no error
Hello,
My goal is to have a program that sleeps in the background but can be
activated by the user via some hotkey. From digging around the Xlib
manual and the Xlib O'reilly manual, I gather that the correct way to to
this is with XGrabKey. However my understanding of the process is
cheshirekow cheshire...@gmail.com writes:
My goal is to have a program that sleeps in the background but can be
activated by the user via some hotkey. From digging around the Xlib
Is this program running as the normal user or is this some privileged
service (say switch to another user)?
My goal is to have a program that sleeps in the background but can be
activated by the user via some hotkey. From digging around the Xlib
Is this program running as the normal user or is this some privileged
service (say switch to another user)?
Normal user. I don't think
cheshirekow wrote:
Hello,
My goal is to have a program that sleeps in the background but can be
activated by the user via some hotkey. From digging around the Xlib
manual and the Xlib O'reilly manual, I gather that the correct way to to
this is with XGrabKey. However my understanding of the