Author |
Message |
HairyWill

Joined: 26 May 2006 Posts: 2946 Location: Southampton, UK
|
Posted: Tue 20 Nov 2007, 05:31 Post subject:
|
|
The maximised window size is controlled by the window manager, jwm. But I think the only way currently to restrict the maximised window size is to create a tray (taskbar), which would probably sit on top of wbar and would look ugly whichever way it turned out.
I agree that a tray at the top (or bottom) and wbar at the other would look good but I think it will require a hack of jwm to achieve it.
_________________ Will
contribute: community website, screenshots, puplets, wiki, rss
|
Back to top
|
|
 |
HairyWill

Joined: 26 May 2006 Posts: 2946 Location: Southampton, UK
|
Posted: Tue 20 Nov 2007, 12:34 Post subject:
|
|
Ok Vettephil I rise to the challenge as long as you are willing to give up a single pixel of you desktop to a dummy jwm tray.
Assuming you have the default sized wbar at the bottom of a 1024x768 screen the following tray entry in /root/.jwmrc-tray gets what you asked for. Code: | <Tray x="500" y="723" width="1" height="1"></Tray> | a tiny near invisible tray that jwm will respect when maximising windows.
The slight kicker which you didn't specify is when the icons grow they do it behind the windows, you can move them in front of the widows by cracking up the layer that wbar is on but then it controls some of the space at the bottom of a maximised window which looks really ugly. This is because wbar's transparency is fake, it just copies the background when it starts.
For more fun with jwm trays read
http://joewing.net/programs/jwm/config.shtml
_________________ Will
contribute: community website, screenshots, puplets, wiki, rss
|
Back to top
|
|
 |
Vettephil
Joined: 15 Oct 2007 Posts: 40
|
Posted: Tue 20 Nov 2007, 16:18 Post subject:
|
|
HairyWill: Nicely done! That has however produced another issue to overcome. When minimizing an app's window to the "fake tray" there is no way to get it back again. See if you can reproduce.
My thought around this is to run 2 trays if possible. A normal one at the top and the fake one at the bottom as a place holder for Wbar. I'm going to test this next. Thanks!
|
Back to top
|
|
 |
Vettephil
Joined: 15 Oct 2007 Posts: 40
|
Posted: Tue 20 Nov 2007, 16:25 Post subject:
|
|
A second tray worked! Here is my full code from /.jwmrc-tray:
Code: |
<JWM>
<Tray autohide="false" insert="right" x="0" y="0" border="0" height="26" >
<!-- Additional TaskList attribute: maxwidth -->
<TaskList maxwidth="160"/>
<Dock/>
<!-- Additional Swallow attribute: height -->
<Swallow name="blinky">
blinkydelayed -bg gray90
</Swallow>
<Swallow name="mini-volume.tcl">
mini-volume.tcl -bg gray90 -mixer pvolume-mixer.tcl
</Swallow>
<Swallow name="freememapplet" width="48">
<!-- freememappletdelayed -->
freememapplet
</Swallow>
<Swallow name="xload" width="32">
xload -nolabel -bg "#BCBAB5" -fg red -hl white
</Swallow>
<Swallow name="wbar">
killall wbar ; wbar -above-desk &
</Swallow>
<Clock>minixcal</Clock>
</Tray>
<Tray autohide="false" insert="right" x="500" y="723" border="0" height="1" width="1" > </Tray>
</JWM>
|
Nice cooperative effort, all!
-PHIL
_________________ Can You Picture A Better World?
http://www.PhotographersWithoutBorders.org
|
Back to top
|
|
 |
HairyWill

Joined: 26 May 2006 Posts: 2946 Location: Southampton, UK
|
Posted: Tue 20 Nov 2007, 16:41 Post subject:
|
|
I had just assumed you would have a proper tray running as well.
The real tray wouldn't be so important if jwm supported unminimising using the keyboard alone but at the moment ALT-TAB only toggles programs that are not minimised. This is IMHO a significant weakness.
_________________ Will
contribute: community website, screenshots, puplets, wiki, rss
|
Back to top
|
|
 |
Dougal

Joined: 19 Oct 2005 Posts: 2504 Location: Hell more grotesque than any medieval woodcut
|
Posted: Wed 21 Nov 2007, 07:47 Post subject:
|
|
Vettephil wrote: | HairyWill: Nicely done! That has however produced another issue to overcome. When minimizing an app's window to the "fake tray" there is no way to get it back again. See if you can reproduce.
My thought around this is to run 2 trays if possible. A normal one at the top and the fake one at the bottom as a place holder for Wbar. I'm going to test this next. Thanks! |
You can also enable the option in Rox that minimizes windows as thumbnails on the desktop.
_________________ What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
|
Back to top
|
|
 |
Vettephil
Joined: 15 Oct 2007 Posts: 40
|
Posted: Wed 21 Nov 2007, 11:26 Post subject:
|
|
Dougal wrote: |
You can also enable the option in Rox that minimizes windows as thumbnails on the desktop. |
Ooooh, that sounds neat! Which file/what code if you don't mind?
-PHIL
|
Back to top
|
|
 |
trapster

Joined: 28 Nov 2005 Posts: 2106 Location: Maine, USA
|
Posted: Wed 21 Nov 2007, 14:10 Post subject:
|
|
Vettephil -
Right click in a Rox window and choose "options". Under the "Pinboard" menu, choose "Iconified windows".
_________________ trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
|
Back to top
|
|
 |
magerlab
Joined: 08 Jul 2007 Posts: 737
|
Posted: Thu 06 Dec 2007, 16:45 Post subject:
|
|
very nice and interesting app
is there a wat to put it into xinitrc file?
i think that itś possible to remove icons and font from the package because
you can define path to any icon or font(to support russian i defined dejavu instead the font that was inside the pack)
i use different rox panels with different walpapers
but wbar sticks to the first wallpaper
is it possible to turn off transparency?
also does anyone know where rox takes the pictures for placing minimized apps on the desktop?
some of them are just empty windows instead of icon
|
Back to top
|
|
 |
yim

Joined: 01 Sep 2007 Posts: 167 Location: Blue Ridge Mtns
|
Posted: Mon 25 Feb 2008, 02:07 Post subject:
|
|
is there a way to get this to run on 2.16 multisession cd
I have tried every way I can think of and it still doesn't work
how do you make it run after untaring?
thanks yim
|
Back to top
|
|
 |
nutts4life

Joined: 15 Feb 2008 Posts: 263 Location: UK
|
Posted: Mon 10 Mar 2008, 06:01 Post subject:
nolist in jwmrc |
|
Hi there,
Has anybody found a solution to HarryWill's .jwmrc option to stop wbar appearing in the tray?
I've tried all kinds of formats and positions of:
<Group>
<Name>wbar*</Name>
<Class>wbar*</Class>
<Option>nolist</Option
</Group>
in the .jwmrc file and the wbar entry still appears in my tray.
Has anybody managed to stop this appearing?
I have a feeling it's not working becuase the app is being started from the .jwmrc file itself.
Thanks,
n4l
|
Back to top
|
|
 |
prit1

Joined: 03 Jan 2008 Posts: 538 Location: Los Angeles
|
Posted: Mon 10 Mar 2008, 13:01 Post subject:
|
|
Where do you have the wbar stuff? Is it in .xinitrc, or .jwmrc-tray or .jwmrc?
Anyway, just have it in only one place and try using
instead of
Code: | wbar -above-desk -pos top & |
It worked for me when I removed the -above-desk.
|
Back to top
|
|
 |
nutts4life

Joined: 15 Feb 2008 Posts: 263 Location: UK
|
Posted: Tue 11 Mar 2008, 07:17 Post subject:
|
|
I've got the script in .jwmrc-tray and it has -above-desk in the call.
I was under the impression that the -above-desk is essential to keeping the wbar start ontop of the ROX pinboard.
so where is your call? Is it also in .jwmrc-tray?
do you every lose the focus of wbar with -above-desk left out?
do you have the nolist option in your .jwmrc as well?
thanks for your help,
n4l
|
Back to top
|
|
 |
prit1

Joined: 03 Jan 2008 Posts: 538 Location: Los Angeles
|
Posted: Tue 11 Mar 2008, 13:07 Post subject:
|
|
My script is just before the minixcal in the .jwmrc-tray. I didnt have to do anything else.
Code: | <Swallow name="wbar">
killall wbar ; wbar -pos top &
</Swallow> |
The wbar does not lose focus at any time. You can see other wbar options by doing wbar -help from the console.
Yesterday I was playing around with different options and now my wbar looks even better - no border, bigger icons, larger icon spacing, closer to the window border. And using the dummy tray mentioned earlier in this thread, we can prevent other windows from overlapping the wbar.
|
Back to top
|
|
 |
prit1

Joined: 03 Jan 2008 Posts: 538 Location: Los Angeles
|
Posted: Thu 13 Mar 2008, 11:11 Post subject:
|
|
I thought I will explain the different options I tried with wbar and how I could get the setup as in the screenshot shown below.
This is my current wbar setup: This does just before minixcal in the .jwmrc-tray
Code: | <Swallow name="wbar">
killall wbar; sleep 4; wbar -jumpf 0 -pos top -nanim 3 -zoomf 1.8 -idist 10 -isize 38 -bpress -balfa 0 &
</Swallow> |
jumpf 0 - icons zoom in the downward direction (1 would reverse this)
nanim 3 - number of animated icons. I didnt understand this fully, but I noticed that this helps the wbar from getting elongated too much horizontally.
zoomf 1.8 - the zoom factor for the icons
idist 10 - just to increase icon spacing
isize 38 - to increase icon sizes
bpress - to show icons being clicked when you click on them
balfa 0 - this makes the border disappear.
You can get all the available options by doing wbar -help in the console.
One other interesting thing, is to add a dummy jwm tray if you are using jwm. Using this, other windows will not overlap the wbar.
Code: | <Tray autohide="false" insert="right" x="500" y="90" border="0" height="1" width="1" > |
I got all this information from this thread, by doing wbar -help and from Rhino's MyPup.
Here is the screenshot.
Description |
|
Filesize |
56.81 KB |
Viewed |
2878 Time(s) |

|
|
Back to top
|
|
 |
|