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 Wed 26 Nov 2014, 11:14
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Rox Panel Applets
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Author Message
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Thu 01 Oct 2009, 11:50    Post_subject:  Rox Panel Applets  

RoxPanel is an excellent alternative to the JWM panel and it rocks with alternative window managers. I'm posting here all the applets you need for a full-featured panel. This is the sum-total of all the rox-panel applets I could find that do not depend on python.

To enable the rox panel, first disable the jwm-panel (if you're running jwm) by renaming the /root/.jwmrc-tray file. Then edit /root/.xinitrc.

Change this line:

Quote:

rox -p /root/Choices/ROX-Filer/PuppyPin


to

Quote:

rox -p /root/Choices/ROX-Filer/PuppyPin -b /root/Choices/ROX-Filer/PuppyPan1 -r /root/Choices/ROX-Filer/PuppyPan2


This will turn on two panels like in the attached screenshot. Rox supports up to 4 panels.

Then install the following pet files. They will create a new directory called /root/my-panel-applets and put the applets in it. To run an applet, simply drag it to the panel. To configure an applet, right-click on it. To move an applet, middle click (or click with both buttons) and drag. You can also drag pinboard icons, directories, and applications to the panel.

I'm also including as an added bonus, Vattery, a very simple battery monitoring applet for the systray.
roxpanel.jpg
 Description   
 Filesize   46.2 KB
 Viewed   4746 Time(s)

roxpanel.jpg

vattery-0.6.2.pet
Description  This is tested on 4.30 but it doesn't like the gtk on Puppies 4.31. You'll probably have bad results if you put this in a vertical systray.
pet

 Download 
Filename  vattery-0.6.2.pet 
Filesize  57.04 KB 
Downloaded  660 Time(s) 
Rox-Menu.pet
Description  this menu updates automatically with your jwm menu but it sorts the entries alphabetically.
pet

 Download 
Filename  Rox-Menu.pet 
Filesize  68.8 KB 
Downloaded  679 Time(s) 
RoxPanel-Pager-Taskbar.pet
Description  needs rox-clib-2 and libwnck
pet

 Download 
Filename  RoxPanel-Pager-Taskbar.pet 
Filesize  120.24 KB 
Downloaded  675 Time(s) 
RoxPanel-systray.pet
Description  needs rox-clib-2
pet

 Download 
Filename  RoxPanel-systray.pet 
Filesize  59.92 KB 
Downloaded  660 Time(s) 
Rox-Monitor-Applets.pet
Description  needs rox-clib-2
pet

 Download 
Filename  Rox-Monitor-Applets.pet 
Filesize  236.76 KB 
Downloaded  676 Time(s) 
libwnck-2.26.2-i486.pet
Description 
pet

 Download 
Filename  libwnck-2.26.2-i486.pet 
Filesize  116.29 KB 
Downloaded  687 Time(s) 
ROX-CLib-2.pet
Description 
pet

 Download 
Filename  ROX-CLib-2.pet 
Filesize  564.57 KB 
Downloaded  700 Time(s) 
Back to top
View user's profile Send_private_message Visit_website 
trapster


Joined: 28 Nov 2005
Posts: 2027
Location: Maine, USA

PostPosted: Fri 02 Oct 2009, 06:50    Post_subject:  

Very nice.
This has been way overdue.

_________________
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Slacko AND lupu52 w/ fluxbox
Back to top
View user's profile Send_private_message Visit_website 
magerlab

Joined: 08 Jul 2007
Posts: 731

PostPosted: Fri 02 Oct 2009, 07:44    Post_subject:  

i want to try these on eee pc( although, fbpanel covers everything i need:)
the main thing i want to know is : does the panel autohide?

_________________
skype: desafimager
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8696

PostPosted: Fri 02 Oct 2009, 08:10    Post_subject:  

Not to mention rox has a nice wallpaper setter built in but is hidden by the desktop click through setting

mike
Back to top
View user's profile Send_private_message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Fri 02 Oct 2009, 09:16    Post_subject:  

The panel stays under everything. It sort of autohides,the autohide function only works if you put the mouse along an edge where there are no icons. Anyway I prefer things not to autohide, because they are always unhiding when I don't want them. I've been using a tool called xwit with xbindkeys to bring the panel to the top using a hotkey. I'll post a pet for that later today or tomorrow.
Back to top
View user's profile Send_private_message Visit_website 
magerlab

Joined: 08 Jul 2007
Posts: 731

PostPosted: Fri 02 Oct 2009, 09:23    Post_subject:  

my eee pc has only 7 inch screen.....
so i need autohide function:)

also maybe a small python version ( i saw tiny py once in barry's blog ) will work with some applets ?

_________________
skype: desafimager
Back to top
View user's profile Send_private_message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Fri 02 Oct 2009, 09:35    Post_subject:  

I have an Eee too; try my hotkey packages when I post them. My panel pops up when I press F9 and only then. It's great!

Incidentally, I'm working on an netbook puplet that you might find interesting. http://www.murga-linux.com/puppy/viewtopic.php?t=47192
Back to top
View user's profile Send_private_message Visit_website 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Fri 02 Oct 2009, 10:34    Post_subject:  

Ok Rox Panel hotkeys, as promised.

Install the two attached pets. This puts a script in /root/Startup that should start xbindkeys automatically when you login. Restart the xserver, then edit /root/.xbindkeysrc and add these lines.

Quote:

"xwit -raise -property WM_CLASS -names ROX-Panel"
F9
"xwit -raise -property WM_CLASS -names ROX-Pinboard"
F8


This will raise the panel when you press F9 and raise the pinboard when you press F8.
xbindkeys-1.8.3-i486.pet
Description 
pet

 Download 
Filename  xbindkeys-1.8.3-i486.pet 
Filesize  13.4 KB 
Downloaded  541 Time(s) 
xwit-3.4.pet
Description 
pet

 Download 
Filename  xwit-3.4.pet 
Filesize  10.86 KB 
Downloaded  539 Time(s) 
Back to top
View user's profile Send_private_message Visit_website 
musher0


Joined: 04 Jan 2009
Posts: 4339
Location: Gatineau (Qc), Canada

PostPosted: Fri 20 Nov 2009, 23:14    Post_subject: Re: Rox Panel Applets  

jemimah wrote:

Rox supports up to 4 panels.


Hi, jemimah, and the bunch.

Just for the record:

I don't think that per se, the number of ROX-panels is limited. You're right if we consider that logically, only 4 ROX-panels can be shown at one time, one on each side of the screen. (Smile

I actually have 5 rox-panels that I can load in turn at the top (for example; it could be on any side of the screen).

Through aemenu, this is how it can be done:
=-=-=-=-=-=-=
-wide config file for aewm clients

cmd "---=> Barres <=---" ""
menu "En haut"
# On top
cmd "Barre ROX en haut" "rox -t=en-haut"
# Put Rox-panel "on-top" on top
cmd "2e barre ROX en haut" "rox -t=2e_barre"
# Put "2nd_panel" on top
cmd "Retirer barre ROX en haut" "rox -t="
# Remove any Rox-panel that's on top
cmd "------------------------------" ""
end
menu "En bas"
# At bottom of screen
cmd "Barre ROX en bas" "rox -b=en-haut""
cmd "2e barre ROX en bas" "rox -b=2e_barre"
cmd "Retirer barre ROX en bas" "rox -b="
cmd "------------------------------" ""
end
(similarly for the left and right sides of the screen)
### end ###
=-=-=-=
With your innate talent and your "golden pen" Smile , jemimah, I'm sure you can do better than me!

=-=-=-=
Another example from within the rxvt console:
rox -t=writing-apps
rox -t=2nd-panel
rox -t=drawing-apps
rox -t=4th-panel
rox -t=music-apps
# the second panel takes the place of the first, and so on.
# If you want to clear the top of your screen again, you type:
rox -t=
# This last command removes any panel on top.

If you like you can have clearly labeled thematic panels, on which you position the corresponding apps, one for writing apps, or drawing, music, etc. Even the default puppy icons in the PuppyPin can be transfered to a ROX-panel; then you'd have a very spacious screen, with no icons on it, if that's what you like.

=-=-=-=-=

You can also texture or color your ROX-panels by adding and configuring a gtkrc.mine file in /root. Here is an example from what I use.

=-=-=-=-=
pixmap_path "/usr/share/backgrounds"
# Note the path above: that's where you'd put your textures or pictures for the ROX-filer and the ROX-panel.
# gtkrc.mine (example)
style "rox" = "default"
{
bg_pixmap[NORMAL] = "lignes-gris2.png"
# Un-comment this if you want to use a texture or small picture as a background in the ROX-Filer window.
# "flute_smooth1a4.png"
}
widget_class "*Collection*" style "rox"

style "panel-style" {
bg_pixmap[NORMAL] = "Lejeunehommeetlamer-16x-2.png"
# This would be for a small square picture (16x16) or for a strip of your current desktop at the top of your screen (say, a strip of 1024x16 pixels)
# "calm-waters-Rickydavid-haut.png"
# The choice of another picture can be commented and stay in the file for easy modification if you change the background picture.
# bg[NORMAL] = "#AABFD7"
# Un-comment the above line if you want your ROX-panel to be of a single color, but then be sure that you comment with a # the "bg_pixmap" line above. You can't have both at the same time!
# It can be the name or the number of a color.
# "DarkGoldenrod4" # for example
font_name = "Liberation Sans 14"
# The name says it all! You can define a font here as well, from the fonts you have in /usr/share/fonts/Default/TTF.
# "Georgia 11" # Again, an alternative can be at the ready within the file.
}
widget "rox-panel.*" style "panel-style"
### end ###
=-=-=-=-=
Ending notes:
Don't touch the structure ( the labels and the {} ) of the gtkrc.mine file, or you'll be in trouble.

Some gtk themes might have a color or a texture for the ROX-panel already. The "ichigo" theme comes to mind. But most do not.

If you want to see the effect, I have put illustrations of ROX-panels at the top in the wmx and echinus forums.

=-=-=-=-=
Sources :
http://roscidus.com/desktop/node/181 (background of filer)
http://roscidus.com/desktop/node/182 (ROX-panel)

BFN.

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send_private_message Visit_website 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Sat 21 Nov 2009, 10:58    Post_subject:  

That's a very interesting idea, swapping out the panels. I'm going to have to put that in my puplet.

If anyone's interested, I've also patched Rox to remove the auto-raise functionality from the panel. If you are using my xwit trick, this makes the panel much better behaved. The attached patch is for the version of ROX that's in 4.3.1. Just decompress it and replace the one in /usr/local/apps/ROX-Filer.
ROX-Filer.gz
Description 
gz

 Download 
Filename  ROX-Filer.gz 
Filesize  215.73 KB 
Downloaded  487 Time(s) 
Back to top
View user's profile Send_private_message Visit_website 
musher0


Joined: 04 Jan 2009
Posts: 4339
Location: Gatineau (Qc), Canada

PostPosted: Sat 21 Nov 2009, 11:21    Post_subject:  

Thanks for the compliment.

Thanks also for the trouble of the new code, and I'm sure someone will grab it in need. It's nice to have this feature. But me, I actually like the auto-raise feature of the ROX-panel.

For example, when I use the echinus wm, I also use the ourico panel that comes with it. I like to have a ROX-panel on top and the ourico bar on top too. But I specify the width of the ourico bar at 92 %. From the remaining space of 8 % I can raise the ROX-panel over the ourico panel if I need to, to launch this or that program that I have put on the ROX-panel.

Of course, instead of dragging my cursor in that space, I could hit one of your xwit key combinations!

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send_private_message Visit_website 
amigo

Joined: 02 Apr 2007
Posts: 2278

PostPosted: Sat 21 Nov 2009, 11:29    Post_subject:  

How about a copy of the patch for the sources?
Back to top
View user's profile Send_private_message 
musher0


Joined: 04 Jan 2009
Posts: 4339
Location: Gatineau (Qc), Canada

PostPosted: Sat 21 Nov 2009, 11:31    Post_subject:  

@ amigo.

Euh... I suppose you're talking to jemimah? Smile
I don't have clue about what you're asking!

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send_private_message Visit_website 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Sat 21 Nov 2009, 13:23    Post_subject:  

Yeah I'll make a real patch. There's actually a ton of source code I need to post for various projects. I'll post when it's ready.
Back to top
View user's profile Send_private_message Visit_website 
amigo

Joined: 02 Apr 2007
Posts: 2278

PostPosted: Sat 21 Nov 2009, 14:20    Post_subject:  

Yes, Jemimah, thank you very much. As you probably know by now, I'm always interested in getting the sources and I've noticed you doing some interesting things, so I look forward to having access to any work you have or are doing. Also, if you need a more reliable or permanent place to deposit sources, you can send me anything you like and I'll add it to my collection here:
http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/
Anything you post that I find interesting will wind up there anyway...
I've done quite a lot of patching to the ROX sources, so I'm always 'game' for even small mods to those sources. I use the old GTK-1.2 version of ROX, but have back-ported several features from the later versions into those sources.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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