General :: Launching TMUX Using Gnome Terminal
Oct 18, 2010
I'm a little confuse regarding how one launches tmux. When I launch my terminal (current gnome-terminal), I would like to have tmux up and running. I'm currently doing this by calling "tmux" in my .zshenv (kind of like .bashrc in bash). This does in fact launch tmux, but has some annoying side effects. First, hitting Ctrl-D to exit the shell, only kills tmux, and leaves the tmux-less gnome-terminal still running. An additional Ctrl-D will kill that as well. Second, when ssh into a box with this setup, I get a second, nested instance of tmux. I don't want tmux to launch again when I ssh. Is this the right approach, how should tmux be launched usually?
View 2 Replies
ADVERTISEMENT
Oct 13, 2010
I want to have a script (tcsh/bash/python) that launches a bunch of gnome-terminals (or 1 with multiple tabs). And I want it to execute a command, but keep the shell interactive. Currently, if you type gnome-terminal then it launches a new interactive shell, but if you give it the execute flag, then it executes the command and quits (or stays open, but non-interactive depending on the users gnome-terminal settings).
I have this command which I want to run automatically before I start working. What the command does is dynamic and different for each shell. It takes arguments. So it's not something I can take care of in a .cshrc type file.
View 3 Replies
View Related
Feb 12, 2010
I just added 8 additional vncserver sessions(Xvnc) (using a well-documented procedure my predecessor used) to my RH Enterprise 2.4.21-4 (OK it went by fast) server. This brings the number of session listed in my /etc/sysconfig/vncservers file to ~32. Applications and terminals now seem to choose if they will open or not in the Xvnc session and not all sessions start at boot. I can start them manually, and they will work, but then they stop working properly. You can open a session, view the active desktop, click on menus and associated drop-down items to try and open apps, but the apps/terminals just won't open. Is there a limit to the number Xvnc Sessions that can be managed? If so, what is it? This happens whether I try to connect from a Winddows box or another Linux box.
View 3 Replies
View Related
Feb 10, 2011
How do you launch a task from a terminal command line interface and it not be kill'ed if you close the terminal window. Like if I run jedit I type jedit & which launches jedit as a backgorund task. But, if I close terminal window, jedit dies to. How do I laucnch jedit and completely divorce it from the terminal task?
View 6 Replies
View Related
Aug 26, 2015
I got a problem with the terminal in GUI Environment after i upgraded it From debian 7 to 8 "it's not launching" ....
Root Terminal is Working....
View 3 Replies
View Related
Jan 8, 2010
Is there a way to run graphical apps as su without launching from the terminal? For example is there a way to open File Browser as su? And if the only way is via the terminal, then how can I find out the names of apps like the File Browser so I can launch them?
View 8 Replies
View Related
Jan 26, 2011
As soon as I launch terminal I get the following:
[...]: command not found
[...]: command not found
And it then goes to a $~ prompt as usual. How do I make it so the two commands it is trying to launch don't run upon launching terminal?
View 5 Replies
View Related
Feb 9, 2010
I've created a QT interface with some buttons and labels, and i want to launch a terminal command with one of these buttons,but the command maust starts with "sudo",unfortunately it didn't work because it wants root password and i can't enter it even in the Button cammand....
View 6 Replies
View Related
Mar 5, 2011
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).
View 2 Replies
View Related
May 12, 2011
Problem with use of -hold|+hold on rxvt-unicode (urxvt) v9.09 on ubuntu server. On startup, I'm trying to launch terminal apps in urxvt automatically. E.g:
Code:
"urxvt -e /usr/bin/weechat-curses +hold"
or
Code:
"urxvt -hold -e mutt"
However, -|+hold does not seem to hold the terminal open. There is a flicker of a new window opening & then it's gone. I'm trying to invoke this from .xinitrc (startx-->.xinitrc) and also tried commands from inside awesome wm rc.lua (awful.util.spawn_with_shell("urxvt -hold -e mutt") seem to get same flicker result but closes immediately. I see this error in .xsession-errors, which might be relevant (do I perhaps need to specify the display??).
Code:
[1461:1634:41805904:ERROR:all_status.cc(117)]
Unrecognized Syncer Event: 7
E: awesome: a_xcb_io_cb:230: X server connection broke
urxvt: X connection to ':0' broken, unable to recover, exiting.
Code:
rxvt-unicode (urxvt) v9.09 - released: 2010-11-13
options: perl,xft,styles,combining,blink,encodings=eu+vn+jp+jp-ext+kr+zh+zh-ext,fade,transparent,tint,afterimage,XIM,frills,selectionscrolling,wheel,slipwheel,smart-resize,cursorBlink,pointerBlank,scrollbars=plain+rxvt+NeXT+xterm
Usage: urxvt [-help] [--help]
...
[-n string] [-sl number] [-embed windowid] [-depth number]
[-/+override-redirect] [-pty-fd fileno] [-/+hold] [-w number] [-b number]
[-/+bl] [-lsp number] [-letsp number] [-/+sbg] [-mod modifier] [-/+ssc]
[-/+ssr] [-pe string] [-blt string] [-e command arg ...]
Code:
~$ awesome -k
✔ Configuration file syntax OK.
link to urxvt man: [URL]
View 7 Replies
View Related
Jun 30, 2011
How do I stop a user, from gaining access to the internet(port) via a restricted browser? In other words, I want a general user to only to have access to Firefox and no other browsers.
My first approach so far, has been to write a bash shell script. It terminates a program based on keywords from known browsers (opera, asus, ect).
View 9 Replies
View Related
Aug 20, 2009
Having logged in (to Fedora 11) with a terminal session, what command do I give to spawn the Gnome GUI desktop environment? Background: I'm running two Fedora boxes: one local, and one at the other end of my building (on fast LAN). I have full control/ownership of both boxes.
On the local box, I log-in to my vanilla F11 build, and I get the Gnome GUI automatically. Then I can open a terminal window, 'ssh -X -l myself remotebox; cinelerra' to run Cinelerra nicely in local desktop windows.
But sometimes I want to see my typical user desktop for the remote box. Now, IF the remote box is ALREADY running Gnome, I can VNC to it, etc. But, once having logged-out of the remote box, VNC closes and won't show me a GUI login page. (BTW: The remote box usually has no monitor, as well as being out of reach. So schlepping over to logon to it is a real pain.) So, here's the thing: I can login (to terminal session) and can bring up programs in local windows. But WHAT program do I launch in order to bring up Gnome??
View 3 Replies
View Related
Mar 18, 2011
Anyone know how to launch a program from CLI (command line) to a specific viewport? I start programs all the time from the CLI and there are times when I'm in "typing demon" mode and don't want to touch the mouse. Being able to launch a program to a certain viewport (Compiz, w. effects) would be really helpful at times.
I'm familiar with wmctrl and i can use the -a and -c options to switch to and close windows fine. I only have 1 desktop (9 viewports, though), and wmctrl's support for viewport seems limited at best. Ideally, I'd like to launch a program to a specific viewport, but just being able to move an existing one to a specific viewport would work, too.
Please note: I'm talking about moving apps to viewports AD HOC or DYNAMICALLY, not in a fixed way like I believe devilspie and such (and Compiz' Place plugin). Depending on my task, I need to quickly launch several apps to different viewports, and this VARIES for me a lot. ubuntu 10.04 lts / gnome / compiz w. full effects
View 2 Replies
View Related
Apr 29, 2010
In KDE's Konsole, I can do the following from the terminal:
dcop kwin KWinInterface currentDesktop
And it will tell me which desktop my terminal is connected to ( per [URL])
How can I determine what desktop number the current gnome terminal in a gnome session is connected to?
View 1 Replies
View Related
Apr 5, 2011
Holding CTRL and B followed by another command key usually gives me nothing.I have no .conf file so I'm not overwriting it.
View 1 Replies
View Related
Sep 14, 2010
I just installed tmux on Ubuntu 10.04 and tried to remap the prefix key to C-a by creating the file ~/.tmux.conf with these lines:
set-option -g prefix C-a
unbind-key C-b
When starting tmux, both regularly and with -f ~/.tmux.conf, the prefix is effectively the same default C-b
There are no errors or warnings whatsoever.
View 2 Replies
View Related
Jun 21, 2011
tmux shows screen like this:
[code]...
Window has non-maximum width, attempt to copy text from it leads to "" getting in text. How to fix it and get the tmux window full width?
View 2 Replies
View Related
Jul 8, 2011
I just noticed that my .bashrc aliases (eg. alias www='cd ~/data/public_html') don't work from within tmux. They work fine from screen, though.
I don't think I've got anything special in ~/tmux.conf
Code:
# C-a just like in screen
unbind C-b
set -g prefix C-a
[Code].....
View 3 Replies
View Related
Apr 26, 2011
I am using gnome 3 and I installed neverputt from the repos, and when I click the icon in applications, it doesn't launch. Running it from the terminal gives:
Code:
Command 'neverputt' is available in '/usr/games/neverputt'
The command could not be located because '/usr/games' is not included in the PATH
[code]....
View 6 Replies
View Related
Mar 2, 2011
Switching to and from insert mode in Vim is no longer instantaneous since I use tmux. After pressing Esc in insert mode, it takes a noticeable amount of time to actually get out of insert mode. After pressing Esc and any other key afterwards the switch is immediate, and the command for the key pressed after Esc is executed. Any idea what might cause this?The Vim configuration is not the problem as the delay does not occur when I run Vim outside tmux, so this is probably related to tmux somehow. I use gnome-terminal btw.
Also worth noting, it seems I can not define key bindings in tmux for Esc, my plan was to bind Esc to:bind Escape send-keys.Alas, it seems binding anything to Esc for tmux does not work. The same problem occurs in screen as well.
View 2 Replies
View Related
Nov 14, 2010
The ~ key of my laptop is broken, now I am seeking a method to map the # to it? How could I do it?
View 1 Replies
View Related
Mar 1, 2010
I am using ubuntu 8.04 with GNOME. gnome-terminal version is 2.22.1
(1)Is it possible to use mouse to move cursor to desired position? For instance , I am at end of line & with mouse I can select a portion of line to copy but cannot move the cursor to middle of line without pressing left arrow key for looong time.
(2)I have noticed that if I boot with my USB in non-persistent mode.In the beginning I can use ctrl+arrow to move to previous or next word. After sometime ctrl+right arrow append ;5C and ctrl+left arrow appends ;5D
View 5 Replies
View Related
Jun 24, 2011
I am running Gnome 2.30.2 and Gnome Terminal 3.0.1 on my Debian Sid and recently the active tab became almost indistinguishable from other tabs. It is actually the same colour.Changing the themes didn't help much and only using high contrast theme makes a difference which is the theme I would rather not use.Have been experimenting with ~/.gtkrc-2.0 script but that does not seem to work at all even after restarting X-Server.
style "gnome_terminal_notebook"
{
#fg[NORMAL] = "#00ff00"
[code]....
View 2 Replies
View Related
Sep 10, 2011
I was wondering if there was a way to navigate back to the previous folder after a 'cd'.
e.g.
~/ cd /home/
~/ cd /usr/local/
~/ want should I write here to return to the home dir (not 'cd /home' ^^)
View 2 Replies
View Related
Nov 3, 2010
I cannot launch gnome-terminal from the Applications -> System Tools -> Terminal menu. However a gnome-terminal process is created (I can see it in a terminal that I happened to have open) but it doesn't seem to actually run (I have several of these terminals in the ps list now but they haven't actually run as terminals and it's been at least 2 hrs). At first I thought they weren't running at all until I checked (it looked like the Starting Terminal message at the bottom of the gnome GUI ran abnormally long and then terminated so I thought at first that they weren't running at all).
Also it looks like my gnome session is clobbering the CPU: running at or over 80% of cpu time at times (it does change but mostly it is high). All I'm doing is minor web work + updating a file in Open Office - when I noticed this I got out of Open Office and that had no effect. So it looks like application software is running (this was launched from a terminal) but running from the menu seems to result in processes with low priority (that doesn't seem right though). This just started today and my system has been mostly running correctly for a year or so (last year I got an Acer 5532 on sale, wiped it and installed Fedora 11).
View 1 Replies
View Related
Aug 20, 2010
Are there a command to open up a new tab in gnome terminal(Ctrl+T outcome). I need it to use with in bash script.
View 2 Replies
View Related
Jun 1, 2010
How to change/set background from gnome-terminal?
View 10 Replies
View Related
Jan 24, 2011
gnome-terminal from the Debian squeeze does not use the 'default_size_columns' and 'default_size_rows' from the /apps/gnome-terminal/profiles/Default/ folder of gconf.
View 6 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