Gksu running aptitude causes keyboard focus loss and crashes

Bug #676178 reported by Andrew on 2010-11-16
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gksu (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: gksu

Open gnome-terminal, and run "gksu aptitude"
Aptitude will either immediately exit or the keyboard will be non-functional
Running "sudo aptitude" works fine.

Note that I tried "gksu -g aptitude" with no difference.

My goal is to run aptitude from my toolbar with this command:
/usr/bin/gnome-terminal --title=Aptitude --command='gksu -g /usr/bin/aptitude' --geometry=150x37

I prefer this than:
gksu -- /usr/bin/gnome-terminal --title=Aptitude --command='/usr/bin/aptitude' --geometry=150x37

As the latter runs gnome UI (gnome terminal) as root so it does not leverage my user's gnome configuration and I would prefer to not run gnome-terminal as root.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gksu 2.0.2-2ubuntu2
ProcVersionSignature: Ubuntu 2.6.32-26.46-generic-pae 2.6.32.24+drm33.11
Uname: Linux 2.6.32-26-generic-pae i686
Architecture: i386
Date: Tue Nov 16 09:51:41 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: gksu

Andrew (andrew-rw-robinson) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers