Questions tagged [window]

The window is a fundamental concept in graphical user interfaces.

Filter by
Sorted by
Tagged with
60
votes
6answers
34k views

Why Mac applications never get “closed”?

I'm a Linux/Windows/Mac user. I like all systems, *nixes more than Windows, but I like all nonethless. I started using a Mac this year, and a difference between Linux and Windows that I can't ...
30
votes
5answers
11k views

How to move windows across displays in Gnome 3?

In Gnome 3, moving windows with the keyboard shortcuts Meta+← and Meta+→ can be convenient. Now, I have two displays installed and would like to move windows across the displays without ...
30
votes
6answers
35k views

How to set window size and location of an application on screen via command line?

I want Firefox window to be opened in a specific size, and location on screen using a shell command, for example: firefox myfile.html size 800x600 location bottom-left Is there such a command?
26
votes
12answers
9k views

Text editor with split screen option

Is there an editor which has the option to "split the screen" into two or more parts, accessing more than one file (possibly with a file tree) without opening more editor windows at once, and how ...
26
votes
5answers
20k views

Is it possible to retrieve the active window process/title in Gnome?

I need a solution for getting the current active (focused) window information on a Gnome 2 desktop. I'm mostly interested in the process running that window and window title. Is it possible? ...
21
votes
1answer
9k views

Mint 16 Cinnamon, maximize window fully

I am using Linux Mint 16 Petra cinnamon. The problem I have is that when I drag a window to the top edge of the screen the window only maximizes to the top half of the screen instead of the the entire ...
20
votes
8answers
30k views

How do I find the X window ID under the mouse pointer in bash?

From a bash script, is there some way to get the ID of the X window under the mouse pointer? (edit) I need the process to be non-interactive.
13
votes
4answers
11k views

Is there a keyboard shortcut to make a window occupy half the screen?

Is there a keyboard shortcut I can use to make a window occupy the left or right half of the screen? I'm using a modified version of Ubuntu. On Mac I just use Divvy but I'm not sure if there is a ...
13
votes
3answers
8k views

Is there a way to simulate a “Close” event on various windows using the terminal?

I answered on Ask Ubuntu Quit all instances of gnome-terminal via a command but as you all can read gnome-terminal didn't seems to have a SIGcall I could use to simulate this "Close" event. So this ...
13
votes
1answer
1k views

Does window minimizing free memory usage?

Both the undisplayed maximized window and minimized window are invisible to the end user. By undisplayed I mean an inactive maximized window covered by the active window. There is a difference ...
13
votes
4answers
4k views

Override the window title for an arbitrary window in KDE and set a custom window title

Using KDE here, but there might be a solution that works with other desktops environments too. I often am dealing with many many windows. Most windows contain many tabs (e.g. a Dolphin window with ...
11
votes
2answers
3k views

Wait for a X window to appear/disappear (in a sane way)

Inside a shell script, I need to wait for a window that has a string on its title to appear, do some action, and then wait for it to disappear, and do some other action. Until yesterday, I had this ...
10
votes
2answers
2k views

Retrieve the window name and role

I'm running Eclipse and I detached some of the windows. Now I have 4 windows linked to Eclipse. What I need is to be able to identify each individual window and be able to control it. If I run tools ...
9
votes
2answers
2k views

Force SSH to ask my private key passphrase in the shell (not in a window)

When I use SSH for the first time after booting, it asks me for my private key unlocking passphrase (which is the behaviour I expect). But it does so in a window, not in the shell (similar to gksudo ...
8
votes
2answers
6k views

remove title bar of another program

I have developed a program with glut library and want to remove its title bar. Since its impossible to remove the title bar from glut library I have to use an external tool to remove its title bar. ...
7
votes
2answers
2k views

How can I prevent Google Hangouts from opening on all workspaces?

When I open Chrome or launch Google Hangouts, the hangouts window opens on all workspaces. I always have to right-click on the title and un-check "Always on Visible Workspace" Is there any way to ...
7
votes
1answer
4k views

Ranger - open_with without suspending

When I open a file into ranger with a GUI application not listed in the rifle.conf file (i.e. using the open_with command), the ranger terminal window gets "suspended" until I close the GUI app. For ...
6
votes
1answer
48k views

Using Gparted and installing Windows 10 after Linux

I recently built a computer and put LinuxMint 17.3 on it right away. I now have a free copy of Windows 10. I haven't really been able to find detailed instructions on how to install Windows while ...
6
votes
1answer
1k views

What is “stick” button on windows in xfce?

In xfwm4-settings I found "stick" button and I can't understand what does this button. I think that it will stick the current window to another, but this button does not do it. So what does this ...
6
votes
1answer
4k views

What is the max number of x-clients?

I am developing an x-server implementation, and I want to make it as similar to the current one as possible. I read through the documentation, but I couldn't find anything specific. In particular, I'...
6
votes
1answer
704 views

Move a window to another computer

Suppose I have a few machines, all connected to a monitor and all running linux. I want to be able do the following: Start an application on computer A and then move its window to computer B if ...
6
votes
1answer
450 views

Shell script: find iconized programs , if found , activate it

Stardict uses a tray icon , also allows multiple instance of itself , but sadly , i don't use a panel , so no notification area available. But when I hit on close , it minimized to tray , is there a ...
6
votes
3answers
3k views

How can I disable terminal resizing

Vim scripts sometimes resize the whole shell (in my case the Taglist plugin). I don't want this behavior, which is possible with the shell command resize, too. Is there a way to suppress the whole ...
5
votes
1answer
5k views

Switch to an application using its PID

I'm using Gnome. In vim, I want to map a key to switch to Firefox. I know that I should use bash commands (a command in form of !...). Is it possible to switch to an application using its PID?
5
votes
2answers
3k views

Deepin: Shortcut for docking window to side/corner of screen

I would like to know if there is a shortcut in deepin os for docking a window to a side or corner of the screen. Just like it does when the window is dragged to one edge of the screen. It doesn't ...
5
votes
1answer
758 views

How to find how many windows are opened in GNU screen?

I am trying to automate my work flow. I have a script that opens individual window in screen for each IP in a list. Imagine setupscreen.sh <IP1> <IP2> .... After all windows are open, each ...
5
votes
1answer
965 views

Is there a way to remove icons from the titlebar under KDE Plasma 5.8?

I just installed KDE with arch linux and I'm trying to remove icons from the titlebar, after looking into the settings and on various websites I didn't manage to find a way. Does anyone know if this ...
5
votes
1answer
870 views

Keyboard shortcut for horizontal scrolling

Is there a utility I could use to scroll the active window horizontally using the keyboard?
4
votes
4answers
5k views

How to make LXTerminals open maximized in Lubuntu 11.04?

I have Lubuntu 11.04, I start my terminal sessions with a shortcut. The annoying thing is that the terminal windows are never maximized when I launch them, so every time I launch a terminal I must ...
4
votes
2answers
223 views

Can you tell a window to spawn behind others?

I have a script that recompiles and relaunches a software project I am building in linux. However, I don't usually want to see my program's window immediately after it has launched, as I want to keep ...
4
votes
1answer
2k views

Open PDF previewer width specific size and position and “always on top” from command line

I'm using latexmk -pdf -pvc to keep compiling my LaTeX files to PDFs while they are displayed in evince. I'm doing that a lot with different files and I keep needing to zoom the PDF content, resize ...
4
votes
2answers
1k views

How to rotate window in X11

Is it possible to rotate a single window in X11? I tried to use Xephyr but I run into bug 100458. I use XMonad as WM if that helps.
4
votes
1answer
3k views

Linux Mint (Cinnamon, Muffin) set a keyboard shortcut where one of the keys is a mouse

Linux Mint 17 Cinnamon Edition. I want to create a keyboard shortcut involving the mouse. Specifically, I want to make it so clicking Alt, right-click, and dragging my mouse allows me to resize the ...
4
votes
1answer
831 views

Group and lock certain windows to a workspace in Gnome 3

Is it possible to group certain windows to always occupy the same area and always be in the same workspace? If so, how? For example I'm using Eclipse and I have multiple detached windows and for ...
4
votes
1answer
113 views

How do I prevent applications from starting with their windows maximized?

Some applications seem to be written the way they start maximized by default. I don't want this to happen ever. Is there a way to force disable this? There is a program called maximus that maximizes (...
4
votes
2answers
420 views

How to measure that how much time is the active window opened?

How can we measure that in a given period, what window was on the top? (active one) I already tried based on "wmctrl", but I can't show the currently active window.. in the second example I tried ...
4
votes
2answers
1k views

Get PID of the application running in the active terminal emulator

My end goal is to be able to open a new terminal window (urxvt) directly in the current working directory of the program running in the window currently active. I'm currently using the shell (Bash), ...
4
votes
1answer
640 views

Is it possible to style tmux on a per-session basis?

I set up 2 tmux sessions to work on different parts of a project (switching back and forth frequently). As their layout are pretty similar, I would like to set different status-bar color to help me ...
4
votes
1answer
713 views

Retrieve X11 window ID of a just-launched GUI-program

I want to retrieve the X id of GUI programs I launch in background, in order to work on their windows properties. I've been so far using this workaround: myprogram & sleep 1 winID=$(wmctrl -l | ...
4
votes
1answer
2k views

What process created this window with no PID associated? [duplicate]

Possible Duplicate: What process created this X11 window? I need to kill a process that spawned a window which seems to have no PID associated with it. At least that is what xdotool says: ~$ ...
4
votes
1answer
611 views

Gnome3/Archlinux move windows with keys?

Looking for an app that will allow me to move my Gnome3 windows with keys like Ctrl+Alt+Home to move to top left corner of the screen. Essentially, this is what Winsplit revolution does on windows. ...
4
votes
1answer
2k views

Is there any way to resize scale application GUI window?

Is there any way to run an application scaling its GUI window? (Well, I'm using MATE but hope for universal solution). For example, up scale small window of an old game running under wine on high-...
3
votes
2answers
320 views

How to close a window of a crashed application?

Im using Awesome as desktop environment, as you can see in the image below, the application (aMule) crashed but the window is still open, so I would like to close it to restart it, but as you can see ...
3
votes
2answers
21k views

sftp from Unix server to Window

I am trying to sftp from a Unix box to my computer. I'm use the command: sftp userid@ipaddr where "ipaddr" is the IP Address of my computer. But I'm unable to connect. I tried with ftp and sftpg3, ...
3
votes
1answer
816 views

Switching automatically between 2 windows on Linux

Hi I need to switch focus between two windows periodically and automatically (with software or w/e). Can this be achieved on linux?
3
votes
1answer
82 views

Why are there pipe characters '|' and square bracket characters '[' ']' in my Cinnamon window names? How to disable them?

I was puzzled why there were pipe and square bracket characters in my Cinnamon window titles in the panel. Eg. Firefox window title showing as "| Firefox" or "[ Firefox ]" Why are they there, and ...
3
votes
2answers
585 views

Emacs - finding the cursor in multiple windows

I've started splitting my emacs frame into two side-by-side windows, but often I'm unable to tell at a glance which window the cursor is currently in. I've bound the other-window command to a special ...
3
votes
1answer
3k views

Stretch window over two monitors with “gap” in between

I have a dual monitor setup with Compiz as window manager on Ubuntu 14.04. I can resize a window to stretch over both windows. However, while the physical display panels are a few centimeters apart, ...
3
votes
2answers
19k views

Use SSH to connect to a Windows OS in Linux [closed]

In Windows machine, I installed Ubuntu in my Oracle VM VirtualBox. In Ubuntu, if I want to connect to another Linux machine: $ ssh username@ip But if I want to connect to my Windows machine, that ...
3
votes
2answers
6k views

How to refresh a window by terminal? Or how to simulate `F5`?

I would like a way to refresh a specific window from the terminal command-line. Probably I will need a command to find the id or the name of the window and a command to refresh it. It looks like ...