Fedora :: Opening Gnome-terminal - To Be Performed Only At Login
Jan 17, 2011
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?
View 8 Replies
ADVERTISEMENT
Jun 1, 2011
I tried to run
Quote:
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..
View 2 Replies
View Related
Sep 7, 2015
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?
View 3 Replies
View Related
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?
View 1 Replies
View Related
Jun 21, 2010
how can I login into terminal istead of gnome? will I be then able to log into terminal by typing startx?
View 6 Replies
View Related
Mar 3, 2011
I've seen lots of posts all over the Internet that advise users to check the "Run command as a login shell" checkbox in GNOME Terminal under Edit->Profile Preferences->Title and Command.
This makes gnome-terminal run bash/csh/tcsh/ksh as a login shell, which it does not do by default. In turn, running gnome-terminal as a login shell sources the system and user login scripts. This sets up things like colored ls etc.
It seems like gnome-terminal should be a login shell by default. Why isn't it? I've never seen a good explanation of why gnome-terminal isn't a login shell. The "Run command as a login shell" checkbox must be unchecked by default for some good reason, right?
View 1 Replies
View Related
Oct 25, 2010
Whenever I open the Terminal using the shortcut, I get the following error.
Code:
I understand that it is a misspelt word (report). But I didn't type that command in the past. And why it is coming up EVERY time I open the Terminal.
View 2 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
Dec 29, 2010
If i select Places -> Home Folder vlc starts and try to open the content of the selected folder.
Any idea which config file i should adjust to solve this behaviour?
View 1 Replies
View Related
Jan 17, 2011
difference b/w a login shell and a non-login shell ?
I know that when we use su - <username> we are getting a login shell & when we use su <user-name> we are getting a non-login shell.
Do we get any additional privileges when we have a login shell compared to a non-login shell ?
View 6 Replies
View Related
Nov 20, 2010
i am using Fedora 14. Once system get hanged during opening a video file so I had to restart the system by pressing restart button. But after restarting there are few problems appearing like system monitor not opening and Thunder bird opening but not showing any folder including inbox.
---------- Post added at 04:54 AM GMT ---------- Previous post was at 04:42 AM GMT ----------
Looks like SElinux has stopped working
View 3 Replies
View Related
Jan 16, 2011
I got the following problem, when I try to login in into terminal and I write any correct user and its password and the following message is displayed "Module is unknown" and it doesn't get into the prompt.I don't know what else to do I am little lost about this question. Probably it could be something related to pam configuration or something like that.
View 10 Replies
View Related
Mar 28, 2011
For about a week or two when I try to open a folder from the menu "Places" of Gnome 2.32.0 (with Fedora 14 OS) the program Rythmbox starts instead. This happens even when I try to access a connected harddrive which requires entry of a code. After entering the code again Rythmbox opens! This doesn't happen only with "Computer", "Network" and "Connect to Server" of "Places". I can't think of anything that I did (apart from using Rythmbox quite often recently) that could have caused this, so I assume that it is a bug of Gnome. Have other people encountered this problem? (I assume that it is not Fedora specific, but rather a general problem of Gnome) If so,
View 4 Replies
View Related
Sep 24, 2010
I am a former Sysop of a BBS and currently resurrecting the BBS. I have been looking for a way to get Gnome Terminal in Fedora 13 configured to support ANSI BBS emulation.
Back in the DOS days, we just loaded ANSI.SYS and ran our terminal software (like Procomm Plus or Qmodem), but I am hoping someone has done this and can help me set it up.
I have already tried Qterrm and the "latest" syncterm. Neither of these worked right. Syncterm hasn't been updated since 2009, so I really don't want to mess too much with that one.
I know you can terminal.app in Mac OS X to do it, so I figure we can too. I REALLY want gnome terminal to be the way to do it.
View 5 Replies
View Related
Mar 30, 2010
I am using Fedora 8, gnome, a tcsh login shell, and I would like to have my directories and files color coded when I use ls. I have been searching the internet far and wide today looking for ways to do this. I have tried all the ways I could find: edit .bsrc file, edit DIR_COLORS, edit DIR_COLORS.xterm, create .dircolors, edit etc/profile, edit .cshrc file, alias ls --colors, and all combinations of this. I can't figure out what I am doing wrong.I use su in my terminal I get the colors for ls. So there must be something up with my user profile? I have tried to edit my terminal profiles and my desktop themes neither worked. Please help! I know this is a trivial issue, but now I am on a mission to figure this out.
View 40 Replies
View Related
Feb 12, 2011
after update i can not longer see the splash login gui screen but i can only see the log in terminal... works ok but how can I enable the gui login
View 9 Replies
View Related
Aug 20, 2010
I use terminal a lot. Sometimes I would like to open up applications, like start reading a pdf. But when I do
Code:
$ evince foo.pdf
(actually I use zathura to read pdfs now , but anyway...)
[code]....
View 6 Replies
View Related
Jan 8, 2010
Is it possible to embed the terminal in gnome panel?So I want to listen to mplayer radio / playlist and see on my panel what is now playing?(but the panel is "autohide", soI would like that this "embed terminal" wouldhide with my toppanel automaticly)Simply I want on my toppanel see what is playing in mplayer and how big the buffor is
View 1 Replies
View Related
Jul 14, 2010
I created a new panel in Gnome (Fedora 12) and it wasn't showing up right. So I just told it to make another (with the same results), and finally one more. So with the two that are there by default, that's 5 total panels... None of the newly created panels where displaying at all. But after creating the last one the system froze up. Now when I try to boot into fedora my system locks up as it's trying to load GNOME...
Is there any way for me to remove those panels through BASH? So I can just boot to a prompt and get them removed. After that I imagine GNOME will load correctly again...
View 4 Replies
View Related
Feb 17, 2011
I want to use the Gnome Launcher to launch a script I made but it will only work if I select "Application in Terminal." It will not launch if I use "Application". I've also noticed that my script will only run in the terminal regardless of how I launch it. Fedora will not let me just double click the file and "Run" the script. I don't want to open a terminal every time I run the script.
View 1 Replies
View Related
Jun 13, 2011
I'm using FC15 and Xfce4 desktop, as gnome3 does not work well with my ATI 5770HD graphics card and the proprietary catalyst 11.4 driver.When I start gnome-terminal from xfce, there is some (animation?) and the gnome terminal appears normal size then shrinks horizontally.Is there a way to disable this re-sizing ?
View 4 Replies
View Related
Dec 3, 2009
For some reason my terminal now opens as -bash-4.0$ and will not let me login as any user.Is there anyway to fix this? It's very annoying and I've never came across it before.
View 4 Replies
View Related
Jun 27, 2010
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)
View 3 Replies
View Related
Jan 1, 2010
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?)
View 5 Replies
View Related
Feb 15, 2010
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"
View 7 Replies
View Related
Feb 9, 2011
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.
View 6 Replies
View Related
Jul 15, 2010
Error opening terminal : xterm
While start nano editor in terminal
View 2 Replies
View Related
Sep 24, 2010
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
[code]...
View 3 Replies
View Related
Feb 7, 2010
When I am at the login manager and enter the password and user and select KDE then the login manager just reloads itself and nothing happens.But when I select gnome, then I can login and everything works.I can start kde while logged in in gnome with "startkde", but then i have both desktop environments running
View 10 Replies
View Related
Jun 30, 2009
When closing the gnome-terminal a dialogue box opens that says:
Close This Window?
There is a process still running in this terminal.
Closing this terminal will kill it.
Nothing is running it's complete, so I have to close the box then the terminal closes. I know I'm a perfectionist. how to get rid of this?
View 6 Replies
View Related