VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Reanimate Win-key as Amarok shortkey and compose key  (Read 1198 times)

Freston

  • Vectorite
  • ***
  • Posts: 165
Reanimate Win-key as Amarok shortkey and compose key
« on: September 11, 2007, 03:41:44 am »

I really like this distro, just a little peculiarity. I post this to ask a question about it, but more so for the benefit of others who encounter the same.

I've noticed that Vector comes with ~/.Xmodmap predefined. I overwrote them as user with my own favorite settings. All well and good. But I noticed at some point during operating this old machine, that my shortkeys to Amarok died. With shortkeys I mean the Win-<z,x,c,v,b,etc.> combo's. Also, I have r-win as compose key for special characters <é,ä,ß, etc.>, a functionality that also died.
It took me quite some time to find out when, why and how. I wont bother you with the details of my search, as I'm not complaining... just curious.



I noticed the shortkeys died after su'ing to root in the konsole.

/root/.Xmodmap contains:
Code: [Select]
keycode 115 = F15
keycode 116 = F16

Commenting these out (or just bluntly deleting /root/.Xmodmap) solves the issue, but at the same time raises a question. What special purpose did those keys have that I will now no longer be able to use? Having those keys predefined must have a reason.

Again, nice job on the distro guys and gals! I'm really impressed!

EDIT: Commenting out the lines or deleting the file I found leads to error of xmodmap itself when it gets called from .bashrc. Rather logical in hindsight. Either delete the lines in .Xmodmap, leaving the file to hold your favorite settings ;-). Or comment out or delete the line <xmodmap ~/.Xmodmap> in ~/.bashrc. Whichever works for you.
« Last Edit: September 11, 2007, 05:47:49 am by Freston »
Logged

The Headacher

  • Louder than you
  • Global Moderator
  • Vectorian
  • *****
  • Posts: 1553
  • I like the bass to go BOOM!
    • Multimedia on VL (work in progress)
Re: Reanimate Win-key as Amarok shortkey and compose key
« Reply #1 on: September 11, 2007, 05:26:34 am »

Quote
What special purpose did those keys have that I will now no longer be able to use? Having those keys predefined must have a reason.
The "Win" key was changed to F15, because kde doesn't allow using the "Win" key to bring up the menu since version 3.3 or 3.4 (I think), but does allow using F15. However, you can also bring it up with "CTRL+ESC".

I also removed xmodmap, also because of the Amarok shortcuts.
Logged
Most music on my soundcloud page was arranged in programs running on VL.