Questions tagged [window]

The window is a fundamental concept in graphical user interfaces.

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

How to see a window preview in xlib?

I am making a window manager and for the Alt+Tab screen (for switching windows) I want to show the user a live preview of the window. Xlib does not seem to have any functions relating to this. How can ...
  • 145
0 votes
1 answer
21 views

How to change the color of a window background in xlib

I have a xlib window manager and I create Windows using XCreateSimpleWindow. The function allowed selecting an initial window background color. I want to change this color at runtime. I found this is ...
  • 145
0 votes
0 answers
22 views

Hide Window Title Text (Gnome 43)

How can I change the text color on window title bars, in Gnome? The text usually indicates the application's name and I need to hide it. Giving it the titlebar's background color should be enough, but ...
  • 23
-2 votes
1 answer
31 views

Bare Arch Linux with temporary X server for applications

Not sure if this is the right place to post this question, but I'm pretty confident that it will interest some people here. I am a pretty big CLI user, what I mean by this is that 90% of my workflow ...
1 vote
1 answer
20 views

red dot and green outline of a box appered on screen – Mint Cinnamon

While experimenting with scrcpy this red dot and green rectangle appeared. I had my phone lean against the screen on that area, thus I only notices it later. This abnormality is only affecting the ...
0 votes
0 answers
10 views

Forcibly resize unresisable window in gnome

I've been digging around and cant find any obvious ways to forcibly resize a unresizable window in gnome 42 (I'm specifically using fedora). Is this even possible? I'm not particularly worried about ...
0 votes
1 answer
19 views

Xlib. Frame responds to input send to client window

I am creating a frame using the following: frame = XCreateSimpleWindow(display, root, x_window_attributes.x, x_window_attributes.y, x_window_attributes.width, x_window_attributes.height + ...
  • 145
3 votes
2 answers
158 views

KDE keyboard shortcut to maximize a window

According to KDE Documentation → Common Keyboard Shortcuts → Panning and Zooming there are 4 keyboard shortcuts for resizing/panning a window, where Meta+◀─ and Meta+─▶ also move the window to another ...
0 votes
0 answers
12 views

What would be the best approach to lock an application UI?

"Lock an application" meaning make it unresponsive to e. g. mouse and keyboard input. Imagine the whole application greyed out - that kind of effect (I'm only talking about the functionality,...
2 votes
2 answers
33 views

Xlib. How to make XGrabButton not consume click?

First question so please forgive me if I am neglecting a requirement here. I am attempting to build a window manager for arch linux. Currently, I am adding grab events before mapping a window. I have ...
  • 145
0 votes
1 answer
141 views

How to force an application to exit fullscreen in dwm?

I have an application that has no settings for fullscreen and is really annoying that it takes up all the screen. I am looking for a way that I can turn the application into a window.
1 vote
2 answers
1k views

How to get current window class name from script?

In my script I want to do different things depending on current active application. How can I get currently active window class name? There is very similar question: xdotool: How to test if current ...
  • 552
1 vote
0 answers
48 views

X11 doesn't recognize certain windows

While trying to stream a game on Discord, I noticed that it didn't recognize the game. After looking further into this it seems that X11 seems to display the window but not actually recognize it when ...
  • 11
0 votes
1 answer
109 views

How to open 'About Mozilla Firefox' (update) window with one command

For some reason I have ended up using the 'local' (portable) version of Firefox, and it can check for updates from its dedicated window (Help - About...). Can that window be opened with one command?
  • 1,204
0 votes
0 answers
10 views

Find the processes making a window [duplicate]

OS: Manjaro Linux x86_64, Kernel: 5.10.84-1-MANJARO, DE: Cinnamon 5.0.7 Everytime I start my computer and log in, there is a 1x1 unnamed window with a settings cog icon, at first I ignored it, but now ...
  • 1
3 votes
3 answers
323 views

AWK - Dealing with spaces in the last column of output from wmctrl

As a first project for learning awk, I wanted to reformat the output of the wmctrl command, which can be installed like this in Debian 11: sudo apt install wmctrl To list information about all the ...
  • 4,553
1 vote
1 answer
155 views

Resize xsane tiny window in Gnome

I am running Ubuntu 21.10 on a Lenovo Thinkpad with Gnome has my desktop. When I run xsane my "Advanced Options" window is tiny (10 pixels wide and not much more high) and I cannot seem to ...
0 votes
0 answers
369 views

VMware - Can't ping host machine and VM even in bridged mode

I have set my Ubuntu virtual machine in bridge mode so that my VM could communicate with my host machine but I can't seem to receive any ping replies from both ends. My host machine is windows 10. ...
  • 1
-1 votes
1 answer
235 views

how to display current X-Y position of window in gnome-terminal

For input into gnome-terminal --geometry. I would like to customize the gnome-terminal position upon opening it.
  • 51
1 vote
1 answer
261 views

Screen program splits window but unable to use or type

I want to use the screen program to run sessions on my terminal and split my terminal. But both in horizontal and vertical split, when the window splits into two, I'm not able to use or type in the ...
  • 121
0 votes
1 answer
32 views

What file format will change from window to linux?

I transferred the .zip file from the window computer to the linux server. Will the content of the file change? Could the file change directly because of the difference between window and linux, and it ...
  • 183
0 votes
1 answer
328 views

How to ssh from windows to linux?

I want to ssh from windows 10 to linux. I installed OpenSSH server and client. When a I tried to ssh to my own pc, it work. Port 22 is opened. i tried without firewall. But when i tried to linux I get ...
-1 votes
1 answer
336 views

KDE/xorg: How to prevent windows from being only almost fullscreen?

The Problem: Strangely enough, I've had this problem on every operating system I've used, including Windows. Sometimes windows open not-quite-fullscreen. I don't know why they do that, I certainly ...
0 votes
0 answers
25 views

No such partition issue

Hy I have dual operating environment window and Ubuntu Last day I install an window 10 iupdate when I done I face an error No such partition So I try to figure out issue but I could not I try to ...
1 vote
0 answers
165 views

Window resizes lag/CPU spikes when compositor running

I run Gentoo with i3 and the picom compositor. I installed the alacritty terminal to give a try, and noticed that when picom is running, the terminal lags when rapidly resizing the window - rather ...
  • 111
0 votes
2 answers
127 views

cycle tmux windows of the same name

this question (to my knowledge) has not been asked before, yet would benefit anyone that uses tmux! I tried searching github too for plugins etc, but no luck yet. What I'd like to achieve: Cycle ...
  • 71
0 votes
1 answer
223 views

PureOS Command Line Window

I'm new to PureOS and I've been looking for a way to open a command line window without any luck. How do I open a console/command line window in PureOS?
1 vote
0 answers
58 views

How to open window always on external screen using devilspie2?

Does anyone know if devilspie2 supports opening a specific window always on the external screen? I have one Chrome extension window that always opens on the internal one even if Chrome is opened on ...
  • 915
0 votes
1 answer
69 views

How can I invert the selection for killing windows in Tmux?

Sometimes I want to kill all windows besides the current one (or the one selected using -t). Instead of killing each window using kill-window -t <window> how can I invert the selection, so that ...
  • 3,559
1 vote
0 answers
202 views

How do I change the color of the titlebar close button in KDE Plasma 5.21?

I don't see an option for this in the System Settings option. Is it possible to do this one?
4 votes
0 answers
269 views

When resizing a window in Ubuntu, the spot is too small for my mouse to find

When I want to resize a window in Ubuntu, I put my mouse cursor near the edge of the window and I have to slow down and hunt for the exact right pixel when the mouse cursor turns into the that left-...
  • 227
1 vote
0 answers
46 views

Aesthetic Distro

In windows, whenever you change the wallpaper, all the themes and settings of programs and windows border change accordingly providing a pleasant and aesthetic look. Kindly suggest me a linux distro/...
4 votes
7 answers
5k views

Minimize, Maximize, Close icons not showing in GNOME

Minimize, Maximize, Close icons are missing in my GNOME desktop of Kali Linux. However, when I click in the place they are supposed to be, they do what they are supposed to do. Weirdly, Firefox is ...
  • 133
0 votes
1 answer
141 views

Get event when window has been closed

I try to automate some repetitive tasks with xdotool. In one task I want to automatically save a website to a file. While printing on Firefox there is a progress bar which looks like this: I want to ...
2 votes
0 answers
279 views

How to send SIGSTOP/SIGCONT to focused window/process?

I'm using Manjaro Linux with bspwm and sxhkd. The process to send SIGSTOP/SIGCONT to can be a single terminal or something with children such as Firefox. I want to freeze the Firefox window I'm ...
3 votes
0 answers
584 views

How do I find the PID of the active window, where the application is a flatpak?

I can find the information easily for regular applications with something like: xdotool getactivewindow getwindowname xdotool getactivewindow getwindowpid VLC media player 28448 However with the ...
  • 161
0 votes
1 answer
1k views

Get Rounded Corner in Maximized Windows in Gnome

I'm using Ubuntu 20.04 LTS and Gnome Shell 3.36.4. The titlebar of my windows, when unmaximized, have rounded corners. But when I maximize the window, the rounded corner disappears. How can I get ...
  • 777
4 votes
1 answer
1k views

possible to join/attach Konsole windows?

In KDE's Konsole, if I have a Konsole window open with multiple tabs and accidentally click and drag a tab off into its own window, is there any way to re-attach it to the tabs of the original Konsole ...
  • 581
0 votes
0 answers
202 views

unable to access ssh at port 4422 on AWS

I have access to a cluster (paramshivay.iitbhu.ac.in) via port 4422 I can easily connect it by regular internet connection but whenever I try it to connect via AWS (either on ubuntu ssh instance or ...
1 vote
1 answer
582 views

How can I get the position of the current focused window?

I want to take a screenshot of the current focused window on an Ubuntu system with Python, how can I get the position (left, upper, right, lower) of the current focused window using the command line ? ...
user avatar
1 vote
2 answers
575 views

How can I use wmctrl to check if a certain WM_ICON_NAME(STRING) exists?

I'm using I3 and I use WM_ICON_NAME(STRING) to identify my windows. I'm looking for something similar to this, but with WM_ICON_NAME(STRING). It is possible to achieve this? Thank you. if test $(...
1 vote
2 answers
2k views

Tmux: How can I create "session > window > pane" and run a command in the pane?

I'd like to do the next from a bash script: Create a session named "my_session". Create a window named "my_window" inside of that session. Create two pans named "my_pan1"...
0 votes
0 answers
162 views

Read text of a open window in a linux shell

i have a little script that runs commands depending on the title of opened windows. I read that titles using wmctrl -l Some of the window titles are very general. Can i read the window text using the ...
  • 11
0 votes
1 answer
473 views

how to prevent input focus for a single window in gnome-shell window manager?

I need a single window to be on top and never gain focus when any other window is closed. In this case it is a gnome-terminal window w/o decorations, where I am running nethogs, it has a single ...
2 votes
0 answers
136 views

Fedora: Create multiple workspaces with a script

At the moment I'm using Fedora with Gnome. I want to create a script which will be able to start the applications on different workspaces. For me it's clear that I could create a script which just ...
0 votes
1 answer
26 views

UI in SNAP program not showing in the right position

I have a problem with the SNAP (from step) program but I suspect it is related to my machine settings and not to the program itself as it is written in Java and works in other OS and computers. In ...
  • 101
-2 votes
1 answer
39 views

How to reduce numbering indent in vi in 19.10?

Upgraded to 19.10 and my terminal window without numbers is ok but with numbers (:set nu) it now has a large annoying indent! I tried the solution at https://unix.stackexchange.com/a/252200/10043 ...
1 vote
0 answers
15 views

How to view parts of a window limited by screen resolution? [duplicate]

Window manager is MATE. OS is Debian 10. In certain applications, I'm stuck with windows I can't resize. Working on laptops, screen resolution is sadly limited, so the lower parts of these unresizable ...
  • 623
1 vote
0 answers
322 views

How to make i3 contain "Always on top windows" in i3+KDE setup?

The issue The Plasma "Add Widget" window is always on top, and due to this i3wm is unable to tile it. Also, since it is outside i3's management, hence I can't focus on it as well, which prohibits me ...
0 votes
0 answers
381 views

How to trigger a prompt redraw when the terminal window size changes?

So I created a trap to check if the change is being registered: trap 'echo $COLUMNS' WINCH And the change is indeed reflected. But my prompt is not redrawn, neither from re-issuing the $...
  • 101

1
2 3 4 5