LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 10-21-2012, 10:10 AM   #1
onerous
Member
 
Registered: Jun 2012
Location: Lahndahn innit
Distribution: Toshiba P10 Debian 6 xfce, Scaleo E HTPC and attempting ubuntu and xmbc
Posts: 39

Rep: Reputation: Disabled
Synaptic package not working from xcfe yet working from the command line


Hola

More fun, having installed synaptic package manager from the command line. It appears in the xcfe menus but clicking them does nothing.

Yet it still works from the command line.

Wondering why this would be.
 
Old 10-21-2012, 11:31 AM   #2
jim_p
Member
 
Registered: Aug 2009
Distribution: Debian testing
Posts: 487

Rep: Reputation: 110Reputation: 110
The menu "shortcut" that lauches synaptic executes the command "synaptic-pkexec", which is a small bash script that lauches synaptic with pkexec (the policykit wrapper to execute a command as another user).
So, in order for this to work you will need policykit...
 
1 members found this post helpful.
Old 10-21-2012, 03:51 PM   #3
onerous
Member
 
Registered: Jun 2012
Location: Lahndahn innit
Distribution: Toshiba P10 Debian 6 xfce, Scaleo E HTPC and attempting ubuntu and xmbc
Posts: 39

Original Poster
Rep: Reputation: Disabled
Is this automatically downloaded with xcfe and the goodies packages?
 
Old 10-21-2012, 06:26 PM   #4
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,235

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Quote:
Originally Posted by onerous View Post
Is this automatically downloaded with xcfe and the goodies packages?
No it is not, at least not in Sid.

Packagekit is not installed here at all. I do not have any problem launching synaptic from the launcher on the panel. Now it could be that I don't remember editing the command on the launcher but it does not look like what I would have done so I think it is the standard xfce launcher command.
Code:
su-to-root -X -c /usr/sbin/synaptic
I do not know if that would work if you edited the menu or not. Will give it a go. I have a set selection of launchers I use and have never before now tried launching synaptic from the menu and was surprised to find it did not work.
 
Old 10-21-2012, 06:49 PM   #5
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Wallowing in a pit of despair.
Distribution: OpenBSD
Posts: 1,238
Blog Entries: 4

Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
With Squeeze, aptitude install synaptic instals everything required for Synaptic to work, including being opened from a menu, including when using XFCE. I know from experience. If you are using Squeeze, there should not be a problem. (Have you done something interesting in addition to installing the application?) If you are using Testing or Sid, extra steps may be required, but I cannot say.
 
Old 10-21-2012, 07:02 PM   #6
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,235

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Have to admit I expected a xml file similar to the one used by Openbox. Couldn't make any sense of the /etc/xdg/menus/xfce-applications.menu. Doesn't show all the entries under the sub headings (sections of the menu).

I do find Synaptic in /var/lib/menu-xdg/aplications/menu-xdg

Beats me. I have a friend that hates xfce because of the menu. I start to see his point. I use launchers for my commonly used applications and rarely use the menu so it hasn't bothered me.

Have no trouble launching a root terminal from the menu so it really makes no sense at all.
 
Old 10-21-2012, 09:30 PM   #7
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,733
Blog Entries: 12

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
edit the Exec= line on /usr/share/applications/synaptic.desktop

If you have policykit installed it should show Exec=synaptic-pkexec

If you do not have policykit installed it should be
Exec=su-to-root -X -c /usr/sbin/synaptic
 
1 members found this post helpful.
Old 10-21-2012, 10:56 PM   #8
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,235

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Quote:
Originally Posted by craigevil View Post
edit the Exec= line on /usr/share/applications/synaptic.desktop

If you have policykit installed it should show Exec=synaptic-pkexec

If you do not have policykit installed it should be
Exec=su-to-root -X -c /usr/sbin/synaptic
Geeze. I always thought that file was just for the translations.

What a moron.
 
Old 11-15-2012, 03:40 PM   #9
onerous
Member
 
Registered: Jun 2012
Location: Lahndahn innit
Distribution: Toshiba P10 Debian 6 xfce, Scaleo E HTPC and attempting ubuntu and xmbc
Posts: 39

Original Poster
Rep: Reputation: Disabled
Hola bouncing up the thread as I finally got round to the laptop.

What did I do wrong? Installed debian 6 without a gui and then installed xcfe and xfce goodies. What did I do wrong? At this stage I can reinstall the operating system with xcfe.

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Synaptic package manager not working irahkob Linux - Newbie 1 11-06-2011 05:02 PM
./configure command isn't working in command line jumpmansbro Linux - Newbie 20 01-22-2009 08:29 PM
working with hidden files from the command line indygreen Linux - General 4 01-04-2006 08:50 AM
Backspace Not Working In Command Line sanjith11 Programming 1 04-22-2004 07:42 AM


All times are GMT -5. The time now is 07:14 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration