Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-09-2006, 12:55 PM
|
#1
|
Member
Registered: Aug 2003
Posts: 834
Rep:
|
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.
|
|
|
07-09-2006, 01:44 PM
|
#2
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
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
|
|
|
07-09-2006, 01:56 PM
|
#3
|
Member
Registered: Aug 2003
Posts: 834
Original Poster
Rep:
|
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.
|
|
|
07-09-2006, 03:11 PM
|
#4
|
Member
Registered: Aug 2003
Posts: 834
Original Poster
Rep:
|
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.
|
|
|
07-09-2006, 05:02 PM
|
#5
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep:
|
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.
|
|
|
07-09-2006, 06:31 PM
|
#6
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
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
|
|
|
07-09-2006, 06:59 PM
|
#7
|
Member
Registered: Aug 2003
Posts: 834
Original Poster
Rep:
|
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?
|
|
|
07-09-2006, 07:56 PM
|
#8
|
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300
Rep:
|
How did you install KDE? From the sound of it, I get the impression that you didn't use the Slackware packages.
|
|
|
07-09-2006, 08:00 PM
|
#9
|
Member
Registered: Aug 2003
Posts: 834
Original Poster
Rep:
|
No, I used Konstruct the auto download, config, compile and install program from the KDE website.
|
|
|
07-10-2006, 10:29 AM
|
#10
|
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300
Rep:
|
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.
|
|
|
07-10-2006, 11:21 AM
|
#11
|
LQ Guru
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,352
|
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.
|
|
|
07-10-2006, 08:56 PM
|
#12
|
Member
Registered: Aug 2003
Posts: 834
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 02:41 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|