I have a bash script that I use to configure a vanilla Ubuntu (10.10 Maverick) installation to be exactly the way I want it. I make extensive use of gconftool-2 to configure the desktop, set up shortcut keys, etc.
Now, I'm trying to swap the CTRL and CAPS keys. I have found two ways of doing this: In Gnome, go to System -> Preferences -> Keyboard -> Layout -> Options and make the change in there. This works well, but I don't know how to script this; the setting doesn't seem to be stored in the usual place as I can't find it with gconf-editor. Add the line setxkbmap -option "ctrl:swapcaps" to my .bashrc file. That works too, until I suspend the machine & then resume it. At that point the CTRL and CAPS behaviour return to normal, until I cause .bashrc to be run again by opening a new shell. This behaviour has been reported as a bug in RedHat. Edited to add: JeffG on [URL] suggested adding the call to setxkbmap to my gdm.conf file in the script section; that resulted in a failure to load X on startup.
switching those keys that is both permanent, and can be scripted?
Can I change the Caps Lock key to Control and still keep the on/off nature of Caps Lock? I've checked into using xmodmap and seem to have hit a dead end. Many people want to swap them, but they also want to swap the way they work. I'd rather keep my new Control key as an on/off switch for Control.
I upgraded from 9.10 to 10.04. The Caps lock indicator on my keyboard is not working (always off). The Num lock indicator works fine. I have the same problem with other keyboards. The other keyboards work with Windows & DOS. This isn't a show-stopper, but I'd like to get it corrected as it's problematic when typing in passwords, etc. that have hidden fields.
" Mark the start of the text with "v", "V" or CTRL-V. The character under the cursor will be used as the start.""With CTRL-V (blockwise Visual mode) the highlighted text will be a rectanglebetween start position and the cursor."I can mark the start with "v" or "V".But it doesn't work when I push ctrl+V.
I have the Cap Locks key remapped as an additional Ctrl key. (I did that using the GUI System->Preference->Keyboard). This works fine all the time except when issuing one command to emacs. If I do CapLocks+Alt+ it does nothing yet Ctrl+Alt+ indents as needed. Since CapLocks should be the same as Ctrl I do not know what is causing the problem or how to solve it.
I purchased a lighted keyboard, on the net. Black LED Lighted Keyboard W-9868BK USB The scroll lock key is the key that turns the back light on/off. Num light works/caps light works, but the scroll lock light does not on F12 or Ubuntu Thinking it may be a soft ware problem after trying different usb slots, I dug out an old XP machine and it works.
I have a HP Pavilion dv4 that is 4 months old. Yesterday it suddenly seemed to restart then once I logged in it turned off. When I tried to turn it on some of the lights came on and the caps lock and num lock started flashing. Since then I have not been able to get it to work correctly.It once seemed to turn on but died again after the login window.I tried to use my live cd but the same thing happened. It started loading once, but then shut down again. Every other time it stayed dead minus the lights
There is a very strange problem I've been having. When I enable either Caps Lock or Num Lock the media controls on my keyboard cease to work. I have Googled this one to death but found nothing. This problem existed in Xubuntu 9.10 and now still exists in Xubuntu 10.04. The keyboard I use is a Logitech Elite Keyboard. I would love to be able to use the Caps Lock and Num Lock without the worry that I am disabling the media controls
I have just burned the latest CD using infraRecorder, as per the instructions on this site, however when I boot from this CD, it spends about 5 minutes moving the red balls across my screen, then all of the sudden it just freezes, and my caps and scroll lock lights start to blink. I've had a look in the forums already but there's nothing about this happening on Boot of the live CD.
I am having a very annoying problem with my laptop.I am experiencing many freezes.When my laptop freezes, it shows the caps lock and scroll lock lights blinking.At first I thought it was a problem with flash (here is original thread: URL... )In the original thread, I thought the freeze's were being caused by the flashplayer, but it apparently isn't the case.The last time I experienced the freeze, I was playing around with the compiz desktop effects.
I'm wondering why the num lock doesn't work in Ubuntu anymore? When you press the "num lock" key, you're supposed to be able to input the numbers along with + - * / and decimal point. When I press num lock and try typing numbers, nothing happens.
I've done a google search and this is a well known problem that nobody has fixed. In Windows it's never a problem.
Seems such a shame that the great Ubuntu and Linux are so good for stability and speed, but can't get a simple num lock working.
I know this doesn't matter to most people because most people hold shift to capitalize letters. I tap the caps lock with my pinky whenever I need something capitalized. I'm a pretty fast typer, I just don't type correctly. How do I get it so that when I'm typing and I hit Caps Lock for it to be an instant effect? For example this is what I'm getting annoyed with, here is an example of what I am having to recorrect everytime I type.
In Fedora 10 they decided to change to "evdev", so if you used xmodmap in F9, these mapping have changed in F10 and F11 for that matter. In order to find the new key values start
xev and press a button you would like to know the keycode for. Write this value down. When done, make a file ".xmodmap" and put in the values. "man xmodmap" explains the format. Not easy to understand! So here is how mine looks like.
This layout is MUCH more logical than the original. Now Delete is the key just to the right of the Backspace key. Back spaces deletes to the left, and Delete deletes to the right, so these keys shoudl of course be next to each other Page Up, Page Down, Home, and End now have the same structure as the arrow keys below. This layout makes it much easier to navigate without looking at the keys, because now the layout makes sense And why shouldn't 0 be to the left of 1? of course it should. 0 is lower than 1.
I keep starting up Fedora and I'm not able to get far (although it's not always at the same time) before my screen will go black, except it shows the mouse/cursor - but it's frozen, and thhen the caps-lock light starts blinking and I can't do anything or get it to recover. Sometimes it happens after 30 seconds, sometimes 40+ seconds and sometimes within 15 or so seconds.
How do I stop this and diagnose this?
I've tried, in the boot-startup to choose an older kernel version, butt the same thing occurs!
I have: Fedora 11 Kernel: 18.104.22.168-217.2.16.fc11 i586 Asus EEE PC 1002HA
One other thing, it does always seem to happen after I've turned on wireless. And I've been using F11 for months now with no issue.
I keep starting up the computer and I'm not able to get far (although it's not always at the same time) before my screen will go black, except it shows the mouse/cursor - but it's frozen, and then the caps-lock light starts blinking and I can't do anything or get it to recover. It ONLY occurs after I log in to wireless network. Using a wired connection, this problem never occurs.How do I stop this and diagnose this?I've tried, in the boot-startup to choose an older kernel version, but the same thing occurs! And this was working for months and now is not.
I have a problem with keyboard mappings on F13. I have the following in my .xmodmap file that is run from .bash_profile:
The problem is that at seemingly random times the roles of the caps lock and control keys (and the other customisations) gets reverted back to normal - which makes for an awful lot of confusion! Running xmodmap again switches them to how I like it, but again after a seemingly random period it resets itself. This occurs under KDE and Gnome in F13, but did not occur in F12. Using the KDE keyboard settings dialog to switch caps lock and control does the exhibits the same behaviour.
I have tried fedora 14th and also latest ubuntu but my lenovo notebook keyboard did not detected by OS. i think it is due to some kernel missing. keyboard work if acpi=off. My laptop is "Lenovo s10-3c". 1GB RAM, 160 GB Disk.
I want to use the text mode but when I press Ctrl + Alt + F4, I get the normal screen with strange colors, and nothing else...I have to press Ctrl + Alt + F7 to return to the normal screen (I mean, the same screen with the normal colors). Ubuntu 10.04, 64 bits version. Asus u30j.
I tried search for a solution for this from google but couldn't find much that would help me. I just installed a fresh copy of Ubuntu 10.04 from the live cd, and now I want to install the nvidia drivers. But i'm not able to access the terminal. Ctrl + alt + f1-f7 does nothing. Also, doing sudo service gdm stop, puts me in the black screen where it gets stuck at "Checking Battery state", with a blinking cursor following it. I can type stuff but it doesn't do anything. No terminal, no response.
After that the only thing that works is alt+ctrl+delete , which shows me the ubuntu logo for a few seconds , with a few lines in the black screen before the restart happens. Sorry i'm really new to linux so I'm not sure what files or configs I can show you guys to help with this unless you ask for something specifically.