General :: Control-Up,Down,Left,Right As Extra Keys?
Feb 18, 2010Is there any way of getting the arrow keys to act differently while the control key is pressed. On my system ^-Up and Up generate the same code...
View 3 RepliesIs there any way of getting the arrow keys to act differently while the control key is pressed. On my system ^-Up and Up generate the same code...
View 3 RepliesI have a testing application, under which I need to disable Ctrl-x and Few other keys...
My Problem is If i disable Ctrl Key using xmodmap command..All the other Ctrl combination are getting disabled...For ex: Ctrl-s, Ctrl-a etc..My goal is to enable some combination of Ctrl key and disabling some combination of Ctrl key..
I own a Microsoft Wireless Keyboard 1000 which I'm overall pleased with. The keyboard has some extra media and application launching keys which I try to assign in systemsettings>Input Actions. I believe the application is called khotkeys, however I'm not sure. Four different cases occurred as follows: The keys are recognized and can be assigned a command to run. When settings are saved the specified application launches. Examples of keys that works:
Code:
Physical key symbol : Recognized by khotkeys as : HEX code send by keyboard (obtained by showkeys)
Headphones : Tools : keycode 171 press, keycode 171 release
House : Home Page : keycode 172 press, keycode 172 release
All media keys (play/pause, next, prev, stop, vol-up, vol-down & mute)
[Code].....
I don't care if this is done in the bios or a kernel module or software. Is there any way at all to do make the 'fn' key act as 'control' and the 'control' key act as 'fn' in linux running on a macbook pro?
PS. You can do this with software in OSX with the application KeyRemap4MacBook.
I am running Debian unstable, kernel 2.6.32-trunk-amd64.
The box says it's a Logitech Cordless Desktop Wave. lsusb says it's a "Bus 003 Device 003: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser".
The zoom keys and the other key on the left don't work. The configuration and camera key don't work. The music and media centre keys both think they're the configuation key.
However, the Previous, Next, Stop, Play, Mute, Volume Up/Down, Calculator, and Sleep keys work.
Following is heaps of spam. I hope somebody can make some sense of it. :P
Quote:
dmesg | grep -i usb
[ 0.955642] usbcore: registered new interface driver usbfs
[ 0.955667] usbcore: registered new interface driver hub
[ 0.961156] usbcore: registered new device driver usb
[ 0.962332] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[Code].....
Volume up, volume down and mute keys on the keyboard don't control the volume any longer.They worked before. Hitting the keys brings up a progress bar widget with the volume level unchangeable, set at 0% (which is not accurate at all).It looks like the key mappings or key bindings are working, but there is a disconnect with actual functionality. The volume cannot be changed or muted anymore from the keyboard.
This worked just fine in KDE on Fedora 11 before upgrading KDE components yesterday with Yumex. I am now using KDE 4.3.2 I don't think that it's a coincidence that it stopped working after doing an update.
I updated the kernel and nVidia drivers too, but this problem exists when I went back and tested with the previous kernel, so I don't suspect the kernel upgrade. No info in Xorg.conf about the keyboard. Is there a setting that I am missing?
Sound works just fine. I can listen to whatever source I like. This is not a problem with the sound drivers as far as I can tell.I just want to be able to control the volume with the keys on my Logitech Illuminated Keyboard, model Y-UY95. Is anyone else experiencing this?I can adjust the volume with Kmix 3.5 or GNOME Volume Control V2.1
I just installed fc12 on a Dell Latitude E6500 laptop. Everything is fine except that my Left and Up arrow keys are inactive so .e.g. I can't review bash history.
In the "keyboard preferences" GUI the keyboard model is "evdev-managed keyboard" (although I have also tried without success the model specific for this laptop) and the only layout is "USA".
Have done an update of all packages without fixing this problem.
Just did a fresh install of maverick and out of the blue the left and right arrow keys are no longer working. the arrows on the numerical pad work.
View 2 Replies View Relatedhow can i control vlc via the keys above my keyboard(my english sucks and i have no idea what they are called, meta keys? multimedia keys? whatever)only MPlayer responds to them, not vlci opened vlc preferences window and in hotkeys page, i wanted to add the "PLAY KEY" to "PLAY/PAUSE" but it wouldn't even recognize the keys, nothing happens when i press them, but it would recognize something else ,like
View 2 Replies View RelatedI am using Samsung N150 and ubuntu 10.10 is installed in it. There is problem with brightness control i.e., I cannot control my brightness by up & down keys. I made settings such as:
I Add the repository to the sources list and enable it
sudo add-apt-repository ppa:voria/ppa
Perform complete system update
sudo apt-get update && sudo apt-get upgrade
it may take long time depending the internet connection
than I installed packages "samsung-backlight" and "easy-slow-down-manager"
sudo apt-get install samsung-backlight easy-slow-down-manager
Also I made changes in brightness setting in during the boot i.e set to user control instead of automatic. But after doing all these stuff still my laptop brightness not control by fn + up/down keys.
I don't like the window controls switch from right to left...made in 10.04. Easy script to move the buttons here. [URL]
View 9 Replies View Relatedcontrol keys aren't working most of the time in Open Office. I can copy, cut and paste with the mouse, but Control+C/X/V/Z is not working at all. I also use intellij idea, there I have the same problem, but I can use its own defined control+alt+space. I've tried Abiword, the control keys worked at the begging but then after a while when I used control+something(C/X/V/Z), it always selected everything. Besides that, the control keys are working perfectly in nautilus, terminal, firefox, chrome, gedit. I'm using Ubuntu 9.10.
View 4 Replies View RelatedRight now, it controls both Master and PCM, resulting in weird volume increments. I want PCM to stay at 50 and only change Master with my volume keys.
View 3 Replies View RelatedI would like in depth knowledge of how these keys work. If I were to want to use these keys for my own application how would I program them?
View 1 Replies View RelatedOn 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
I was just wondering if there is any program/script/code/trick/way to get the arrow keys to control the mouse pointer and, well basically, the keyboard to do stuff you would do with the mouse..?
And i know about keyboard shortccuts
P.S.: Anyone wanna go searching for 'The Beach' in thailand?
I installed Keytouch in a useless attempt to allow me to brighten my screen (but that's another thread...) and now the control keys don't work. I tried a couple of files that were supposed to be my keyboard, but neither worked. I don't want to mess with it any more, but I can't figure out how to uninstall it!
View 7 Replies View RelatedI would like to use my multimedia keys on the laptop.
As I have seen in kde, they are recognized already, very good.
But I would like to use the play-pause, ffd, rwd and stop button in a special way.
After pressing one of them , a programm or script is called, which does:
a) determine the entries ( in a list ) of assigned applications to be controlles by this mm-buttons. ( The list can be edited, I decide to add vlc, amarok, flash plugin for firefox )
b) determine, which of the applications are running actually.
c) determine, which of this applications has the focus ( means, which of them ( if all more running ) is "the active one".
d) issue its shell command, which corresponds to the keyhit ( play, pause, fwd, rwd, stop )
Now my question : Is it all possible via shell/and or x-script?
If not, i will have to code something, i suppose.
I have a problem with keyboard mappings on F13. I have the following in my .xmodmap file that is run from .bash_profile:
[code]...
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 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'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
there are 2 related to 11.3: openSUSE_11.3/ and openSUSE_11.3_KDE_Distro_Factory/ Index of /repositories/KDE:/Extra they are not listed as official kde4 repos here KDE repositories - openSUSE, but they are in the same directory structure on the build service so it would assume they are official (what ever official means) They have rpm's I didn't see in community and playground (at least for 11.3) such as audex and clementine I would guess that they are for the stable and factory versions of KDE4 but then shouldn't there be a 3rd for unstable if this was the case? Or do they refer to the distro, 11.3 stable and 11.3 factory
View 6 Replies View RelatedI would like to use two monitors with my desktop, so connected them the other day and it worked straight away, which is good but... The monitor configuration app always want the primary monitor to be on the left hand side, thus it always extend my desktop right. Can I do anything to extend my desktop to the left instead of to the right so I can have background application on the screen to the left?
View 8 Replies View RelatedI'm not sure if I should post this question in "hardware & laptops", or "Desktop Environments", because this is a hardware problem on a desktop computer.
Description of Problem:There is another thread that discussed this same problem that I'm having: However that thread is so old that the suggestions in it no longer work in Ubuntu 10.04 and for whatever reason I can not make a reply to that thread.As in the above thread, I've tried other input devices and rebooting the computer and using other USB ports, and my mouse still intermittently double left clicks randomly at times when I've only clicked the left mouse button once and at times and places when it should only produce a single click such as when selecting a drop down menu.
Has any one else had this problem, and does any one have any idea how to fix it or to trouble shoot this a bit more? Please let me know if there is any other information I can provide to further clarify or troubleshoot this issue.
The first is about implementing function calls. The way I currently have it is that functions are called with a C++ std::vector of nodes as the parameters. How would I turn a comma-seperated list of expressions into a C++ vector in the grammar?Second, how do you implement left-associative operators in a parser that does not allow left recursion?
And third, what would be the best internal representation of integers? A C++ int seems simplest, but limited. Using GMP seems more versatile, but I'm afraid it might seriously slow down the interpreter compared to C++ ints.
Just wondering if Ubuntu has an Accessibility equivalent for sticky keys and mouse keys.
View 1 Replies View Relatedsed '/
$/ {N s/
//}'
sed: -e expression #1, char 10: extra characters after command
I want to understand what is wrong with my command line. When I can do the some of following in a script but not in a command line. I have been working through the tutorial at [URL]. When I got stuck at the section Working with Multiple Lines. These script works fine.
#!/bin/sh
sed '
# look for a "#" at the end of the line
/#$/ {
# Found one - now read in the next line
N
# delete the "#" and the new line character,
s/#
//
}' file
In my case I am looking for or return ^M.
#!/bin/sh
sed '
# look for a "#" at the end of the line
/
$/ {
# Found one - now read in the next line
N
# delete the "#" and the new line character,
s/
//
}' file
The problem is when I try to convert it to a single line shell command it gives me an errors.
sed '/
$/ {N s/
//}'
sed: -e expression #1, char 10: extra characters after command
sed '/
$/{N s/
//}'
sed: -e expression #1, char 9: extra characters after command
sed '/
$/{Ns/
//}'
sed: -e expression #1, char 8: extra characters after command
I want to understand what is wrong with my command line. When I can do the following in a script but not in a command line. I have created a sed script to do the work I want.
cat test.sed
#!/bin/sed -f
/
$/ {
N
s/
//
}
I want to use Gparted to extra space to /dev/sda5/. Using a live CD I shrunk /dev/sda7 and I have 9.77 Gb of free space.
However I can not increase the size of /dev/sda5 - I can only shrink it.
Do I need to reboot and then try?
I have a problem, I'm making my own Distro (I hope it'll be cool :P) and I have some problems,
1. What should I still install? What packages should be in? (for normal use)
2. What should I do to make system automatically find sound when start?
3. Which application/command starts a window, where is logout button, turn off etc. in Gnome?
4. Which package do the extra applets in Gnome?
I want to ask a question regarding the terminal in ubuntu. When i deleted some lines in the config files for example, there will be those so-called extra spaces left after deleting and i can't seem to delete those spaces and 'pull' up the lines below. So, how to delete those extra spaces?
View 13 Replies View Related