You are not logged in.
Pages: 1
Hi,
Every my extra key (what i needed) are working.
Problem is only with ejecting CD.
I have added to my openbox rc.xml file :
<keybind key="XF86Eject">
<action name="Execute">
<execute>sudo eject -r /dev/sr0</execute>
</action>
</keybind>
<keybind key="XF86AudioLowerVolume">
<action name="Execute">
<execute>amixer set Master 5- unmute</execute>
</action>
</keybind>
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
<execute>amixer set Master 5+ unmute</execute>
</action>
</keybind>
<keybind key="XF86AudioMute">
<action name="Execute">
<execute>amixer set Master toggle</execute>
</action>
</keybind>and only eject doesn't working.
Everybody user can do "eject". So I dont know why key not working.
Last edited by xorgx3 (2012-03-29 18:00:33)
Offline
Did you configure sudo so that it doesn't ask for a password (for this particalur command)? If not, that's probably the problem. Anyway, I think users in group optical can use eject -- no need for sudo -- and maybe this is what you mean by 'Everybody user can do "eject".'.
Offline
Eh sorry, thread was needn't.
Offline
I would really like to know how you fixed this. I'm having the same issue on my debian box. I don't need sudo to eject, however.
Offline
I just remove sudo from this line:
<execute>sudo eject -r /dev/sr0</execute>Now it's look :
<execute>eject -r /dev/sr0</execute>Offline
Pages: 1