General :: Re-mapping Non-standard Keys To Modifier Keys?
Apr 7, 2011
I'm running Debian (Squeeze) and I have a toshiba portege m700. It has five buttons on the front just under the screen, which are the only ones accessible when you flip the screen over into tablet mode. One of them is for rotating the screen, and another is for switching to external display. I want to remap the remaining three to control, alt and super so that I can use shortcuts with the stylusThe problem is, when I used showkey to find out the key codes, I found out that each button generates more than one key code:Button 1:
key 126 press >> super_r, although this is distinct from the actual super key (125)
key 7 press >> 6
key 7 release
key 126 release
I've been an ubuntu user for a few years now, I just never joined the forums since I never really had problems with my installations. Today, however, is completely different. I recently converted my server from windows 2k3 to ubuntu server 10.04, and have been setting ssh and VNC so that I can access it remotely. Both x11vnc and ssh are installed and working fine, as I can connect to the server from my Macbook, but here is where it gets weird. When in VNC, none of the modifier keys work(shift, ctrl, alt, super) and caps lock only works half the time. (I have to press it twice to turn it on and twice to turn it off).
Server Specs: Dell Poweredge 2500 1x Intel Pentium III 1Ghz (coppermine) 1GB RAM
I don't know if this is a configuration issue or a hardware issue, but I have a Kinesis Advantage USB keyboard and for some reason the F3-F5 keys aren't responding as they used to. They don't respond to anything and, when I tried using F5 on Emacs, it said <XF86AudioNext> is undefined, so I guess it's a weird mapping problem.
Any idea how I could remap them to the original meaning?
I just ran my first Lubuntu session using a USB SD card install.Not bad overall.I would like to re-map two keys on my netbook to make this Lubuntu usable.I have learned that these two apps are the way to go.xevxmodmap Are they built into Linux?If they are, how do I run them?How do I get to a command line to run them once Lubuntu has loaded and I'm at the main screen?
I've just upgraded my installed software packages to last version of Lucid and noticed a weird issue: my keyboard keys are all messed up. Although my keyboard layout is still US-105 keys, when I press (for instance) "asdfg", I get "abfhj" and for "ASDFG" I get "1a1b1f1h1j" !? This only happens when I am logged as user in a X session. Root sessions are OK
I have a Logitech K830 wireless 'Living Room' keyboard for general use under Debian/Gnome. The function keys (F1-F12) operate in conjunction with the FN key. Various multimedia options are alternately available by pressing the function keys (F1-F12) without the FN key.
I want to make the function keys primary (not requiring FN). 'xmodmap -e "keycode 172 = F11"' reassigns F11 as expected, but xev reveals multicode output for some keys that I cannot similarly remap. The (de-tabulated) table shows xev output for press-events. Single F(n) keycodes are followed by the equivalent multimedia keycodes (e.g. F2[+FN] key is also 'Minimize window'[without FN]).
KEY STATEKEYCODE KEYSYM
FN+F1 0x0167 0xffbe, F1 Adjust backlight ---- -- ------, --
I have a Dell XPS 17 L702X running vanilla Wheezy. The laptop has 3 special soft touch keys above the keyboard. Using Dell software in Windows you can configure these for whatever, but in Debian/Linux they share the same functions as keyboard keys.
Key 1 -> Super_L Q Key 2 -> Brightness Down Key 3 -> Doesn't seem to do anything and xev doesn't report any key codes
Apparently other XPS models have similar keys with the same problem. It's not a show stopper but it would be nice to have them working.
When a user that has rsa public key set in ~/.ssh/authorized_keys file logs in via ssh an sshd process is started to handle the ssh session.Periodically we audit the authorized keys and remove them from the system and authorized_keys file. This means the next log in attempt will fail, which is fine.However we need to terminate current ssh sessions in progress that use the rsa key.I have not been able to determine a way to map sshd processes with authorized_keys entries.
I cannot set mod3 to the Shift_R key with xmodmap. Code: matthew@lokal:~/.fvwm/Default$ xmodmap -e "add mod3 = Shift_R" X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 118 (X_SetModifierMapping) Value in failed request: 0x17 Serial number of failed request: 11 Current serial number in output stream: 11
I'm in my terminal and do git pull, git push alot in a work day. On the server I'm pulling and pushing I can't do password less ssh the usual way by generating rsa keys.Is it still possible perhaps for me to enter my password once for a session and do all the git pulls/pushes I want?
I installed SSH server on my ubuntu-server last night, following this online Guide: https://help.ubuntu.com/10.04/server...sh-server.htmlThen I tried to generate the public and private keys.root@ubuntu-server:~# ssh-keygen t dsaGenerating public/private dsa key pair.Enter file in which to save the key (/root/.ssh/id_dsa):
I'm interested in storing my SSH keys and gpg keys on a smartcard for added security. However, I'm a bit uncertain on a few points, which are as follows:
How many keys can I get on a card? I assume both SSH and GPG can store keys on the card. Is there a limit to key size? I see a lot of cards saying they support 2048-bit keys, what about larger sizes? Hardware: can anyone recommend a card/reader combination that works well? I've done a fair amount of research and it seems PC/SC readers can be a bit iffy - is this your experience? Have I missed anything I should be asking? Are there any other hurdles?
I'm aware fsf europe give away cards with membership - I'm not sure I want to join, but... are these cards any good?
I have accounts on two machine: H1 and H2. I created ssh keys on H1 and installed it on S1. I can now ssh to S1 from H1. I want to do the same from H2. How do I install the ssh keys generated on H1 on H2?
I have gpg (not sure how to check the version) installed and running nicely. I am attempting to publicize my public RSA key to various key servers, but even tho everything seems to work nicely in actuality it does not.
When I check that particular (and others after similar attempts) keyserver for my e-mail address it only finds my old, revoked key. How can I get publishing my RSA key from the command line to work in actuality?
I am trying to debug ssh permissions and keys. I am able to connect as root. However, I am unable to login as a new user (e.g., newuser). I have been trying to ssh as localhost to debug the issue. For example:
>ssh -vvvv newuser@localhost
will yield a lot of information. I think this is the relevant section, however, I am unable to resolve:
debug1: Host 'localhost' is known and matches the RSA host key. debug1: Found key in /root/.ssh/known_hosts:2 debug2: bits set: 533/1024
I use Thunderbird on Ubuntu Linux and have just upgraded to Ubuntu 10 / Thunderbird 3. One of my gripes however is that Thunderbird uses a number of shortcut keys that have no secondary key requirements, for example, "Mark as Read" is M. Not ControlM. Just M. Worse, "Mark as Junk" is J. Which means I sometimes inadvertently mark messages as Junk.
How can I customize Thunderbird's shortcuts so, for example, "Mark as Junk" is ControlJ?
I have a Mac keyboard where the Alt/Win (i.e. Option/Command) keys are inverted compared to a regular PC keyboard, and I'd like to swap them. I haven't had any luck with xmodmap so far. The standard configuration is as follows:
On windows I have an autohotkey script which: - Only works when caps lock is on - Generates left, middle and right mouse button events when left control, menu and alt keys are pressed - Allows holding the keys down (for dragging objects) Is there an easy way of duplicating this functionality in linux?