Questions tagged [xprop]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
21 views

Transparent container on half screen in Ubuntu 20.04

Basically, I closed my laptop lid at night and normally it would go to sleep. But, in morning when I opened it, it didn't started at the login screen but on the page where I left it and was ...
1
vote
1answer
157 views

Get xprop class of gnome-screenshot

I'm using a window manager and compositor in Ubuntu. I have blur enabled for transparent windows, which means that when I take a screenshot with gnome-screenshot, the content I'm trying to take a ...
5
votes
1answer
312 views

Learning terminal by observing commands being run by GUI [duplicate]

Hello I'm new to the Linux system and would like to know if there is a code or application which opens a terminal that will tell me the lines of code being used. For example, If I were to open a ...
3
votes
1answer
271 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 ...
12
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 --...
2
votes
1answer
979 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
2k 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
415 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
79 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 ...
22
votes
4answers
13k 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
4k 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 ...