Jump to content

Starting Programs with Keys in WindowMaker


PeterPanic
 Share

Recommended Posts

Me again with WindowMaker... :-D

 

(Perhaps I should ask all my WindowMaker questions somewhere on Windowmaker.org, but this board here helps me a lot and others don't. And I think the answer also applies to other WMs..., I guess even to X in general)

 

So, my question: Is it possible to start an application by pressing a Key-Combination in WindowMaker? I just configured the multimedia keys of my keyboard and they work fine (Thanks to theYinYeti's post http://www.mandrakeusers.org/viewtopic.php...p?p=62856#62856.)

So now I can e.g. switch my workspaces in WindowMaker with my <-- and --> keys (which usually are used for browsing)

I've got a "calculator" key. How can I assign a calculator program to it?

And the other thing: How can I actually USE the keys in their original functions (Browser next/prev/reload/stop, audio +/- volume, play, stop,...)

And then: Can I assign simple characters to these keys? I'd like to have a key on my german Keyboard (on this it's AltGr+ß)... and perhaps some macros, as e.g. Make a "{ }" and put the cursor in the middle of the brackets...

 

Any ideas?

 

Thanks a lot.

 

PeterPanic

Link to comment
Share on other sites

Download xbindkeys. It's great.

 

http://hocwp.free.fr/xbindkeys/xbindkeys.html

 

 

Download xbindkeys_config and xbindkeys_show, too to make it easier to configure.

http://hocwp.free.fr/xbindkeys/xbindkeys.h....html#utilities

Link to comment
Share on other sites

I suggest you follow Steve Scrimpshire's advice. As for the commands, here are some I remember:

- sound up: aumix -v +5

- sound down: aumix -v -5

- play CD: cdcd play </dev/null

- stop CD: cdcd stop </dev/null

- my prefered calculator: xterm -e bash -c "python -i -e 'import * from math'" (or something like that)

 

cdcd is the right app for all CD-related things, IMO.

I've done some scripts for the equivalent in xine (DVD) at home.

There are also some things you can remotely control with mozilla.

For most other things, just use the command as with a terminal: mozilla, oowriter, xcalc...

If you're interested, I've also done a kind of "template-script" to make appear/disappear a dock-app in the dock: a single key to switch a dock-app on/off.

 

Yves.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...