Mombu the GNU Linux Forum sponsored links

Go Back   Mombu the GNU Linux Forum > GNU_Linux > Can i set global shortcuts for Xserver?
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 31st August 09:38
naruto
External User
 
Posts: 1
Default Can i set global shortcuts for Xserver?



how can i set global shortcuts for Xserver that will work if no matter if it
is desktop or a game? For example i want to execute import or better a
script for it by pressing the printscreen key. Is it possible? where do i
have to set it and how?
thank you in advance
  Reply With Quote


  sponsored links


2 31st August 09:39
robert m. riches jr.
External User
 
Posts: 1
Default Can i set global shortcuts for Xserver?



Some things are possible, but it can take some work to do.
I do a few things similar to what I think you're describing
with window manager function key definitions. I have used
mwm (Motif Window Manager) and twm (Tab Window Manager). (I
don't use those nasty Doze-alike KDE or Gnome desktops.)

With mwm and twm, you put the definitions in ~/.mwmrc and
~/.twmrc. Where you put the definitions and what you can do
with them depend on your window manager. (With mwm, be
careful, because the Open Motif and lesstif versions of mwm
have seriously different syntax.)

Another tool that might be useful for accomplishing your
goal is the xmacro package.

One thing to watch out for is if the game starts up an
alternative X server rather than using your existing X
server and the window manager you have set up. In that
case, I don't know of a solution.

Good luck.

Robert Riches
spamtrap42@verizon.net
(Yes, that is one of my email addresses.)
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666