Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 23 Nov 2017, 13:01
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How to change size of JWM taskbar? SOLVED
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [15 Posts]  
Author Message
pp4mnklinux


Joined: 23 Aug 2013
Posts: 165

PostPosted: Fri 03 Nov 2017, 02:26    Post subject:  How to change size of JWM taskbar? SOLVED
Subject description: (CLOSED question because my puppy doesn't works like the standart) :)
 

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

_________________
I am using puPPy_Tahr_Linux 6.0.2 (modified / amazing!) Arrow

https://pp4mnkpuppyblog.wordpress.com/

(feel free to contribute)

Last edited by pp4mnklinux on Sat 11 Nov 2017, 10:26; edited 3 times in total
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 6509
Location: Valåmoen, Norway

PostPosted: Fri 03 Nov 2017, 02:59    Post subject:  

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
Screenshot(1).jpg
 Description   
 Filesize   23.31 KB
 Viewed   277 Time(s)

Screenshot(1).jpg


_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
pp4mnklinux


Joined: 23 Aug 2013
Posts: 165

PostPosted: Fri 03 Nov 2017, 03:04    Post subject: THANKS A LOT  

THANKS A LOT FOR YOUR ANSWER.


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



HAVE A VERY NICE DAY, my friend!!!

_________________
I am using puPPy_Tahr_Linux 6.0.2 (modified / amazing!) Arrow

https://pp4mnkpuppyblog.wordpress.com/

(feel free to contribute)
Back to top
View user's profile Send private message 
pp4mnklinux


Joined: 23 Aug 2013
Posts: 165

PostPosted: Fri 03 Nov 2017, 11:30    Post subject: DONT SOLVED  

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

_________________
I am using puPPy_Tahr_Linux 6.0.2 (modified / amazing!) Arrow

https://pp4mnkpuppyblog.wordpress.com/

(feel free to contribute)
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 6509
Location: Valåmoen, Norway

PostPosted: Fri 03 Nov 2017, 13:10    Post subject:  

what version of jwm are you running?
Code:
jwm -v

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
pp4mnklinux


Joined: 23 Aug 2013
Posts: 165

PostPosted: Sat 04 Nov 2017, 23:44    Post subject: jwm version
Subject description: jwm -v
 

INFO
jwm version.png
Description 
png

 Download 
Filename  jwm version.png 
Filesize  20.06 KB 
Downloaded  28 Time(s) 

_________________
I am using puPPy_Tahr_Linux 6.0.2 (modified / amazing!) Arrow

https://pp4mnkpuppyblog.wordpress.com/

(feel free to contribute)
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 6509
Location: Valåmoen, Norway

PostPosted: Sun 05 Nov 2017, 09:21    Post subject:  

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.
_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
MochiMoppel


Joined: 26 Jan 2011
Posts: 1392
Location: Japan

PostPosted: Sun 05 Nov 2017, 12:09    Post subject: Re: JWM TASKBAR
Subject description: not 100%
 

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.
Back to top
View user's profile Send private message 
pp4mnklinux


Joined: 23 Aug 2013
Posts: 165

PostPosted: Tue 07 Nov 2017, 16:23    Post subject: Thanks a lot
Subject description: MochiMoppel thanky
 

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

_________________
I am using puPPy_Tahr_Linux 6.0.2 (modified / amazing!) Arrow

https://pp4mnkpuppyblog.wordpress.com/

(feel free to contribute)
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 6509
Location: Valåmoen, Norway

PostPosted: Tue 07 Nov 2017, 20:25    Post subject:  

According to the changelog, my guess is 2.3.3
_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
bigpup


Joined: 11 Oct 2009
Posts: 9526
Location: Charleston S.C. USA

PostPosted: Wed 08 Nov 2017, 02:59    Post subject:  

Try this.

Requires the .jwmrc-tray file to have this for the line of code.
Code:
<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.
capture31647.jpg
 Description   
 Filesize   16.79 KB
 Viewed   134 Time(s)

capture31647.jpg


_________________
I have found, in trying to help people, that 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 Shocked
Back to top
View user's profile Send private message 
backi

Joined: 27 Feb 2011
Posts: 1346
Location: GERMANY

PostPosted: Wed 08 Nov 2017, 10:19    Post subject:  

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
Back to top
View user's profile Send private message 
pp4mnklinux


Joined: 23 Aug 2013
Posts: 165

PostPosted: Fri 10 Nov 2017, 02:13    Post subject: thanks everybody but...
Subject description: Lets close it
 

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

_________________
I am using puPPy_Tahr_Linux 6.0.2 (modified / amazing!) Arrow

https://pp4mnkpuppyblog.wordpress.com/

(feel free to contribute)
Back to top
View user's profile Send private message 
MochiMoppel


Joined: 26 Jan 2011
Posts: 1392
Location: Japan

PostPosted: Fri 10 Nov 2017, 03:41    Post subject: Re: thanks everybody but...
Subject description: Lets close it
 

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".

Quote:
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)
Back to top
View user's profile Send private message 
pp4mnklinux


Joined: 23 Aug 2013
Posts: 165

PostPosted: Sat 11 Nov 2017, 10:31    Post subject: THANKS
Subject description: Thank you everybody
 


_________________
I am using puPPy_Tahr_Linux 6.0.2 (modified / amazing!) Arrow

https://pp4mnkpuppyblog.wordpress.com/

(feel free to contribute)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [15 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1583s ][ Queries: 12 (0.0083s) ][ GZIP on ]