Ubuntu :: Application Launcher Shortcut To Open Terminal And Execute A Command

Jan 15, 2010

I'm having Ubuntu Kramic Koala and i want to create a custom application launcher on the panel so when it is clicked it should open a terminal window and run the following command and then show the output for 5 secs and then closes the terminal... how can i do this?

Code:
cat /proc/sys/vm/laptop_mode && sleep 5

the above command is what i want to be executed at time of running the custom application launcher. if i paste the command in a terminal, it will show the output for 5 secs and then terminates... that's almost what i want. what i exactly want is that, i want it to work like when i click on the shortcut launcher, it should open a terminal and then exectues that command, show the output for 5 sec, pause, and then exits the teriminal.

View 8 Replies


ADVERTISEMENT

Ubuntu :: Command For "Open A Terminal Window And Run Application In This Terminal ?

Aug 8, 2010

What is the command for "Open a terminal window and run application in this terminal

View 4 Replies View Related

Ubuntu :: Custom Launcher Application - Will Only Execute Once?

Aug 1, 2011

I'm running 11.04, and I installed the following script for a custom google docs launcher to put in the unity launcher. However, if I execute the application it opens, but once I close the browser, the google docs launcher is no longer clickableAs a side note, I'd also like the launcher to open the new template of google docs because it opens to the older interface when selecting to make a new document.

Code:
[Desktop Entry]
Version=1.0

[code]...

View 1 Replies View Related

Ubuntu :: Keyboard Shortcut To Open Launcher Without Opening The Dash?

Jul 21, 2011

In natty, if I hit the super key once, it opens the launcher, but it also opens the dash. And the launcher doesn't work the same when the dash is open. It takes two clicks on a program icon to open the program when the dash is open, and only one click when the dash is closed. Just enough to keep me from getting into a rhythm.Hitting the super key twice will open the launcher and close the dash, but only if you don't hit the super key twice too quickly. Is there some way I can configure unity so the super key (or some other key) opens the launcher but does not open the dash?

View 5 Replies View Related

Ubuntu :: Open Application Using Shortcut From Desktop Its Not Opening?

Jan 2, 2010

I have created .NET 2.0 windows application setup with MySQL database on the XP and I have installed same setup on the Ubuntu. Right now full setup of my windows application (Desktop application) using WINE installed successfully but I'm facing one major problem. but when I'm trying to open my application using shortcut from desktop its not opening.

View 1 Replies View Related

Ubuntu :: 11.04 - Get Application Command Shortcut?

Jul 26, 2011

I want to configure my keyboard shortcuts, but I need to get the commands for certain applications in the list. How do I do this? It appears I can't right click any icons that come up when I search for them.

View 9 Replies View Related

Ubuntu :: Set Specific Terminal Command As Shortcut?

Feb 13, 2010

Is there a way to set a specific terminal command as a keyboard shortcut? I know gnome-terminal opens the terminal, but is there a way to make a keyboard shortcut that opens the terminal and runs top?(I don't like how cpu heavy gnome-system-monitor is)

View 4 Replies View Related

Ubuntu :: Making Multible Terminal Command Launcher?

Jan 13, 2010

I made gnome launchers (shortcut or what they are called). I selected them : opened by terminal (with some simple commands). The problem is that I have 3 command lines and don't want to use 3 icons (launchers) to execute them. If I edit my launcer on gedit, I get this kind of lines :

Code:
[Desktop Entry]
Encoding=UTF-8

[code]....

View 5 Replies View Related

Ubuntu :: Command Works From Terminal But Not From Keyboard Shortcut

Feb 2, 2011

I would like to make a keyboard shortcut to execute the following command:

Code: /usr/bin/xdotool key XF86MonBrightnessDown The command, when run from a terminal, works perfectly. However, when run via a keyboard shortcut, the command fails to execute. how I can execute my command with a keyboard shortcut. I am running Ubuntu 10.10 Netbook Edition with Unity-2d.

View 3 Replies View Related

Ubuntu :: Automatically Execute Terminal Command?

May 13, 2010

I googled around and couldnt find what I was looking for. Maybe I used the wrong search terms, but whatever. I was wondering if there was a possibility to execute a series of terminal commands just by double-clicking an icon. For example, there would be an icon on my desktop, and if I were to doubleclick it, it would execute "cd ~/.wine2" and then "WINEPREFIX="$HOME/.wine2" wine program.exe".

I realise that most of you will probably go "duh, that's simple" or something similar, but I am extremely new to ubuntu, and dont know my way around yet.

View 3 Replies View Related

Debian :: How To Run Execute Command In Terminal

May 4, 2010

i have one executable file (filename : "tet"). i can run this command in other linux os like: "fedora, cent os" using command "./tet", and it's working fine. but this command not working in debian. i don't know how to execute this file.

1. i have tried with 755 and 777 permission
2. i have tried "home/fullpath/tet"
3. i have tried "/tet"
4. i have tried "./home/fullpath/tet"

but above all commands are failed. to run this execute file

View 10 Replies View Related

Ubuntu :: How To Create A Shortcut To Open Command Line Program

Feb 21, 2010

I use a few command line programs quite often such as nano and mpc. I'd like to create a shortcut icon to open them rather than opening a terminal and then typing in the program name to open it. For example, how could i open konsole with nano opened in one step?

View 5 Replies View Related

Red Hat / Fedora :: Execute Terminal Command At Startup

Jul 9, 2010

i'm trying to automate terminal commands to execute at startup (rc5)one is a background process: Code: xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Two-Finger Scrolling" 8 1 the other is a gui application: Code: /home/labr/apps/gmail-notify/notifier.py i placed these commands in /etc/rc.local but does nothing.

View 2 Replies View Related

Ubuntu :: Open A Specific Tomboy Note With A Command To Create Launcher?

Jul 15, 2010

I tried

Code:
tomboy --title-note "To Do"
but it returns

Quote:

[INFO 14:55:56.264] Initializing Mono.Addins

and opens in notification area.

but the note does not open.

View 4 Replies View Related

Slackware :: Open Dolphin In Root Mode And Shortcut Command Line

Sep 11, 2010

In order to avoid switching user, is it possible to open dolphin in root mode. If yes, what is the command, and the keyboard shortcut to enter it.

View 3 Replies View Related

Ubuntu :: Create A Command That Will Open Terminal And Keep It Open?

Jul 30, 2010

I have a problem that I can't seem to figure out. I can easily create a .sh file that will execute a command in Terminal, but as soon as it executes the terminal disappears. How do I get it to stay? My idea is to have the keyboard shortcut "ctrl+alt+del" open a .sh file with the contents "ps ax". Then it would be just like having a task manager; the terminal would open with "ps ax" already executed, and all I would have to do is kill the process number.

View 5 Replies View Related

Fedora :: Open A File Or Application In Terminal?

Jul 8, 2010

How to open a file or application in terminal?

View 4 Replies View Related

Ubuntu :: Error - Cannot Open Display - 0 - When Opening Any GTK Application From The Terminal

May 13, 2011

For awhile I have had this issue with the command line and every time I try to complete any command that requires GTK graphics, It always returns the error "Error: cannot open display: 0:" The "EXPORT display" command that I normally use to fix this issue is not working. The only issue that I can think might be the cause for this could be my upgrade to natty (which was in fact a clean installation), or when I edited plymouth so that the startup and shutdown animations would match my laptop's native resolution (by the way I would also appreciate it if I could do the same with the startup animation, only the shutdown really works). If anybody know how I could resolve this issue I would greatly appreciate it. Oh and for specifics on my machine, I am using an ASUS N82 with an NVIDIA GEFORCE GT335M graphics card, running Ubuntu 11.04.

View 3 Replies View Related

Ubuntu :: Nautilus Toolbar "open Terminal Shortcut"

Oct 13, 2010

I want to know, how to make a shortcut of "open terminal" in the nautilus toolbar. I have installed "nautilus open terminal", there is option for opening terminal in right click menu and file tab in menu bar. But i want the shortcut to be in toolbar. I tried to edit "/usr/share/nautilus/ui/nautilus-navigation-window-ui.xml" file, but i don't know the action name, i could not add that shortcut.

View 6 Replies View Related

Ubuntu :: Make An Application Launcher In The Panel Launch More Than One Application?

Mar 16, 2010

How do I make an application launcher in the panel launch more than one application? Is there some sort of a symbol I type between the apps in the command line? Like ;

View 1 Replies View Related

Fedora :: Command To Kill An Application From The Terminal?

Dec 16, 2010

anyone tell wich coomand to kill an aplication , in ubuntu i use sudo killalll aplicattion

View 3 Replies View Related

OpenSUSE :: Moving Application Icons In Kickoff Application Launcher

Jan 31, 2010

I've downloaded VideoLan (VLC) via Yast but the icon was placed in the audio folder. How do I move it to the video player folder? Also, where are additional icons stored? I run SuSE 11.2 (boxed version) with KDE.

View 9 Replies View Related

General :: Finding The Command Line To Launch An Application From A Terminal?

Sep 25, 2009

Is there a way to find out the currently installed packages and the corresponding command line to launch the package from a terminal. For example, I know that I have openoffice installed but I do not know how to find the command line to launch it.

View 5 Replies View Related

Networking :: Downs Process Speed Reduced / When Open A Terminal Or Run Any Gui Application Its Taking Time?

Jan 19, 2009

if my network downs my system process get slow down ... only in user mode but in root it is working fine ..the process slow especially if i try to open a terminal or run any gui application its taking much time comparing to normal time where network is up ..

View 2 Replies View Related

SUSE :: Automate Execute Command, Reboot And Execute Command?

Dec 1, 2008

Is there a way to execute some command and then after the command completes utomatically reboot the system and then after the system reboots execute another command ? For example look at the sequence shown below(1) Execute command-1(2) After the command-1 in (1) is completed,reboot the system (3) Execute command-2(4) After execution of command-2 reboot the sytemIs there a way i can automate this process so that i need not reboot the system manually

View 5 Replies View Related

Ubuntu :: Open Terminal Command In 10.04?

Nov 27, 2010

In Xubuntu 9.04 I could right click in any directory folder and have the option of opening a terminal window "there". So the terminal command line would open preloaded to that directory. I know, I'm lazy, but it sure made life (and command line work) easier. But it's not available in my new install of Ubuntu 10.04. Now, I know that my gui environment has changed from xfce to gnome, but I would have expected MORE features, not less.

View 9 Replies View Related

Ubuntu :: Change Keyboard Shortcut For Launcher In Unity?

Apr 28, 2011

Do not know yet if unity is something for me, but I will find out .I tried to change the keyboard shortcut for the launcher (default Alt-F2).I did this by changing it in ccsm, under "unity plugin"-"Key to execute a command".

View 9 Replies View Related

Ubuntu Installation :: When Add The Shortcut To The Launcher It Does Nothing More Than Blink When Clicked?

May 8, 2011

I recently downloaded Firefox 5.0 Aurora (alpha). I just extracted the tarball in my home directory and the program itself seems to work okay. However, when I add the shortcut to the launcher it does nothing more than blink when clicked. The only way I've found to get the Firefox to open without running from terminal was to add a symbolic link to the desktop, which is fine I suppose. I was just curious if there is a way to edit the launcher icon itself to make it work, or a more sophisticated install procedure that I need to use.

View 2 Replies View Related

Ubuntu :: Open Terminal From Command Prompt?

Oct 29, 2010

I want to open another terminal from typing a command to one terminal.
can anyone tell me a command for this..

View 5 Replies View Related

Ubuntu :: Command To Open Partition From Terminal

Mar 2, 2011

I am trying to use a command to open a partition or disc from the top like open up external drive, and not have to be externaldrive/videos or whatever. The reason being is to use in cairo dock, I have tried to drag n drop like i am able to with regular folders, but no good. I seen the option to run a command, and figured I would try it that way.

I have the partitions and discs i want to access mounted. they are:
External Drive (/dev/sdc1)
Storage (/dev/sdb1)
Windows (/dev/sda2)

I tried to open them in terminal, /media/storage: no such file or directory;
/dev/sdc1: Permission denied;
open /media/storage or /dev/sdc1
Couldn't get a file descriptor referring to the console;
se7en@PC:~$ nautilus /media/storage or nautilus /dev/sdc1 .....

Along with a pop-up saying 'the location is not a folder'.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved