Computing.Net > Forums > Unix > starting KDE in FreeBSD

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

starting KDE in FreeBSD

Reply to Message Icon

Name: Godgory
Date: October 1, 2005 at 05:49:59 Pacific
OS: FreeBSD 5.3
CPU/Ram: Barton2600+/512DDR
Comment:

Hy everyone!
I want to use KDE under FreeBSD 5.3 but when I "startx" the default xterm window manager starts. I want KDE to be default but it seems I can't find the right file to make the change (probably add "startkde" instead of some line/lines in the script). Can anyone tell me where can I find this file and what is it's name?
Alex.



Sponsored Link
Ads by Google

Response Number 1
Name: unixhead
Date: October 7, 2005 at 23:31:36 Pacific
Reply:

You can launch kde with startx the same as you would in Linux, except in FreeBSD you have to create the file that the startx script reads to launch your default desktop.
Most Linux distros, not all, create that file for you.

The name of the file is .xinitrc, and should be created in your home file. Because it's not there by default, the startx script falls back on the xinitrc file, located in /usr/X11R6/lib/X11/xdm, which starts X with a couple of xterms.

To create the file in your home directory that will start your desktop preference, use an echo command with a redirect, from within your home directory (you will be located in your home directory by default when you login):

echo "{desktop/wm}" > .xinitrc

So, in your case:


echo "startkde" > .xinitrc

or

echo "/usr/local/bin/startkde" > .xinitrc
-------------

Remember to include the period before the file name.

You can also change the name of the file that the startx scripts seraches for in your home directory by editing this line in /usr/X11R6/bin/startx as root:

userclientrc=$HOME/.xinitrc

Just change .xinitrc to any file name you want, then create that file in your home directory.

Regards,

unixhead



0

Response Number 2
Name: unixhead
Date: October 7, 2005 at 23:41:13 Pacific
Reply:

I'm sorry. I meant to say that the startx script falls back on the xinitrc file, located
in "/usr/X11R6/lib/X11/xinit".



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: starting KDE in FreeBSD

X Window and KDE on FreeBSD www.computing.net/answers/unix/x-window-and-kde-on-freebsd-/7410.html

can't mount floppy in FreeBSD 5 www.computing.net/answers/unix/cant-mount-floppy-in-freebsd-5/7014.html

Can't change runlevel in FreeBSD 5 www.computing.net/answers/unix/cant-change-runlevel-in-freebsd-5/5741.html