Openbox/Fbpanel, How to set it all up.

How to do things, solutions, recipes, tutorials
Message
Author
HiDeHo
Posts: 311
Joined: Wed 16 Mar 2011, 09:57

#31 Post by HiDeHo »

in lupu 520 or 525 which are the 2 pups i am working with atm i am trying to sort out openbox adn fbpanel. the .pets found here are they needed for the pups i am working on.

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#32 Post by DaveS »

HiDeHo wrote:in lupu 520 or 525 which are the 2 pups i am working with atm i am trying to sort out openbox adn fbpanel. the .pets found here are they needed for the pups i am working on.
I dont think so. Lupu has Openbox and Fbpanel already pre-installed. Access Openbox from your menu. I think it is Menu>desktop>switch window managers.
You could install this .pet to get the deitable section added to your menu http://www.murga-linux.com/puppy/viewto ... 411#533411
Good luck :)
Spup Frugal HD and USB
Root forever!

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

#33 Post by bigpup »

HiDeHo wrote:in lupu 520 or 525 which are the 2 pups i am working with atm i am trying to sort out openbox adn fbpanel. the .pets found here are they needed for the pups i am working on.
Openbox and Fbpanel are being used in Lupu 520 and 525.
menu->desktop->desktop settings->Fbpanel configuration
menu->desktop->desktop settings->Openbox Window Manager Config

Openbox is default window manager, but to make sure you are using it.
menu->desktop->desktop settings->WM Switcher
Make sure it is the one selected.

mrd
Posts: 124
Joined: Wed 28 Nov 2007, 02:04

#34 Post by mrd »

This is a great How TO! I'm a little unclear on how to persist changes that I make when the panel is refreshed by adding new .pet files and other things that might refresh it.

It seems that pfbpanel will recreate the original default config file and I'm not sure how to insist that it always use my hand edited (I am programatically creating an fbpanel config) version of the /root/.config/default .

Any help is appreciated and I should tell you I am running 5.2

Thanks,
M

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#35 Post by DaveS »

mrd wrote:This is a great How TO! I'm a little unclear on how to persist changes that I make when the panel is refreshed by adding new .pet files and other things that might refresh it.

It seems that pfbpanel will recreate the original default config file and I'm not sure how to insist that it always use my hand edited (I am programatically creating an fbpanel config) version of the /root/.config/default .

Any help is appreciated and I should tell you I am running 5.2

Thanks,
M
Yes, I agree getting your config to be persistent is awkward. I guess you have created a config with some name other than default? myconfig or somesuch? This is the first step. You can do it by simply copying the default config and re-naming it if you wish.
Next, you have to tell Puppy to load YOUR config file instead of the default one. Its quite simple, instructions for doing so are in the second post on the first page of this thread. It starts a little above the two code boxes.


The downside of this is that you cannot use the GUI configuration tool to change your custom config file as it only talks to 'default'
With regard to the default config, all changes made via the GUI will remain persistent. Quite why this is I have not yet figured :)

However, there is a small problem.... fixmenus loads the default config after being run, so anytime fixmenus gets used, you will get the default config back, and have to re-start X to swap it for your custom one. Hacking fixmenus will fix it, but is probably beyond the scope of this tutorial, and a bit risky. What I really need to do is figure out how to make changes to the default config remain persistent. :)
Spup Frugal HD and USB
Root forever!

mrd
Posts: 124
Joined: Wed 28 Nov 2007, 02:04

Can't beat them... join them...

#36 Post by mrd »

I added some more launchbar options to the pfbpanel gui in Puppy 5.2.


Can't seem to find a working file extension that allows me to attach it here?

hm...

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

Re: Can't beat them... join them...

#37 Post by DaveS »

mrd wrote:I added some more launchbar options to the pfbpanel gui in Puppy 5.2.


Can't seem to find a working file extension that allows me to attach it here?

hm...
You can attach it as a .pet, but the forum has a size limitation on attachments. Maybe its too big?
Spup Frugal HD and USB
Root forever!

mrd
Posts: 124
Joined: Wed 28 Nov 2007, 02:04

#38 Post by mrd »

My first .pet!
Attachments
new_pfbpanel.pet
(5.43 KiB) Downloaded 1098 times

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#39 Post by DaveS »

Excellent mrd.... 8 launchers instead of just 4. Settings remain persistent through 'fixmenus' etc. MUCH better than previous version and better than running two instances of fbpanel.

I edited earlier post to point people here.
Spup Frugal HD and USB
Root forever!

stu90

#40 Post by stu90 »

Remove the icon in the top left of openbox windows.

Go to: Menu > Openbox > Obconfig - Appearance

In the 'Buttons Order' input box delete the "N" option.

Image

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#41 Post by DaveS »

Heck no, I love that icon :)
I also switch controls to left as it feels more natural to me........

Image
Spup Frugal HD and USB
Root forever!

stu90

#42 Post by stu90 »

based on mrd's update - i have added some more plugins for testing.

added:
Rounded corners option.
New plugins tab.
Free space plugin.
Wifi hotspot name plugin.
System uptime plugin.
System temperature plugin.

(back up your old pfbpanel script)
Unpack script make executable and move to /usr/sbin
Attachments
pfbpanel.gz
pfbpanel 0.3
(5.84 KiB) Downloaded 944 times

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#43 Post by DaveS »

stu90 wrote:based on mrd's update - i have added some more plugins for testing.

added:
Rounded corners option.
New plugins tab.
Free space plugin.
Wifi hotspot name plugin.
System uptime plugin.
System temperature plugin.

(back up your old pfbpanel script)
Unpack script make executable and move to /usr/sbin
When unpacked, script has to be set as 'executable' as this option is not set. Odd..................

OK, sorry RTFM :)
Spup Frugal HD and USB
Root forever!

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#44 Post by DaveS »

Temp gauge is really nice ........
Spup Frugal HD and USB
Root forever!

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#45 Post by DaveS »

stu90 wrote:based on mrd's update - i have added some more plugins for testing.

added:
Rounded corners option.
New plugins tab.
Free space plugin.
Wifi hotspot name plugin.
System uptime plugin.
System temperature plugin.

(back up your old pfbpanel script)
Unpack script make executable and move to /usr/sbin
Stu, the temp shows twice, presumably because I have a dual-core processor. Is it possible to force only a single instance?
Attachments
temps.png
(16.55 KiB) Downloaded 2961 times
Spup Frugal HD and USB
Root forever!

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#46 Post by DaveS »

Stu, I dont know why, but pfbpanel also exists in /sbin
Spup Frugal HD and USB
Root forever!

stu90

#47 Post by stu90 »

Hi DaveS,

I had a look in /sbin i don't have any pfbpanel in there on lucid 260?

Could you check to make sure system uptime is not active in the pfbpanel gui - also what happens when you put this command in the terminal, do you get a double readout?

cat /proc/acpi/thermal_zone/*/temperature

cheers.

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#48 Post by DaveS »

stu90 wrote:Hi DaveS,

I had a look in /sbin i don't have any pfbpanel in there on lucid 260?

Could you check to make sure system uptime is not active in the pfbpanel gui - also what happens when you put this command in the terminal, do you get a double readout?

cat /proc/acpi/thermal_zone/*/temperature

cheers.
System uptime not active. Terminal command also gives double read-out, however, this gives single readout:

Code: Select all

cat /proc/acpi/thermal_zone/TZ00/temperature


Hacked that into script at line 1488 and it shows single display. Dont know if this would be true for all computers though.

Guess with regard to pfbpanel being in /sbin/ as well as /usr/sbin, must be something I did in relation to installing the previous upgrade from mrd.
Attachments
hack.png
(7.57 KiB) Downloaded 2923 times
Spup Frugal HD and USB
Root forever!

stu90

#49 Post by stu90 »

Hi DaveS,

I guess you must have something like TZ00 and TZ01 directories in thermal_zone and the * is picking up both temperature files

Could you try this command in terminal - do you get just the one temperature number?

cat /proc/acpi/thermal_zone/*/temperature | awk 'NR>1{print $2}'

cheers.

stu90

#50 Post by stu90 »

Hi again DaveS,
Forget about my post above, it works in the terminal but for some reason not in the script.
Instead try:
awk 'NR==1 {print $2}' /proc/acpi/thermal_zone/*/temperature

Code: Select all

Command = "echo \$(awk 'NR==1 {print \$2}' /proc/acpi/thermal_zone/*/temperature )ºC" >> $DEFAULT

Post Reply