The tag has no wiki summary.

learn more… | top users | synonyms

9
votes
2answers
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 ...
9
votes
2answers
3k 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
9k 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 ...
9
votes
4answers
489 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 ...
8
votes
3answers
5k 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
294 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 ...
8
votes
1answer
78 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 ...
7
votes
1answer
6k 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.
7
votes
1answer
214 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
2answers
744 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. ...
6
votes
1answer
164 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
453 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*
5
votes
1answer
994 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 ...
5
votes
2answers
46 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
2k 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
233 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
318 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
1answer
3k 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 ...
5
votes
1answer
132 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?
4
votes
2answers
5k 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 ...
4
votes
2answers
76 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
1answer
222 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?
4
votes
2answers
2k 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 ...
3
votes
1answer
174 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
743 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
3answers
1k 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
68 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
64 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
106 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
118 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
219 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
820 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
622 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
659 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
2answers
671 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
148 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
1k 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 ...
2
votes
1answer
37 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
244 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
89 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
0answers
74 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
132 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
75 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
3answers
575 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
266 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 ...
2
votes
1answer
603 views

Inconsistent behaviour of “wmctrl -i -a <WIN>”

I'm trying to use dmenu and wmctrl to write a script that would present to me a list of all currently open windows and then switch to the one I select. It looks something like this: Now, I'm using ...
2
votes
2answers
365 views

Draw a borderless webkit window on the desktop?

I have a browser page which I'd like to transparently burn over my desktop behind all other windows. I'd like the background of the page to be transparent so that my wallpaper shows through, but I'd ...
1
vote
2answers
119 views

How to display a digital clock on the monitor on top of everything?

My graphical environment is FVWM2 on OpenBSD. How can we display a digital clock in the top right corner of the screen, on top of everything? So it shouldn't matter if a new window comes up, the ...
1
vote
3answers
125 views

How to know if a specific program is open

Using a command line in terminal, I want to be displayed 1 if a program (for example Firefox or Chromium) is open and 0 otherwise. Edit: By "open", I mean "is running on the current machine and has a ...
1
vote
3answers
338 views

Bring up all terminal windows to front of screen?

I usually have 2-3 terminals open when programming on Fedora, but I find it quite tedious having to click and manually bring every terminal to the front screen when I compile and run. Are there any ...