Solved

xwindow scripts

Posted on 2004-08-11
4
198 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
ID: 11773854
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
ID: 11957390
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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 fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

679 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