View previous topic :: View next topic |
Author |
Message |
aye n00b
Joined: 25 Jul 2006 Posts: 20
|
Posted: Wed Sep 06, 2006 9:17 pm Post subject: Applications not opening in konsole |
|
|
Code: | oskars@localhost ~ $ su
Password:
localhost oskars # kate /etc/portage/package.keywords
bash: kate: command not found
localhost oskars # kwrite /etc/portage/package.keywords
bash: kwrite: command not found
localhost oskars # konqueror
bash: konqueror: command not found
localhost oskars #
|
I can open them from KMenu. I'm using KDE 3.5.4 |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Wed Sep 06, 2006 9:25 pm Post subject: |
|
|
As your normal user run in konsole, "echo $PATH". Then su to root and run the same command. I would guess that the kde bin directories are not in root's PATH, while they are in your user's. Also, you could find the full path to the executable and run it like that. (that is, using the full path specification) _________________
Bones McCracker wrote: | On the other hand, regex is popular with the ladies. |
|
|
Back to top |
|
|
arcade fire n00b
Joined: 05 Oct 2005 Posts: 14
|
|
Back to top |
|
|
aye n00b
Joined: 25 Jul 2006 Posts: 20
|
Posted: Wed Sep 06, 2006 9:32 pm Post subject: |
|
|
Code: | oskars@localhost ~ $ echo $PATH
/usr/kde/3.5/bin:/usr/local/bin:/usr/bin:/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1:/usr/kde/3.5/bin:/usr/qt/3/bin
oskars@localhost ~ $ su
Password:
localhost oskars # echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin
|
Ok, but is there a way to change these paths? Using full path should work, but that's not a really good solution though... :/
EDIT: I missed the previous post.
Last edited by aye on Wed Sep 06, 2006 9:36 pm; edited 1 time in total |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Wed Sep 06, 2006 9:35 pm Post subject: |
|
|
Read through the same problem and solution provided in the link by the previous poster. _________________
Bones McCracker wrote: | On the other hand, regex is popular with the ladies. |
|
|
Back to top |
|
|
|