Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-15-2005, 07:05 PM
|
#1
|
Member
Registered: Feb 2004
Location: Slovenia
Distribution: archlinux
Posts: 271
Rep:
|
gpm-root can't be run from bashrc?
Hello!
It would seem I have run into another jiffy here... I've put /usr/bin/gpm-root command into a file, sourced from /etc/bashrc, and it would seem it doesn't get run at all, or it doesn't really hold...
when I source bashrc again, it works.
Anyone know why this is happening?
gpm-root is a daemon that has to be run on every tty to enable console mouse menus. I want it to run every time I login so I don't have to remember to run it each time I log in to a new tty.
Anyone have any idea of what might be wrong?
|
|
|
08-21-2005, 07:07 PM
|
#2
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
Try moving the sourcing statment to /etc/profile. If memory serves, that's the one for logging in.
|
|
|
08-22-2005, 06:18 AM
|
#3
|
Member
Registered: Feb 2004
Location: Slovenia
Distribution: archlinux
Posts: 271
Original Poster
Rep:
|
Works perfectly. I wonder why the bashrc file states that this file is to be sourced by all *interactive* shells...
|
|
|
08-22-2005, 04:27 PM
|
#4
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
Sorry, I don't remember. I'm sure it's in the "FM's" somewhere. And eventually I will re-read the one that I remembered (vaguely) to make my suggestion. I think the answer to your "why" lies in the definition of an "*interactive* shell".
At least your immediate problem is solved.
|
|
|
All times are GMT -5. The time now is 08:56 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|