Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fluxbox keybinding without modifier?!? [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 742
Location: Down Underland

PostPosted: Wed Jul 19, 2006 6:18 am    Post subject: fluxbox keybinding without modifier?!? [solved] Reply with quote

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
View user's profile Send private message
Syque
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2004
Posts: 110

PostPosted: Wed Jul 19, 2006 3:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 742
Location: Down Underland

PostPosted: Wed Jul 19, 2006 9:36 pm    Post subject: Reply with quote

In .Xmodmap:
Code:
keycode 204 = F13

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum