Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

My synaptic package manager not launching from application menu but i can launch it from terminal with gksudo synaptic . I have tried several times but from application menu i can't launch it .

The command is synaptic-pkexec is for launching it .

share|improve this question
    
There is not enough information in your question. Can you post the contents from synaptic launcher. It is located in /usr/share/applications. It is either synaptic-pkexec.desktop or synaptic.desktop (Not using Ubuntu now, so I cannot check) –  Aleksandar Sep 9 '12 at 9:29
    
@Aleksandar Thanks for responding , i am not getting what you are saying .could you explain more ? –  AgentCool Sep 9 '12 at 9:31
    
Go to "Main menu" and see what the synaptic launcher command is. –  To Do Sep 9 '12 at 9:33
    
@August, do what ToDo said. –  Aleksandar Sep 9 '12 at 9:48
    
Yes, goto Main Menu and see what has changed in Synaptic Menu. –  Naveen Sep 9 '12 at 12:28
show 6 more comments

2 Answers 2

up vote 6 down vote accepted

You can fix it by following:

  1. Open terminal (ctrl+alt+T) and execute:

    gksudo gedit /usr/share/applications/synaptic.desktop
    

    If gksudo is not installed, you can just install it. It's provided by the gksu Install gksu package.

    (Or you can run sudo -H gedit instead. But avoid sudo gedit).

  2. Change line Exec=synaptic-pkexec to Exec=gksudo synaptic.

  3. Save file and close text editor.

share|improve this answer
    
It will allow you to easily launch synaptic, but wont remove bug. If you want to remove bug run pkexec --user root nautilus(in gnome). It should ask you for password and run file manager (nautilus) as root - write here, if it wont work. –  kubahaha Sep 10 '12 at 16:52
    
hi +1 , but actually i did an aswer by mixing both of you guys i mean Naveen , To Do and yours . I have opened terminal and typed as alacarte and found synaptic , in its properties i have replaced that command with gksudo synaptic and that did the trick . Thank you both of you . –  AgentCool Sep 10 '12 at 18:46
    
@kubahaha I have exactly the same problem, synaptic-pkexec does not start. It asks for authentication and does nothing later. pkexec -- user root nautilus produces the same behaviour. The error is: No protocol specified ** (nautilus:3040): WARNING **: Could not open X display (nautilus:3040): Gtk-WARNING **: cannot open display: What could be wrong? –  deshmukh Sep 4 '13 at 9:57
add comment

I encountered the same problem, while I was trying to set up a new IBus input method for my newly installed Lubuntu 12.04.

I resolved the problem by purging and re-installing the IBus package:

sudo apt-get remove --purge ibus
sudo apt-get instal ibus

My Synaptic Package Manager now launches again, its application shortcut remains 'synaptic-pkexec' unchanged.

share|improve this answer
1  
I don't see what the ibus package have to do with Synaptic. –  Braiam Aug 25 '13 at 14:37
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.