LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 08-21-2010, 03:23 PM   #1
djsmiley2k
Member
 
Registered: Feb 2005
Location: Coventry, UK
Distribution: Home: Gentoo x86/amd64, Debian ppc. Work: Ubuntu, SuSe, CentOS
Posts: 343
Blog Entries: 1

Rep: Reputation: 72
XFCE4 not picking up on shortcuts


I've been trying all day to get my shortcuts working in xfce4 and am slowly losing the will to live

Basically I just want some simple shortcuts to amixer to raise/lower the volume on some media keys. From the research I've done the keys "work" but then xfce4 either ignores them, or isn't recieving the call to activate amixer with whatever commands I've passed it.

Worryingly when I changed one of the shortcuts to a "normal" command (control + m) it STILL wouldn't work - showing me that no keyboard shortcuts appear to be working. Also stuff like altF2 doesn't work *(used to being up run dialog).

I've noticed this after moving from my old system to my new one, and reinstalling everything - I've checked configs on the old system and I can't find any reason why this isn't working.

If I run xev, it can see the keys are reckonised correctly:

Code:
KeyPress event, serial 34, synthetic NO, window 0x2a00001,
    root 0x1ae, subw 0x0, time 356722132, (168,-7), root:(1533,510),
    state 0x0, keycode 174 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x2a00001,
    root 0x1ae, subw 0x0, time 356722271, (168,-7), root:(1533,510),
    state 0x0, keycode 174 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False
Showing that 'XF86AudioLowerVolume' was pressed. Yet when I then set this as a shortcut within the keyboard dialog, it doesn't work.

The command I'm using in the keyboard section is

Code:
"/usr/bin/amixer sset PCM,0 5- unmute"
yet if I run this on a terminal it works correctly.


Help?!

Last edited by djsmiley2k; 08-21-2010 at 03:26 PM.
 
Old 08-22-2010, 07:42 AM   #2
djsmiley2k
Member
 
Registered: Feb 2005
Location: Coventry, UK
Distribution: Home: Gentoo x86/amd64, Debian ppc. Work: Ubuntu, SuSe, CentOS
Posts: 343

Original Poster
Blog Entries: 1

Rep: Reputation: 72
Not a true fix as such, but in the end I used keytouch which fixed everything.

Also I needed xfce4-settings-manager to be running - it wasn't enabled for some strange reason


Marking as solved
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help picking which laptop to get. zappadragon Linux - Laptop and Netbook 12 08-25-2010 12:06 PM
upgrade to slackware 12.2 + xfce4.6 (xfce4-power-manager doesn't work) zux Slackware 4 04-22-2009 11:28 AM
xfce4 and icon for xfce4-mixer vehn Slackware 1 11-15-2008 03:37 PM
Need help picking the right iso inverted.gravity Mandriva 5 11-21-2006 11:32 AM
Getting rid of XFCE4-panel...using xfce4 and Ubuntu jagibbs Linux - Software 1 04-06-2006 05:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 02:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration