PDA

View Full Version : startkde not found


shalimar
April 13th, 2011, 19:13
Hello, I installed from dvd the last version and when I type startkde it says command not found
Also the same with konsole
Of course I selected drom dvd the KDE packaged.

Nightweaver
April 13th, 2011, 19:15
KDE is located in /usr/local/kde4/ so your startkde will be in /usr/local/kde4/bin - try that. Or update your paths so that entire system sees location of KDE4.

shalimar
April 13th, 2011, 19:19
If I do this:

ls /usr/local/kde4/bin/startkde*

I get this:

/usr/local/kde4/bin/startkde /usr/local/kde4/bin/startkde4

pkg_info -W /usr/local/kde4/bin/startkde

and this:

/usr/local/kde4/bin/startkde was installed by package kdebase-workspace-4.5.5

Nightweaver
April 13th, 2011, 19:22
Well, it's startkde4, obviously, since it's KDE4 you have installed.;)

wblock@
April 13th, 2011, 19:24
The Interrupted Unix FAQ (http://www.wonkity.com/~wblock/docs/html/interrupted.html), #3.

More detail:
man csh | less -p rehash

shalimar
April 13th, 2011, 19:24
Yes, but it does not start. Still commmand not found

wblock@
April 13th, 2011, 19:32
Then it may be a command that startkde4 is trying to run, or maybe something in .xinitrc or a bad shebang in a script.

phoenix
April 13th, 2011, 20:15
If you check the output of
echo $PATH

You will notice that /usr/local/kde4/bin is not listed. Thus, when you try to run KDE4 commands from the shell, they will not be found. The shell looks in each directory listed in $PATH.

If you want to start KDE4 commands from the shell, then you need to add /usr/local/kde4/bin to your path. And then you need to tell your shell to update it's internal cache. How you do that depends on the shell you are using.

shalimar
April 15th, 2011, 18:56
You're right, it is not listed. So how do I add it?

phoenix
April 15th, 2011, 21:06
How you do that depends on the shell you are using.

Read the man page for your shell. It will tell you which files are used when you start your shell. Edit that file to update the PATH statement.

avilla@
April 16th, 2011, 09:49
You all probably missed the point. I think he's trying to start KDE from the shell using startkde, but that will of course not work.

shalimar: read this (http://www.freebsd.org/doc/handbook/x11-wm.html#X11-WM-KDE-KDM).