Questions tagged [window]

The window is a fundamental concept in graphical user interfaces.

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

How to simple record the full application window like obs does in ffmpeg / other programs?

In obs there is a feature capture window feature that can record the application in full without cutting parts, I have read the ffmpeg instructions but it is not easy what I want is simple how can ...
  • 23
1 vote
1 answer
43 views

How to hide parent container in i3?

I'm using pretty much the standard i3 config and sometimes I press the wrong keys and this extra bar shows up at the top: I believe it's the "parent container"? How do I hide the bar again? ...
0 votes
0 answers
51 views

Fedora 37 - Can't move windows or resize them (BUG video)

I am running Fedora 37 and today I have encountered a weird problem when moving windows. I have recorded a quick video to show it better: https://youtu.be/z4wTMzm4Sy0. I am not exactly sure what is ...
0 votes
0 answers
40 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
93 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
1 vote
0 answers
124 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 ...
  • 33
-2 votes
1 answer
90 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
36 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
16 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
29 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
616 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
13 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
73 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
225 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.
2 votes
2 answers
2k 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 ...
  • 634
1 vote
0 answers
65 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
116 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,224
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
380 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,693
1 vote
1 answer
214 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
449 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
313 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
463 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
38 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
388 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
418 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
29 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
178 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
166 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
278 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
71 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 ...
  • 965
0 votes
1 answer
89 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,789
1 vote
0 answers
224 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
354 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-...
  • 237
1 vote
0 answers
49 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/...
5 votes
7 answers
6k 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 ...
  • 153
0 votes
1 answer
194 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
308 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
717 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 ...
  • 191
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 ...
  • 787
10 votes
1 answer
2k 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 ...
  • 641
0 votes
0 answers
227 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
800 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
652 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
186 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
543 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
164 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
40 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
2 3 4 5