Openbox does not have a definition for the eject media key
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Lubuntu Next |
Invalid
|
Undecided
|
Unassigned | ||
lubuntu-default-settings (Ubuntu) |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
The default configuration in both Lubuntu and upstream Openbox does not include a definition for the eject media key.
Solution:
1. Open up ~/.config/
2. Go to either the beginning or ending of the <keyboard> section
3. Add this:
<keybind key="XF86Eject">
<action name="Execute">
<
</action>
</keybind>
4. Save and restart openbox with `openbox --reconfigure`
Note however, though, combining this with a definition for the stop media key could create a potential conflict:
$ xmodmap -pke | grep Eject
keycode 169 = XF86Eject NoSymbol XF86Eject
keycode 170 = XF86Eject XF86Eject XF86Eject XF86Eject
keycode 174 = XF86AudioStop XF86Eject XF86AudioStop XF86Eject
This affects 18.04-19.04.
Changed in lubuntu-default-settings (Ubuntu): | |
status: | Incomplete → Triaged |
description: | updated |
description: | updated |
summary: |
- "eject" key doesn't open optical drive tray in Openbox + Openbox does not have a definition for the eject media key |
As far as I know, there's no binding in the Openbox configuration for an eject key either upstream or within lubuntu- default- settings, nor has there ever been. Assuming that the keybinding is standardized, we can make it a wishlist item for lubuntu- default- settings, though.
As long as hitting the key in `xev` produces a named keysym (should be XF86Eject), I'd feel relatively comfortable with that. Hopefully you get keycode 204, too.