LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-09-2006, 12:55 PM   #1
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Rep: Reputation: 30
Is it ok to do this?


I downloaded KDE got it intstalled in /home/me/KDE3.5.3. The only way I can start it is by changing to that directory and doing startx. Can I modify xinitrc or some other file and make it point to that location? xwmconfig does not work neither does kdm.
 
Old 07-09-2006, 01:44 PM   #2
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
you can try this
Code:
echo "/home/me/KDE3.5.3/bin/startkde" > ~/.xinitrc
Then you should be able to run 'startx' from anywhere ...hopefully.

Let me know how it turns out!
...aaron
 
Old 07-09-2006, 01:56 PM   #3
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
I did that and now I get an error saying that the file startkde does not exist, but I know it does because thats how I start kde from the bin directory, by typing startx.
 
Old 07-09-2006, 03:11 PM   #4
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
I did this and this seems to have worked but it seems very differnt from other KDE systems I had.


in /home/me/.xinitrc I added the line: /home/me/kde3.5.3/./kdm

Thats the only way I could get kdm to startup.

is there a more Linux correct way of starting kdm, KDE in installed in my home directory.
 
Old 07-09-2006, 05:02 PM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
I'm sure in the readme there's reference to adding kde path to your path to get it to work. I installed kde the same way and it worked fine.
 
Old 07-09-2006, 06:31 PM   #6
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Quote:
I'm sure in the readme there's reference to adding kde path to your path to get it to work. I installed kde the same way and it worked fine.
oops, forgot about the path. Good call dive.

Code:
echo "startkde" > ~/.xinitrc
export PATH=$PATH:/home/me/KDE3.5.3/bin/
You will also need to add the last line to your ~/.bash_profile if you want it to keep when you reboot.

regards,
...aaron
 
Old 07-09-2006, 06:59 PM   #7
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
I modified the rc.4 file to get kdm to start and I will do the path thingy also but the auto kde installer installed KDE to home now when I install any programs with PKGTOOL they get installed into /opt. Is there a way to fix that?
 
Old 07-09-2006, 07:56 PM   #8
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
How did you install KDE? From the sound of it, I get the impression that you didn't use the Slackware packages.
 
Old 07-09-2006, 08:00 PM   #9
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
No, I used Konstruct the auto download, config, compile and install program from the KDE website.
 
Old 07-10-2006, 10:29 AM   #10
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Thought so. Whenever something is installed in a nonstandard location it's likely to cause problems. KDE should be installed in /opt not /home. Creating path entries will help, but you may continue to run into problems when trying to add additional KDE related apps at some point.

I try to use Slack's packages whenever possible and manually compile anything for which there isn't one. It really cuts down on problems like this. 3.5.3 is available in Slack current.
 
Old 07-10-2006, 11:21 AM   #11
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,352

Rep: Reputation: 5382Reputation: 5382Reputation: 5382Reputation: 5382Reputation: 5382Reputation: 5382Reputation: 5382Reputation: 5382Reputation: 5382Reputation: 5382Reputation: 5382
Quote:
Originally Posted by M$ISBS
I downloaded KDE got it intstalled in /home/me/KDE3.5.3. Can I modify xinitrc or some other file and make it point to that location?
Yes you can. Just use a text editor. The format of the xinitrc file should be self-explanatory once you're looking at it.
 
Old 07-10-2006, 08:56 PM   #12
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
I prefer to use Slack packages also. I just tried to install some and they dont install into kde directory because it is in /home/me instead of /opt. Now I cant use them. Would it cause a big problem to simply copy or move the whole kde3.5.3 directory over to /opt or would all the PATH get messed up?
I only installed KDE this way because the slack packages would not work and compiling from source didnt work either
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration