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 Sun 20 Apr 2014, 21:56
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Wbar Configuration Centre - v 07
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 4 [46 Posts]   Goto page: 1, 2, 3, 4 Next
Author Message
trio


Joined: 21 Dec 2008
Posts: 1788
Location: अनुमोदना

PostPosted: Wed 10 Feb 2010, 05:07    Post subject:  Wbar Configuration Centre - v 07
Subject description: Yes, it's another wbar config tool - my style
 

Get wbar and dependencies and instructions here http://puppylinux.org/wikka/WbarInstall

Some of the code used is adapted from ptray GUI (thx Zigbert). Made with puppy 431 - JWM

Run fixmenus & restart window manager after install (refresh menus) for puppy version below 4.3.x. Menu item under desktop group

This pet includes pinstall.sh which will change the wbar line in /root/.xinitrc (you have to do according instructions in the link I gave above) to /usr/local/wbarcc/wbarexec. If you don't have a wbar line in /root/.xinitrc or you execute wbar from /root/Startup, you can make a script in /root/Startup or point your startup script to /usr/local/wbarcc/wbarexec. I am not maintaining a thread about "wbar how to". You had to have a running wbar before you install this WBARCC.

At first run, it will load default settings for icon size & gap, position, bar margin and transparency. So, you need to configure those first before you click apply for the first time. If not, there will be no harm done, but only the default config will be applied.

Also at first run, this wbarcc will create a /root/.wbar.bak (if you don't have one already). This bak file will be used by "revert" function, if something goes wrong (but the original /root/.wbar file has to be a working configs already). Note: icon size & gap, position, bar margin and transparency will not be the original ones but the current ones.

Version 01 - Alpha (for testing), only Launcher Icons config
Version 02 - added Bar & font Config
Version 02.1 - Bugfix release
Version 03 - start/stop button added
Version 04 - icon & gap size, bar margin from screen edge, revert button
- Bugfix: if you put many "#" in original /root/.wbar manually
- Bugfix: if you have command like "c:/usr/local/bin/bla -start"
Version 05 - Vertical right & left position, Load and save profiles
Version 05.1 - Bugfix: when looking for command without path, eq c:firefox
Version 05.2 - Bugfix: hardcoded the /usr/local/wbarcc/createicon in wbarcc
Version 05.3 - Bugfix: sorting & numbering lines in temp file
Version 05.4 - Bugfix: not recognizing if there is a dash "-" profile name
Version 06 final: Named "final" to differ from the v06 test
- added Run multiple profiles at the same time
- few minor cosmetics changes
Version 07: replace up & down button with drag & release action

Note: the whole wbar will not start, if you put wrong path of icon or icon is a symlink

Please report for bugs, and enjoy Wink
wbarcc-07.pet
Description 
pet

 Download 
Filename  wbarcc-07.pet 
Filesize  5.23 KB 
Downloaded  2428 Time(s) 
wbarcc07.jpg
 Description   
 Filesize   59.5 KB
 Viewed   8849 Time(s)

wbarcc07.jpg

wbarcc-06final.jpg
 Description   
 Filesize   51.16 KB
 Viewed   7325 Time(s)

wbarcc-06final.jpg

wbarcc05-barfont.jpg
 Description   
 Filesize   61.85 KB
 Viewed   9192 Time(s)

wbarcc05-barfont.jpg


_________________
PET Maker|WbarCC|My Website

Last edited by trio on Wed 17 Feb 2010, 04:49; edited 32 times in total
Back to top
View user's profile Send private message 
pri


Joined: 09 Oct 2009
Posts: 330
Location: Bandung Indonesia

PostPosted: Wed 10 Feb 2010, 12:02    Post subject:    

owh.... an improvement to jwm....

i ll like this trio......


.............................................................
marked...... so i can read it later
.............................................................

_________________
Learning by Doing
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger 
DMcCunney

Joined: 02 Feb 2009
Posts: 894

PostPosted: Wed 10 Feb 2010, 18:08    Post subject:  

pri wrote:
owh.... an improvement to jwm....

i ll like this trio......

It's independent of JWM. It can be used in IceWM, Xfce4, or just about any other window manager. (If you use Xfce4, you'll need to pass it the -above-window parameter to get it to display.)
______
Dennis
Back to top
View user's profile Send private message 
pri


Joined: 09 Oct 2009
Posts: 330
Location: Bandung Indonesia

PostPosted: Wed 10 Feb 2010, 19:34    Post subject:  

this menu wbar work fine...

DMcCunney :

this is i mean about improvement to jwm :

http://puppylinux.org/wikka/WbarInstall

Quote:
EDIT 2:
Tip for JWM users
If you are using JWM (default in Puppy) then the wbar may open in a window (see attached image)
you will notice this window in the taskbar.


he he he......

trio :
how about making menu automaticaly from /usr/share/aplications ? then user just need to pick an icon for it, and menu insert icon when cliked automaticaly to /usr/local/lib/X11/pixmaps.

_________________
Learning by Doing
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger 
sc0ttman


Joined: 16 Sep 2009
Posts: 2364
Location: UK

PostPosted: Thu 11 Feb 2010, 06:08    Post subject:  

This looks great, I was in the middle middle of making something similar (but much worse!).. Very Happy

I'd love to add this my installs, as I use wbar a lot...

I added wbar to Puppy Arcade, and due to the total width of the bar, it messes the desktop up in resolutions under 1024x768... So I'd like to make a few changes to how wbar is loaded in the next version.. This tool looks perfect! Very Happy Great work...

I'm not on Puppy right now, so can't test... But I have a few questions:

Does this script handle how wbar is started? Or can it only be used after the normal install is completed, (after it's added it to /root/.xinitrc or /root/Startup)??

Does it allow you to add your own icons and apps? Or read them from a fixed list or directory such as /usr/local/lib/X11/pixmaps ?

I would love to be able to do the following:

1. add my own apps and icons to the bar, and rename/sort them
2. configure the bar itself (position, icon size, etc)
3. choose whether or not to load it automatically at startup

Sorry for all the questions, but some answers would be lovely!

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
trio


Joined: 21 Dec 2008
Posts: 1788
Location: अनुमोदना

PostPosted: Thu 11 Feb 2010, 10:09    Post subject:  

Version 02 - uploaded (main post)

Pri:
You can also create with whatever icon path and whatever command easily, just browse to the path and click. I don't think I want to make it auto.

Scottman:
1. This pet includes pinstall.sh which will change the wbar line in /root/.xinitrc to /usr/local/wbarcc/wbarexec
2. Yes, it allows you to add/delete available icons to use and also add/remove/move-up/move-down current (showed) icons list
3. You can also create with whatever icon path and whatever command easily, just browse to the path and click. You want to go to /usr/local/lib/X11/pixmaps, just browse there
4. Your wishes:
- Start/stop button - will be in v 03
- Icon and gap size - will be in v 03
- add my own apps and icons to the bar, and rename/sort them - already there in v 02 (already answered above)

Cheers

_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
trio


Joined: 21 Dec 2008
Posts: 1788
Location: अनुमोदना

PostPosted: Thu 11 Feb 2010, 11:23    Post subject:  

Version 02.1 uploaded - Bugfix release
_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
`f00


Joined: 06 Nov 2008
Posts: 809
Location: the Western Reserve

PostPosted: Thu 11 Feb 2010, 12:00    Post subject:
Subject description: cool (8
 

(enlightenment addendum to Dennis' post above) ..also for e16 (don't believe shelves were available pre-e17, shelves may be a trifle tricky to set up properly anyway if I recall rightly Wink ) use that above-desk option as well if you want wbar on the various e-desk(s), without that option it'll only show on the one desk .. fine as-is in afterstep Smile

mm, 'important' .. probably jumpsize, #animation steps, alpha(s) and filtertype/tint (only alphas and filtertype/tint really, most users stick to one basic look) .. throw in profiles for customizing to various bg's and/or wms Laughing erm, may be better to put in /root/Startup as a few wms may not use .xinitrc (like wmx)...

Last edited by `f00 on Thu 11 Feb 2010, 12:33; edited 1 time in total
Back to top
View user's profile Send private message 
trio


Joined: 21 Dec 2008
Posts: 1788
Location: अनुमोदना

PostPosted: Thu 11 Feb 2010, 12:01    Post subject:  

Version 03 uploaded - added start/stop button
_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
DMcCunney

Joined: 02 Feb 2009
Posts: 894

PostPosted: Thu 11 Feb 2010, 15:22    Post subject:  

pri wrote:
this menu wbar work fine...

DMcCunney :

this is i mean about improvement to jwm :

http://puppylinux.org/wikka/WbarInstall

Quote:
EDIT 2:
Tip for JWM users
If you are using JWM (default in Puppy) then the wbar may open in a window (see attached image)
you will notice this window in the taskbar.

Doesn't matter. Those are instructions assuming JWM as the window manager, but wbar can be used in other WMs as well.

I wound up rewriting part of .xinitrc to make things like wbar or idesk only load if I ran a WM in which I wanted them, instead of always run when X-Windows was started. I detailed my approach in the HOW-TO, here:
http://www.murga-linux.com/puppy/viewtopic.php?search_id=417137080&t=39119
______
Dennis
Back to top
View user's profile Send private message 
DMcCunney

Joined: 02 Feb 2009
Posts: 894

PostPosted: Thu 11 Feb 2010, 15:25    Post subject:
Subject description: cool (8
 

`f00 wrote:
(enlightenment addendum to Dennis' post above) ..also for e16 (don't believe shelves were available pre-e17, shelves may be a trifle tricky to set up properly anyway if I recall rightly Wink ) use that above-desk option as well if you want wbar on the various e-desk(s), without that option it'll only show on the one desk .. fine as-is in afterstep Smile

I haven't tried using it in Enlightenment, so that's good to know.

I don't bother in Xfce4, since I can do essentially the same thing with an Xfce4 panel.
______
Dennis
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2364
Location: UK

PostPosted: Thu 11 Feb 2010, 18:52    Post subject:  

Thanks trio.. Still not on a Puppy install, but really wanna test it!
It sounds great...

One more feature request though (sorry)...

It would be really lovely if you could preview (for 10 seconds or whatever) the new wbar config - because if wbar is too tall or wide it messes up the desktop and if any icons aren't found, wbar won't load at all (as I'm sure you know)..

When editing wbar, I've often tested changes by starting wbar in the terminal to read for any error messsages... If these messages could somehow be shown in the GUI before a optionally continuing to a 10 second preview, it would be fantastic...

Also, why use /root/.xinitrc? Is it better than using /root/Startup ??

Just wondering...

Great work already though...

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
trio


Joined: 21 Dec 2008
Posts: 1788
Location: अनुमोदना

PostPosted: Thu 11 Feb 2010, 20:34    Post subject:  

Scottman:

I use /root/.xinitrc because it is common for a long time (as instructed by websites how to install wbar in puppy), so by modifying xinitrc with pinstall.sh script, I don't have to give instructions to many people.

As for preview, it is not necessary, when you click apply, it will instantly restart wbar so you can see the changes. As for error message, I'll think about it (but if it doesn't show up, you know something is wrong, you may have to revert back to previous config file). Maybe a revert button is more appropriate, as tools like this is more intended for newbies

Cheers

_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
trio


Joined: 21 Dec 2008
Posts: 1788
Location: अनुमोदना

PostPosted: Fri 12 Feb 2010, 00:35    Post subject:  

Preview of work in progress (version4)
version4-barandfont.jpg
 Description   
 Filesize   60.75 KB
 Viewed   7552 Time(s)

version4-barandfont.jpg

version4-icon.jpg
 Description   
 Filesize   50.71 KB
 Viewed   7521 Time(s)

version4-icon.jpg


_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
aragon

Joined: 15 Oct 2007
Posts: 1696
Location: Germany

PostPosted: Fri 12 Feb 2010, 08:28    Post subject:  

trio wrote:
I use /root/.xinitrc because it is common for a long time (as instructed by websites how to install wbar in puppy), so by modifying xinitrc with pinstall.sh script, I don't have to give instructions to many people.

hi trio, yes that is correct but i think it would be better, if we 'break' with this habit... /root/Startup is very 'transparent'... in xinitrc we (as an example) also have starters for lxpanel/fbpanel which don't have to be there ....

but it's just my opinion...

arargon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 4 [46 Posts]   Goto page: 1, 2, 3, 4 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
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.0849s ][ Queries: 12 (0.0050s) ][ GZIP on ]