I'm stuck. Ubuntu 11.10 was working fine. I tried to create a desktop icon that I could click and run a Terminal command. (not launch a program, just run a command to set something). I don't know what I did, but now I can't get Terminal to run at all. I can't click on Terminal in the Launchbar or use alt-F2. If I try, I see a VERY quick box open and close.
I've downloaded from the USC an app that grabs colors with the mouse (result shows in the terminal) and I'm trying to add a unity launcher app to run that command in the gnome-terminal.
Here is the code:
#!/usr/bin/bash
[Desktop Entry]
Type=Application
Name=Grab Color
Exec=gnome-terminal -x grabc
Categories=Development;
Icon=/home/diogo/.local/share/applications/colorline.png
The problem is th
Hi, I have a program, that can be only launched from terminal, but I want this thing in menu list. I know how to add commands in menu list, but the program have to be launched from terminal. So..
I need to run " v4l2-ctl -i 2 " in Terminal, by clicking on a desktop icon.
Right now, I have to manually open Terminal, type in this command, and it sets the video
input of my tv card in Ubuntu. Then I can open the tv player to watch tv. For some reason, the tv card input doesn't stay set.
‘Open in terminal’ is a nautilus plugin that adds an option into right-click context menu allow launching terminal and automatically navigate to current location.
so I started reading up on how to program in C++ yesterday, and at the end of the first section you end up with a hello world program.
I wrote the program in emacs and saved it as a .cpp file
I went to open it through the terminal and tried to change the CD to get to the folder it was saved in, the terminal returned that the directory didn't exist which is a complete load.
now, from the h
I want to open a new terminal window and execute my program in java code. So I use Runtime.getRuntime().exec("gnome-terminal -x /path/to/my/program arg1 arg2"). This is work fine in Ubuntu but unfortunately it is not work in CentOS, the problem is that the terminal window closed immediately.
I have search many time in stackoverflow but could not find out a solution. Thank you very much!!!
I would like to be able to click on SSH links that look like ssh://user@servername and have a gnome-terminal open that runs SSH inside of it.
After reading up on the XDG stuff I did the following:
I created a shell script in $HOME/bin/ssh-terminal with the following:
#!/bin/sh
dest=${1#ssh://}
gnome-terminal -e "ssh $dest" &
This works from the command line.
I created $HOME/.local/share/
When I need to open a terminal I press CTRL+ALT+T to save time. Most of the time absolutely nothing happens, I try to press same combination again, and still nothing happens. After like 5-8 tries terminal window finally appears.