Author Topic: Cannot find Synaptic -SOLVED  (Read 976 times)

Offline shrinivas

  • Full Member
  • ***
  • Posts: 154
Cannot find Synaptic -SOLVED
« on: November 24, 2010, 10:22:44 PM »
Hi all,
This is an E-17 desktop, fully updated with PASS server.
On top of this, I installed Task-Gnome minimal.
Now, in Gnome, I cannot find Synaptic.
In Console, if I type Synaptic, I am able to run Synaptic, but I also get this message in console:

(synaptic:4297): libglade-WARNING **: could not look up stock id 'Preferences'

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

Any help is appreciated.
Regards and Thanks,
BTW, I searched in the forum for this, but could not get it, if it is there, please guide me to that page.

Shrinivas
« Last Edit: November 26, 2010, 05:53:22 AM by shrinivas »
AMD ATHLON 64X2 5200, 2 GB RAM, nVidia 7600GT 256 RAM, HD0 320GB,HD1 80GB Triple-boot PCLinuxOs Zen Mini/WinXp/E17

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15515
  • ┌∩┐(◕_◕)┌∩┐
Re: Cannot find Synaptic
« Reply #1 on: November 25, 2010, 03:46:50 AM »
Have you rebooted?
PCLinuxOS 32bit KDE 4.10.4; kernel-3.4.11-pclos1.bfs & 64bit 3.4.38bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

uncleV

  • Guest
Re: Cannot find Synaptic
« Reply #2 on: November 25, 2010, 04:26:22 AM »
Synaptic here have always worked fine though running it from Terminal gives exactly the same warnings.
Synaptic should be in /usr/bin/synaptic:
Quote
[uncleV@localhost ~]$ synaptic

(synaptic:5766): libglade-WARNING **: could not look up stock id 'Preferences'

(synaptic:5766): Gtk-CRITICAL **: IA__gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed
[uncleV@localhost ~]$ which synaptic
/usr/bin/synaptic
[uncleV@localhost ~]$
You can try to add it to the menu by right-clicking on the launcher button (left lower corner) and choosing "Menu Editor".
« Last Edit: November 25, 2010, 04:52:08 AM by uncleV »

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Cannot find Synaptic
« Reply #3 on: November 25, 2010, 04:50:24 AM »
The messages you got in the terminal are "null." That is, nothing to be concerned about.

Check Synaptic's .desktop file - /usr/share/applications/synaptic.desktop - to be sure that Gnome is not on the NotShowIn line. If it is, remove it. Or add this line - ShowIn=Gnome;

This must be done as superuser (root).

Offline shrinivas

  • Full Member
  • ***
  • Posts: 154
Re: Cannot find Synaptic
« Reply #4 on: November 25, 2010, 09:11:36 AM »
Thanks all !

Menotu : Yes, I did reboot, without any success.

UncleV : Menu Editor doesn't have this Synaptic.

Neal : I can right-click Synaptic.desktop (in /usr/share/applications) and copy to the desktop, there it opens without root password. ( In a way it is good, I don't misuse Synaptic ), But it also leaves a desktop icon on E-17, which doesn't look nice.

Synaptic's desktop file, as root, showed "show in KDE" (or something like that, I forgot), it is the last line. I added ShowIn=Gnome to it and saved and rebooted.
No go !

Anyway, I can open it in console, it is good enough for me, I am too much of a noob to play around which may bork my system and I won't even know where to look and repair. Anyway, I have one more Gnome installed on another partition, if it comes to that.
Regards and thanks once again.
AMD ATHLON 64X2 5200, 2 GB RAM, nVidia 7600GT 256 RAM, HD0 320GB,HD1 80GB Triple-boot PCLinuxOs Zen Mini/WinXp/E17

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Cannot find Synaptic
« Reply #5 on: November 25, 2010, 09:34:28 AM »
shrinivas,
The line in the .desktop file is
Code: [Select]
NotShowIn=KDE;The line to add is
Code: [Select]
ShowIn=Enlightenment;or
Code: [Select]
ShowIn=E17;
You may need to test to see which one works. But note the semicolon(;) ending the line. It is important that it be there. It is both a separator and a terminator in this instance.

You added Synaptic to the desktop? It worked without asking for the root password? :o Are you logged into root? That isn't necessary, you know. The tools to perform root tasks from a user account are provided. For example, in your user account, in a terminal type su, enter the root password at the prompt, and use the command leafpad /usr/share/applications/synaptic.desktop to edit synaptic.desktop. (Substitute leafpad with the text editor you use.


Offline shrinivas

  • Full Member
  • ***
  • Posts: 154
Re: Cannot find Synaptic
« Reply #6 on: November 25, 2010, 02:53:28 PM »
shrinivas,
The line in the .desktop file is
Code: [Select]
NotShowIn=KDE;The line to add is
Code: [Select]
ShowIn=Enlightenment;or
Code: [Select]
ShowIn=E17;
You may need to test to see which one works. But note the semicolon(;) ending the line. It is important that it be there. It is both a separator and a terminator in this instance.

You added Synaptic to the desktop? It worked without asking for the root password? :o Are you logged into root? That isn't necessary, you know. The tools to perform root tasks from a user account are provided. For example, in your user account, in a terminal type su, enter the root password at the prompt, and use the command leafpad /usr/share/applications/synaptic.desktop to edit synaptic.desktop. (Substitute leafpad with the text editor you use.



I'm sorry Neal, I should have looked harder !
The last line says :
OnlyShowIn=KDE
without any " ; " (semi-colon)
And I just added the line :  ShowIn=Gnome
Should I modify the line " OnlyShowIn=KDE" to  "ShowIn=KDE" or "ShowIn=KDE;" or something like that ?

Regards.

I have a limited internet broadband connection, and with the time difference in our countries, I took time to respond.
« Last Edit: November 25, 2010, 02:57:31 PM by shrinivas »
AMD ATHLON 64X2 5200, 2 GB RAM, nVidia 7600GT 256 RAM, HD0 320GB,HD1 80GB Triple-boot PCLinuxOs Zen Mini/WinXp/E17

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Cannot find Synaptic
« Reply #7 on: November 26, 2010, 03:19:56 AM »
Change the ShowIn=Gnome to
Quote
ShowIn=Enlightenment;
or
Quote
ShowIn=E17;

The semicolon is a necessary part of this.

Offline shrinivas

  • Full Member
  • ***
  • Posts: 154
Re: Cannot find Synaptic
« Reply #8 on: November 26, 2010, 05:10:33 AM »
Change the ShowIn=Gnome to
Quote
ShowIn=Enlightenment;
or
Quote
ShowIn=E17;

The semicolon is a necessary part of this.

But I am getting the Synaptic in E-17 w/o problem.
It is only when I log into gnome that I am unable to get synaptic !
AMD ATHLON 64X2 5200, 2 GB RAM, nVidia 7600GT 256 RAM, HD0 320GB,HD1 80GB Triple-boot PCLinuxOs Zen Mini/WinXp/E17

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Cannot find Synaptic
« Reply #9 on: November 26, 2010, 05:17:59 AM »
ShowIn=E17;Gnome;

Offline shrinivas

  • Full Member
  • ***
  • Posts: 154
Re: Cannot find Synaptic
« Reply #10 on: November 26, 2010, 05:52:51 AM »
thanks Neal !
I changed the last line "OnlyShowIn=KDE" to ShowIn=KDE; and added the line " ShowIn=E-17;Gnome; " as you told me.

That solved it, thanks and regards .

Shrinivas
AMD ATHLON 64X2 5200, 2 GB RAM, nVidia 7600GT 256 RAM, HD0 320GB,HD1 80GB Triple-boot PCLinuxOs Zen Mini/WinXp/E17

uncleV

  • Guest
Re: Cannot find Synaptic
« Reply #11 on: November 26, 2010, 07:10:00 AM »
thanks Neal !
Shrinivas
That is my guru Neal!

So the thread could be marked as "Solved"?

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Cannot find Synaptic -SOLVED
« Reply #12 on: November 26, 2010, 07:25:15 AM »
shrinivas,
Please edit your first post in this thread and add [Solved] to the title.