LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-18-2014, 03:24 PM   #1
darkduck
Member
 
Registered: Jan 2011
Location: Cyprus
Distribution: Kubuntu, OpenSuSE
Posts: 502

Rep: Reputation: 26
Question Debian Wheezy - Synaptic does not start from the menu


I have a Debian Wheezy Xfce which was upgraded from Squeeze.
After upgrade, I am unable to start Synaptic from menu.
Purging and re-installing does not help.
Running gksu synaptic works fine.
The problem is in running from the menu.

Any advice?
Thanks!
 
Old 01-18-2014, 04:41 PM   #2
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
You have to change the menu properties/command it is probably missing the gksu and so synaptic is not coming up as requested.

Right on top of the button in the panel, click with the right click, it should bring up the Applications Menu dialog box, then click in the button Edit Menu, another dialog box will show up, there you have to find where synaptic is, select it and in the left side click in the button properties to edit the command that bring synaptic up, try first synaptic-pkexec, if that doesn't work then try gksu synaptic.

Regards
 
Old 01-18-2014, 04:45 PM   #3
darkduck
Member
 
Registered: Jan 2011
Location: Cyprus
Distribution: Kubuntu, OpenSuSE
Posts: 502

Original Poster
Rep: Reputation: 26
Quote:
Originally Posted by ukiuki View Post
Right on top of the button in the panel, click with the right click, it should bring up the Applications Menu dialog box, then click in the button Edit Menu
I do not have "Edit Menu" option.
There are only
  • Properties
  • Move
  • Remove
  • Panel (with submenu)
 
Old 01-18-2014, 05:29 PM   #4
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
/etc/xdg/menus/xfce-applications.menu

You will have to dig through the bugger to find Synaptic.

If you use Synaptic regularly you could put it in a launcher on your panel. I have my Root Terminal, Terminal, Gparted and Synaptic on one launcher.

I use the command;
Code:
gksu synaptic
I use panel launchers for all regularly used applications. Hadn't even tried Synaptic from the menu. Been running this install (Sid) for a long time. Looks like I need to mess with the menu too. Doesn't launch from there for me either.

I wouldn't worry to much about pkexec. You can find to file that is not authenticating your Synaptic session correctly at;
/usr/share/polkit-1/actions/com.ubuntu.pkexec.synaptic.policy

The only use for this that I have found is you can edit that file and replace the "auth_admin" to "yes" and you can have no security on Synaptic at all. I did try this on one of my "throw away" installs. Works. You can basically set up that file so that you log in as normal user and have all the root privileges you want with no password.

This should come as no surprise. Note the file title "com.ubuntu.pkexec.synaptic.policy". Ubuntu is really in favor of easily ellevating privileges. Very convenient. No fooling around with silly things like passwords.

Being a grumpy geezer it gives me the creeps. Used it on that install, and with that edit it worked great. Scared hell out of me. Something else is installed there now.

Without that edit I have never had any luck with loading anything that uses it. I either don't need them or they are in a launcher using gksu.

I don't know why it doesn't work. Maybe it is looking for you by way of sudo or something. Haven't ever set up a Debian install to use sudo. I will have to ask around. Think I know a feller that uses sudo, (set up at installation by not giving a root password when asked for one) and maybe it works for him.
 
Old 01-18-2014, 05:32 PM   #5
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
Quote:
Originally Posted by darkduck View Post
I do not have "Edit Menu" option.
There are only
  • Properties
  • Move
  • Remove
  • Panel (with submenu)
Oh I'm sorry i missed the Properties part. then just follow the rest, it isn't that hard to figure it out, it is all there.

Regards
 
Old 01-18-2014, 05:34 PM   #6
darkduck
Member
 
Registered: Jan 2011
Location: Cyprus
Distribution: Kubuntu, OpenSuSE
Posts: 502

Original Poster
Rep: Reputation: 26
Quote:
Originally Posted by ukiuki View Post
Oh I'm sorry i missed the Properties part. then just follow the rest, it isn't that hard to figure it out, it is all there.

Regards
Then there's no Edit Menu button in the Properties. There are some checkboxes, a button to select the icon and a selection of a menu file.
 
Old 01-18-2014, 05:44 PM   #7
darkduck
Member
 
Registered: Jan 2011
Location: Cyprus
Distribution: Kubuntu, OpenSuSE
Posts: 502

Original Poster
Rep: Reputation: 26
Quote:
Originally Posted by widget View Post
/etc/xdg/menus/xfce-applications.menu

You will have to dig through the bugger to find Synaptic.
It shows the menu structure, but no actual items.
 
Old 01-18-2014, 05:53 PM   #8
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
Is that the Applications Menu dialog box ?
If yes, under the Menu File section do you have 2 options as radio buttons? Like:
  • use the default menu
  • use custom menu file
If so, then the use the default menu should be selected. Is it greyed out?

Regards
 
Old 01-18-2014, 05:56 PM   #9
darkduck
Member
 
Registered: Jan 2011
Location: Cyprus
Distribution: Kubuntu, OpenSuSE
Posts: 502

Original Poster
Rep: Reputation: 26
Yes, the default menu is selected, but how can I edit it?
 
Old 01-18-2014, 06:12 PM   #10
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
Quote:
Originally Posted by darkduck View Post
Yes, the default menu is selected, but how can I edit it?
Ok so no edit button there then the access to it is from the settings manager, the menu edition is probably there.
What i got here is Xfce 4.8 running under Xubuntu VM and it is obviously slightly different.

See the Settings Manager then go to Panel then to the tab Items,
maybe it is there or somewhere in the Settings Manager for sure.

Regards
 
Old 01-18-2014, 06:39 PM   #11
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Debian, Void, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
I have used Synaptic, and it is a nice program, but, when it breaks that can be a pain. I therefore avoid GUI package managers like the plague. I prefer using a root shell prompt to install applications, security updates.

# aptitude install nameofprogram.
 
Old 01-18-2014, 07:40 PM   #12
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
The command for synaptic in main menu properties for gnome is "synaptic-pkexec" , not sure if it's thesame in XFCE.
 
Old 01-19-2014, 03:27 AM   #13
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Quote:
Originally Posted by ukiuki View Post
Ok so no edit button there then the access to it is from the settings manager, the menu edition is probably there.
What i got here is Xfce 4.8 running under Xubuntu VM and it is obviously slightly different.

See the Settings Manager then go to Panel then to the tab Items,
maybe it is there or somewhere in the Settings Manager for sure.

Regards
I was wondering if Wheezy, which runs Xfce 4.8 might be different. I do have such a button on my preferences for the main menu. Works very nicely.

Can also open it from the Settings Manager>Panel by highlighting the Main Menu and using the "edit the currently selected item" button.

I use the menu very rarely. This is very interesting though. Will have to explore it more. Seems to work well.

Have Synaptic and Gparted opening from the menu. Panel launcher is a lot quicker and easier for me to use but it is nice to have things working.
 
Old 01-19-2014, 05:20 AM   #14
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
I believe the tool to edit the menu is called alacarte and isn't installed by default for XFCE but id for Gnome -- so if you don't have gnome installed you would need to install it manually.
 
Old 01-19-2014, 03:31 PM   #15
darkduck
Member
 
Registered: Jan 2011
Location: Cyprus
Distribution: Kubuntu, OpenSuSE
Posts: 502

Original Poster
Rep: Reputation: 26
Quote:
Originally Posted by 273 View Post
I believe the tool to edit the menu is called alacarte and isn't installed by default for XFCE but id for Gnome -- so if you don't have gnome installed you would need to install it manually.
If I try to install alacarte in my Xfce installation, it takes a damn good part of GNOME with it.


---------- Post added 19-01-14 at 21:31 ----------

Quote:
Originally Posted by widget View Post
I was wondering if Wheezy, which runs Xfce 4.8 might be different. I do have such a button on my preferences for the main menu. Works very nicely.

Can also open it from the Settings Manager>Panel by highlighting the Main Menu and using the "edit the currently selected item" button.

I use the menu very rarely. This is very interesting though. Will have to explore it more. Seems to work well.

Have Synaptic and Gparted opening from the menu. Panel launcher is a lot quicker and easier for me to use but it is nice to have things working.
Unfortunately, neither right-click on the menu button, nor Settings Manager path gives an option to edit menu items.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't start X/gdm3 in Debian Wheezy w/ ATI Radeon HD 6310 on Toshiba Satellite c855 mesoderm Linux - Software 4 09-07-2013 01:03 AM
Synaptic running problem in Debian 7/Wheezy kcredden Debian 16 08-28-2013 08:44 AM
LXer: File under 'disturbing': Debian Wheezy doesn't ship with the Synaptic Package Manager LXer Syndicated Linux News 1 08-22-2012 07:03 AM
Synaptic in Wheezy; is this a bug, or my error? Knightron Debian 8 07-19-2012 04:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration