The tag has no usage guidance.

learn more… | top users | synonyms

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 ...
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*
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 ...
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 ...
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 ...
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.
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 ...
2
votes
2answers
956 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
781 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 ...
1
vote
1answer
313 views

call a script if a zenity window is minimized, resized or moved

I would like to add an event-catcher, if my the zenity window gets minimized, resized or moved. I already call a script if the window is closed or the button is pressed in my typebreak script But I ...