Questions tagged [xprop]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
99 views

How can one get executable file-path for a window which is launched as FlatPak application?

I know that xprop | awk '/PID/ {print $3}' | xargs ps and xprop | awk '/COMMAND/ {print $4}' | xargs which work great with GUI applications which are deb-packaged, AppImage'd or Snap'd. But this ...
11
votes
1answer
2k views

How to determine if window is maximised or minimised from bash script

I have a bash script that moves my windows from the left screen to right screen in dual-screen setup. Currently the way it works is cycling through the window ids that are given by xdotool search --...
1
vote
0answers
417 views

Duplicate icons of the same application created on Dock with no WM_class found

I followed all the steps in this answer: https://askubuntu.com/a/975230/719469 However when I run xprop WM_CLASS in Terminal and click on my application's window, it gives me: WM_CLASS: not found. ...
3
votes
1answer
1k views

xprop fails to undecorate window

I am running Ubuntu 16.04. I want to undecorate (remove borders and title bar) of a window. I found an old posted scripts on the net claimed to be working but it doesn't work now. To undecorate: ...
2
votes
1answer
364 views

Why does my xprop- command fail on login, if I run it from ~/.profile?

I'm running Lubuntu 16.04. It's using openbox as its window manager. I wanted to configure the virtual desktops to be in a grid arrangement rather than a line, which I can do by running this command: ...
1
vote
1answer
72 views

how to handle unwanted exiting of a command and its output in bash script

I made a one liner script to auto hide a specific window when mouse is not hover over that window. It gets mouse position and geometry of the window and its position (topleftx,toplefty), I added its ...
18
votes
4answers
11k views

How do I permanently change window titles?

Which files are involved in generating the window title? For example, if you open Rhythmbox, you see the program name as the window title. But it’s not generated by the .desktop file. Which file(s) do ...
1
vote
2answers
3k views

How can I xprop or xwininfo Gnome-Do?

I need to see the X properties of the Gnome-Do popup window, in regard to this question that I asked earlier. The problem is that as soon as the Gnome-Do window loses focus it closes, so I can't ...