[SOLVED] XFCE help on finding english/american name of a window

Forum rules
Before you post please read how to get help
Post Reply
User avatar
secureIT
Level 3
Level 3
Posts: 150
Joined: Wed Dec 05, 2018 1:26 pm

[SOLVED] XFCE help on finding english/american name of a window

Post by secureIT » Mon Jul 29, 2019 1:08 pm

Hi friends,

i want to publish a script in the english forum depending on thunar.
I call the window name within a script using wmctrl.
But as my installation is a german one, i wonder what is the name of the thunar window into an english/american installation.
Translation will be filemanager but in XFCE it could also be File Manager or File-Manger or File_Manger - or whatever ........ dont know.

So can anyone give a little help to me ?

Open up thunar and after that a terminal.

Then paste this into terminal :

Code: Select all

xwininfo
click on the thunar window ...... and post the given info here .......

Thats no joke while in german the name of the window is "Dateimanager" ....... and script will run ,,,,,, but only into german installation .....

Thank you very much for your help :D
Last edited by secureIT on Mon Jul 29, 2019 3:42 pm, edited 3 times in total.
In der Ruhe liegt die Kraft ! .......... The strenght is to be found in serenity !

User avatar
MrEen
Level 13
Level 13
Posts: 4550
Joined: Mon Jun 12, 2017 8:39 pm

Re: XFCE help on finding english/american name of a window

Post by MrEen » Mon Jul 29, 2019 3:21 pm

Hi secureIT.

Here you go:

Code: Select all

scott@scott-HP ~ $ xwininfo

xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0xc00004 "profile-sets - File Manager"

  Absolute upper-left X:  589
  Absolute upper-left Y:  27
  Relative upper-left X:  6
  Relative upper-left Y:  27
  Width: 1325
  Height: 466
  Depth: 24
  Visual: 0x21
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x20 (installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +589+27  -6+27  -6-587  +589-587
  -geometry 1325x466-0+0

Just FYI, this is the 18.3 version of Xfce with Thunar v. 1.6.11 in case that has any relevance. And profile-sets was the directory I was in at the time, but I'm sure you knew that.

User avatar
secureIT
Level 3
Level 3
Posts: 150
Joined: Wed Dec 05, 2018 1:26 pm

Re: XFCE help on finding english/american name of a window

Post by secureIT » Mon Jul 29, 2019 3:37 pm

Hi, MrEen

a big "thank you" ! :)

you will see the script (created with your help) soon as an addition to this thread :

viewtopic.php?t=298644&p=1664291#p1664291
In der Ruhe liegt die Kraft ! .......... The strenght is to be found in serenity !

User avatar
MrEen
Level 13
Level 13
Posts: 4550
Joined: Mon Jun 12, 2017 8:39 pm

Re: XFCE help on finding english/american name of a window

Post by MrEen » Mon Jul 29, 2019 3:40 pm

Looking forward to it!

Just wanted to say I've enjoyed your posted scripts even when I didn't have a need for them. Thanks for those. :D

User avatar
secureIT
Level 3
Level 3
Posts: 150
Joined: Wed Dec 05, 2018 1:26 pm

Re: [SOLVED] XFCE help on finding english/american name of a window

Post by secureIT » Mon Jul 29, 2019 3:54 pm

Thank you for the kind words that motivates me to keep going. :D :D :D
In der Ruhe liegt die Kraft ! .......... The strenght is to be found in serenity !

Post Reply

Return to “Xfce”