Solved

xwindow scripts

Posted on 2004-08-11
4
182 Views
Last Modified: 2010-04-22
Im am wanting to launch spesific programs for spesific users logging in on X.
I have found many fourms saying that /etc/profile file is the place to put the command lines but this will load up the same for every user. So is there a file which does this (like .bashrc). and if this is not the case is there a way to do it using the profile file. using the current enviroment.
0
Comment
Question by:Acorns1
4 Comments
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
Editing the .bash_profile in a user's home dir would work, but probably isn't the best way to do this if the programs need to be run under X. In that case it would be better to use the window manager's "startup programs" controls.
0
 
LVL 2

Accepted Solution

by:
sneeuw_chan earned 50 total points
Comment Utility
On most X systems, the file is called ~/.xsession or ~/.xinitrc, depending on how the X server is started.  If not, you'll have to look around in the system dirs such as /etc/X11/... or something.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now