Author |
Message |
lithpr

Joined: 10 Mar 2011 Posts: 186
|
Posted: Thu 19 May 2011, 13:37 Post subject:
wmctrl 1.07 Subject description: CLI tool to interact with an EWMH/NetWM compatible X Window Managers |
|
Here's a .pet for wmctrl 1.07, built from the lucid .deb file. Tested on Lupu 5.2.5 (caveat: a derivative called RexBang).
Description |
|

Download |
Filename |
wmctrl-1.07-6_i386.pet |
Filesize |
12.93 KB |
Downloaded |
1575 Time(s) |
|
Back to top
|
|
 |
Béèm

Joined: 21 Nov 2006 Posts: 11775 Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
|
Posted: Thu 19 May 2011, 17:13 Post subject:
|
|
What does it do?
_________________ Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
|
Back to top
|
|
 |
DPUP5520
Joined: 16 Feb 2011 Posts: 814
|
Posted: Thu 19 May 2011, 17:51 Post subject:
|
|
wmctrl is a UNIX/Linux command line tool to interact with an EWMH/NetWM compatible X Window Manager.
The tool provides command line access to almost all the features defined in the EWMH specification. It can be used, for example, to get information about the window manager, to get a detailed list of desktops and managed windows, to switch and resize desktops, to make windows full-screen, always-above or sticky, and to activate, close, move, resize, maximize and minimize them.
The command line access to these window management functions makes it easy to automate and execute them from any application that is able to run a command in response to an event.
Please note that wmctrl only works with window managers that implement the EWMH specification. The tool is known to work - either fully or partially - with the following window managers:
blackbox >= 0.70
icewm
kwin (the default WM for KDE)
metacity (the default WM for GNOME)
openbox >= 3
sawfish
fvwm >= 2.5
waimea
pekwm
enlightenment >= 0.16.6
xfce >= 4
fluxbox >= 0.9.6
matchbox
window maker >= 0.91
_________________ PupRescue 2.5
Puppy Crypt 528
|
Back to top
|
|
 |
`f00

Joined: 06 Nov 2008 Posts: 808 Location: the Western Reserve
|
Posted: Mon 30 May 2011, 16:11 Post subject:
Subject description: thanks for the reminder |
|
wmctrl in general
One of those tools that sometimes gets into an offering (like musher0's wmx wm package) and you overlook it until it comes in handy. For example, I was trying to get a (nicer) graphical pager in ede wm, but most only displayed on one desktop (kind of useless for anything but observation) and the appdir that was sticky was fairly clunky. How to make a window that's usually undecorated sticky (on all desks)? Load something like fbpanel's pager, do a "wmctrl -l" to get some info, then if the desktop info hasn't got a "-1" in that column for "panel" .. "wmctrl -r panel -b toggle,sticky" and voila.
It's not always that simple, but still it can be useful if you've banged your head on most of the options you can think of and the control eludes your grasp when it seems like there should be a way of accomplishing this or that tweak you might want.
Yep, afterstep has its own way for sure
|
Back to top
|
|
 |
lithpr

Joined: 10 Mar 2011 Posts: 186
|
Posted: Mon 30 May 2011, 17:02 Post subject:
Subject description: thanks for the reminder |
|
Very cool `f00!
I've found all sorts of uses for it- not major accomplishments, but little things. I've used it to supplement Openbox's already excellent facilities for controlling application windows, implemenedt a "quake-terminal" type thingie, a window placing/resizing setup ala unity's Super-Keypad, replacing windows with a copy in the same size & position, a script to display a different background image on each virtual desktop... all sorts of fun little stuff.
It is a very cool little utility, and goes very well with xprop & xwininfo.
|
Back to top
|
|
 |
recobayu

Joined: 15 Sep 2010 Posts: 389 Location: indonesia
|
Posted: Sun 01 Feb 2015, 23:55 Post subject:
implementation in jwm |
|
Hi All,
I do implementation of this wmctrl to the jwm window manager. I use shortcut Ctrl + Alt + Arrow to move window to up, left, down, and right side of screen. I called it stickyjwm. Here is the link: http://murga-linux.com/puppy/viewtopic.php?p=825303#825303
Edit:
I know from this thread:
http://murga-linux.com/puppy/viewtopic.php?p=796809#796809
Last edited by recobayu on Tue 03 Feb 2015, 04:28; edited 1 time in total
|
Back to top
|
|
 |
musher0
Joined: 04 Jan 2009 Posts: 15041 Location: Gatineau (Qc), Canada
|
Posted: Mon 02 Feb 2015, 11:51 Post subject:
Re: implementation in jwm |
|
Thanks, recobayu, for your useful script. It's not only for jwm, it can help "upgrade"
any older or more limited window manager (such as aewm, wmx2, echinus, etc.).
BFN.
musher0
_________________ musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
|
Back to top
|
|
 |
recobayu

Joined: 15 Sep 2010 Posts: 389 Location: indonesia
|
Posted: Mon 16 Mar 2015, 12:46 Post subject:
stickyjwm2 |
|
This is stickyjwm2. So many thanks to you all, thanks to mochimoppel.
the stickyjwm1 is from here:
http://murga-linux.com/puppy/viewtopic.php?p=825303#825303
Now, this stickyjwm2 is better (i think.. ).
1. It can automatically detect our tray, bottom or top.
2. It will not remove your jwmrc-personal or your wmctrl
3. We can use winkey + arrow to control that
4. It only can walk on the new jwm (that support winkey nicely)
Description |
Just install this pet, and we can enjoy our new toy. like Cinnamon or wdz 10, i think.. :)
|

Download |
Filename |
stickyjwm2.pet |
Filesize |
50.72 KB |
Downloaded |
1060 Time(s) |
|
Back to top
|
|
 |
MochiMoppel

Joined: 26 Jan 2011 Posts: 2084 Location: Japan
|
Posted: Mon 16 Mar 2015, 21:10 Post subject:
Re: stickyjwm2 |
|
This is MUCH better!
Also a clever way to include the shortcuts in the user's jwmrc-personal
Now you should really delete links to stickyjwm1. Makes me nervous to see this thing still around
What I didn't understand: What means "can automatically detect our tray, bottom or top"? It may detect them, but it doesn't care about them. What is stickyjwm2 supposed to do when it detects trays?
|
Back to top
|
|
 |
recobayu

Joined: 15 Sep 2010 Posts: 389 Location: indonesia
|
Posted: Tue 17 Mar 2015, 03:06 Post subject:
Re: stickyjwm2 |
|
MochiMoppel wrote: | This is MUCH better!
Also a clever way to include the shortcuts in the user's jwmrc-personal |
39 mochimoppel..
Quote: |
What I didn't understand: What means "can automatically detect our tray, bottom or top"? It may detect them, but it doesn't care about them. What is stickyjwm2 supposed to do when it detects trays? |
It is automatically set our window position. So that the window hopely never behind the tray again.
Eventhough our tray is autohide..
|
Back to top
|
|
 |
MochiMoppel

Joined: 26 Jan 2011 Posts: 2084 Location: Japan
|
Posted: Tue 17 Mar 2015, 09:07 Post subject:
Re: stickyjwm2 |
|
You're welcome
Quote: | So that the window hopely never behind the tray again. | It is always behind my 2 trays, so doesn't work for me, but probably works for users with uncustomized tray settings.
|
Back to top
|
|
 |
Subito Piano

Joined: 27 May 2007 Posts: 736 Location: UPSTATE New York
|
Posted: Thu 31 Mar 2016, 16:43 Post subject:
|
|
I just ran into this post last night. Recobayu -- SWEET!!!! I have LONG wanted all these features, both the easy window tiling and the "back & forth" action of ALT+TAB. THANK YOU!
Note for anyone reading this who prefers to silence the little "zap" sound when executing the tiling feature -- simply edit each of the following files found in /usr/bin:
supdownku2
supleftku2
suprightku2
supupku2
Simply change the last three lines of each file from:
Code: | #wmctrl -r :ACTIVE: -b remove,maximized_vert,maximized_horz &&
wmctrl -r :ACTIVE: -e 0,$X,$Y,$W,$H &&
aplay /usr/share/audio/tile.wav |
to
Code: | #wmctrl -r :ACTIVE: -b remove,maximized_vert,maximized_horz &&
wmctrl -r :ACTIVE: -e 0,$X,$Y,$W,$H |
Alternatively, I suppose you could simply delete the file /usr/share/audio/tile.wav, but that seems not as clean a method...
|
Back to top
|
|
 |
recobayu

Joined: 15 Sep 2010 Posts: 389 Location: indonesia
|
Posted: Wed 01 Jun 2016, 01:01 Post subject:
|
|
Thank you Subito.
This is the new stickyjwm. It is only for new jwm. I just tested it in xenialpup.
(maybe it will not work in other version puppy).
Description |
With tile.wav sound
|

Download |
Filename |
stickyjwm-3.pet |
Filesize |
43.5 KB |
Downloaded |
736 Time(s) |
Description |
No sound
|

Download |
Filename |
stickyjwm-3-small.pet |
Filesize |
12.94 KB |
Downloaded |
754 Time(s) |
|
Back to top
|
|
 |
LazY Puppy

Joined: 21 Nov 2014 Posts: 2007 Location: Germany
|
Posted: Wed 01 Jun 2016, 09:54 Post subject:
|
|
The stickyjwm-3
- up
- left
- right
works in tahr 6.0.2.
- down doesn't work
_________________ RSH
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0)
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! 
|
Back to top
|
|
 |
LazY Puppy

Joined: 21 Nov 2014 Posts: 2007 Location: Germany
|
Posted: Wed 01 Jun 2016, 13:24 Post subject:
|
|
Tested this also in Xenial 7.0.1.
No chance to get a window sized/placed to the bottom half of the screen.
All what happens as a result is a centered window with its bottom frame behind the tray.
Edit:
A test using the content of supdownku2 from version 2 within supdownku (just replaced its content) was successful!
_________________ RSH
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0)
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! 
|
Back to top
|
|
 |
|