Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Applications not opening in konsole
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
aye
n00b
n00b


Joined: 25 Jul 2006
Posts: 20

PostPosted: Wed Sep 06, 2006 9:17 pm    Post subject: Applications not opening in konsole Reply with quote

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
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Wed Sep 06, 2006 9:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
arcade fire
n00b
n00b


Joined: 05 Oct 2005
Posts: 14

PostPosted: Wed Sep 06, 2006 9:30 pm    Post subject: Reply with quote

See https://forums.gentoo.org/viewtopic-t-491793.html
Back to top
View user's profile Send private message
aye
n00b
n00b


Joined: 25 Jul 2006
Posts: 20

PostPosted: Wed Sep 06, 2006 9:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Wed Sep 06, 2006 9:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum