! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
specify class on command line
Status:
CLOSED: INVALID
Severity:
enhancement
Product:
Xfce4-terminal
Component:
General

Comments

Description David Maciver 2006-05-15 22:34:30 CEST
There should be a way to specify the X class of the terminal. Simply calling gtk_init earlier would achieve this, or you could add another option.
Comment 1 Benedikt Meurer editbugs 2006-05-16 16:10:24 CEST
Stupid question maybe, but why do you need to set the wmclass? Terminal doesn't use Xt/Motif, so it cannot be used for Xresources, and Terminal windows all have a unique role, so its useless for the window manager, session manager and related tools as well.
Comment 2 David Maciver 2006-05-16 16:34:19 CEST
I have a borderless terminal at the top of the screen which I can show/hide using the keyboard or when another window gets mouse focus. Using FVWM, the easiest way to uniquely identify this terminal is by its class. This may not be directly related to XFCE but is quite a small change; shouldn't GTK apps support GTK options?
Comment 3 Benedikt Meurer editbugs 2006-05-16 16:36:58 CEST
You'll need to specify the options to the first instance of Terminal when using D-BUS (atleast according to the GTK docs). But the wmclass/wmname properties are really outdated. Today window managers should identify the windows by their roles.
Comment 4 Benedikt Meurer editbugs 2006-08-12 17:00:25 CEST
Resolving to INVALID. Window managers should use the role.

Bug #1812

Reported by:
David Maciver
Reported on: 2006-05-15
Last modified on: 2009-12-17

People

Assignee:
Benedikt Meurer
CC List:
0 users

Version

Attachments

Additional information