?
Solved

xwindow scripts

Posted on 2004-08-11
4
Medium Priority
?
208 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 200 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
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…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

765 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