Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
launching console to emerge ebuilds from kde's gui
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
FuriousGeorge
Apprentice
Apprentice


Joined: 03 Mar 2005
Posts: 160

PostPosted: Sun Mar 06, 2005 5:17 am    Post subject: launching console to emerge ebuilds from kde's gui Reply with quote

im trying to associate the *.ebuild file with opening console and prompting me for my root pw to emerge whatever ebuild i click on.

ive tried (in control panel --> file associations)

su && emerge $1
konsole -e su -c emerge $1
sudo emerge $1

and other variations of these, but nothing works. also, i'm not POSIX compliant so this is a bit out of my league.

thanks in advace
Back to top
View user's profile Send private message
thebigslide
l33t
l33t


Joined: 23 Dec 2004
Posts: 792
Location: under a car or on top of a keyboard

PostPosted: Sun Mar 06, 2005 5:36 am    Post subject: Reply with quote

Code:
kdsu ebuild $1 install qmerge
Back to top
View user's profile Send private message
FuriousGeorge
Apprentice
Apprentice


Joined: 03 Mar 2005
Posts: 160

PostPosted: Sun Mar 06, 2005 5:57 am    Post subject: Reply with quote

a non-responisve blank terminal window opens when i put that in
Back to top
View user's profile Send private message
thebigslide
l33t
l33t


Joined: 23 Dec 2004
Posts: 792
Location: under a car or on top of a keyboard

PostPosted: Sun Mar 06, 2005 6:00 am    Post subject: Reply with quote

hmm, kdsu should prompt you for the root password.... Can you run kdsu from a terminal?
Back to top
View user's profile Send private message
FuriousGeorge
Apprentice
Apprentice


Joined: 03 Mar 2005
Posts: 160

PostPosted: Sun Mar 06, 2005 6:06 am    Post subject: Reply with quote

i cannot.

sorry, i should have thought to try that

i did try emerge -s kdsu but didnt find anything
Back to top
View user's profile Send private message
thebigslide
l33t
l33t


Joined: 23 Dec 2004
Posts: 792
Location: under a car or on top of a keyboard

PostPosted: Sun Mar 06, 2005 6:21 am    Post subject: Reply with quote

Jeez. Long night. It's kdesu. that's probably why :oops:
Back to top
View user's profile Send private message
FuriousGeorge
Apprentice
Apprentice


Joined: 03 Mar 2005
Posts: 160

PostPosted: Sun Mar 06, 2005 6:39 am    Post subject: Reply with quote

were close, now it prompts me for a pw and immediately says finished in teh title bar without printing anything in the console
Back to top
View user's profile Send private message
thebigslide
l33t
l33t


Joined: 23 Dec 2004
Posts: 792
Location: under a car or on top of a keyboard

PostPosted: Sun Mar 06, 2005 6:40 am    Post subject: Reply with quote

Try putting everything after kdesu in quotes. I betcha it's only taking the first argument.
Back to top
View user's profile Send private message
FuriousGeorge
Apprentice
Apprentice


Joined: 03 Mar 2005
Posts: 160

PostPosted: Sun Mar 06, 2005 6:58 am    Post subject: Reply with quote

lol, now the title bar says shell - kdsu ebuild $1 install qmerge

doesnt say anythibng abut finished, but doesnt prompt me for my pw
Back to top
View user's profile Send private message
fuji
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2002
Posts: 111

PostPosted: Sun Mar 06, 2005 7:18 am    Post subject: Reply with quote

`kdesu --help`

`kdesu -c <command>`
_________________
Came for the hype, stayed for Portage.
Back to top
View user's profile Send private message
FuriousGeorge
Apprentice
Apprentice


Joined: 03 Mar 2005
Posts: 160

PostPosted: Sun Mar 06, 2005 7:32 am    Post subject: Reply with quote

fuji wrote:
`kdesu --help`

`kdesu -c <command>`


i tired

kdesu -c emerge <-- prompts for pw then inactive console

jdesu -c emerge $1 <-- smae result

"kdesu -c emerge" <-- inactive terminal

"kdesu -c emerge" $1 <-- error dialog says cannot find executable '"kdesu -c emerge"'

keep in ind im putting this into the control center's file associations menu.

i created an entry for *.ebuild, and im putting the above lines into the "application preference order" menu
Back to top
View user's profile Send private message
FuriousGeorge
Apprentice
Apprentice


Joined: 03 Mar 2005
Posts: 160

PostPosted: Mon Mar 07, 2005 5:03 am    Post subject: Reply with quote

could this problem in any wya be related to the fact that i cant run kdesu in a konsole until i "source /etc/profile"
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