Wbar Configuration Centre - v 07

Window managers, icon programs, widgets, etc.
Message
Author
User avatar
Q5sys
Posts: 1105
Joined: Thu 11 Dec 2008, 19:49
Contact:

Re: Version 06 - test please

#41 Post by Q5sys »

trio wrote:version 06 - multiple wbar profiles at the same time
Does this mean we can run multiple instances of the same bar (as shown in your pic), or that we can run multiple bars that are each unique?

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

Re: Version 06 - test please

#42 Post by sc0ttman »

Q5sys wrote:
trio wrote:version 06 - multiple wbar profiles at the same time
Does this mean we can run multiple instances of the same bar (as shown in your pic), or that we can run multiple bars that are each unique?
Both are possible, if you save your wbar(s) in different profiles..
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
pri
Posts: 342
Joined: Fri 09 Oct 2009, 18:31
Location: Bandung Indonesia
Contact:

#43 Post by pri »

trio, look like WCC not modified .xinitrc , so if i restartted x then the configuration will be back to the default :D
Learning by Doing

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#44 Post by trio »

pri wrote:trio, look like WCC not modified .xinitrc , so if i restartted x then the configuration will be back to the default :D
Just change your "wbar line" in /root/.xinitrc (you have to do according instructions in the link I gave above) to "/usr/local/wbarcc/wbarexec"

jur
Posts: 18
Joined: Fri 25 Sep 2009, 04:33

#45 Post by jur »

I'd like to compile this for another distro - is the source code, makefile etc available?

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#46 Post by amigo »

The program is all scripts using gtkdialog -no source code.

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#47 Post by trio »

itzme yet again,

I came across Wbar Configuration Centre developed by trio, which I installed into NOP 431, it don't work using the installer, if the pet file is used it will wreck the " .xinitrc " so this is how to do it so that it functions correctly.

Download the wbarcc-07.pet file from here http://www.murga-linux.com/puppy/viewto ... h&id=26303 then it needs to be converted to a tar.gz , using pet2tar, I did this on the desktop as it don't work to far from the root directory, extract the tar.gz somewhere and copy the contents by dragging the " usr " folder to file system " / ", this will copy all the files into their appropriate folders.

Now to configure it so that it runs, in the XFCE Setting manager go to session and startup, then application autostart, then add, name the app wbar then add the path by pasting this " /usr/local/wbarcc/wbarexec & " into the path input then press ok.

Next, edit (only if you want to) the " Wbar Configuration Centre " menu entry, in " /usr/share/applications " change it so it reads " Categories=Settings " .

Thats it if you don't have pwidgets, but if you do and want it to refresh on wallpaper changes then the " fixwidgets " script in " /usr/sbin " needs to be edited to look like this.
Code: -wallpaper_setter)
#kill wbar
killall wbar
# echo "Syncing wallpaper and widgets..." > $HOME/.pwidgets/tmp/pwidgets-splashtext
# echo 0 > $HOME/.pwidgets/tmp/pwidgets-splash #reset progress bar
# /usr/local/pwidgets/box_splash &
# Xdialog --infobox "Syncing wallpaper and widgets...Please wait\n\n\nSigmund Berglund - 2009" 12 40 &
IMAGE_STYLE=`xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitor0/image-style`
if [ "$IMAGE_STYLE" = "3" ]; then
#resize background to fit conky-background
resizepng "$WALLPAPER" /usr/share/backgrounds/Pwidgets_background $X_PIXELS $Y_PIXELS 50
UPDATE_SIDEBAR=true
else
SIDEBARR=""
SIDEBARL=""

fi
# restart wbar
exec /usr/local/wbarcc/wbarexecapply &
sleep 0.5
;;
esac

EDIT:

The " #kill wbar
killall wbar "
and
" # restart wbar
exec /usr/local/wbarcc/wbarexecapply & "

need to be added in the appropriate place, this will allow wbar to be refreshed with the wallpaper setter, but is bypassed on widget changes, I did use " wbarexec " in the script but found that if the wallpaper was selected to quickly before wbar had time to run through the first cycle it would overlay another wbar over the top, wbarexec has a sleep statement in the script where wbarexecapply does not

Well that's it , if anyone tries it please let me know how it go's, so far I've only had the one problem but all seems to be working ok now .

Itzme

Post Reply