Ubuntu :: Turn CapsLock Into A Unique Modifier Key
Aug 23, 2010
I would like to use Caps Lock as its own UNIQUE modifier key (not merely replace it with Ctrl). I have figured out how to do this on windows but not yet in Ubuntu. Here is what I'm looking for:
1. When I press "Caps Lock" on its own, it is equivalent to the Escape key (or at least sends the "escape" command).
2. When I press Caps Lock + <new key>, it does other stuff.
I have figured out how to get EITHER ONE of these to work, but not both at the same time. For example, I have figured out how to turn Caps Lock into the unique "Super" modifier using xbindkeys and xmacro (this achieves #2). I have also figured out how to switch the escape and capslocks keys altogether to achieve #1. But I can't figure out how to get both outcomes at the same time!
View 2 Replies
ADVERTISEMENT
May 31, 2010
Seems like one can toggle ScrollLock LED by pressing Shift+CapsLock. Seems like it is a feature, but what feature? In what mode we are in when NumLock LED is lid?
View 2 Replies
View Related
Aug 30, 2010
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
View 1 Replies
View Related
Apr 28, 2011
it has said "about 6 minutes remaining" for over an hour now at"installing upgrades", more specifically at "configuring gnome-power-manager"
touchpad and keyboard unresponsive ,should I worry? or just wait? also, the capslock indicator LED is blinking
computer is an HP Pavilion dv6500 from either 2007 or 2008 (don't remember)has an AMD Turion 64 x2 processor, but was always used as a 32 bit...and an nVidia N-Force Graphics card of unknown number.
View 5 Replies
View Related
Jul 10, 2011
Gnome and kde had rich keyboard configuration utilities, but xfce seems a bit starved of it. Without it i've been unable to find a way to disable the infernal capslock key. What method can I take to disable it or remap it as a shift key manually?
View 2 Replies
View Related
Nov 21, 2010
Predefinations: From here on in, I will refer to the "Windows Key" on the keyboard as the "Super Key" (Linux terminology)
Consider a user's experience in Windows:
* UseCaseA: Accessing the start menu --> "Super Key" open the menu.
* UseCaseB: Open the "run dialogue" --> "Super Key" + R
* UseCaseC: Open win explorer --> "Super Key" + E
* etc.
In GNOME/ubuntu however, apparently there is this odd limitation in that the "Super Key" cannot be both a standalone key, and a modifier key. Is it still the case? Currently running Ubuntu 10.04 and 10.10. Apparently in KDE this works, and in Windows it's worked since Windows95. How can we achieve this functionality in Ubuntu/gnome?
View 2 Replies
View Related
May 18, 2010
Using: Ubuntu Lucid Lynx (Gnome).
I have a physical disability which makes pressing the <Ctrl><Alt> key combination very hard, but it would be nice to have that key combination available to me for keyboard shortcuts. I've never got on with 'Sticky Keys' and don't want to use that as a solution, it takes me so long that it is self-defeating as a shortcut key combination. I use a reduced size keyboard, a Cherry ML4100 (image below), which has a 'Fn' key between the left <Ctrl> and <Alt> keys, this 'Fn' key when pressed in conjunction with F1 or F2 will simulate a F11/F12 key press (see image), it also allows the use of a 'num pad' with the u,i,o,p, etc. keys to the right of the centre of the keyboard but which I never use.
In System -> Preferences -> Keyboard Shortcuts I can not currently use the 'Fn' key at all, it is totally ignored, the system just does not recognize it. Eg. If I press <Fn><A> only 'A' is recognized. What I'd like to do is somehow map the 'Fn' key so that when pressed at the same time as <Ctrl> it simulates a <Ctrl><Alt> key press, while still leaving 'Fn' to work as usual generating F11/F12 key presses when F1/F2 is pressed with it. Alternatively if I could set up the 'Fn' key to work as a shortcut with any other key, EG. <Fn><LeftArrow> to switch to the left workspace, and then map F11 and F12 to another key combination - in fact this second solution would be preferable.
However the xev utility, which I had hoped would provide me with a key mapping code for 'Fn', does not even register when 'Fn' is pressed on its own, but when 'Fn' is pressed with F1 it gives what I suppose is the the F11 key code (it is a different code to what is shown when F1 is pressed on its own). I am beginning to suspect that what I am trying to do is not possible. My disability means that using keyboard shortcuts is a really good way of my doing things, much faster than the mouse, so I'd like a lot set up, and I mean far more than most people would ever use, including starting a dozen or so regularly used apps, I'm running out of what I can do with <Ctrl><Shift>, so really need to simulate <Ctrl><Alt> or have the 'Fn' key active when setting my Keyboard Shortcuts, EG. <FN><A>.
View 12 Replies
View Related
May 27, 2010
This just started happening, but I haven't logged out or rebooted in a while, so I'm not sure what could be causing this. I have setup some keyboard shortcuts to use the Win modifier key (Mod4, Super, whatever). The keyboard shortcuts utility in KDE list it as the Win key so that is how I will refer to it. Some example shortcuts: Win+t starts a terminal, Win+m toggles windows maximize mode. I had these setup and they were working fine on this install that I've had for about a month, but they stopped working today. I can still use Ctrl, Alt, and Shift as modifier keys and they work fine.
I open the keyboard shortcuts utility in KDE Control Center (kcontrol) and start to set a new keyboard shortcut. i.e. I click on the button to "build" a keyboard shortcut. I can press the Win key and it shows that it detects it, but when I press the 't' key, the shortcut is just set as 't' instead of Win+t. I can also push shift+win and that shows in the builder but when I press the 't' key, the shortcut is now set to 'shift+t', so it seems like the Win key is acting funky.
CentOS version 5.4
KDE version 3.5.4-25.el1.centos.1
View 2 Replies
View Related
Feb 6, 2011
Somehow numlock has been toggled so that with numlock off text is in CAPS and with numlock on text is in lower case. How can I remedy this? The OS in question is Fedora 14 and I've been playing around with VirtualBox. This behavior is present in both the host computer or the virtual machine. Did I say NumLock? CapsLock of course! However, seems it was something to do with the KVM switch. All sorted now.
View 1 Replies
View Related
Aug 15, 2010
I've been playing around with xdmx for quite a while now. Everything works fine, but my keyboard goes "crazy". I've tried all the command line options to set model etc. For example the cursor keys capture a screenshot. The letters work, but capslock/shift doesn't, etc..Today I tried to create a dummy screen in xorg.conf and then vnc into it. Then the mouse didn't show or work in the vnc client.
Is there any way to fool the nvidia driver to think that there is a second display connected? I think that would work better. The dummy driver doesn't have xrandr etc.I'm trying to get this to work on my desktop and laptop. They both have totally different hardware.I'm running Ubuntu 10.04 and xdmx and vnc have been pulled from the default repos.
View 3 Replies
View Related
Sep 19, 2010
I have a MX 518 which as 5 additional buttons, I'm trying to bind the thumb button to Control or Shift. I'm fighting against it since yesterday, I tried many things : easystroke, imwheel, xbindkeys/xvkbd. I'm a bit new to Linux so I can still miss something very important. I read a tutorial about that mouse, all went well but it isn't explained how to set up what I wish.
View 2 Replies
View Related
Feb 10, 2010
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
View 2 Replies
View Related
Apr 20, 2011
As I'd like to be able to fully control my desktop with both my keyboard and my mouse, I wrote a .xbindkeysrc.scm script to make two of my eight mouse buttons work as modifiers. For instance, b:9 + wheel now changes volume.
Only problem is, I accomplish this by emulating a key press with a modifier held, and the modifier seems to stick randomly after the mouse buttons have been released.
I would be very happy if anyone could point out the errors in the script below (or with the software used, I don't know how reliable xvkbd is).
Code:
(define (display-n str)
"Display a string then newline"
(display str)
[Code].....
The first part declares some base functions for the keystrokes to be sent with xvkbd. Also, the function to reset the bindings on relesae of the modifier is here. (As you may see, I already tried to put in some code to specifically reset the modifiers, with no results.) The second part contains the default bindings for buttons 10-12 when no modifier is held. The third and fourth part specify the actions when modifiers are held, usually to send a keystroke or to run a command. The fifth part performs the bindings for the first, second and third level.
View 5 Replies
View Related
May 14, 2011
On my Debian machine I have no InterNet connection.
Hardware: --
HP Pavilion DV8000 laptop,
-- 2GHz AMD Turion CPU,
-- 4 gb ram,
-- 150 gb hd,
-- (non-working non-free) BroadCom BMC-4318 wireless chip
OS:
-- Debian 6.0.1a, "Squeeeeeeeze"
-- KDE (soon to be replaced with LXDE, much sweeter and cooler apps).
Here's da problem...(thanks to stinky 1983 Macro$haft & IBM collusion to wipeout WordStar), how do I swap CapsLock & Control keys?Its gotta work in both terminal & X apps
View 1 Replies
View Related
Jan 2, 2010
can anyone tell me how can one enable capslock by using echo command. ofcourse we can glow the led by using the echo command.
Its syntax is echo -e "33[3q"
On searching i found that by using $xmodmap -e "add lock=Caps_Lock" we can enable capslock. but its not working.
View 1 Replies
View Related
May 29, 2011
I've written my custom keyboard layout, where I'm trying to remap the Menu key as Super. The key gets remapped, however Super is not recognized as a modifier key, unlike with a standard layout I've used as a comparison. What puzzles me is that the left Windows key, which I never refer to in my custom layout stops working as well.
Here is the relevant section of my custom layout:
Output of xev command shows the key has been remapped correctly:
View 2 Replies
View Related
Aug 27, 2010
I have many bindings on the control key. I cannot ctrl-click to open a new tab now. How do I change which modifier to use? I do not want to change the accelkey globally, only for opening a link in a new tab!
View 4 Replies
View Related
May 7, 2010
as many others I don't need CapsLock. I want to reassign it such that it has the function of AltGr. I use Kubuntu 9.10 but I think there must be a solution which is distribution independent.
I already tried to use setxkbmap or xmodmap. Using xmodmap at least I managed that CapsLock to behaves like Del by following this description.
But I could not achieve assigning the AltGr behavior to CapsLock.
View 2 Replies
View Related
Sep 24, 2010
I never use the <AppsKey> (or <Menu>), and I want to convert it to a modifier key, e.g. Mod4, Mod5, etc. So as to utilize some shortcuts like <Mod5>+<Shift>+J.
Is it possible in Debian/Linux?
View 1 Replies
View Related
Jan 8, 2011
I'm running through an Emacs tutorial and I was trying to figure out how to exchange CTRL and CAPSLOCK.
1. From the Emacs Wiki, i saw
Code:
As super-user:
$ loadkeys emacs
$ echo "loadkeys emacs" >> /etc/rc.d/rc.local
so, maybe stupidly I tried this. Which seems to have changed nothing.
so then I try
Code:
loadkeys -d
to try and get back to the default. Which doesn't seem to work. so then thinking i should reset everything, try to go in /usr/share/kbd/keymaps/i386/qwerty and do
Code:
loadkeys defkeymap.map.gz
Finally, I go into /etc/X11 and edit xorg.conf-vesa to uncomment
Code:
# If you'd like to switch the positions of your capslock and
# control keys, use:
#
Option "XkbOptions" "ctrl:swapcaps"
and restart.
To no avail...
View 1 Replies
View Related
Mar 26, 2010
I mean can I set up different Icons on the desktop of each workspace in KDE? Seems that a mirror image of each workspace is a waste.What do I need four identical workspaces for?I want 4,5, or 6 different ones for different types of tasks.No I don't care so much about wall paper.
View 9 Replies
View Related
Sep 30, 2010
hen I was still using hardy heron, I made a few posts trying to figure out if there was a way to really take advantage of the separate workspaces/desks.Has any progress been made in this direction? I want to do more than move firefox windows around. I want to dedicate a workspace to different projects or aspects of my life. I want to have different icons up in each one that relate to the project I'm working on and only that project
View 3 Replies
View Related
Nov 4, 2009
I have Ubuntu 9.04, and a HP laserjet 1018 printer.
I install the printer using:
And when it ask me about plugin I give the path to it. (the 3.9.2 version of the plugin, because Ubuntu 9.04 has the 3.9.2 version of hplip)
well I install the printer, everything works perfectly.....but, when I turn off the PC, and turn it on again, the printer does NOT work!, I send work for being printed but mothing happens , Ubuntu tells me that the job was printed but ... no case, my printer does not print it.
I have to install it again since cero. what can I don to stop install it every time I turn off the computer ?
View 1 Replies
View Related
Oct 23, 2009
Today I was bored and i tried to put a lot panels in my desktop, but when I put the fifth panel it was blocked so that did not respond at all (I could only move the mouse), so I had to stop with the button. When I turn on the PC it does normally, but in the "log in" screen I put the password and it doesn't do nothing, just move the mouse.
View 1 Replies
View Related
Jan 14, 2010
I read a lot of PDF documents using the default Document Viewer and I am wondering whether there is an application or a hack to have several PDF files concurrently open in one application (maybe like tabs in a browser?) since switching between one application to a specific PDF always takes time.(Especially with more than 4 PDF files concurrently running.)
View 5 Replies
View Related
Jan 21, 2010
I recently found myself in possession of a large file (a few million lines in length) of short strings and would like to count the number of lines that are unique to the file. I thought this would be an easy process, but while working on the problem, I encountered the following. Can anyone explain this weird result to me?
Code:
alaric@alaric-laptop:~/Documents/Programming$ grep '^string$' file.txt | uniq | wc -l
1
[code]....
View 1 Replies
View Related
Feb 6, 2010
I am looking to understand what would be the optimal or standard way to create a unique id for music files. Something like md5 sum, but taking into consideration that the music files contain some metadata that can be changed.At the end of the day I would like to create a backup database containing all my ratings for the songs. It should be independent from the filename and location.I have seen the libofa, but there does not seem to be much information about it. It is integrated into some GUI tools including Amarok, but they do not do what I want. PUID from Musicbrainz is explicitly closed source based.
View 1 Replies
View Related
Aug 25, 2010
As the title says, I'm interested in two (or more) simultaneous keyboards, each with a unique layout. Everything I've researched indicates this should be possible, but I'm unable to get it to work. Regardless of how I set things up, all keyboards consistently operate as if they share the CoreDevice setting in xorg.conf.
In the above config, both keyboards behave as if they're set for the USA layout. Changing the layout in gnome-keyboard-properties affects all of the connected keyboards equally, but has no provision for altering individual devices.
View 1 Replies
View Related
Feb 5, 2011
I am looking for c/c++ code (no third party lib dependency) to get the physical address of ethernet card on mother board.Most of them suggests to use the linux commands and process the output. For example "/sbin/ifconfig eth0".The problem with above command is that when you run this on a linux variant which is running using VirtualBox on windows host, it's not returning the correct mac address. In this case the correct mac address is the one set for individual virtual machine."/sbin/ifconfig eth0" works fine when linux variant is installed normally.There is another case when linux variant is installed normally and if you install virtualization apps such as VirtualBox or VmPlayer, they create a virtual adepter for their own use. In that case running "/sbin/ifconfig" returns all the adepters. (physical and virtual)
View 1 Replies
View Related
Jul 30, 2009
how can I generate unique identifier on centos 5.x I read some thing about using utility such as uuid or uuidgen
View 1 Replies
View Related