Software :: Change Bash Shortcut Keys Such As Ctrl-C?
Jul 5, 2010
I*am using Kubuntu 10.04. I would like to change some of the standard shortcut keys for bash (terminal).
I want:
Ctrl-C to copy the selected text to the clipboard.
Ctrl-V to paste from the clipboard into the terminal.
Ctrl-Z to undo.
Ctrl-Shift-C (or even better, Super-C) to terminate the command.
Ctrl-Shift-Z (or Super-Z) to be the background command.
I*don't even know what Ctrl-V did before, some I*won't worry about remapping it.
EDIT:*I*have no idea what is putting the * char after each "I". Maybe this is a non-breaking space?
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 want to reassign ctrl-shift-C and ctrl-shift-V. How is that done? (I'm using a Mac keyboard and I'd like to take advantage of the command key to avoid having to hit two modifiers.)
I'm trying to write a init.d script to daemonise a sagemath notebook server. Here's what I've done so far, I've copied /etc/init.d/single for the structure, and tried to use dtach to provide a handle to access the process. However, my main problem is issuing the signals to kill the process (Ctrl-C) from a bash script and exit dtach (Ctrl-`)
On Linux, the Ctrl-[ key combination appears to be equivalent to hitting the Esc key. I would like to define Ctrl-[ as a shortcut in emacs but I am unable to because by the time the keystroke gets to emacs it looks like the Esc key was pressed. Is there anyway to disable this behavior so that Ctrl-[ simply means Ctrl-[?
trl-q closing firefox being next to ctrl-w closing tab shortcut is one of the most annoying things firefox4. Had a look on http://ubuntuforums.org/showthread.p...firefox+ctrl-q but it does not really work with firefox from what I tried. Any clues that do not involve installing a plugin? Even a warning that you are about to close multiple tabs would be ok for me. Disabling completely would be ideal.
Code: #!/bin/bash trap "echo 'you got me'" SIGINT SIGTERM # to trap ctrl+c echo "Press ctrl+c during 5 sec loop" for ((i=0;i<5;i++)); do
[Code]...
How come code behaves normally and stops when ctrl+c signal is caught and resumes, but after I use at least one timeout read in the code it looks like, if signal is caught again it doesn't pause the execution but skips the loop. If you remove -t (timeout) option from the read, both loops look the same!
How to map special keys in vim, e.g. ctrl+< , ctrl+> , shift+< . I want to resize the windows in vim, ctrl+w+< is complex, I want map it to double press ctrl+< , how can I achieve it ?
I thought it would be a great idea to make Ctrl+Alt+Del a keyboard shortcut for the System Monitor (counterpart of Windows Task Manager). (So it wasn't really accidental)I want to revert to default, how do I do that?
I am using windows XP as my host machine and vmware workstation 6 to install and run RHEL 5. I have set the inittab to runlevel 5. While i am in gnome, i tried pressing
Ctrl-Alt-F3 and nothing happens. I searched the net and found that i should do this
Ctrl-Alt-Shift-F3. It worked and kinda throwed me to shell mode. When i issued runlevel command it showed me
N 5
Now when i tried to go back to gnome by pressing
Ctrl-Alt-Shift-F5 it didnt work !! i tried all other combinations
NOTE: compizconfig manager is not suitable for ubuntu 11.04 with unity,works fine with 9.10 and 10.10.
Ubuntu enables "Desktop Wall" by default. By holding Ctrl-Alt keys and pressing the left-arrow or right-arrow key each time, it slides through desktop workspaces horizontally for you to choose one to work on. Alternatively, you can change this to a "rotate cube" effect. Go To System > Preferences > CompizConfig Settings Manager.
Select "Desktop" from the left panel. Tick "Rotate Cube". Select "Enable Desktop Cube" as this plugin is required by "Rotate Cube". Select "Disable Desktop Wall".
Immediately you can rotate your desktop workspaces in this way holding down Ctrl-Alt keys, EITHER press the left-arrow or right-arrow key OR left-click the mouse and drag it to left or right.
if there is no compiz manager in your system,download it.. type :sudo apt-get install compizconfig-settings-manager ..
I have Ubuntu 10.10 running on a partition off of my Win7 hard drive. The thing I really like about Windows 7 is when I hit windows key+left or win+right, the current window will snap over to the left half or right half of the screen, respectively.
So Ive had this issue off and on for a while now, but have never really looked to see if others have had it or how I can fix it. Essentially the problem is that kde seems to randomly decide that I am holding down the shift or ctrl key.Im using a logitech cordless desktop s510, running openSUSE 11.3 x86_64. Ive had this problem on and off using a couple of different logitech keyboards. The most often time when it happens with the shift key is when im coding, and the control key when Im running a keyboard shortcut.
I can usually fix the issue by holding down the key that kde thinks is pressed for like 5-10 seconds and releasing, however sometimes I have to unplug and then replug in the usb adapter for kde to get things right. This doesnt happen if im running a non-graphical terminal (thouhg I cant say whether it happens in gnome as I dont have gnome installed) so I am thinking its related to kde. The keyboard can be plugged into other computers and they dont act the same way.
This gets esspecially annoying when Im coding (because of all the symbols) and generally when the issue occurs. I think it may have something to do with the key being pressed for over a certain length.
I'm running Kubuntu 10.10, with KDE 4.5.2, what I've noticed is every so often my Tab, Caps, Shift, Ctrl, Alt, Super keys stop working. I'd been running Ubuntu 10.04 with Gnome and hadn't ever come across this issue. I'm not sure if this is related to KDE 4.5.2 or is possibly because I updated to 10.10 and would also occur on a Gnome environment.If I switch to my virtual machine (VMWare Workstation 7.1.2 build-301548 which I was able to get working on 10.10 using URL.... the keys work within that but if I switch back to my host desktop they stop working.To fix it I've found logging out or unplugging the keyboard and plugging it into a different USB port fixes it.
Is there any website that has complete list of all the shortcuts of applications/softwares of Windows, Mac, Linux Platforms. If Atleast for popular and veryuseful softwares.
Everytime I use keyboard shortcut such as Alt-Tab to switch windows, my whole ubuntu freezes. I can still move mouse pointer but I cannot click anything. Anyone has an idea?
I removed pulseaudio save for the libs, and now I can't lock down my desktop with ctrl+alt+l anymore. I can still lock the system with the menu (System > Lock Screen), but it's kind of annoying. Removing pulseaudio has cleared up all of my mplayer stutter issues, but I would like to be able to use the keyboard shortcut keys. Here's the command I used to strip out pulseaudio:
Is there any way to disable shortcut keys in XFCE Terminal ? I can't seem to bind the shortcut keys, and F1 especially really gets in the way for some programs. Have no clue who thought it would be a good idea to bind F1 to a stupid help screen, when many terminal programs need this. I am using fluxbox, so maybe this has something to do with it.
I am working on a script and I want it to detect if CTRL+C is pressed at any time during the script and have it not Break the script and display a message stating to use CTRL+Z instead. How can I do that?
I am writing a bash script where I need standard Input should be saved in a file and should be terminated by passing CTRL+D signal. Any clue how can I do that in bash script.
e.g. Enter one line at a time Press CTRL+D to finish
I can make it work if I change it to some other sequence (Control-j: unix-word-rubout makes ^j erase the word), but I can't make it work with backspace.
I have a simple bash script rd.shCode:#!/bin/bashrdesktop -g 1279x757 ${1} &This is setting a specific resolution at which time devilspie moves it to the workspace I want.I am trying to run this in the run command dialog (alt-f2) as rd.sh <servername> but it does not work.My goal is to be able to create a desktop menu item/shortcut in gnome to some specific servers and/or run this from the Run Application dialog. I can run this without issue from the terminal.
I have 3 layouts: USA, Russian and Hebrew. In Hebrew the W key is mapped to apostrophe, so Ctrl+W in Hebrew layout doesn't close tabs in Firefox. There is no workaround for it as I see by now, so I am trying to get it work this way:I want to map Ctrl+W in Hebrew layout(which is actually a Ctrl+') to be a Ctrl+w. Here is what I got from xmodmap:Code:$ xmodmap -pke | grep 25keycode 25 = w W Cyrillic_tse Cyrillic_TSE apostrophe WAs you can see, there are pairs for each layout, each pair tells what happens without and with the Shift key pressed.