When I press the Synaptic button I get a"Command passed is invalid" message from ktsuss - not a huge problem, I can always launch from the terminal & I've attached a one liner using gksu to a menu I'm building on the toolbar. There's very little about ktsuss on the net except that there is a recently discovered vulnerability.
Is this the cause of the problem?
dmk
topic title: Problem with ktsuss
10 posts
• Page 1 of 1
-
Posts: 137
- Joined: 19 Sep 2012
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#2
Yes, ktsuss is not as good as I thought it was. It is ok for basic things like editing config files as root, but it does not work properly with synaptic, gparted, where there are big changes made I installing apps, (re)partioning drives.
-
Posts: 137
- Joined: 19 Sep 2012
#3
Thought so! Thanks.
dmk
dmk
-
Posts: 609
- Joined: 02 Jun 2008
#4
if you launch it this way it will work. ktsuss /usr/sbin/synaptic
@anticapitalista how so? please explain a little. for me it works with synaptic and gparted launches, but i didn't partitioned in some time.
@anticapitalista how so? please explain a little. for me it works with synaptic and gparted launches, but i didn't partitioned in some time.
-
Posts: 96
- Joined: 15 Feb 2008
#6
Hello,
ktsuss works here too, just it has to be given the binary (or right executable) as argument. /usr/bin/synaptic just launches"pkexec /usr/sbin/synaptic" or such, so throwing"ktsuss synaptic" is understood by the system as"ktsuss pkexec /usr/sbin/synaptic" which makes no sense (for the system).
/usr/bin/synaptic is in the path of executables and /usr/sbin/ is not (try"echo $PATH" as root) this is why the full path needs to be provided, either from a user console or from a synaptic.desktop file (in the desktop file a line such as this will be needed:
ktsuss works here too, just it has to be given the binary (or right executable) as argument. /usr/bin/synaptic just launches"pkexec /usr/sbin/synaptic" or such, so throwing"ktsuss synaptic" is understood by the system as"ktsuss pkexec /usr/sbin/synaptic" which makes no sense (for the system).
/usr/bin/synaptic is in the path of executables and /usr/sbin/ is not (try"echo $PATH" as root) this is why the full path needs to be provided, either from a user console or from a synaptic.desktop file (in the desktop file a line such as this will be needed:
Code: Select all
Exec=ktsuss /usr/sbin/synaptic
-
Posts: 75
- Joined: 18 Jan 2012
#7
I've built a ktsuss deb with:
&"ktsuss synaptic" &"ktsuss gparted" commands now work.
Zipped Deb attached to this post
Code: Select all
./configure
dh_make --createorig
cd debian
debuild -b
Zipped Deb attached to this post
-
anticapitalista
- Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#8
Thanks tradetaxfree.
Could you make a 64bit version as well?
Could you make a 64bit version as well?
-
Posts: 75
- Joined: 18 Jan 2012
#9
I found the reason why ktsuss works on my system (it wasn't the new deb) - in my .bashrc I have:
Code: Select all
export PATH=$PATH:/usr/sbin
-
Posts: 96
- Joined: 15 Feb 2008
#10
Here in Archlinux, in my gparted.desktop (installed into my $HOME/.local/share/applications directory) I had set this exec line:
because for unknown reason the original one:
was not working (and lazy to find out why, while I knew about a solution).
the file /usr/bin/gparted-pkexec contains:
He he !tradetaxfree wrote:I found the reason why ktsuss works on my system (it wasn't the new deb) - in my .bashrc I have:Code: Select all
export PATH=$PATH:/usr/sbin
Here in Archlinux, in my gparted.desktop (installed into my $HOME/.local/share/applications directory) I had set this exec line:
Code: Select all
Exec=ktsuss /usr/sbin/gparted
Code: Select all
Exec=gparted-pkexec
the file /usr/bin/gparted-pkexec contains:
Code: Select all
#!/bin/sh
pkexec"/usr/sbin/gparted""$@"