Ubuntu :: Run GUI Programs From Terminal Correctly?
Aug 3, 2010
I can't figure this out. If i run GUI program (in GNOME) from terminal. It doesn't works the same as if i run it from menus (or shortcut on desktop or panel). Or some times I run it from Alt+F2 method.
What is the difference in this methods?
For example what is the difference if i put this...
metacity --replace
...in terminal or in ALT+F2 dialog window. If I put it in terminal. GNOME doesn't work correctly. If i put it in Alt+F2 dialog window. It works as it should. With no problems.
And what is the difference if i like to run for example FireFox or gnome-control-center from terminal or select it from menus.
If i like to run from terminal. What would be right way to do it?
Because sometimes i get errors in terminal (but GUI works) sometimes after i close terminal GUI program closes to. Sometimes it doesn't. But if i run that program from menus (icons) there is no such problem. It just works. If i put & at the end of program. I can work in terminal. But still all of the above is still true.
View 3 Replies
ADVERTISEMENT
Jun 19, 2010
Right now when I start a program from a terminal I can't use that terminal instance again until I close the program.
I am a new user of linux, and I want to know if there is a way to execute a program/application from a terminal without blocking the terminal until the program ends.
View 3 Replies
View Related
Feb 22, 2015
I am using Debian 7.8 64 bits and I have the following problem:
When I open by a root terminal the utility called "gnome-tweak-terminal" some errors are displayed in the respective terminal.
root@debian:/home/normal# gnome-tweak-tool
WARNING : Testing for expected AutostartCondition failed: Got (None)
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gtweak/utils.py", line 152, in uses_autostart_condition
return asc.split(" ", 1)[0] == autostart_type
AttributeError: 'NoneType' object has no attribute 'split'
WARNING : Error detecting shell
[Code] ....
View 3 Replies
View Related
Apr 19, 2010
I just upgraded my computer from Ubuntu 9.10 to 10.04 (beta2) restarted and the splash was screwed i thought meh i can live with it then went into my account switched to tty1(ctrl+alt+F1) and it was the same. got annoyed now asking had anyone else encountered/know how to fix this problem. pictures attached sorry for bad quality took on phone, but that is how it really looks.
View 9 Replies
View Related
Sep 1, 2011
I have just installed qBittorrent with terminal with apt-get but I do not know where I can find it besides the Launcher and the panel on the top of the screen.
View 9 Replies
View Related
Mar 11, 2010
I recently learned how to add start up programs in the terminal using the following command:
Code:
ln /usr/bin/whateverprogram ~/.kde/Autostart
This worked, but now I want to remove some start up programs using the command line. Can someone point me in the right direction to what I need to do for this?
I'm assuming that default start up programs are not links in the ~/.kde/Autostart folder because when I run:
Code:
ls -a ~/.kde/Autostart
I only find the files that I have set to start up.
View 3 Replies
View Related
Sep 18, 2010
I am setting up a streaming audio server. I would like to have Darkice and sc_serv (Shoutcast server) start automagically on boot.
I have set Xubuntu (10.04) to auto login
Both Darkice and sc_serv are command line apps and I would like them to each run in their own terminal window so I can monitor any status messages they produce. For instance sc_serv displays connections disconnections with time connected, and current number of listeners, and I want to see that.
One important note: sc_serv must be up and running before Darkice can be started.
View 1 Replies
View Related
Oct 30, 2010
I would like to know how to find out the name of programs so that I could launch them in Terminal. For example, to launch gimp, I just type
Code:gimp and it launches. Well how do I find out other names to other programs?
View 2 Replies
View Related
Jun 7, 2011
so i've just been sitting here, compiling and running some c++ programs (with g++ from the terminal), I looked away for one minute to open a file that had just been written out (opened it with gedit if that makes a difference), now my terminal says:kbuildsyscoca4 running...so I'm wondering if anyone knows what this is about?hy it suddenly started running and why it has appeared on my terminal. I'm basically just curious as I though bash shells were entirely separate virtualizations of shells, and unrepresentative of other processes. i'm also wondering what kbuildsyscoca4 is/does (i've got gnome going on and generally gnome varieties of programs). I found a post from about a year ago mentioning the same thing, though no replies.
View 1 Replies
View Related
Jun 25, 2011
How can i install programs using the terminal and how can i use programs by using the terminal?
View 3 Replies
View Related
Jul 11, 2011
I want to run programs from Terminal as a separate process, so that for example gedit file
will launch gedit and return to the terminal prompt (so no need to open up another terminal).
View 8 Replies
View Related
Aug 9, 2011
Trying to write a script for desktop launchers that are adaptable to screen resolution. Ideally, the program should:
1. Determine screen resolution:
if "a" use xdotool options window size 1305 x 869 px and move to 135,0
if "b" use xdotool options window size 1545 x 1019 px and move to 135,0
2. Check if program running:
if no, open program, and use "a" or "b" placement options, focus window
if yes, focus window
3. Close script and leave program open (if possible).
Problems arise when trying to use the script on programs that run from and hog the terminal
(e.g. brasero, gcalctool, nautilus)
Here the script will load the program, and nothing else (probably because it still occupies the terminal as it runs)
Code:
gcalctool && xdotool search "calculator" windowmove 135 0
This next command will cause the program to load, move, but it keeps focusing itself like xdotool is running the windowmove function constantly - it keeps focusing itself until script stopped.
Code:
gcalctool & xdotool search "calculator" windowmove 135 0
This had the same effect as the above code, but seems to work as a conditional subscript running when the process is running in the terminal - it just goes infinitely.
Code:
while [1] ; do xdotool search "calculator" windowmove 135 0 done exit
Is there some kind of "if, then" or "while, do" or some kind of conditional I can put in to the script ensure the window is moved only once if the program is running within the terminal? Is there a way to remove the program from the terminal from the script once it's been called?
View 5 Replies
View Related
Oct 21, 2009
How can we install programs other than using the terminal. To be honest, I liked this system and I got used to it, but the problem is someone who wants to use Fedora but has no idea on how to use the terminal, so is there any other way for installing programs?
View 8 Replies
View Related
Jul 23, 2010
Installing the programs with terminal?
View 6 Replies
View Related
Mar 15, 2011
I am coming from Kubuntu 10.10, which is a Debian based OS. I am used to going into the terminal and typing sudo apt-get install or sudo apt-get remove to install and remove programs. I know it is the hard way to do it, but I find it gave me more flexibility. So how do I do this in openSUSE 11.3? Or can I even install things through terminal? What is the command? I know there is YaST but I also want to learn how to use the terminal
View 8 Replies
View Related
Mar 16, 2010
Every time I start Ubuntu, I set up an ssh session to a server. In order to automate this I made an entry in startup programs like this:/usr/bin/gnome-terminal -e '/usr/bin/ssh name@server.com'Nothing happens when I log in, and I've checked that the command works.
View 2 Replies
View Related
May 30, 2010
I installed Fedora 12 on a new machine (Intel Core i3) and one of my terminal-based programs won't run because it can't find libtermcap. The specific error is
Quote:
error while loading shared libraries: libtermcap.so.2: cannot open shared object file: No such file or directory
I seem to have this problem every other time I install a new Fedora. I tried a few things with old libtermcap files from other machines, and I tried looking around the YUM repository, but nothing seemed to work.
What's the proper way to get the libtermcap libraries for a Fedora 12 machine on an iCore i3?
View 1 Replies
View Related
Apr 21, 2010
I am do not know what to type in the terminal to get a list of installed programs and their versions.
View 3 Replies
View Related
Dec 29, 2009
can open the programs pe-install, but can't open other programs or install new programs
View 4 Replies
View Related
Mar 31, 2010
When I installed Wicd, and ran it for the first time, I got an error something like: "Could not connect to Wicd's dbus session- check the Wicd log file for more info". However, later when I restarted my computer, Wicd started, but I can't connect to my network, it shows up as <hidden>, I can connect to linksys, so I know that wireless is working on that computer. I know that there's nothing wrong with my wireless router, because I can connect to my network in this computer.
View 3 Replies
View Related
Jan 25, 2010
How can I edit the system proxy setting using the terminal? Which file contains this settings? I want to edit this automatically using cronjobs, cause from 8-5 I need to use a proxy, but at home I don't need the proxy. How do I fix this?
View 3 Replies
View Related
Aug 8, 2010
What is the command for "Open a terminal window and run application in this terminal
View 4 Replies
View Related
Dec 10, 2010
Linux-goers. I did some research on this, but I am still fairly new to Linux. In Ubuntu 10.10 (Maverick), I accidentally overwrote my "/bin/bash" file. Dude, using "sudo" with a small typo can work disasters. Bash is now broken in the Terminal (gnome-terminal). Terminal itself still works fine, technically, but bash is still hosed/broken. Here is what I did to try to fix it: Booted from Ubuntu 10.10 live CD. Mounted my Ubuntu partition and manually copied the good/fresh "bash" file onto my hard drive. Verified copy was successful. Didn't help, as you see. Reinstalled "gnome-terminal" using synaptic package manager. Tried to reinstall bash via synaptic, it failed with error, "E: /var/cache/apt/archives/bash_4.1-2ubuntu4_i386.deb: subprocess new pre-removal script returned error exit status 2"
In Terminal, all basic commands work as far as I can tell. ("ls", "pwd", navigation, etc.) Here are some problems:My "username@computername" does not display in the prompt; only the $ sign. Bash keyboard shortcuts such as uparrow and tab do not work. Instead, each inserts a key code. I can't even move the cursor left/right. Aliases (a function of bash and .bashrc) are broken, of course. My sanity level decreases when I use Terminal now. For what it's worth, even with "sudo" I get a "permission denied" error when trying to run Google Chrome! I read something about a ".bashrc" file being a possible problem, but I don't know how to make it work, or the file's proper locations in Ubuntu 10.10. Is there something I can do with a "make" or "apt-get install" command or something?? Could this simply be a permissions problem? Is the link to "/bin/bash", "/bin/sh", or a ".bashrc" file broken? Guide me, oh Linux gurus.
P.S. I always wondered what exactly bash was and how it was different from the basic terminal. LoL, this is an excellent way to demonstrate the difference, and I WANT IT BACK!
View 9 Replies
View Related
Nov 6, 2010
I'm using 10.04, and gnome-terminal GNOME Terminal 2.30.2 . I have irssi running on screen session on remote host. And I've been struggling for quite many days to configure it to produce either visual feedback or ring terminal's bell when I receive a private message or one of those that are highlighted.
My compiz settings window in General tab has 'Audible bell' checked.
My GNOME terminal has 'Terminal bell' checked.
I also added 'set bell-style audible' to my ~/.inputrc
And I also tried to manually load pcspkr module into my kernel.
No of the above helped or at least I haven't been able to notice any difference.
I also used some commands for irssi to produce bell sign.
View 2 Replies
View Related
Dec 1, 2010
I've fallen in love with Terminator as a replacement for the standard gnome-terminal app.
However, I'm also very much in the habit of using the nautilus-open-terminal extension for launching new terminal sessions.
I'd like nautilus-open-terminal to launch Terminator rather than gnome-terminal.
A quick search of my system and the web didn't reveal anything. i didn't find a gconf setting to control this. A quick look at the source code didn't help much either.
View 5 Replies
View Related
Dec 12, 2010
I'd like to run a program [URL] from the GUI menu (yes, I know I can run it from the command line). I've gotten this to work by using a menu entry (see attached screenshot).The command is:
Code:
gksu chkrootkit
with the option for Type: was selected as Application in Terminal However, when chkrootkit is finished, the terminal immediately snaps shut according to the profile selection: When Commands Exits: Close terminal What I'd like to do is create another profile that causes the terminal to be held open (see screenshot) when the command exits and be able to choose that profile from the GUI Menu entry. I believe the command when using the CLI is:
Code:
gnome-terminal --profile=<profile_name>
how do I incorporate this within the Command entry line of the launcher?
View 1 Replies
View Related
Feb 10, 2011
i started using computer when it was all dos driven so thought i was going to be fine using the terminal in ubuntu the problem i am facing is i can not quite get my head round why is it if i load the terminal. and the first this i type is dir or ls it gives me a list off directories. So why is it if i type cd /pictures i get no such file or directory ? Confused
This also bugging the jebus out off me is i am trying to get into my usb pen drive from the terminal to run a program i have on there.
so i type cd /media
then typed ls
is displayed New Volume <-- This being the name off my pen drive
i have tried every this to get into there but the commands i would use in dos are not playing ball.
Can some one please explain how to get into my usb pen then tell me were i can go read on this as i really can not get my head around this at moment.
View 5 Replies
View Related
May 18, 2011
what is the difference between Byobu Terminal and Terminal? i ask this because when i upgraded from ubuntu 10.10 to 11.4 i did not have Byobu Terminal
View 2 Replies
View Related
Jul 20, 2011
When I upgraded to Ubuntu 11.04 Natty Narwhal, the Byobu terminal was installed. What are the differences between the Byobu terminal and the default terminal(I mean the terminal that is default in 10.10)? Is it more advantageous to use Byobu?
View 2 Replies
View Related
Mar 6, 2011
For some reason bash is acting really really weird. When I use my gui terminal, and I tryto use tab completion, it freezes up the terminal, and I can't edit the line at all unless I do a ctrl+c.and when I try to do tab completion in text only mode it prints out : "Error: Can't open display: (null)"again and again and again, and I have to do a ctrl+c, also in text only mode it will randomly log me out. I have tried checking for blown caps, but there weren't any, and all the other programs work fine except for the command line. I am using bash version: 4.1.5(1)-releaseand gnome-terminal version: 2.30.2
View 5 Replies
View Related