General :: Gnome-terminal: Preserve Symlinks Of Working Directory When Opening New Tab?
Aug 31, 2010
If I'm using gnome-terminal in a working directory whose path includes symlinks and I open a new tab, the symlinks will be expanded to their destinations in the working directory of the new tab.
Is there any way to preserve the symlinks when opening a new tab?
Command automatically in gnome terminal, when i open it. so i changed the setting in edit->profile preferences->title and the command->command section. now when i open the terminal,command is running successfully.afterwards terminal is closed automatically. how to open my terminal prompt.with the sl program running and not closed..
Like the title says, I want to be able to open the directory I'm browsing in nautilus.To clarify this, as I barely understand what I said, I'll give an example.
Code: cd ~/what/ever/this/is/complex/path Hmmm.... A lot of files in here with long complex names and I only want to move certain ones..... Better open it in nautilus with my handy dandy script/alias!
I have a 'special script' in my .bashrc file, which I want to be performed only at Login. When I open a terminal (through a gnome launcher <gnome-terminal> as the command) it unfortunately sources .bashrc.
Hence the opening of the terminal runs the 'special script' again.
How can I instruct .bashrc not to do something except when and only when I am logging in? I found a segment of code which is supposed to do what I want but I am not sure of how it works.
Code:
Will this work to put my 'special script' in to ensure that it only runs when it is a login script and not when it is a simple launcher terminal opening?
After a recent Debian 8 update, I notice a new problem with the Gnome-Terminal. When you open a new tab or window, whatever is the cwd of the current tab becomes the cwd of the new tab or window. This always used to reset to ~, which is what I want. Is this a new "feature" and if I can disable it?
shed some light on what the behavior would be if I symlinked a non-encrypted directory (lets call it /media/sdcard/foo) into an encrypted home directory (lets say home/documents/sdcard-docs)Would files written to that symlinked directory be encryptedgarbled, or would they be normal? would files that were attempted to be read be interpreted as encrypted, or would they be read properly?
I have configured apache on my Centos 5.2 and it is working well. I want to have a sym link of my docs directory in /root/ in the apache root directory. I used ln -s command to create this sym link. But when I tried to access this I get the following error:
You don't have permission to access /docs on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
How can I access this directory in apache. i use apache 2.0.63.
I am new in Linux,i build nano editor on Linux,it compile successfully but when i open in terminal then error displays "Error opening terminal : Xterm" while nano help is running successfully.
I want to launch the screen program by default and automatically every time that I open the bash terminal. How can I set this in terminal? I'm using lxterminal - terminal for lxde desktop environment.
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).
Recently I migrated from Ubuntu to Debian, first thing i wanted to do was to give myself sudo permissions and lock the roir account. By default sudo group don't have permissions to do this on debian, so i wanted to edit sudoers file by typing visudo. But i keep getting this error: Error opening terminal: vanilla How can i solve this.
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
I used to be able to open a terminal when viewing a folder and the terminal would automatically be in that directory so all I would have to do is type the command. Now, it doesn't seem to work like that. No matter what folder I'm viewing within Konquerer or Dolphin, the terminal is always at the /home folder no matter what. Can I change this behavior and set it to the way it used to work on my old system? (SuSE 10.0)
Ive got a simple bash script that basically just displays a couple lines of text and a random quote. In startup applications, I made "gnome-terminal --full-screen" open up and in the profile preferences of gnome-terminal I made it run my startup script. There are two problems though.(1) At startup, 2 terminals are opened (one fullscreen, one not fullscreen)(2) By bash script runs and keeps on running (how do I get it to display another input line?)
I like to alias my firefox commands so I can open up mutiple pages at once. This works great. firefox [URL]
But if I have firefox already up and running it will open as tabs of the firefox I already have running. How can I open the multiple pages in a new window in this case?
- Using -no-remote could work, but I would have to make a whole different firefox profile for each set of pages, not really a solution. - Also tried setting it to a particular display and it opened as a tab again. ie. firefox [URL] -display=":0.0"
I really can't say what I did that may have triggered this problem. I've been trying to setup remote access through SSH but that's about it. Haven't changed any settings in a bit though. I downloaded Konsole and it closes immediately as well.
When I VNC into my CentOS server I am always met with the usual GUI and an annoying terminal window. If I try to close the terminal window it reappears immediately. I can only minimize it to the taskbar. Am I missing a simple setting to disable this?
Here is my xstartup file:
#!/bin/sh # Uncomment the following two lines for normal desktop: unset SESSION_MANAGER exec /etc/X11/xinit/xinitrc
I am new both here and in Linux. As the subject says, I would like to learn how to copy a directory (not a file) from terminal with progress bar showing. The copy is local, i.e., not to another computer. My distro is CentOS 5.5. I know that if I do it with nautilus I would see the progress, but I want to learn how to do it from the terminal. I know that PV command can show a progress bar, but from what I saw, it works well for files, but not for directories (recursive).
Is it possible to use PV for directories? If yes, could you please show me the syntax? I also saw that some people mentioned that rsync can also show a progress bar, I tried to do it, but it didn't work out - perhaps I got the syntax wrong. If rsync can really be used to copy directories with progress bar, show me the syntax? Any other ideas on how to do it? I would like ideas that do not involve using any script, i.e., just something that I can do using the regular commands.
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?
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.