** Description changed:

  I have configured x-terminal-emulator to use /usr/bin/terminator:
-     % sudo update-alternatives --display x-terminal-emulator
-     x-terminal-emulator - manual mode
-       link currently points to /usr/bin/terminator
+     % sudo update-alternatives --display x-terminal-emulator
+     x-terminal-emulator - manual mode
+       link currently points to /usr/bin/terminator
  
  Pressing Ctrl-Alt-T has been interceped previously by Unity's Gnome 
compatibility plugin (where I've configured it to start gnome-terminal directly 
for Ctrl-Alt-T).
  This broke somehow a few days ago, and I am getting a terminator instance now 
instead, but it says "Root Terminal" in its title and uses the icon configured 
in /usr/share/applications/gksu.desktop.
  
  The new behavior appears to be caused by the "Launch Terminal" entry in 
gnome-control-center / Keyboard / Custom Shortcuts, where "x-terminal-emulator" 
was configured.
  Disabling this entry makes the "Gnome Compatibility" setting stick.
  The behavior is the same though: in both cases a "Root Terminal" window is 
opened (without logging in root).
  
  My wild guess is that somehow the gksu.desktop file might be considered
  to be useful for "icon and name" when starting "x-terminal-emulator". It
  does not use the "Exec" from the desktop file though.
  
  The pstree output from a window like that looks as follows:
  % pstree -ap | grep -B2 $$
-   |-/usr/bin/x-term,18397 /usr/bin/x-terminal-emulator
-   |   |-(/usr/bin/x-term,18406)
-   |   |-zsh,18407
-   |   |   |-grep,19325 -B3 18407
+   |-/usr/bin/x-term,18397 /usr/bin/x-terminal-emulator
+   |   |-(/usr/bin/x-term,18406)
+   |   |-zsh,18407
+   |   |   |-grep,19325 -B3 18407
+ 
+ The problem appears to be "just" the title and icon being wrong.
+ This is not the case when starting "terminator" directly, but also when 
starting "x-terminal-emulator" directly via Alt-F2 or another terminal.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: unity 5.10.0-0ubuntu6
  ProcVersionSignature: Ubuntu 3.2.0-23.36-generic-pae 3.2.14
  Uname: Linux 3.2.0-23-generic-pae i686
  ApportVersion: 2.0.1-0ubuntu6
  Architecture: i386
  CompizPlugins: 
[core,composite,opengl,decor,regex,put,imgpng,gnomecompat,vpswitch,snap,mousepoll,move,unitymtgrabhandles,place,compiztoolbox,grid,resize,animation,session,workarounds,wall,expo,ezoom,fade,scale,unityshell]
  Date: Sat Apr 21 18:05:22 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
  SourcePackage: unity
  UpgradeStatus: Upgraded to precise on 2011-12-16 (127 days ago)

** Description changed:

  I have configured x-terminal-emulator to use /usr/bin/terminator:
      % sudo update-alternatives --display x-terminal-emulator
      x-terminal-emulator - manual mode
        link currently points to /usr/bin/terminator
  
  Pressing Ctrl-Alt-T has been interceped previously by Unity's Gnome 
compatibility plugin (where I've configured it to start gnome-terminal directly 
for Ctrl-Alt-T).
  This broke somehow a few days ago, and I am getting a terminator instance now 
instead, but it says "Root Terminal" in its title and uses the icon configured 
in /usr/share/applications/gksu.desktop.
  
  The new behavior appears to be caused by the "Launch Terminal" entry in 
gnome-control-center / Keyboard / Custom Shortcuts, where "x-terminal-emulator" 
was configured.
  Disabling this entry makes the "Gnome Compatibility" setting stick.
  The behavior is the same though: in both cases a "Root Terminal" window is 
opened (without logging in root).
  
  My wild guess is that somehow the gksu.desktop file might be considered
  to be useful for "icon and name" when starting "x-terminal-emulator". It
  does not use the "Exec" from the desktop file though.
  
  The pstree output from a window like that looks as follows:
  % pstree -ap | grep -B2 $$
    |-/usr/bin/x-term,18397 /usr/bin/x-terminal-emulator
    |   |-(/usr/bin/x-term,18406)
    |   |-zsh,18407
    |   |   |-grep,19325 -B3 18407
  
  The problem appears to be "just" the title and icon being wrong.
  This is not the case when starting "terminator" directly, but also when 
starting "x-terminal-emulator" directly via Alt-F2 or another terminal.
  
+ It does not appear to be specific to terminator; configuring xterm via
+ "sudo update-alternatives --config x-terminal-emulator" results in a
+ "Root window", too.
+ 
+ Using gnome-terminal via x-terminal-emulator's alternative does not
+ cause this behavior though.
+ 
  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: unity 5.10.0-0ubuntu6
  ProcVersionSignature: Ubuntu 3.2.0-23.36-generic-pae 3.2.14
  Uname: Linux 3.2.0-23-generic-pae i686
  ApportVersion: 2.0.1-0ubuntu6
  Architecture: i386
  CompizPlugins: 
[core,composite,opengl,decor,regex,put,imgpng,gnomecompat,vpswitch,snap,mousepoll,move,unitymtgrabhandles,place,compiztoolbox,grid,resize,animation,session,workarounds,wall,expo,ezoom,fade,scale,unityshell]
  Date: Sat Apr 21 18:05:22 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
  SourcePackage: unity
  UpgradeStatus: Upgraded to precise on 2011-12-16 (127 days ago)

** Package changed: unity (Ubuntu) => ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/986609

Title:
  Using x-terminal-emulator to open a terminal via Ctrl-Alt-T opens
  "Root Terminal" (with normal login)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/986609/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to