Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xfce: how would I map a key combo to an arbitrary character?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Sun Sep 05, 2010 4:10 pm    Post subject: Xfce: how would I map a key combo to an arbitrary character? Reply with quote

Hi.

As I'm typing text, I often find myself running Gucharmap to just query the EM DASH character. Is there a way I can affect that character to a key combo with Xfce? Say AltGr+Shift+_ for instance?

Also, as a subsidiary question, my laptop, a Dell Studio XPS has a few multimedia keys (vol. up/down/mute, media player next/previous/stop) that I can't seem to use. Ubuntu and Fedora have something that make them work. How can I make these keys work as well?

Thanks for any hint or suggestion.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8708
Location: ~Brussels - Belgique

PostPosted: Sun Sep 05, 2010 5:30 pm    Post subject: Reply with quote

Hello,

For 2), I use the keyboard settings panel: you add a new shortcut, enter the command, then press the key and it should work. If not, you have to assign the multimedia keys with some code, as described in the non-official Gentoo Wiki: http://en.gentoo-wiki.com/wiki/Multimedia_Keys

For 1), I think it's more related to X than XFCE, or your editor.
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Sun Sep 05, 2010 6:01 pm    Post subject: Reply with quote

Thanks Xavier.

XavierMiller wrote:
For 2), I use the keyboard settings panel: you add a new shortcut, enter the command, then press the key and it should work. If not, you have to assign the multimedia keys with some code, as described in the non-official Gentoo Wiki: http://en.gentoo-wiki.com/wiki/Multimedia_Keys

Indeed in Xfce control panel, keyboard applet I could assign some multimedia keys but only those which are supposed to run a command (Thunar, Firefox, mplayer, whatever). As for the volume buttons the keys seem recognized as they do have a Xf86 code but they're inactive. What I'd like as well is have an OSD indication for volume changes, as there is in most distributions.

XavierMiller wrote:
For 1), I think it's more related to X than XFCE, or your editor.

Are there standard ways to do that?
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8708
Location: ~Brussels - Belgique

PostPosted: Sun Sep 05, 2010 6:40 pm    Post subject: Reply with quote

For the OSD stuff, I think you have to bind the Volume buttons with an app that change the volume and displays some stuff on the display. But I don't know the name of that application, I am happy with the simple binding with amixer.
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum