General :: Creating Custom Keyboard Shortcuts In Ubuntu?
May 13, 2010I use Lucid Lynx (Ubuntu 10.04). It has the social media button on the top panel. I want to create a keyboard shortcut for this. How do I do it?
View 4 RepliesI use Lucid Lynx (Ubuntu 10.04). It has the social media button on the top panel. I want to create a keyboard shortcut for this. How do I do it?
View 4 RepliesFor example - when coding in Perl, I need to sometimes comment out a bunch of lines.What I do is something like
:80,96 s/^(.*)$/#1/
I want to create a custom shortcut for this so that I can do something like
:80,96 cm
for commenting and
:80,96 uc
for uncommenting.What should I put in my ~/.vimrc?
Does anyone know how to make custom keyboard shortcuts? The commands don't seem to cross over to the system>preferences>keyboard shortcuts utility. For example, I added the file browser to my desktop. I right click, select properties, and the command is:
However, when I add a custom shortcut with that same command it doesn't work.
Is it possible to configure the shell [in xterm, tty, whatever] to recognize custom shortcuts? That is, can I bind any program to Ctrl+X, Alt+X, etc. shortcuts? I know how to do this with Gnome/KDE/Fluxbox, but I'm interested in doing it on a shell.
View 6 Replies View RelatedI want to create a keyboared shortcut for creating new folder and so i use this command in gnome-kinbin : mkdir myfolder but it does not work but when i write:mkdir /home/user/myfolder it works correctly .
How i can say it to create the folder in the current directory of that is active in the current windows? and also what is the command for creating a file as .txt or .
There have been some posts on this forum about custom keyboard layouts, but the latest one was more than three years ago, and is outdated. I found the following code for a custom dvorak international keyboard layout here, but it directs me to copy this code into the folder /etc/X11/xkb/symbols/pc, a folder which does not seem to exist in 9.10 or 9.04.
Code:
As this is the only thing I felt Windows did better than Ubuntu (custom keyboard layouts), I would love to be able to change the layout and finally seal the deal with Ubuntu.
I'd like to open a directory with the F12 key. I haven't any problem getting Keyboard Shortcuts to run programs, but cannot figure out how to have it open a directory.I tried making a link to the directory and using that, but still no go. Edit: The directory I want opens when I use its link Can't find anything on the net for this. Most just mention that we can create custom keyboard shortcuts. I tried using /home/directory/directorydesired, but no go.
Edit: The directory I want opens when I use the link
How to create and install a custom keyboard layout?
View 1 Replies View RelatedI just installed XMMS and I want to create a shortcut on the desktop to run it. I found a how-to video for creating shortcuts so I have the gist of it (I was able to create one for Firefox) but I don't know where to find the executable file for XMMS to do the same. I just don't know enough about Linux's file structure to know where to look.
View 2 Replies View RelatedIs it possible to do the following in Ubuntu? If so can someone point me in the right direction.Say you want to set a keyboard shortcut to do the following: For examples sake, set Alt+F to open Firefox and maximize it, but only if Firefox is not already running. If it is running and not maximized, then maximize the most recently touched Firefox window. If it is maximized, then minimize Firefox.
View 1 Replies View RelatedI am new to linux, I would like to know the commonly used keyboard shortcuts. I want to get familiar from the basics.
View 8 Replies View RelatedInspired by this question. I would like to remap Caps Lock to escape, but only when I am in vim. I would like to keep Caps Lock untouched while not in vim.
View 3 Replies View RelatedIs there a way to add a keyboard shortcut for a terminal command in OSX. Basically most of the times i open the terminal app in MAC in order to ssh into a certain server foo. What I want to do is add a keyboard shortcut (say ^k) so that on a terminal when I do that, it runs "ssh foo" in the terminal.
View 4 Replies View RelatedI switched from Windows to Linux, and one thing I'm missing is Altnnnn keyboard shortcuts to insert an em dash and other things. Is there any way to get them working under Linux? I'm using Arch Linux and KDE, if that matters.
View 2 Replies View RelatedI don't know when this started happening, but my shortcuts such as Super+D to minimize all and go to the desktop and Ctrl+Alt+T to open a terminal, etc, have stopped working.
Other shortcuts, such as Alt+F1 and Alt+F2 work correctly, as well as the compiz ones.
I frequently move my computer between rooms. Instead of opening the nvidia-settings, making the changes, applying, then confirming them is there an easier way using shortcut keys or shortcuts? Would like to have Ctrl-1 as change to laptop display only, Ctrl-2 for external only, Ctrl-3 for Twinview
View 1 Replies View RelatedI am using VNC viewer to remotely access a Linux machine. The problem is when I accessed it, I pressed a button which caused the status bar to disappear (containing menus such as 'Application', etc).
Then I couldn't get it again, even the title bar of Eclipse disappeared and I couldn't find any way to restore it. Even terminal is not getting opened.
I'm trying to emulate behaviour I get from KeyRemap4MacBook on Mac OS X. It lets me remap control-m to Enter, for instance, globally. Is this possible with X/GNOME? Seems like xmodmap is not suitable for remapping key combinations. I tried xbindkeys to bind control-m to xdotool key Return, but it emits control-return. I tried xdotool keyup control; xdotool key Return; xdotool keydown control but it stills behaves unpredictably.
View 1 Replies View RelatedI've started using the keyboard shortcuts in Linux Mint with the Gnome desktop, and I've found that they don't work unless I first click on the desktop with the mouse.
The problem occurs if I start with no application windows open, then open a single application, and later close it leaving an empty desktop. If any other app windows are open the keyboard shortcuts still work. But if there are no other windows open the shortcuts fail to work until I click on the desktop. It's as though the system fails to return the input focus to the desktop when the last remaining app window is closed.
On PC-BSD 8.1 (KDE) I have four workspaces. I want to launch rdesktop 1.6 in one of them, full screen if possible (I'll settle for nearly-full in a window if I have to), and be able to do the following:
Switch between windows in the remote session using Alt+Tab. Switch between local workspaces using either the default Ctrl+F1 or what I've switched it to, my preferred Alt+F1.
It seems if I use the -K option, I get 2 but not 1. If I don't, I get 1 but not 2. Is there no way to do this? How can I tell rdesktop to send or not send a specific key combination?
I found that Linux Ubuntu has custom keyboard commands.his is awesome.What I'm trying to do, is make a command that will shut down the computer with a single button with no dialog windows.For you know, being grounded nd stuff.I found the command for it is "shutdown" with a few options.But when I tested it, being bound to pause/break, it did nothingAm I writing the wrong code, as I'm not using any options, or is this not possible?
View 7 Replies View RelatedI have written a custom keyboard layout that I'm trying to install in Kubuntu 10.10. This is the layout: [URL]
I have added the layout as /usr/share/X11/xkb/symbols/dotan and made these changes:
In /usr/share/X11/xkb/rules/base.lst I added this:
! layout
dotan Dotan
Of course, the !layout line was already there, I did not touch it.
In /usr/share/X11/xkb/rules/base.xml I added this:
<layoutList>
<layout>
[Code]....
However, after a reboot I do not see the new layout in KDE's configuration for these things.
Note: this is a repost of a post on the geekhack forums. After posting I realised that LinuxQuestions is the better place to ask this. For reference, here is the original geekhack thread: [URL]
Just got a problem that I've spent a few days trying to get around. Basically, what I am trying to do is create launchers/shortcuts on my desktop that will
a) Launch a terminal with root or sudo access
b) Launch an application.
For example, an application I might ordinarily use as a super user or root user is 'hping3.'
Basically, I want to be able to click on the launcher, and have it open up a terminal with sudo access and launch the hping3 application. I've tried messing around with the 'create launcher' function, and entering in a command to be launched in a terminal window, but to no avail (e.g. something like "sudo hping3" or "su && hping3"). How to write up a simple script to launch a terminal with su access and launch a given application?
How can I get Ubuntu to have sound and screen brightness controls on the keyboard like Mac OSX?
View 1 Replies View RelatedI don't think I could be much newer to Ubuntu (I only started using it properly an hour ago) and I'm having trouble with the keyboard shortcuts. Nothing happens when I press alt-f2 to run terminal, or ctrl-alt-tab to switch workspaces. I also cannot use the fn keys to dim the screen, change the volume etc
View 4 Replies View RelatedAfter using KDE 3.5 for years, I defected to Gnome when KDE 4.0 came out. I have recently installed Kubuntu Maverick on my netbook and have decided that I now like KDE again The one bit of functionality that I am missing is the keyboard short cuts of Gnome-Do. So if I type Windows key Em, return and Emacs launches.
The search box in Kubuntu sort of does this. However, I have to click in the box and when I have typed the first few characters I have to click on the icon with the mouse. Is there any way I can do this just using the keyboard and not the mouse? I have searched the help and Googled without much success.
Keyboard shortcuts set in Settings -> Settings Manager -> Keyboard -> Application Shotcuts do not work. They worked in 10.04. How do I fix this?
View 9 Replies View RelatedIs there any way of using keyboard only in lxde?
Lxde wiki does not seem to be working so am struggling to find keyboard shortcuts.
Need to find keys that will let me use number pad to move mouse.
Or even access main menu
I switched to Ubuntu a few months ago. The only thing I miss from Windows 7 were their new keyboard shortcuts for moving windows between a monitor or multiple monitor. This allowed you to take one large monitor and easily use it as two by pushing certain windows to one half of the screen or another via the keyboard.The keyboard shortcuts:
WIN+Up Arrow
Maximize the window.
WIN+Left Arrow
[code]...
I have the keyboard: HP 6511-SU and it has a lot of buttons that would be useful to me; however, Ubuntu does not even recognize and does absolutely nothing with the majority of the buttons it has. The ones that it does pick up, it is mapped incorrectly (ex.: the media button, "stop" would be mapped to "eject". That's easily corrected by remapping it by going to System> Preferences> Keyboard Shortcuts. Is there a program or configuration file that will map the unrecognized buttons?
View 5 Replies View Related