You are not logged in.

#1 2006-01-25 18:27:50

afu
Member
From: Tuscalooser, Alabummer
Registered: 2004-02-19
Posts: 155

I have KDE desktop but no functionality

Hi folks,
I normally use e or blackbox but as a test I have a fresh Arch install and have pacman -S kde (I have most kde packages installed).  When I click the home icon all I get is a "open with" box. This also happens when I choose other menu items. Is there a path that needs to be set somewhere?

I had to set a path to /opt/kde/bin to get startkde to work.

-Shawn

Offline

#2 2006-01-25 18:53:18

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: I have KDE desktop but no functionality

Logging out then back in should set the path.

Offline

#3 2006-01-25 19:08:38

afu
Member
From: Tuscalooser, Alabummer
Registered: 2004-02-19
Posts: 155

Re: I have KDE desktop but no functionality

No dice. That was tried. I even **gasp** rebooted to be sure.
-Shawn

Offline

#4 2006-01-25 21:01:12

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: I have KDE desktop but no functionality

Try to start the apps from the konsole. Maybe you'll get an error message.

Offline

#5 2006-01-25 21:32:02

afu
Member
From: Tuscalooser, Alabummer
Registered: 2004-02-19
Posts: 155

Re: I have KDE desktop but no functionality

Programs work fine when called from -->start-->run or konsole. No error messages noted.

I can right click the desktop and create a new folder, then drag the new folder to the trash and all is well. But if I click the trash icon I still get the "open with" box. It's like the menu and icons have never have never been associated with the appropriate programs to execute.

-Shawn

Offline

#6 2006-01-25 23:56:48

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: I have KDE desktop but no functionality

Strange. It could be a config issue. Try to rename (or remove) your ~/.kde and ~/.kderc 
And do the logout/login procedure again.

Offline

#7 2006-01-26 14:23:42

aveightor
Member
Registered: 2005-04-24
Posts: 33

Re: I have KDE desktop but no functionality

add /opt/kde/bin to your path in /etc/profile ... then source /etc/profile, had the same problem with a fresh install of Arch. I was using current and extra. Then I tried testing and the problem was still there, until I added /opt/kde/bin to my path.

Offline

#8 2006-01-26 15:44:47

afu
Member
From: Tuscalooser, Alabummer
Registered: 2004-02-19
Posts: 155

Re: I have KDE desktop but no functionality

Thanks guys. I deleted the .kde files in my home directory and that worked - which is strange because I installed the KDE packages that I wanted and then started KDE fresh - after I fixed the path issue.

I will add it to /etc/profile. Sure it's better than doing from my .xinitrc.

-Shawn

Offline

#9 2006-01-26 19:25:17

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: I have KDE desktop but no functionality

There is no need to add the path to /etc/profile or ./xinitrc.  The path is already taken care by /etc/profile because it sources /etc/profile.d/kde.sh where all path and environnement variables needed by kde are defined. The problem was  probably due to a messed up config in ~/.kde.

aveightor: Probably you forgot to logout and log back in. /etc/profile is sourced when you log in. That's why when you first install an app or DE in a new directory in /opt, you need to log out and back in so that /etc/profile can source the new files in /etc/profile.d/

Offline

#10 2006-01-26 19:57:49

aveightor
Member
Registered: 2005-04-24
Posts: 33

Re: I have KDE desktop but no functionality

Snowman I did log out and back in, even rebooted after deleting  /.kde and still had the problem. Hard to figure but adding /opt/kde/bin to my path solved it for me. here is my kde.sh

export KDEDIR=/opt/kde
export KDEDIRS=$KDEDIR:/usr
export PATH=$PATH:$KDEDIR/bin
export MANPATH=$MANPATH:$KDEDIR/man
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$KDEDIR/lib/pkgconfig
if [ ! -z $XDG_DATA_DIRS ]; then
  export XDG_DATA_DIRS=$XDG_DATA_DIRS:$KDEDIR/share
else
  export XDG_DATA_DIRS=$KDEDIR/share
fi
if [ ! -z $XDG_CONFIG_DIRS ]; then
  export XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:$KDEDIR/etc/xdg
else
  export XDG_CONFIG_DIRS=$KDEDIR/etc/xdg
fi

Offline

#11 2006-01-26 20:29:34

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: I have KDE desktop but no functionality

aveightor wrote:

Snowman I did log out and back in, even rebooted after deleting  /.kde and still had the problem. Hard to figure but adding /opt/kde/bin to my path solved it for me. here is my kde.sh

export KDEDIR=/opt/kde
export KDEDIRS=$KDEDIR:/usr
export PATH=$PATH:$KDEDIR/bin
export MANPATH=$MANPATH:$KDEDIR/man
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$KDEDIR/lib/pkgconfig
if [ ! -z $XDG_DATA_DIRS ]; then
  export XDG_DATA_DIRS=$XDG_DATA_DIRS:$KDEDIR/share
else
  export XDG_DATA_DIRS=$KDEDIR/share
fi
if [ ! -z $XDG_CONFIG_DIRS ]; then
  export XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:$KDEDIR/etc/xdg
else
  export XDG_CONFIG_DIRS=$KDEDIR/etc/xdg
fi

Does your /etc/profile.d/kde.sh has executable permissions?  If not, giving it executable persission will fix it.
You could test to see if kde.sh is sourced at all. If you do:
echo $MANPATH
you should get a /opt/kde/man in the list of directories.

Offline

#12 2006-01-26 21:07:48

aveightor
Member
Registered: 2005-04-24
Posts: 33

Re: I have KDE desktop but no functionality

-rwxr-xr-x  1 root root 464 2005-12-28 02:45 kde.sh

[jim@myhost ~]$ echo $MANPATH
/usr/man:/usr/X11R6/man:/opt/gnome/man:/opt/java/jre/man:/opt/kde/man:/opt/qt/man:/opt/xfce4/man

Offline

#13 2006-01-26 21:37:10

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: I have KDE desktop but no functionality

aveightor wrote:

-rwxr-xr-x  1 root root 464 2005-12-28 02:45 kde.sh

[jim@myhost ~]$ echo $MANPATH
/usr/man:/usr/X11R6/man:/opt/gnome/man:/opt/java/jre/man:/opt/kde/man:/opt/qt/man:/opt/xfce4/man

Your kde.sh seems to be fine. You could try to remove the path you added to /etc/profile and check if it still works. :?

Offline

Board footer

Powered by FluxBB