View previous topic :: View next topic |
Author |
Message |
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Wed Jul 19, 2006 6:18 am Post subject: fluxbox keybinding without modifier?!? [solved] |
|
|
That should be a straightforward thing, but I can't find the answer or make it work:
I have a macintosh laptop, which has an "eject" keyboard key that ejects the cdrom drive. I want to keybind it in fluxbox to run "eject /mnt/cdrom". I got Code: | keycode 204 = Eject | in .Xmodmap, and tried variants of Code: | Eject :Exec eject /mnt/cdrom | in .fluxbox/keys. Any Ideas? _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro
Last edited by dmvianna on Wed Jul 19, 2006 9:35 pm; edited 1 time in total |
|
Back to top |
|
|
Syque Tux's lil' helper
Joined: 15 Aug 2004 Posts: 110
|
Posted: Wed Jul 19, 2006 3:20 pm Post subject: |
|
|
The usual thing to do would be
Code: | None Eject :ExecCommand eject /mnt/cdrom |
but I don't know if that works with your keybinding. |
|
Back to top |
|
|
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Wed Jul 19, 2006 9:36 pm Post subject: |
|
|
In .Xmodmap:
In .fluxbox/keys:
Code: | None F13 :ExecCommand eject /mnt/cdrom |
_________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
|