View previous topic :: View next topic |
Author |
Message |
FuriousGeorge Apprentice
Joined: 03 Mar 2005 Posts: 160
|
Posted: Sun Mar 06, 2005 5:17 am Post subject: launching console to emerge ebuilds from kde's gui |
|
|
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 |
|
|
thebigslide l33t
Joined: 23 Dec 2004 Posts: 792 Location: under a car or on top of a keyboard
|
Posted: Sun Mar 06, 2005 5:36 am Post subject: |
|
|
Code: | kdsu ebuild $1 install qmerge |
|
|
Back to top |
|
|
FuriousGeorge Apprentice
Joined: 03 Mar 2005 Posts: 160
|
Posted: Sun Mar 06, 2005 5:57 am Post subject: |
|
|
a non-responisve blank terminal window opens when i put that in |
|
Back to top |
|
|
thebigslide l33t
Joined: 23 Dec 2004 Posts: 792 Location: under a car or on top of a keyboard
|
Posted: Sun Mar 06, 2005 6:00 am Post subject: |
|
|
hmm, kdsu should prompt you for the root password.... Can you run kdsu from a terminal? |
|
Back to top |
|
|
FuriousGeorge Apprentice
Joined: 03 Mar 2005 Posts: 160
|
Posted: Sun Mar 06, 2005 6:06 am Post subject: |
|
|
i cannot.
sorry, i should have thought to try that
i did try emerge -s kdsu but didnt find anything |
|
Back to top |
|
|
thebigslide l33t
Joined: 23 Dec 2004 Posts: 792 Location: under a car or on top of a keyboard
|
Posted: Sun Mar 06, 2005 6:21 am Post subject: |
|
|
Jeez. Long night. It's kdesu. that's probably why |
|
Back to top |
|
|
FuriousGeorge Apprentice
Joined: 03 Mar 2005 Posts: 160
|
Posted: Sun Mar 06, 2005 6:39 am Post subject: |
|
|
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 |
|
|
thebigslide l33t
Joined: 23 Dec 2004 Posts: 792 Location: under a car or on top of a keyboard
|
Posted: Sun Mar 06, 2005 6:40 am Post subject: |
|
|
Try putting everything after kdesu in quotes. I betcha it's only taking the first argument. |
|
Back to top |
|
|
FuriousGeorge Apprentice
Joined: 03 Mar 2005 Posts: 160
|
Posted: Sun Mar 06, 2005 6:58 am Post subject: |
|
|
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 |
|
|
fuji Tux's lil' helper
Joined: 26 Apr 2002 Posts: 111
|
Posted: Sun Mar 06, 2005 7:18 am Post subject: |
|
|
`kdesu --help`
`kdesu -c <command>` _________________ Came for the hype, stayed for Portage. |
|
Back to top |
|
|
FuriousGeorge Apprentice
Joined: 03 Mar 2005 Posts: 160
|
Posted: Sun Mar 06, 2005 7:32 am Post subject: |
|
|
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 |
|
|
FuriousGeorge Apprentice
Joined: 03 Mar 2005 Posts: 160
|
Posted: Mon Mar 07, 2005 5:03 am Post subject: |
|
|
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 |
|
|
|