The tag has no usage guidance.

learn more… | top users | synonyms

12
votes
2answers
11k views

How to close any window in Awesome WM?

Desktop application developers are free to choose which keyboard shortcuts they want to support. On Windows the convention is pretty strong: Alt-F4 closes most applications Ctrl-F4 closes most major ...
11
votes
3answers
2k 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 ...
10
votes
2answers
4k views

How can I restore default window size in KVM/QEMU

In KVM/QEMU machine window size by default matches guest OS resolution. But if I resize windows (accidently) how to restore default size?
9
votes
2answers
10k views

How can I set the position that terminal opens at?

I'd like Terminal to open near the bottom of my screen. Is there a way to set the default size and position? I'm using Linux Mint 13, Cinnamon.
9
votes
4answers
1k views

How to forbid windows from stealing focus in XFce4?

In XFce4, when I launch applications, I don't want them to appear above the windows I am currently using, or to show alert windows above my current work. Rather, I'd like the windows to load in the ...
9
votes
4answers
306 views

how to hide a window from ALT+TAB in cinnamon?

I have Virtualbox in my Linux Mint box, my Virtualbox is always running, so when I want to change my applications using Alt+Tab I'm always redirected to my Virtualbox window, because it's always in my ...
8
votes
3answers
7k views

What does the “interruptible sleep” state indicate?

I had Firefox running on a Parted Magic LiveCD, then (possibly) as a result of a key combination I don't recall, it quickly vanished from screen and Task Bar/Window List. However: ps ax | grep ...
8
votes
2answers
902 views

How can I save/restore window positions when I undock/dock my laptop?

I have a laptop with a docking station that has a large monitor connected to it. When the laptop is docked, I use the monitor as my primary display, and the laptop screen as a secondary display. ...
8
votes
1answer
331 views

How to force applications to not start maximised in Awesome WM?

How to reproduce: ssh -X user@host firefox (or some other X application). Maximise the window. Close the application. Open the application in Awesome WM (tried only locally, but should also work ...
7
votes
1answer
2k views

How can I remove the window padding on GTK3 apps in Awesome-WM?

I use awesome in a tiling mode for almost all my desktops. Since the advent of client side decorations in GTK3 some common Gnome project apps have taken to giving themselves a generous amount of ...
7
votes
1answer
326 views

Can I put multiple X windows into a single larger window?

Say my main process spawns a couple windows. I'd like to group them in a session-leader master window (a just-the-frame minidesktop for the window group if you will). What can I do to achieve this? ...
7
votes
1answer
6k views

Gnome Shell window snap to quarters of screen

I love the window snap feature of the Gnome 3 shell. However, it only allows you to maximize windows or to snap to the left or right half of the screen. Is there a way to snap to quarters of the ...
6
votes
1answer
845 views

How to maximize a window programmably in X Window?

I'm wondering if there is any commands or programs to make some window maximized in X Window? For example, what I imagine is something like this xmaximize -window *window_id*
6
votes
1answer
148 views

Can I expand one window over two virtual desktops on KDE?

My laptop's resolution is low, and some programs cannot display their content normally in a small window. Is possible to expand one window over two or multiple virtual desktops?
6
votes
1answer
189 views

How to set the default tag for jEdit windows in Awesome WM?

The following rule works as expected: { rule = { class = "Firefox" }, properties = { tag = tags[2][2] } }, That is, Firefox instances are started on the second tag of the second screen. However, ...
5
votes
3answers
8k views

How to move taskbar to different monitor on Linux Mint?

I am using dual monitors on Linux Mint and I can't figure out how to get the bottom taskbar to appear on my left side monitor. Right now it only appears on the right monitor. How can I move it to the ...
5
votes
2answers
154 views

How to print xterm's dimensions in title bar?

Is it possible to print xterm's dimensions in title bar? I'd like something simple like WxH, which updates whenever the terminal is resized.
5
votes
3answers
3k views

Keyboard shortcut to move window to a side in Gnome

In Windows I can press Windows key + (left/right/up/down) keys to press a window against the upper, right, down, left side. Is there an equivalent in Ubuntu? Distro: Ubuntu 12.04, using Gnome.
5
votes
2answers
51 views

What program can I use to search the titlebars of all open windows?

I am looking for an application that allows me to search the text of the title bars of all open windows and then foreground the window that most closely matches the text I typed. An application that ...
5
votes
1answer
577 views

How to move a window up to the level of its parent window in i3wm?

Suppose I have window w1, w2 open, and sub-window w1-a, w1-b with w1 as their parent window. Is there a way to move w1-a up to its parent window level?
5
votes
2answers
312 views

How to pop up “hidden” X application

This is on a RHEL6 system using GNOME (but it happens on Debian as well). I use an application called xchat and if you hide it using the icon in the notification area (as opposed to minimizing using ...
5
votes
3answers
762 views

How can I automate window tiling with a custom width? (Cinnamon)

I am running Linux Mint 17 Cinnamon 2.4.8. I really like xdotool, but it conflicts with Cinnamon's awesome snapping/tiling feature. If I run the following command, it does NOT work if the current ...
4
votes
2answers
3k views

How do I resize the active window to 50% with wmctrl?

I would like to resize the window to the left half of the screen. A solution to achieve that would be to use wmctrl and keybind the right command to a keyboard shortcut. But the manpage only shows ...
4
votes
1answer
31 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
114 views

Cycle between open windows with wmctrl

I have a script that I'm trying to use to make handing applications easier. Right now it gets the window id of an application name (the first parameter) and checks if the window_id exists or not. If ...
4
votes
1answer
38 views

Choose on which monitor new windows appear in KDE

I am using KDE on Debian Jessie. Whenever I open an application, it appears on the first (left) screen. How do I change this? This happens with most applications. For example Vuze opens correctly on ...
3
votes
1answer
176 views

Counting windows

Is there a command to get the number of (visible or iconified) X11 windows? The command $ xwininfo -children -root returns a long list of windows but most of them are neither visible nor iconified. ...
3
votes
1answer
1k views

Open a specific application in a *new* workspace with i3wm

My question is something like this - but I don't want to open a given application on a specific workspace, I want each instance to open on a new workspace each time. The OP in the linked-to ...
3
votes
1answer
2k views

Launching applications from a terminal with specific window size and location

I am running Linux Mint 13, with a KDE 4 desktop manager. I would like to launch applications from a terminal (konsole in my specific case) and setting the exact size of the window and the location of ...
3
votes
3answers
2k views

switching windows in twm with keyboard shortcuts

I am using a system that runs twm and I am wondering if it is possible to switch between windows using keyboard shortcuts, as I do in gnome with Alt+Tab.
3
votes
0answers
152 views

Cursor position, dragging and resizing windows… with multiple monitors

I was finally able to get my four identically sized screens to work together, with three on one graphics card ( GeForce GTX 750 ) and one on a second card ( GeForce GT 730 ) in X11. It was a really ...
3
votes
1answer
143 views

Have window covered by others even when active in mint cinnamon

I recently switched to Linux Mint with Cinnamon as the desktop environment. I much prefer it over Compiz but there is one feature that I'm sorely missing, in Compiz you can set window rules, and more ...
3
votes
0answers
237 views

Open programs with a specified position and size in Gnome 3

I use Gnome 3 on Fedora 20. echo $GDMSESSION outputs gnome and pgrep -l "compiz|metacity|mutter|openbox" produces no output. How can I open each window as if I'd done a super+right arrow or ...
3
votes
0answers
154 views

Mirror a single X application on a dual-monitor setup with Openbox

In a dual monitor system is it possible to mirror a single window and not the entire screen? Put it another way, can I ask an X application to open simultaneously on DISPLAY :0.0 and :0.1? ...
3
votes
1answer
373 views

How to add a key binding to maximize/close all windows?

Lubuntu uses LXDE with Openbox. I can configure key bindings in ~/.config/openbox/lubuntu-rc.xml I want to add key bindings to maximize all windows and have the current active one on top. I also ...
2
votes
2answers
951 views

Fluxbox, how to launch some applications in a specific workspace at startup

I would like to launch some applications at startup, but I want them to be in a specific workspace. I can edit the fluxbox startup-script to launch those applications, but I don't know how to specify ...
2
votes
2answers
829 views

Maximize xterm via bash script

I have found this answer providing how to manipulate the current xterm window's dimensions, ie: echo -ne "\e[8;30;30t" How can I modify this to maximize the window (xterm's alt + enter shortcut)? ...
2
votes
2answers
828 views

Open window maximised on X startup

I have a .xsession script. I am opening a gnome-terminal in background. I would like to open it maximised. I use Cinnamon as window manager. I do understand usually window manager is responsible for ...
2
votes
1answer
22 views

How can I jump to a particular window, no matter what workspace it's on?

Ideally I could say $mod+J+E → jump to Emacs (wherever it is), and the same could be done for $mod+J+W → jump to Firefox (wherever it is). It seems pretty trivial to jump to a workspace, using ...
2
votes
2answers
729 views

Why can't I resize or maximize Firefox 17 under Sawfish?

I just upgraded from Firefox 16 to Firefox 17.0.1, and my Firefox windows lost their maximize button. The maximize-window command does nothing either. Switching to full screen mode in Firefox makes ...
2
votes
1answer
35 views

make x11 window always on top (virtual keyboard)

I'm hacking on matchbox-keyboard. Its UI is written in plain x11. I just want it to be always on top because it is a virtual keyboard; a virtual keyboard can't just get below programs! I don't want a ...
2
votes
1answer
775 views

Configure Ubuntu to always start with terminal & Xload open?

Does anyone know how to configure Ubuntu 14.04 so that when it starts up I have a terminal window open (at my specified x,y coordinates and specified width and height), and the Xload application also ...
2
votes
1answer
59 views

Start an application on initial workspace instead of current workspace

If I start an application and switch workspaces in the time the application is starting up, the application goes to the current workspace and not the one "from which" I called it. Where can I change ...
2
votes
1answer
359 views

Resizing a maximized window from the command line

The following script fails to resize an already maximized window: wmctrl -i -r :ACTIVE: -b remove,maximized_vert,maximized_horz xdotool windowunmap --sync xdotool windowmap --sync wmctrl -r ...
2
votes
1answer
115 views

Fvwm Vector Buttons

I am trying to add windows buttons to my decor. (button numbers 1 6 4 2) AddToDecor MyWDecor + AddButtonStyle 1 Vector 7 70x15@0 30x55@1 50x55@0 40x85@1 80x45@0 60x45@1 70x15@0 + AddButtonStyle 2 ...
2
votes
3answers
745 views

Hide all open windows on Ubuntu 12.04 LTS

Is it possible to have a button on the side bar to hide every open window on Ubuntu 12.04 LTS?
2
votes
0answers
96 views

Make a terminal window 'un-hideable'

I've been trying to get a fully embedded terminal sitting on my desktop. After searching around for some tips I finally almost have it: xfce4-terminal --hide-menubar --hide-borders --hide-toolbars ...
2
votes
1answer
184 views

How to get a dialog box back to front?

I'm using Ubuntu 14.04 and experienced a problem with dialogs that don't have a "representation" in the task switch menu. for instance, when I start Eclipse Luna (Kepler is working) and switch to ...
2
votes
0answers
80 views

Subtle WM in Full Floating Style

I am using Subtle and I am happy with it. But I want to change it to serve all windows in Floating style like all stacking windows manager. Is it possible and how?
2
votes
0answers
290 views

Windows losing focus on Gnome on Fedora 17

I have a problem using Gnome on Fedora 17 where, after a period of time, I cannot regain focus on any windows; that is, I can only see the desktop screen. If I Alt-Tab I can see the other windows, but ...