Do 0.5 open synaptic in non root mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Do |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
Hello, I notice that since Gnome-do 0.5 when I launch synaptic with gnome-do I get a warning that I lauch synaptic in non-root mode.
It’s boring since if I launch synaptic… it’s because I do want to do some (un)install task as root.
With gnome-do 0.4 launching synaptic give me the root authentification windows, asking for password and launch the synaptic the right way.
David Siegel (djsiegel-deactivatedaccount) wrote : Re: [Bug 242992] [NEW] Do 0.5 open synaptic in non root mode | #1 |
Olivier Guéry (nemolivier) wrote : | #2 |
No. I’m using Hardy Heron since the beta 3. And gnome-do from ppa.
But since the plugin system change a lot I remove all the config file in order to start from a clean config.
Another strange thing is that It don’t seems to propose me « synaptic » in first when i’m typing S-Y-N-A (and I don’t launch the other propositions). Not shure about this. Since I’m using the « System » menu to launch synaptic.
Maybe I did something wrong triing to clean my instalation (if I remember, I remove the $HOME/.
penn (pennsuaccount) wrote : | #3 |
same here. after upgrading to the latest version 0.5 i can't start synaptic in administrator mode, it doesn't pop up the dialog for asking the password anymore. I need to run gnome-do in sudo mode to make it work but I don't think it's safe to run gnome-do as administrator all the time.
Where is the true config file gnome-do uses? no matter how many times I deleted the folders in .config and .local/share respectively, gnome-do will always convert back to my original configuration without the plugins.
penn (pennsuaccount) wrote : | #4 |
nvm I found it, it's in gconf...but synaptics is still the problem.
penn (pennsuaccount) wrote : | #5 |
well, I'm not trying to spam, but removing the gnome-do folder in ~/.gconf doesn't make gnome do reset the config even though I restart gnome-do.
Olivier Guéry (nemolivier) wrote : Re: [Bug 242992] Re: Do 0.5 open synaptic in non root mode | #6 |
2008/6/29 penn <email address hidden>:
> well, I'm not trying to spam, but removing the gnome-do folder in
> ~/.gconf doesn't make gnome do reset the config even though I restart
> gnome-do.
>
> --
> Do 0.5 open synaptic in non root mode
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
So, how can we remove everything about do in a config ?
This bug is boring !
Olivier.
--
[Message tapé sur un clavier Bépo : http://
http://
Alex Launi (alexlauni) wrote : | #7 |
What makes you guys think this is a config issue? This sounds like an
environment issue, but if you must know, everything Do knows about lives in
~/.config/gnome-do, ~/.local/
Olivier Guéry (nemolivier) wrote : | #8 |
2008/7/8 Alex Launi <email address hidden>:
> What makes you guys think this is a config issue? This sounds like an
> environment issue, but if you must know, everything Do knows about lives in
> ~/.config/gnome-do, ~/.local/
>
> --
> Do 0.5 open synaptic in non root mode
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
I have a new ubuntu installation on another PC, and no problem with do.
--
[Message tapé sur un clavier Bépo : http://
http://
Olivier Guéry (nemolivier) wrote : | #9 |
2008/7/8 Alex Launi <email address hidden>:
> What makes you guys think this is a config issue? This sounds like an
> environment issue, but if you must know, everything Do knows about lives in
> ~/.config/gnome-do, ~/.local/
I kill gnome-do, remove these folders, run gnome-do again, but the bug
is still here, and, when I re-enable the gmail contact plugin, the
login/password are still here… maybe there's an other file ?
Olivier.
--
[Message tapé sur un clavier Bépo : http://
http://
Alex Launi (alexlauni) wrote : | #10 |
There are some passwords stored in Gnome Keyring, this has nothing to do
with Synaptic opening without gksu. Check your Synaptic desktop file for
that one, iirc, the Exec= line should start with gksu.
David Siegel (djsiegel-deactivatedaccount) wrote : | #11 |
I'm pretty sure this is not a Do bug, as synaptic works just fine for me.
Did you edit your synaptic menu entry? Maybe make a new one with the command
"gksudo synaptic".
Olivier Guéry (nemolivier) wrote : | #12 |
2008/7/8 David Siegel <email address hidden>:
> I'm pretty sure this is not a Do bug, as synaptic works just fine for me.
> Did you edit your synaptic menu entry? Maybe make a new one with the command
> "gksudo synaptic".
I only have one entry in my menu : in System > Administration and it
contain « gksu /usr/sbin/synaptic » witch is the right command. Is
gnome-do search elsewhere to find launch possibilities ?
--
[Message tapé sur un clavier Bépo : http://
http://
penn (pennsuaccount) wrote : | #13 |
Same here. I suspect it's Do's misconfiguration because before I upgrade to 0.5, synaptics are always opened with gksu successfully, now 0.5 not even once is triggered with it.
David Siegel (djsiegel-deactivatedaccount) wrote : | #14 |
I suggest using the locate files plugn (or just the locate command) to
discover duplicate desktop files for synaptics:
$ locate synaptics.desktop
Then make sure you only have once desktop file for synaptics.
Olivier Guéry (nemolivier) wrote : | #15 |
2008/7/10 David Siegel <email address hidden>:
> I suggest using the locate files plugn (or just the locate command) to
> discover duplicate desktop files for synaptics:
>
> $ locate synaptics.desktop
>
> Then make sure you only have once desktop file for synaptics.
Not « locate synapticS.desktop » but « locate synaptic.desktop » ;-)
3 results :
/home/nemo/
/usr/share/
/usr/share/
And the all 3 contain : « Exec=gksu /usr/sbin/synaptic » which is the
good command… Strange !
Is « do » use other files to launch applications ?
Olivier.
--
[Message tapé sur un clavier Bépo : http://
http://
David Siegel (djsiegel-deactivatedaccount) wrote : | #16 |
No, Do uses only those files. Try making a new .desktop file (you can just
place it on your desktop) that does gksu gnome-terminal or something.
Restart Do, and see if it launches with gksu.
David
On Thu, Jul 10, 2008 at 8:47 AM, Olivier Guéry <email address hidden> wrote:
> 2008/7/10 David Siegel <email address hidden>:
> > I suggest using the locate files plugn (or just the locate command) to
> > discover duplicate desktop files for synaptics:
> >
> > $ locate synaptics.desktop
> >
> > Then make sure you only have once desktop file for synaptics.
>
> Not « locate synapticS.desktop » but « locate synaptic.desktop » ;-)
> 3 results :
> /home/nemo/
> /usr/share/
> /usr/share/
>
> And the all 3 contain : « Exec=gksu /usr/sbin/synaptic » which is the
> good command… Strange !
> Is « do » use other files to launch applications ?
>
> Olivier.
>
> --
> [Message tapé sur un clavier Bépo : http://
> http://
>
> --
> Do 0.5 open synaptic in non root mode
> https:/
> You received this bug notification because you are a member of GNOME Do
> Core Team, which is subscribed to GNOME Do.
>
Olivier Guéry (nemolivier) wrote : | #17 |
- Test_Do.desktop Edit (6.1 KiB, application/octet-stream; name=Test_Do.desktop)
2008/7/10 David Siegel <email address hidden>:
> No, Do uses only those files. Try making a new .desktop file (you can just
> place it on your desktop) that does gksu gnome-terminal or something.
> Restart Do, and see if it launches with gksu.
It works. gnome-terminal is launched with gksu. I put the .desktop in
~/.local/
Better… I create a copy of synaptic.desktop with « Test Do » as name,
but leave « gksu /usr/sbin/synaptic »
It launch synaptic with gksu ! Here is the file…
I also remove all my plugin… with no effect.
Olivier.
--
[Message tapé sur un clavier Bépo : http://
http://
Ryan Thompson (rct86) wrote : | #18 |
I think I found the problem:
$ locate synaptic | grep desk
...
/usr/share/
/usr/share/
...
$ cat /usr/share/
Name=Synaptic Package Manager
...
Exec=synaptic
...
X-KDE-Substitut
...
synaptic-
Here's the basis for a cheap workaround: whichever of the two desktop entries sorts lexicographically higher takes precedence. As it is, a dash sorts higher than a period, so synaptic-
$ mv /usr/share/
I suppose the real fix would be to support the "X-KDE-
Olivier Guéry (nemolivier) wrote : | #19 |
It works !
Thank's. But's it's a dirty hack :D
Gnome-do need to « know » that I run gnome and not kde.
O.
David Siegel (djsiegel-deactivatedaccount) wrote : | #20 |
Why do you have this file (/usr/share/
you don't use it? GNOME Do can't just let you install whatever programs or
files you want on your computer and "know" which ones you don't actually
want to open.
Olivier Guéry (nemolivier) wrote : | #21 |
2008/7/13 David Siegel <email address hidden>:
> Why do you have this file (/usr/share/
> you don't use it?
I don't know. I don't even use k3b ou amarok…
--
[Message tapé sur un clavier Bépo : http://
http://
idokibovito (idokibovito) wrote : | #22 |
I just wanted to report this behaviour when I saw this report.
Clean install of Hardy, and yes I have a kde4 (maybe even kde3) installed parallel on the machine. That's what free desktops are about, free choice all the time.
It's not a bug in gnome-do, it just needs some extra tactics for multiple .desktop files for the same application. I'm sure the devs will find a cool solution for this aswell.
Keep up the great work!
Ryan Thompson (rct86) wrote : | #23 |
The problem is that the Synaptic package in Ubuntu has two desktop files pretending to be only one: synaptic.desktop (GNOME only) and synaptic-
On a related note, honoring the NotShowIn field might also be a good idea.
Ryan Thompson (rct86) wrote : | #24 |
I should note, if you want to make my workaround permanent (i.e. survive package updates) on a Debian-based system (e.g. Ubuntu), try this command, which should tell the package manager to divert the file to its new location:
sudo dpkg-divert --divert /usr/share/
Alex Launi (alexlauni) wrote : | #25 |
This should be fixed, if it's not please let us know.
Changed in do: | |
importance: | Undecided → Low |
milestone: | none → 0.6.0 |
status: | New → Fix Committed |
status: | Fix Committed → Fix Released |
Endolith (endolith) wrote : | #27 |
In GNOME Do 0.6.1.0, if I try to run Synaptic Package Manager, it does not use gksu. I get the "Starting without administrative privileges" window.
Olivier Guéry (nemolivier) wrote : | #28 |
2008/11/26 Endolith <email address hidden>:
> In GNOME Do 0.6.1.0, if I try to run Synaptic Package Manager, it does
> not use gksu. I get the "Starting without administrative privileges"
> window.
>
> --
> Do 0.5 open synaptic in non root mode
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
I don't have this bug anymore.
Endolith, do you have a kde version of synaptic ?
Olivier.
--
[Message tapé sur un clavier Bépo : http://
http://
Endolith (endolith) wrote : | #29 |
No, I use Gnome. I haven't used any previous versions of Gnome Do before.
Gijs ter Beek (gijsterbeek) wrote : | #30 |
Since 0.8.2, this bug has reappeared. Reverting to 0.8.1 solves the problem.
Please re-open this bug.
Robert Dyer (psybers) wrote : | #31 |
If you read up, you will see this is not a bug with Do. The problem is that KDE has a .desktop file for Synaptic that does not use 'gksu'. You can fix it by following the comments above: https:/
Endolith (endolith) wrote : | #32 |
So this is actually a bug in Do, which needs to be fixed to correctly handle KDE .desktop files with "X-KDE-
Robert Dyer (psybers) wrote : | #33 |
As far as I am concerned, it's a bug with KDE. They are implementing a non-standard attribute for .desktop files. GNOME Do (if you can't guess by the name) is not intended to work with KDE, thus we will not support KDE-only features.
Gijs ter Beek (gijsterbeek) wrote : | #34 |
Hi, I *do* read threads in their entirety before posting. This is a called a bug by one of your developers: From reading the above comments by Alex Launi, who is a Gnome Do developer according to this link: http://
And of course I *can* guess by the name that Gnome Do is designed for Gnome. But because Gnome Do until this version worked like a charm on KDE (which cannot be said about a lot of other 'gnome specific' programs) I assumed this project was one of the few projects that *did* want to close the KDE-Gnome gap.
Too bad that doesn't seem the case.
So, please change the bug status in to 'not our problem' or something like that, to make your point perfectly clear.
Changed in do: | |
status: | Fix Released → Invalid |
importance: | Low → Wishlist |
Jason Smith (jassmith) wrote : | #35 |
It's probably reasonable for us to hack around this KDE idiocy... though
I am not sure how we might do this as a launcher really. Ideally
libgnome-desktop would hack around this as ultimately that is what is
doing the launching, not GNOME Do. It might be reasonable to target this
bug at libgnome-desktop...
On Wed, 2009-07-01 at 18:47 +0000, Endolith wrote:
> So this is actually a bug in Do, which needs to be fixed to correctly
> handle KDE .desktop files with "X-KDE-
>
Gijs ter Beek (gijsterbeek) wrote : | #36 |
;) It sure is strange behaviour, I'll forward this bug to gnome-desktop.
Thanks.
2009/7/1 Jason Smith <email address hidden>
> It's probably reasonable for us to hack around this KDE idiocy... though
> I am not sure how we might do this as a launcher really. Ideally
> libgnome-desktop would hack around this as ultimately that is what is
> doing the launching, not GNOME Do. It might be reasonable to target this
> bug at libgnome-desktop...
>
> On Wed, 2009-07-01 at 18:47 +0000, Endolith wrote:
> > So this is actually a bug in Do, which needs to be fixed to correctly
> > handle KDE .desktop files with "X-KDE-
> >
>
> --
> Do 0.5 open synaptic in non root mode
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
--
Met vriendelijke groet,
Gijs ter Beek
Gijs ter Beek (gijsterbeek) wrote : | #37 |
Hi , I reported it to gnome-desktop, there it was forwarded to libgksu. Now it's fixed. See:
https:/
Interesting. Did you also upgrade your distro between Do 0.4 and 0.5?
Nothing has changed in Do in this respect.