1
vote
2answers
31 views

Custom keyboard shortcut to lauch a terminal and run a command without exit in the end [duplicate]

I want to create a shortcut to run a command with keyboard shortcut But when I press "alt+ctrl+a" terminal open and immediately close. Please help me to edit below command for prevent from close ...
2
votes
1answer
46 views

How do I save a line in terminal without runninig it?

Is there an option to abandon the current command and later go back with the up arrow? Sometimes when I want to open multiple files at once I want to check "dir" to see if I got the right paths. How ...
1
vote
1answer
25 views

shortcut to send selection to terminal in geany

So i've set up the geany to use with the terminal. My next question is how to set up a keyboard shortcut to send the currently selected code to the terminal?
1
vote
1answer
84 views

How to create shortcuts using the terminal [closed]

I know the easy way using the unity but is there a way to make a shortcut for chrome for example using the terminal.
0
votes
2answers
131 views

Launcher for programs which need multiple commands to run

I already installed a program called CadFeko, and I can run it from terminal. To run the program, first I have to run this command . /opt/feko/6.3/bin/initfeko Then I can call the program by ...
2
votes
1answer
70 views

How to give a quicklauncher or shortcut administration privilege?

I have a quicklauncher in a plasma widget (which is the same as a shortcut) which runs a command which needs administration privilege. I use the quicklauncher frequently and do not want to type root ...
1
vote
1answer
380 views

Creating Desktop or terminal comands shortcuts to open a program [duplicate]

I recently installed Tor browser and in the site below the installation steps it says to move to the downloaded folder via terminal and then type ./ start-tor-browser to start tor, and it works. If I ...
3
votes
2answers
760 views

How to create shortcut on ubuntu to open a terminal with some folder?

I have a ubuntu running in vmware, and the folder is mnt/hgfs/somefolder (shared folder from VMWARE). How can i create a shortcut to open a terminal with this path (mnt/hgfs/somefolder) without need ...
1
vote
2answers
651 views

Create launcher shortcut for RDesktop

I am trying to create a 'shortcut' that I can pin to my launcher in Ubuntu 12.04.3 LTS that will lauch an RDesktop session. It works fine from the command line thus: rdesktop -u UserName -d Domain ...
1
vote
1answer
903 views

Shortcut to open Terminal and run some commands

Is it possible to create desktop shortcut, that would do as follows: 1. open Terminal 2. change directory 3. make a command inside that directory 4. type password (sudo) I tried with Terminal ...
0
votes
1answer
307 views

Keyboard command for gnome-control-center ubuntu 13.10

As much as I tried to figure this out I simply cannot get this to work out the way that I want it to. Now the usual commands in the terminal command line would be gnome-control-center now normally ...
0
votes
2answers
247 views

How to create a desktop shortcut for a command? [duplicate]

I use a dongle for using internet on my kubuntu desktop. But to use the dongle, everytime I have to run MobilePartner from /usr/local/airtel/MobilePartner using terminal. Is there any way I can create ...
1
vote
1answer
168 views

Is a shortcut and symbolic link the same? If not, how do I create a shortcut?

I found this link on Wikipedia: http://en.wikipedia.org/wiki/Symbolic_link According to them Symlinks are not really shortcuts. I had the need to create a shortcut to a program on the Desktop and I ...
7
votes
3answers
1k views

Shortcut to bring all open terminals to the front

After I navigate out to a webpage or editor, is there any way to bring all the open terminals back to the front in their original positions? It is a bit of a pain clicking the terminal icon and then ...
3
votes
2answers
73 views

CTRL-Alt-t opens term executes a command and exits

How do I get to the options screen that sets the command to run and whether to close right away or not. I think I need to get to the "Edit, Profiles" and change the default one. I set it to close ...
2
votes
2answers
6k views

How to create shortcut for a command in terminal?

I want to create a shortcut for a command in terminal. Like for a command "ssh user@123.45.7.123", I just want a command "user" and the above command will run. Is this possible, and if so how can it ...
1
vote
2answers
8k views

Shell Script Desktop Shortcut

So I tried making a desktop shortcut which executes a very simple shell script. But when i double click/right click->execute it, it does nothing. (or at least I think it does nothing) heres how my ...
3
votes
1answer
517 views

Creating A Shortcut to Open Terminal & Run A Command

everyone. I'm new to Ubuntu Gnome, and I just wanted to know if it's possible to create a shortcut such as CTRL+1, and have the terminal popup and run a command such as 'sudo apt-get upgrade'. Is ...
0
votes
1answer
3k views

Terminal command script launcher

I am trying to create a desktop shortcut or script that will automate terminal command input for me to open a program. cd /Downloads cd /GrooveNet-master cd /project cd /bin ./groovenet Once ...
7
votes
1answer
478 views

How can I change the keyboard shortcuts for single line scrolling in the terminal?

To scroll a single line in gnome-terminal you have to press Ctrl-Shift-↑ or Ctrl-Shift-↓ in Ubuntu. In other distributions (e.g. Xubuntu) you only have to press Shift-↑ or Shift-↓ for the same ...
2
votes
1answer
459 views

Custom shortcut does't work!

I would like to have a shortcut for a command: sudo nautilus "/" I tried to set it in Keyboard->Shortcuts->Custom Shortcuts but it didnt work. I also created shell file with this command and put ...
7
votes
2answers
13k views

What's the command to open the Unity Dash?

I would like to know the command (from the Terminal) which opens the Unity dash, the reason being I want to create a desktop icon that starts the dash instead of the 'Windows Key' for keyboard-free ...
1
vote
2answers
196 views

How to set a Custom typing shortcut?

I want to set a shortcut for my terminal window so that when I type terminal in desktop it will open. Is there any way to make a custom typing shortcut? Like WWW and something like that?
0
votes
2answers
691 views

How can i make a desktop shortcut to the game UT2004?

I want to make a shortcut on the desktop that will open the game Unreal Tournament 2004. Usually in terminal I type: sudo aoss ut2004 But when I make a shortcut and type the command in it, it ...
2
votes
1answer
331 views

Copy to clipboard does not work in a terminal

Since upgrading to 11.10 and unity, Ctrl+Shift+C does not work anymore. Paste works well, and also selecting the command from the menu. The shortcut is properly defined in the preferences dialog. ...
3
votes
3answers
5k views

Shortcut to select a Terminal-window?

I like to use CTRL-ALT + Numpad-keys to align 4 terminal windows on one monitor (One in each corner of the screen). Is there a way (shortcut) to quickly make a particular one active for typing without ...
1
vote
1answer
2k views

How do I set custom keyboard shortcuts in Unity via gconftool? [closed]

I have added few custom keyboard shortcuts via "keyboard shortcuts" app in unity. It used to go gconf file under /apps/metacity/keybinding_commands/ section in Ubuntu 10.10. But, I couldn't find the ...
11
votes
5answers
10k views

Commandline shortcut for current directory similar to ~ for home directory?

When i use the cp or move command in a terminal window, i'm currently with bash in a certain folder like this. NES@server:~/Desktop/dir1$ And now i wanna copy a file from here ~/anotherdir/dir2 ...
1
vote
2answers
2k views

XFCE shortcut problem

Every time, when i hit k button in a terminal window in vim, so it happens fairly often, it invokes the Find pop-up. I could not find where this can be turned off. I do not have this problem at home ...
6
votes
2answers
1k views

How can I create an alias so that when I enter “kt” it executes “killall gnome-terminal”?

How can I create an alias so that when I enter "kt" it executes "killall gnome-terminal"?
43
votes
11answers
25k views

Running a .desktop file in the terminal

From what I can gather, .desktop files are shortcuts that allow application's settings to be customized. For instance, I have lots of them in my /usr/share/applications/ folder. If I open that ...