Author Topic: E17 and synaptic  (Read 1808 times)

Offline RAIDENSUB

  • Full Member
  • ***
  • Posts: 59
E17 and synaptic
« on: September 26, 2011, 09:05:36 AM »
Hi to all. I am running e17 installed on MiniMe 2011. When i open synaptic i get :

"You must run this program as the root user"

Synaprtic won't load. In the terminal as root i get this error on the terminal and synaptic starts:

(synaptic:6761): Gtk-CRITICAL **: IA__gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed

Anyone can help?

The recommendations in this topic don't work:

http://www.pclinuxos.com/forum/index.php/topic,83449.0.html


Thanks. 

Linuxera

  • Guest
Re: E17 and synaptic
« Reply #1 on: September 26, 2011, 09:26:02 AM »
When I run Synaptic from any user (other than root) I get the flash screen requesting root user priviledges.  As long as it opens from terminal in root mode, I wouldn't worry too much about the GTK error. It's possible it's requesting a particular gtk scheme which is not installed on your system. 

Have you tried opening Synaptic when logged in as root?  What happens then?


Offline RAIDENSUB

  • Full Member
  • ***
  • Posts: 59
Re: E17 and synaptic
« Reply #2 on: September 26, 2011, 11:34:24 PM »
When i am root synaptic opens but if i open it from the terminal the error is the same. Only the number in the start changes. In the past when i was using ubuntu the same error will come up but if you put the gnome-settings-daemon to start at boot in E17 the error will stop. I there some similar daemon  in KDE i can start?

Thanks.

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12661
Re: E17 and synaptic
« Reply #3 on: September 26, 2011, 11:40:12 PM »
(synaptic:6761): Gtk-CRITICAL **: IA__gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed is not an error but a harmless warning and would not prevent Synaptic from starting. Synaptic is run through console helper. If you want to run it from a root terminal then you need to put the full path to the binary. Why are you trying to run it from a terminal anyway? If you want to explore how synaptic starts then look in /usr/share/applications at the desktop file.

Thanks to everyone who donates. You keep the servers running.
Follow me on Twitter for the latest development info.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
Re: E17 and synaptic
« Reply #4 on: September 27, 2011, 12:53:41 AM »
As root, edit /usr/share/applications/synaptic.desktop to change the execute line to --->>     
Exec=gksu -l /usr/sbin/synaptic     


Offline RAIDENSUB

  • Full Member
  • ***
  • Posts: 59
Re: E17 and synaptic
« Reply #5 on: September 27, 2011, 05:52:19 AM »
(synaptic:6761): Gtk-CRITICAL **: IA__gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed is not an error but a harmless warning and would not prevent Synaptic from starting. Synaptic is run through console helper. If you want to run it from a root terminal then you need to put the full path to the binary. Why are you trying to run it from a terminal anyway? If you want to explore how synaptic starts then look in /usr/share/applications at the desktop file.



I was trying to run synaptic from the terminal because in E17 synaptic asks for root privileges and doesn't run. If i run it from the terminal it opens and i have the Gtk-CRITICAL. I didn't know that this is not an error.
Thanks.