Xfce Forum

Sub domains
 

You are not logged in.

#1 2006-09-16 16:12:33

jimmyy
Member
Registered: 2006-09-16
Posts: 1

Command

Hello,

What's the shell command for closing a windows ?

I want to do ALT+F4 but with a command.
I know the HotKeys. But how to do that with the shell ?

I have idea to replace the border with a command in taskbar.

Next, what's the command for move, maximise...

Thank's !

Offline

#2 2006-09-17 01:05:43

mmassonnet
Moderator
From: the milky way galaxy
Registered: 2006-07-30
Posts: 99
Website

Re: Command

Maybe wmctrl has sufficient control on windows, try it ;-)

Wmctrl is a command line tool to interact with an EWMH/NetWM compatible X Window Manager


Mike

Offline

#3 2006-09-17 01:15:56

mmassonnet
Moderator
From: the milky way galaxy
Registered: 2006-07-30
Posts: 99
Website

Re: Command

May I suggest some keyboard/mouse tips on windows:

Alt+Mouse1 = Move window
Alt+Mouse2 = Send window to bottom
Alt+Mouse3 = Resize window
Alt+Mouse4/5 = Set window transparent/opaque

Alt+Shift+<arrows> = Resize window
Ctrl+Alt+Shift+<arrows> = Move window
Ctrl+Alt+Page Down/up = Send window to bottom/top
Alt+F8 = Minimize window
Alt+F9 = Shade/Unshade window
Alt+F10 = Stick/Unstick
Alt+F11 = Fullscreen (at least here smile)

Hrmf, I forget about the documentation: http://www.xfce.org/documentation/docs- … wm-windows


Mike

Offline

#4 2006-09-17 06:57:02

Pindakoe
Member
From: NL
Registered: 2003-11-26
Posts: 110

Re: Command

jimmyy wrote:

Hello,

What's the shell command for closing a windows ?

I want to do ALT+F4 but with a command.

exit will close any terminal. Other programs: it'll depend, or (often) no possibly short of killing the program which you can do easily with pkill (with apttern to locate the right one).

Offline

#5 2006-09-17 08:25:51

thehundredthone
Member
Registered: 2004-02-23
Posts: 32

Re: Command

i think he means, how to close another window through a shell
i think you need the window id, etc


Before you criticize someone, walk a mile in their shoes
That way, if they get angry, they're a mile away and barefoot

Offline

Board footer

Powered by FluxBB