You are not logged in.
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
Logging out then back in should set the path.
Offline
No dice. That was tried. I even **gasp** rebooted to be sure.
-Shawn
Offline
Try to start the apps from the konsole. Maybe you'll get an error message.
Offline
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
Strange. It could be a config issue. Try to rename (or remove) your ~/.kde and ~/.kderc
And do the logout/login procedure again.
Offline
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
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
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
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
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
-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
-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