The tag has no usage guidance.

learn more… | top users | synonyms

14
votes
3answers
14k 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.
14
votes
2answers
13k 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
3k 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 ...
11
votes
1answer
10k 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 ...
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
4answers
2k 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
445 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
10k 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
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 ...
8
votes
2answers
997 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
358 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
1k 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*
7
votes
1answer
428 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? ...
6
votes
3answers
9k 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 ...
6
votes
3answers
5k 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.
6
votes
1answer
159 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
197 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
1answer
886 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
56 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
3answers
1k 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 ...
5
votes
2answers
416 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
0answers
198 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? ...
4
votes
2answers
202 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.
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
46 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
276 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
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 ...
4
votes
1answer
42 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 ...
4
votes
0answers
223 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
178 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
23 views

How do I change the height of GIMP to less than 1266 pixels?

I'm having trouble editing in GIMP 2.8.16 because the window is much taller than my monitor, and can't be resized to anything smaller. From xprop: WM_NORMAL_HINTS(WM_SIZE_HINTS): ...
3
votes
1answer
535 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 :ACTIVE:...
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
1answer
192 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
385 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 super+...
3
votes
1answer
561 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
1k 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
938 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
957 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
29 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
754 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
102 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
1k 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
76 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
142 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
844 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
19 views

Application shortcut for windows in KDE

I would like to have a shortcut for several applications that does the following: Start the application if it's not yet running. Put the application in the foreground if it is in the background. Put ...
2
votes
0answers
22 views

adding text to titlebar in all root windows [closed]

When a window is opended with root priveleges, I want to display some text in the titlebar to inform the user that he/she is root in that particular instance. I'm currently using the MATE desktop ...
2
votes
0answers
129 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 --...