← Back to team overview

desktop-packages team mailing list archive

[Bug 569994] Re: eject hotkey fails to eject cd

 

My system is dell640m with lucid lynx (updated).
I've used the following workaround:
I've associated my eject key with a script that call eject (it works) and show the icon.
This is the script:
#!/bin/sh
notify-send "Icon" "Only" -i notification-device-eject -h string:x-canonical-private-icon-only:
eject

To have notify-send command in lucid you have to install the package
libnotify-bin.

Let me know if it works also in 11.10.

Pascal

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/569994

Title:
  eject hotkey fails to eject cd

Status in Gnome Settings Daemon:
  New
Status in “gvfs” package in Ubuntu:
  Triaged

Bug description:
  Dell E1505 inspiron laptop.  Fn-F10 hotkey combo ejects cd/dvd tray on
  jaunty and earlier versions of gnome, but fails on lucid gnome.

  When I hit Fn-F10, the eject on-screen-display icon appears, but the
  cd does not open.  I've checked the tray on another OS and it works
  with that key combo, so it's not a hardware problem.

  The output from xev when I press Fn-F10 is:

  MappingNotify event, serial 36, synthetic NO, window 0x0,
      request MappingKeyboard, first_keycode 8, count 248

  FocusOut event, serial 36, synthetic NO, window 0x5c00001,
      mode NotifyGrab, detail NotifyAncestor

  FocusIn event, serial 36, synthetic NO, window 0x5c00001,
      mode NotifyUngrab, detail NotifyAncestor

  KeymapNotify event, serial 36, synthetic NO, window 0x0,
      keys:  4294967213 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
             0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  

  The fact that the eject on-screen-display icon pops up makes me think
  this has nothing to do with failure to recognize the key input, and
  more likely relates to how gnome processes the XF86Eject command.

  For example, if I install xdotool and enter 'xdotool key XF86Eject' in
  a console, I see the same result.  The o-s-d icon appears, but the
  cd/dvd fails to open.

  Entering 'eject' in the console results in the cd/dvd opening.

  Not sure what else you need, but let me know.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-settings-daemon/+bug/569994/+subscriptions