How to change size of JWM taskbar? SOLVED

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
pp4mnklinux
Posts: 375
Joined: Fri 23 Aug 2013, 06:56

How to change size of JWM taskbar? SOLVED

#1 Post by pp4mnklinux »

Hello everybody:

I wanna configure my jwm task bar not to ocupy all the botom/upper SIDE of the screen (so I can faster use the wheel to change among desktops).

What file must I configure and in which manner to obtain this effect.

(I suppose I must go and edit the .jwmrc-tray but I dont know which way I must do it.



I copy here my jwmrc.tray so u can see what I've got.


Please, If u can tell me the correct writting to obtain this




___________________________________My jrwmrc-tray file_________________________

<JWM>
<Tray autohide="false" insert="right" x="0" y="-1" border="1" width="0" height="22" layer="above" layout="horizontal" halign="left" valign="top" >
<!-- Additional TrayButton attribute: label -->
<TrayButton label="Menu" icon="flat-white.svg" border="true">root:3</TrayButton>
<TrayButton popup="PupShutdown manager" icon="/usr/local/PupShutdown/icons/shutdown48.png" border="false">exec:PupShutdown</TrayButton>
<TrayButton popup="PCManFM" icon="/usr/share/pixmaps/filemanager48.png" border="false">exec:pcmanfm</TrayButton>
<TrayButton popup="XVidCap" icon="/usr/share/icons/videocamera.png" border="false">exec:xvidcap</TrayButton>
<TrayButton popup="SlimJet" icon="/usr/share/pixmaps/slimjet.png" border="false">exec:slimjet</TrayButton>
<Pager/>
<!-- Additional TaskList attribute: maxwidth -->
<TaskList maxwidth="250"/>
<Dock/>
<!-- Additional Swallow attribute: height -->
<!-- <Swallow name="blinky">
blinkydelayed -bg "#00225E"
</Swallow> -->
<!-- <Swallow name="xtmix-launcher">
xtmix -launch
</Swallow> -->
<!-- <Swallow name="asapm">
asapmshell -u 4
</Swallow> -->
<!-- <Swallow name="freememapplet" width="34">
freememappletshell
</Swallow> -->
<Swallow name="xload" width="32">
xload -nolabel -bg "#888888"
</Swallow>
<Clock format="%H:%M:%S">PupClockset</Clock>
</Tray>
</JWM>



____________________________________________________________

THANKS A LOT FOR YOUR HELP
Last edited by pp4mnklinux on Sat 11 Nov 2017, 14:26, edited 3 times in total.
Distro: xenialpup64 7.5 XXL
Desktop Panel: JWM ~ FbBox 5.0

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#2 Post by zigbert »

Looking at your config-file, my guess is that this is an older version of JWM? If so, it is the <tasklist> that auto-maximizes the tray to occupy all width. In the later versions of JWM (later than 2.3.5 I think), you can achieve your goal with a <tasklist> in your tray by at least 2 solutions:

- changing halign="left" to halign="center".
- using a minus-value for width. This will place the tray at left-bottom.

Depending of your monitor resolution, you may want to iconlfy the apps in the <tasklist> by setting <tasklist maxwidth="25">.

The tray-editor in many Puppies is a nice tool to learn more about settings as it shows the full tray-code in the right pane
Attachments
Screenshot(1).jpg
(23.31 KiB) Downloaded 656 times

User avatar
pp4mnklinux
Posts: 375
Joined: Fri 23 Aug 2013, 06:56

THANKS A LOT

#3 Post by pp4mnklinux »

THANKS A LOT FOR YOUR ANSWER.


I'll try it later (jwm editor) now I'm at work ;)



HAVE A VERY NICE DAY, my friend!!!
Distro: xenialpup64 7.5 XXL
Desktop Panel: JWM ~ FbBox 5.0

User avatar
pp4mnklinux
Posts: 375
Joined: Fri 23 Aug 2013, 06:56

DONT SOLVED

#4 Post by pp4mnklinux »

HELLO AGAIN:

This solution doesn't work for my computer.

I modify the .jwmrc-tray the way u indicate, and doesn't work (I must did it incorrectly, so please, if you can write me the full line /orders I must include)

I can download the software u suggest.

THANKS A LOT
Distro: xenialpup64 7.5 XXL
Desktop Panel: JWM ~ FbBox 5.0

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#5 Post by zigbert »

what version of jwm are you running?

Code: Select all

jwm -v

User avatar
pp4mnklinux
Posts: 375
Joined: Fri 23 Aug 2013, 06:56

jwm version

#6 Post by pp4mnklinux »

INFO
Attachments
jwm version.png
(20.06 KiB) Downloaded 99 times
Distro: xenialpup64 7.5 XXL
Desktop Panel: JWM ~ FbBox 5.0

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#7 Post by zigbert »

Your version of JWM is old. Without upgrading, I think the only solution for a fixed size is to remove the taskbar from the tray.

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

Re: JWM TASKBAR

#8 Post by MochiMoppel »

pp4mnklinux wrote:I wanna configure my jwm task bar not to ocupy all the botom/upper SIDE of the screen (so I can faster use the wheel to change among desktops).
By "not to ocupy all the botom/upper SIDE of the screen" do you really mean to make the tray shorter? As zigbert explained you would have to give up the task list, And you would leave dead space besides your shortened tray, just for the purpose of landing your mouse there and use the scrollwheel? That would be a high price to pay.

First of all you can put the mouse cursor over the pager and use the wheel. With your configuration you can't slam the cursor against the screen edge, which makes this method somewhat slow and inconvenient, but if you set the border to "0" you can:
  • <Tray autohide="false" insert="right" x="0" y="-1" border="0" .....
Another option is to move the bottom tray a bit up so that a small strip of desktop is accessible below the tray. It would give you the whole bottom edge as "landing zone" for your mouse cursor.

This would create a 2px desktop strip below the tray:
  • <Tray autohide="false" insert="right" x="0" y="-2" border="1" .....
After you changed your jrwmrc-tray file make sure to run jwm -restart to see the result.

User avatar
pp4mnklinux
Posts: 375
Joined: Fri 23 Aug 2013, 06:56

Thanks a lot

#9 Post by pp4mnklinux »

Hi, MochiMoppel , thanks a lot.

I tried both solutions, but I prefer free spaces at the sides (as I have got with lxcompizpup 14.10


Can you tell me what version of jwm must I install to can adjust the size.

THANKS A LOT

Have a nice day
Distro: xenialpup64 7.5 XXL
Desktop Panel: JWM ~ FbBox 5.0

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#10 Post by zigbert »

According to the changelog, my guess is 2.3.3

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#11 Post by bigpup »

Try this.

Requires the .jwmrc-tray file to have this for the line of code.

Code: Select all

<Tray autohide="off" insert="right" x="0" y="-1" width="-60" height="30" layer="above" layout="horizontal" halign="center" valign="bottom" >
Note: that is all on one line. Sorry it does not show as one line in the post.

You can adjust that width number to what you want.
Notice it is a negative number.
Also, you are adjusting for the center placement of the tray option.
That is why halign="center".
That places the tray at center and adjust from there.
Attachments
capture31647.jpg
(16.79 KiB) Downloaded 470 times
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#12 Post by backi »

Hey !

Why not installing JWMDesk-2.4.2 ...
Let`s you easyly modyfy a lot of things to your liking ......not only Taskbar .

http://murga-linux.com/puppy/viewtopic.php?t=101460

User avatar
pp4mnklinux
Posts: 375
Joined: Fri 23 Aug 2013, 06:56

thanks everybody but...

#13 Post by pp4mnklinux »

Hello backi (and the rest of u)

I tried all these solutions but no one works.


I ve got jwm 4.2 but cant modify the horizontal size of the task bar.

Modify the widht to negative number doesn't work (It must be because of some changes)

Lets stop this question, because my OS is not the normal puppy (I know it now for sure)


THANKS EVERYBODY
Distro: xenialpup64 7.5 XXL
Desktop Panel: JWM ~ FbBox 5.0

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

Re: thanks everybody but...

#14 Post by MochiMoppel »

pp4mnklinux wrote:I ve got jwm 4.2 but cant modify the horizontal size of the task bar.
Of course you can't since apparently you haven't udated. There is no "jwm 4.2".
Modify the widht to negative number doesn't work (It must be because of some changes)
You need at least version 2.3.4 to do that. (see here)

User avatar
pp4mnklinux
Posts: 375
Joined: Fri 23 Aug 2013, 06:56

THANKS

#15 Post by pp4mnklinux »

[Thanks a lot

I solved it but it takes me a lot of time.

Now I have got my puppy as I wanted.

Thanks again for your help




I'll explain later what I did.

https://youtu.be/i-dAhCX2_2s (utube video)



https://drive.google.com/open?id=1PLuSV ... XZ8VO6aewA

CAPTURA EN DRIVE
Distro: xenialpup64 7.5 XXL
Desktop Panel: JWM ~ FbBox 5.0

Post Reply