Questions tagged [window]
The window is a fundamental concept in graphical user interfaces.
52
questions with no upvoted or accepted answers
4
votes
0answers
7k views
How to install X window system for a minimal desktop?
On a server running CentOS 7, how to make a minimal install of the X window system?
The idea is to build a very minimal desktop that the end-user will use with only one software for backups. No need ...
4
votes
0answers
157 views
Show a text overlay on top of applications, e.g. for screencast or presentation
I am working on a screencast. Now I am wondering if there is an easy way to place a text box, possibly with transparent background and big font, on top of other windows.
Obviously I could edit the ...
3
votes
0answers
1k views
How to detect whether a window is in focus?
I'm not experienced in scripting but I've made this script:
#!/usr/bin/env bash
# hint: use "xdotool getmouselocation" to get values
if xdotool getwindowfocus getwindowname | grep -Eq " - ...
3
votes
0answers
861 views
How can I make window borders transparent in Gnome?
I want to create a GTK+ 3.0 theme (for Gnome 3.6+) that features transparent window borders. Is this possible? If so, how can I do it?
3
votes
0answers
77 views
How to disable popup inscriptions in gnome 2?
When one moves mouse cursor to certain positions following inscriptions appear: "Window Menu", "Close Window" and so on. How to disable them?
2
votes
0answers
93 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 ...
2
votes
0answers
36 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 ...
2
votes
0answers
356 views
Application window has become incredibly wide, almost unusable
Today my Soulseek client window has become so wide that it's almost unusable. I can see the border resize icon, but can only resize it for wider, as if a "minimal width" setting is in place. The ...
2
votes
0answers
818 views
How to change title of active window using wmctrl
I'm using fluxbox window manager and recently I've added "always on top" shortcut to my "keys" file.
Mod1 a :ExecCommand wmctrl -r :ACTIVE: -b toggle,above
But I'd like to know if window state is "...
2
votes
1answer
1k views
Window not resizing on gnome shell
I am using archlinux with gnome shell 3.14.3-2 and I am unable to resize windows using eather alt+f8 or alt+space -> resize.
Pressing alt+f8 and the moving the mouse moves the window, while it is ...
2
votes
1answer
435 views
How to emulate a KWin effect by command line?
I would like to apply the Toogle Invert Effect when I start my system.
So, I need to know how to call this KWin effect using the terminal.
OBS.: I'd tried xte "keydown Meta_L" "key i" "keyup Meta_L",...
1
vote
0answers
16 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 ...
1
vote
0answers
123 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 ...
1
vote
0answers
148 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 $...
1
vote
0answers
20 views
Problem loading CentOS on Linux Virtual Box
I am trying to install CentOS 07-1810 on my new Virtualbox and I was getting an error message. It looks like the software is bigger than the available size of my System hard disk, but being a new user ...
1
vote
0answers
17 views
Even selected, no windows content refresh, I have to change the windows size
Linux MATE 19.1, Nvidia graphics.
Not at all times, but even selected, no windows content refresh, I have to change the windows size.
Happens only in browsers window (Firefow, Chrome, Chromium).
By ...
1
vote
0answers
65 views
Do not resize window on drag after super right/left
In GNOME one can press
Super⨠(Move window leftmost and resize 50%x100%)
Super⦠(Move window rightmost and resize 50%x100%)
Superā§ (Maximize)
Superā© (Restore)
Right / Left option gives a nice way ...
1
vote
0answers
201 views
Separating the code related to various components in awesome wm config
This is the code in default awesome wm config for creating top bar:
awful.screen.connect_for_each_screen(function(s)
-- Wallpaper
set_wallpaper(s)
-- Each screen has its own tag table.
...
1
vote
0answers
351 views
Focus preservation in i3wm
tl;dr:
How do I implement the no_focus directive in i3wm and how do I dynamically assign a program to a workspace based on the workspace where I key the binding to open the program (i.e., I press the ...
1
vote
0answers
367 views
One gedit instance per i3 workspace
On Ubuntu 16.04 with Unity, I get one gedit window (or even instance?) per workspace. Opening a new file, e.g. from Nautilus, would open it in a new tab in the workspace window, or open a new one if ...
1
vote
0answers
433 views
how to get dark theme or look for netbeans?
Not quite sure how to get dark themes for Netbeans:
would like something similar to this look:
just without the "side" window.
1
vote
0answers
152 views
Run multiple screens and attach them for a split view
So I'm new to screen and I've been using this .screenrc for now - https://gitlab.com/joaopizani/env.screenrc-ftw.
I'm trying to make a script that, given a target host, will do the following:
Open a ...
1
vote
0answers
28 views
Configure Unity so it does not let window go out of the screen
Frequently I get my window out of range, I do know I can use super+space but this is annoying, it break my focus, so, there is a way to tell X to not let their windows x+width,y+height position to ...
1
vote
1answer
534 views
“black hole” for minimized windows
I have Dell-Precision laptop with ubuntu 14.04 installed; using KDE. As a result of my minor (and failed) attempts to get an extra widget into bottom bar, something funny happened:
Whenever I call a ...
1
vote
0answers
244 views
How to fix Dual boot missing UEFI mode bootloader in window 8.1
My notebook exist UEFI mode windows 8.1 before install linux. When I install the sabayon-linux missing windows bootloader. I tried the following solutions.But I can't. How to fix boot repair windows 8....
1
vote
0answers
78 views
Do not open a new instance of an application, if it's already open in another workspace in Mint
I am using Linux Mint and I enabled multiple workspaces.
Suppose I have an instance of an application (i.e., Google Chrome) open on Workspace 1. When I switch to Workspace 2 and I open Google Chrome, ...
1
vote
1answer
36 views
swap windows with dash script
I have written a bunch of dash scripts that resize and move windows for better efficiency.
The structure is the following: i have a row of 8 windows that are stacked to the bottom of my screen, like ...
1
vote
0answers
665 views
using left mouse button to move window can cause freeze (XFCE4/Ubuntu 15.10)
I use xfce4 under Ubuntu 15.10. Fairly often some action with my mouse causes the cursor to change into the closed hand icon and my session freezes in a useless state. When this happens the cursor ...
1
vote
1answer
87 views
Why does my program screen dims down?
I wrote a program to run on Linux OS. I noticed whenever I ran the program and clicked on a button to open a window, sometimes the main application screen dims down. This doesn't happen on all the ...
1
vote
0answers
518 views
How to get miniature (live thumbnail preview) of open windows on Linux?
Gnome-shell does it in the 'activities' screen, unity/compiz has it in 'Spread','Shift','ALT-Tab'.
How do I get those live window previews in C++?
1
vote
0answers
202 views
customizing size of emacs windows in twm, depending on the vnc session
I connect to the same Unix system (that runs tab windows manager, twm) via vnc. I connect from a laptop with a small screen and from a workstations with a large screen. I have started two different ...
1
vote
0answers
129 views
Automatic shut down of Ubuntu 13.04 along side Windows 8
Things with Ubuntu were working absolutely fine, but suddenly, the laptop started overheating whenever I logged into Ubuntu. And that lead to automatic shutdown. I realised that it was definitely due ...
1
vote
0answers
162 views
Xcompmgr, puts child windows in the background
I don't know if it's related to fluxbox, but whenever I launch the transparency management at startup with xcompmgr -f it becomes difficult to use pop-up windows. They are all sent to background, and ...
0
votes
0answers
4 views
Mac OSX Terminal window title doesn't refer to the HOST I am running but a second machine I had been using still on my local network
Pascales-iMac27 is the name of an oldest iMac which I had been using before I changed for another iMac while having the Pascales-iMac27 on the same network.
I hadn't be doing unix things for a big ...
0
votes
1answer
19 views
+50
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 ...
0
votes
0answers
5 views
Chromium/Chrome app-page for Google Docs created with `--app-id` argument looks bad in Xfce
As detailed here, there seems to be two ways of creating an app-like appearance of any page in Chrome and Chromium.
The --app-id argument is used when creating a shortcut for any page
or for just a ...
0
votes
0answers
164 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 ...
0
votes
0answers
40 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 ...
0
votes
0answers
33 views
Scroll to minimize/restore windows when hovering over their icons? (Cinnamon)
On Windows my favorite utility is a program called 7+ Taskbar Tweaker, one of the features it has is allowing you to use your scroll wheel to minimize, restore, and bring to the front windows when ...
0
votes
0answers
23 views
disable gestures from touchpad running centos8
I have a Panasonic fz-g1 which run centos8 with gnome UI. I trying to set it to run a single application on full screen. When swiping with 2 fingers from top to middle of the screen the app is ...
0
votes
0answers
33 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 ...
0
votes
0answers
20 views
wmutils: how to group windows and cycle through a group of windows?
I use wmutil to manage window, I have three windows as below:
lsw
0x02000003
0x01800003
0x01900002
I want to group 0x01800003 and 0x02000003 to group1 and 0x01900002 as group2 and enable cycle ...
0
votes
1answer
101 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 ...
0
votes
0answers
15 views
windows management software under ubuntu
i'm here o linux but i want o know if is possible to controll two windows of two aplications (softwares) with the same master windows.
Example, i want o run [gedit] and [terminal] like one single ...
0
votes
1answer
445 views
Chrome apps get grouped in window list
I like to have launchers for web applications (spotify web player, google calendar, overleaf etc.). I also like to group multiple open windows of the same application in the window list.
I create ...
0
votes
1answer
195 views
WSL open Window on Windows host
I made a small bash-script.
it works fine so far on Windows WSL and Linux.
Now i would like a to have a graphical pop-up window to let the user choose from a list of settings.
I learned you can do ...
0
votes
1answer
954 views
Open URL in new firefox window not tab in a bash script
I want to open a URL in Firefox always in a new Window and not in a new tab.
It is on my raspberry PI on iceweasel and I just can't find a soultion for my problem.
What do I have:
firefox -private-...
0
votes
1answer
83 views
Running commands on user login?
First before anything I have installed a Ubuntu 16.10
After I installed it I have a tty1 open. I have installed Xorg and xfwm4 (X Window Manager)
If I do following:
tty1: login
type: startx
tty2: ...
0
votes
1answer
463 views
How to fix badly opening Chrome window in Elementary OS
When opening Chrome in Elementary OS (fresh install) I see the animation of the window opening to a side of the screen (where I can't access). I don't know why this happens and neither how to get ...
0
votes
1answer
463 views
Intructions for Debian 8.2 net install dual boot with Windows 8.1
I cannot prepare dual boot installation in my hp zbook 14, I have windows 8.1 installed and want dual boot with Debian 8.2. I have configured the things for a standard ubuntu installation, preparing a ...