** Description changed:

- Just like in regular Lu 18.04 the "eject" key doesn't open the optical
- drive tray, but running a command in the console will open the tray.
+ The default configuration in both Lubuntu 18.04 and upstream Openbox
+ does not include a definition for the eject media key.
+ 
+ Solution:
+  1. Open up ~/.config/openbox/lubuntu-rc.xml in an editor
+  2. Go to either the beginning or ending of the <keyboard> section
+  3. Add this:
+ 
+   <keybind key="XF86Eject">
+     <action name="Execute">
+       <command>eject</command>
+     </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

** Description changed:

- The default configuration in both Lubuntu 18.04 and upstream Openbox
- does not include a definition for the eject media key.
+ The default configuration in both Lubuntu and upstream Openbox does not
+ include a definition for the eject media key.
  
  Solution:
-  1. Open up ~/.config/openbox/lubuntu-rc.xml in an editor
-  2. Go to either the beginning or ending of the <keyboard> section
-  3. Add this:
+  1. Open up ~/.config/openbox/lubuntu-rc.xml in an editor
+  2. Go to either the beginning or ending of the <keyboard> section
+  3. Add this:
  
-   <keybind key="XF86Eject">
-     <action name="Execute">
-       <command>eject</command>
-     </action>
-   </keybind>
+   <keybind key="XF86Eject">
+     <action name="Execute">
+       <command>eject</command>
+     </action>
+   </keybind>
  
-  4. Save and restart openbox with `openbox --reconfigure`
+  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.

** Summary changed:

- "eject" key doesn't open optical drive tray in Openbox
+ Openbox does not have a definition for the eject media key

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768294

Title:
  Openbox does not have a definition for the eject media key

To manage notifications about this bug go to:
https://bugs.launchpad.net/lubuntu-next/+bug/1768294/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to