You are not logged in.

1

Friday, December 2nd 2005, 8:25pm

Upgrading KDE

I installed KDE 3.5 using Konstruct and everything went fine. How do I run KDE 3.5 then, my system still says KDE 3.3 even after a reboot.

Thank you

AdaHacker

Beginner

Posts: 14

Location: Corning, NY

Occupation: Systems Analyst

  • Send private message

2

Friday, December 2nd 2005, 11:35pm

RE: Upgrading KDE

From the konstruct documentation:

Quoted


After installation
==================
After installation you have to set some variables allowing your system to find
KDE binaries and libraries and KDE to allow to find its own files, for Bash:

export QTDIR=~/kde3.5
export KDEDIR=~/kde3.5
export KDEDIRS=~/kde3.5

export LD_LIBRARY_PATH=~/kde3.5/lib
export PATH=~/kde3.5/bin:$PATH

Setting KDEHOME too, e.g. "export KDEHOME=~/.kdetest", will tell KDE to save
your settings to this directory and leave default ~/.kde directory unaffected.

On shadow password systems you have to set $(prefix)/bin/kcheckpass SUID root
or SGID shadow - otherwise you will not be able to unlock a locked desktop.

The complete KDE desktop is started with "startkde", most distributions start
it if you set it to the WINDOWMANAGER variable in your shell initializations.

3

Saturday, December 3rd 2005, 12:00am

Yes, I already did that, but Control Center still says KDE is 3.3. Here is the output from Konstruct:
[===== NOW BUILDING: kde-1 =====]
[fetch] complete for kde.
[checksum] complete for kde.
[extract] complete for kde.
[patch] complete for kde.
==> Building kde/kdebase as a dependency
==> Building kde/kdepim as a dependency
==> Building kde/kdenetwork as a dependency
==> Building kde/kdeartwork as a dependency
==> Building kde/kdeaccessibility as a dependency
==> Building kde/kdegraphics as a dependency
==> Building kde/kdemultimedia as a dependency
==> Building kde/kdegames as a dependency
==> Building kde/kdeaddons as a dependency
==> Building kde/kdeutils as a dependency
==> Building kde/kdeedu as a dependency
==> Building kde/kdetoys as a dependency
==> Building kde/kdesdk as a dependency
==> Building kde/kdewebdev as a dependency
==> Building kde/kdeadmin as a dependency
[configure] complete for kde.
[build] complete for kde.
install -d /home/mkurtis/kde3.5
install -d /home/mkurtis/kde3.5/bin
install -d /home/mkurtis/kde3.5/sbin
install -d /home/mkurtis/kde3.5/libexec
install -d /home/mkurtis/kde3.5/share
install -d /home/mkurtis/kde3.5/etc
install -d /home/mkurtis/kde3.5/var
install -d /home/mkurtis/kde3.5/lib
install -d /home/mkurtis/kde3.5/info
install -d /home/mkurtis/kde3.5/share/emacs/site-lisp
install -d /home/mkurtis/kde3.5/include
install -d /home/mkurtis/kde3.5/man
install -d /home/mkurtis/kde3.5/man/man1
install -d /home/mkurtis/kde3.5/man/man2
install -d /home/mkurtis/kde3.5/man/man3
install -d /home/mkurtis/kde3.5/man/man4
install -d /home/mkurtis/kde3.5/man/man5
install -d /home/mkurtis/kde3.5/man/man6
install -d /home/mkurtis/kde3.5/man/man7
install -d /home/mkurtis/kde3.5/man/man8
install -d /home/mkurtis/kde3.5/src
[install] complete for kde.

I have exported all the dir's, but it doesn't appear to have updated.

Thanks

AdaHacker

Beginner

Posts: 14

Location: Corning, NY

Occupation: Systems Analyst

  • Send private message

4

Saturday, December 3rd 2005, 4:15am

Just a guess, but where are you setting the variables? If you're starting KDE from KDM, then you might have to adjust the system default profile and/or an init script. But like I said, I'm just guessing.

5

Saturday, December 3rd 2005, 5:43am

On my Gentoo I have to edit the /etc/rc.conf file, there's a line containing:
XSESSION="kde-3.x"
just set the right version (kde-3.5)

6

Saturday, December 3rd 2005, 6:12am

Thank you for the responses. I do not have a rc.conf file, and my .Xclients file doesn't have a kde line in it. I am running Fedora Core 3, does anyone know what file I need to edit?

@AdaHacker: I am not sure what you mean. I just typed those bash commands into Konsole in my home dir.

Thank you

AdaHacker

Beginner

Posts: 14

Location: Corning, NY

Occupation: Systems Analyst

  • Send private message

7

Saturday, December 3rd 2005, 1:58pm

Just typing those in at a command prompt isn't going to do the trick. Those commands set shell variables, and typing them into a Konsole window will only effect that shell, i.e. they'll be gone as soon as you close it. It also won't effect programs that are already running.

You need to add those to a shell initialization file, such as ~/.bashrc, ~/.bash_profile or /etc/profile, then log out and log back in so that they take effect for the shell that starts KDE.

8

Saturday, December 3rd 2005, 3:14pm

I added them to ~/.bashrc, and when I log in, KDE is reset to the default settings, but Control Center still says 3.3. I have also tried /etc/profile with the same results.

Thanks for the help so far

9

Saturday, December 3rd 2005, 3:45pm

I could not imagine that the bash-configuration has something to do with the launch of kde. :rolleyes:

This must be a command somewhere in one of your startup scripts.
Perhaps under /etc/init.d/kdm (or xdm), or maybe in the rc.local file (RedHAt have strange ideas sometimes ;) )

AdaHacker

Beginner

Posts: 14

Location: Corning, NY

Occupation: Systems Analyst

  • Send private message

10

Saturday, December 3rd 2005, 7:39pm

Quoted

Originally posted by coco-loco
I could not imagine that the bash-configuration has something to do with the launch of kde. :rolleyes:
I guess you don't have much of an imagination. ;) The commands given in the documentation modify the environment for a Bourne-compatible shell and they reference the user's home directory. Where else could they possibly go?

You're right that it would probably also work to put them in the KDM init script, but only if you change ~ to the absolute path to the appropriate user's home directory. Since the init scripts are run as root, ~ would be expanded to root's home directory, which isn't what you want.

11

Sunday, December 4th 2005, 2:38am

I don't have a /etc/init.d/kdm file, only /etc/bin/kdm. Is there a Fedora specific way to change the WM, or some type of documentation?

Thanks

12

Sunday, December 4th 2005, 3:41pm

I'm not quite sure, but I just had that backflash of when I used Fedora - I believe that RedHat has /etc/X11/prefdm and /etc/sysconfig/desktop or something like that, where the settings are probably saved. There might be something in /etc/X11/xdm/Xsession as well.

Regarding the documentation, google will be your friend ;)

This post has been edited 1 times, last edit by "coco-loco" (Dec 4th 2005, 3:42pm)


13

Friday, December 16th 2005, 4:48am

Helpth!

same issue for me

1. install kde 3.5 via konstruct
2. add

export QTDIR=~/kde3.5
export KDEDIR=~/kde3.5
export KDEDIRS=~/kde3.5
export LD_LIBRARY_PATH=~/kde3.5/lib
export PATH=~/kde3.5/bin:$PATH

to .bashrc

3. reboot

nothin

still in kde 3.3


would really like to know how to "start" kde 3.5

Thanks