Ubuntu :: Keybinding To Fokus Gnome-terminal Or Start A New One?
Jun 14, 2010
I was just wondering if this was possible without using guake or yakuake or the like: I have a shortcut (alt+shift+c) to open a gnome-terminal window. (done via compiz keyboard commands)However, what if I wanted it to fokus a gnome-terminal (specific?) if one(it) exists and only start a new terminal, if it isn't already running? I looked up and down the compiz settings, not seeing anything to help me focus a specific window.
I installed gnome 3.0 through the one installer, and now every time I start kde I get a gnome terminal that says Code:
** (orca:4321): WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags' ** (orca:4321): WARNING **: Trying to register gtype 'WnckWindowActions' as enum when in fact it is of type 'GFlags' ** (orca:4321): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'
It keeps shrinking everytime I try to expand it a bit, I had to edit > select all and copy to be able to read it. And it sounds like it's trying to play a sound that sounds like welcome, but it gets cut off, it also makes a sound when closing it. I'm assuming this was supposed to be a first time run thing for gnome but it keeps showing up in kde.
I've set up home server, which doesn't have to be as powerful as other servers, so I decided to install GUI because of applications that are alternatives to classical GUI applications in headless version requires more skill/knowledge. However, I don't want server to run GUI always at start (which gnome-desktop package does). I need some configuration in KDE/gnome/xfce (haven't decided) that doesn't start GUI after each start (e.g is required to type startx or equivalent command to start GUI)(off topic: can you also recommend good remote-administration with GUI transport ?)
I looked around for threads addressing this issue and some have come close to answering it, but I have yet to see a definitive yes or no. Anyway - Here's my issue:
Background: I can SSH into my home computer (Ubuntu 9.04 running Gnome) from work (Win XP Pro) using RealVNC via Putty tunnels. This has been working flawlessly for me for awhile now. I was messing around in the terminal window and accidentally rebooted the linux box (home computer) while I was at work. No big deal I thought. So I re-start the Putty connection, and it is back up in no time. Then I try to start the VNC connection, and no go, connection refused. I remember seeing that in order for the VNC connection to work, I had to be logged into the Gnome desktop already on the Ubuntu box.
Question: Is it possible to log in and start up a Gnome desktop session from the terminal command line in Putty so I can get the VNC connection back?
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 email@example.com'Nothing happens when I log in, and I've checked that the command works.
I have a real newbie question. I want to edit my disk partition table. Mount some drives etc. I like gui tools and gnome's disk utility seems to be able to do everything I want to. My problem: When I want to create a new filesystem on an empty space, I'm not allowed to. I guess I need root access, but I can't login as root to my gnome session and I know no way to start the disk utility from a terminal where I'm the root user, so my question is: How do I do this?
Since upgrading ubuntu boots to a prompt rather than logging into gnome. has anyone run into this? what can I do to fix this? I recently upgraded from Ubuntu 9.10 to Ubuntu 10.4. does anyone know the command to start gnome from the prompt?
For some reason my gnome-terminal is starting in / when it should be ~ I have checked /etc/profile, ~/.bashrc and /etc/passwd and everything seems fine as far as i can tell Konsole and xterm are starting up with the working dir to my home dir (as set by /etc/passwd) But im at a loss to see where gnome-terminal is starting in / if i enter cd with no argumants in gnome-terminal it is switching to ~ fine, so i dont think its mistaking my home dir for /
I just brought myself a ASRock 330ht with blu-ray and remote. I've installed Ubuntu and all relevant drivers fine (including lirc). I've got xbmc on startup and the remote works brilliantly wiith that.
My problem is, I'd like to use my keyboard/mouse as little as possible (as I mainly use it from my bed) so would like to bind certain buttons to the ir remote (such as firefox, or a link to iplayer etc). I've taken a look at the lircd.cfg and it's basically empty, except for a pointer to another cfg that I can't get access to even as root (although I didn't try too hard).
Is there a tutorial or program that I can use to configure my own lircd.cfg? If I was too, would it take preference over my xbmc settings and stop working for that?
I recently (re)installed Tilda, but I can no longer activate it via the keybinding I set, nor the default. Actually, I'm not entirely sure its running right now, though it should be.My questions: How do I get Tilda back?I am experimenting with a very spartan system, and I was also wondering how I can invoke common GUI apps from the terminal screen (not running within X) such as xfce settings, control panels, Abiword, Firefox, etc... That is, call them from the pure (non-graphical) terminal and have them come up on the X display next door.
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!
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.
Recently I've updated from 13 to 14. However, after updated I've tried to work with my terminal and it seems doesn't works fine. I can read 'starting terminal' but after that it's closed.I've uninstalled and re-installed it through the graphical tools (gnome-terminal) but that doesn't works fine.
Is there a terminal emulator which works well in an Ubuntu desktop and provides the following features which Mac OS X's Terminal application has? Re-wrapping text when the window is resized.A Clear¯ command which clears scrollback (as the shell clear does not) and does not clear the cursor's line (typically containing a prompt).
I want to monitor my work on the terminal.I know we can use script command.But every time when I start the terminal, I have to type script to start it.I want to automate it. So where should I include this command so that it will start as soon as I start the terminal ?
MY WORK TILL NOW: I have put this "script" command in the .profile.The when I start the terminal, it became an INFINITE LOOP.I am able to "echo".Thats coming only once.....but if I write a "script" command then it is becoming an INFINITE LOOP.
I find xcompmgr more than adequate for making a desktop look pretty modern, and I don't like the more extravagentCompiz gimmicks - but there is one thing that irritates when using xcompmgr which someone here might have worked round.
Rounded window borders don't draw and redraw properly when using the Terminal (gnome-terminal and the LXDE and Xfce ones) or system monitor and moving them from their default place. You get this little white botch at the corners. I'm not massively technical and I'm ambivalent about how much more I want to learn as I have plenty of creative outlets already, but I would like to solve this. Somehow xcompmgr is treating these programs as a different class? It's capable of drawing the window borders properly as it is just these two programs that get botched. Possibly this doesn't get noticed as maybe people usually use xcompmgr with openbox and LXDE and their square window borders. I did do a search but there was nothing matching what I saw.
I'm running CentOS 5.4 on i386 machine with 2.6.18-194.3.1.el5Whenever I login into Gnome, a gnome-termial window comes up. Instantly title says root@localhost before settling with user@localhost with current directory as ~/Downloads. Only happens with my particular user account (normal user), not with root as I tried. I also have KDE, Xfce, Fluxbox as other option at login, but terminal only shows up when I log into Gnome (not kde, xfce or fluxbox)I've done and
1. cronetab -e Nothing there. 2. Don't have ~/.xinitrc ~/.session 3. Nothing in ~/.bashrc or ~/.bash_profile 4. Nothing in /etc/rc.local
I want to be able to use Ctrl+R to have reverse-i search. Also if I press Shift+Up Arrow after typing the first few characters of a recently executed command then the shell should complete the command by finding the most recent commmand having the same first few characters.
I want to add an item to my start up... I went to start up and hit add. I want my conky to start up... I need a terminal and the code conky that should start it how do you get a terminal command in start up.?
I've copied a little shell script from the net and when I run it in xfce4-terminal it just works
The problem is that this script needs interaction with the user (entering a password) and I want to run it at the startup. I've put it in the /etc/init.d folder, configured the options but I need to know how you can get a terminal to appear at the start up to ask you for the password.
#!/bin/bash echo "1. Enter your password oldConfig=`stty -g`