← Back to team overview

desktop-packages team mailing list archive

[Bug 1453991] [NEW] gnome-terminal ignores the command line options --name and --class

 

Public bug reported:


Ubuntu version:

Description:    Ubuntu 15.04
Release:        15.04


Package version:

gnome-terminal:
  Installed: 3.14.2-0ubuntu3
  Candidate: 3.14.2-0ubuntu3
  Version table:
 *** 3.14.2-0ubuntu3 0
        500 http://mirrors.coopvgg.com.ar/ubuntu/ vivid/main amd64 Packages
        100 /var/lib/dpkg/status


Description:

gnome-terminal ignores the command line options --name and --class.
These options are listed with gnome-terminal --help as general gtk+
options. They should set the WM_CLASS property of the terminal window,
so window managers can manage properties of individual windows separately.

The WM_CLASS property can be displayed with the xprop command.

Example:

# gnome-terminal &
# xprop WM_CLASS
(point the cursor on the terminal window)
WM_CLASS(STRING) = "gnome-terminal-server", "Gnome-terminal"

# gnome-terminal  --disable-factory --name foo --class bar &
# xprop WM_CLASS
WM_CLASS(STRING) = "gnome-terminal-server", "Gnome-terminal"

Here is how it should be:

# gnome-terminal &
# xprop WM_CLASS
WM_CLASS(STRING) = "gnome-terminal-server", "Gnome-terminal"

#gnome-terminal  --disable-factory --class foo --name bar
# xprop WM_CLASS
WM_CLASS(STRING) = "bar", "foo"

** Affects: gnome-terminal (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: gnome-terminal

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-terminal in Ubuntu.
https://bugs.launchpad.net/bugs/1453991

Title:
   gnome-terminal ignores the command line options --name and --class

Status in gnome-terminal package in Ubuntu:
  New

Bug description:
  
  Ubuntu version:

  Description:    Ubuntu 15.04
  Release:        15.04

  
  Package version:

  gnome-terminal:
    Installed: 3.14.2-0ubuntu3
    Candidate: 3.14.2-0ubuntu3
    Version table:
   *** 3.14.2-0ubuntu3 0
          500 http://mirrors.coopvgg.com.ar/ubuntu/ vivid/main amd64 Packages
          100 /var/lib/dpkg/status

  
  Description:

  gnome-terminal ignores the command line options --name and --class.
  These options are listed with gnome-terminal --help as general gtk+
  options. They should set the WM_CLASS property of the terminal window,
  so window managers can manage properties of individual windows separately.

  The WM_CLASS property can be displayed with the xprop command.

  Example:

  # gnome-terminal &
  # xprop WM_CLASS
  (point the cursor on the terminal window)
  WM_CLASS(STRING) = "gnome-terminal-server", "Gnome-terminal"

  # gnome-terminal  --disable-factory --name foo --class bar &
  # xprop WM_CLASS
  WM_CLASS(STRING) = "gnome-terminal-server", "Gnome-terminal"

  Here is how it should be:

  # gnome-terminal &
  # xprop WM_CLASS
  WM_CLASS(STRING) = "gnome-terminal-server", "Gnome-terminal"

  #gnome-terminal  --disable-factory --class foo --name bar
  # xprop WM_CLASS
  WM_CLASS(STRING) = "bar", "foo"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1453991/+subscriptions


Follow ups

References