Results 1 to 5 of 5
I have been trying to find out about this for a while, if this have been asked before, pls link the thread to me - I couldnt find it.
when ...
- 11-25-2006 #1
SuSe10.1, PATH, and KDE app installation
I have been trying to find out about this for a while, if this have been asked before, pls link the thread to me - I couldnt find it.
when doing alt+f2, we can type command to run. What are the directories that KDE look for? in command line shells, this is defined in PATH env variable, my question being: how do alt+f2 launcher resolve which directory to look for?
Here's the problem I have atm:
1 I downloaded eclipse IDE .tar.gz and unpack them @ /usr/share/eclipse3.2-wtp
2. I've got java 1.5 installed thru YAST
3. I unpacked the eclipse .tar.gz into /usr/share/eclipse/eclipse3.2-wtp
PROBLEM1: alt+f2 -> 'eclipse' doesn't work.
alt+f2 launcher can't find the eclipse binary. It must not be in the "PATH" that KDE uses!
as workaround, I created a shortcut on my desktop to point to the eclipse binary.
PROBLEM2: eclipse couldn't run properly (couldnt compile the java classes) as JAVA_HOME env variable is not set properly.
But when I go to konsole and echo $JAVA_HOME, it's there!
so I think KDE and console shell has different PATHs, how can I configure this? where can I find info abt it?
- 11-26-2006 #2
found it, startx seems to be the things that starts it all (which startx tells you where it is) and I just backtrack from there, it calls ~/.xinitrc (if there is one existing) and then starts off $WINDOWMANAGER (which is KDE)
.xinitrc is obtained from renaming the file ~/.xinitrc.template it's already there in my home directory
in this case, putting export statement for PATH and JAVA_HOME to .bashrc or .profile won't do, because when KDE is started, it didn't source these files.
To curb this, I created a separate file ~/.setenv
and have this file sourced by .xinitrc prior to calling $WINDOWMANAGER (kde)
I have my .bashrc to source this as well.
problem solved!
- 11-30-2006 #3Just Joined!
- Join Date
- Oct 2006
- Posts
- 13
Hey thanx! This can solve another problem I have. I could find neither .xinitrc nor .xinitrc.template anywhere. Anywhere else they can be? What distro do you use?
D.
- 11-30-2006 #4
Hey I'm on SuSe 10.1,
I don't remember where I find .xinitrc from, or startx, I think it's from a manpage about something else. I was googling about X windows, X11 etc.
In my university (was a unix solaris system) they have .xsession in each of our home directory that functions in a similar way. It could be called .xsession in your one. I don't know the GUI/X windows system too well.
try to 'which startx' maybe you have this file too. if you look at this script, you can see line where it loads the configuration file prior to starting up the desktop/windows manager. I work out my .xinitrc from that file. (and found that .xinitrc.template was in my $HOME)
- 12-01-2006 #5Just Joined!
- Join Date
- Oct 2006
- Posts
- 13
OK thanks. Will search.
D.


Reply With Quote