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 Fri 25 May 2018, 13:11
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How to open Rox Panels at startup/as toggles? [Solved]
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [29 Posts]   Goto page: Previous 1, 2
Author Message
Jasper

Joined: 25 Apr 2010
Posts: 1350
Location: England

PostPosted: Wed 11 Feb 2015, 13:03    Post subject:  

Hi guys,

Having tinkered and failed I would like to know how to change
the background colour of one or more Rox Panels.

My regards
Back to top
View user's profile Send private message 
musher0


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

PostPosted: Wed 11 Feb 2015, 19:39    Post subject:  

Hi, jasper.

Here's a quick answer. (I'm at work.)
You work it from a /root/.gtkrc.mine file such as this one:

Code:
# template for a /root/.gtkrc.mine file

## at the top you would have gtk proper stuff, such as :

# gtk-recent-files-max-age = 20
# maximum number of filenames recorded by xbel

# gtk-can-change-accels = 1 # gtk accelerators, buttons and stuff.

#####
# The following comes from the ROX-Filer site.
# First, you have to specify where the pictures you are going to
# use for this are located.

# I put mine at:
# pixmap_path "/usr/share/backgrounds/gtkrc-mine"

#####
# This is to color the background of the ROX-Filer file manager.
style "rox" = "default"
{
#  bg [ NORMAL ] = "#CFB98E"

# You can't have both. You choose a color (above),
# or a little (not big) *.png (not *.jpg) picture (below).
# You comment out with a number sign ("#") the line you do not want.

# Long thin *.png pictures (1000x3 pixels, for ex., with vertical shading),
# work best as backgrounds in the ROX-Filer proper, IMO. I've tried "real" pictures, # but they're a distraction more than anything in this context, and the bigger or
# more intricate they are, the slower ROX gets.

 bg_pixmap[ NORMAL ] = "Septemtriones-sable-48x1400.png"

# You cannot specify a font in this section. The font here is
# controlled by the gtk-theming utility.
 
}
widget_class "*Collection*" style "rox"


#####
# This is to color the ROX panels.
style "panel-style"
{
# bg[ NORMAL ] = "#687584"

 bg_pixmap[ NORMAL ] = "rapides_inuksuak1204b-haut.png"
# This is the top strip (52 pixels wide) of my background picture.
# Gives an illusion, somewhat, of transparency when you do that.
# You do this in mtpaint, and save it in *.png format, in the special
# folder you created for these pictures.

# Again, this is either or. You specify a small picture or a color.
# In this part you can also specify a font to use that's different from
# the one for your menu.
 font_name = "Liberation Sans 13"
}
widget "rox-panel.*" style "panel-style"
# End of code imported from ROX-Filer site.

#####
# You can have other gtk-specific code here.
# Some gtk-apps need to put their own stuff here.


~~~~~~~
If you already have a .gtkrc.mine file, make a back-up, eh?
Then try to blend in the items in my template into what's already there.

Another quick note: the color or picture affects ALL panels. That may be tricky for
pictures. A nice *.png pattern for horizontal panels may be ugly on vertical panels.
If theres' a way to re-initialize this gtkrc.mine configuration on-the-fly, I haven't
found it. Meaning: you may have to use only vertical or only horizontal panels with
certain patterns. (2, not 4.)

Additionnally, you can use transset-df to make your ROX panels somewhat
transparent. transset-df is still available at : http://forchheimer.se/transset-df/
Please see illustrated result and included *.pet archive of transset0df.

Also, this old thread may give you ideas (mutatis mutandis!):
http://www.murga-linux.com/puppy/viewtopic.php?t=19251

BFN. Gotta go.

musher0
transset-df-6.pet
Description  Transparency setter that ROX-Filer will respond to.
pet

 Download 
Filename  transset-df-6.pet 
Filesize  14.34 KB 
Downloaded  124 Time(s) 
ROX-top-panel-half-transparent.jpg
 Description   
 Filesize   4.26 KB
 Viewed   439 Time(s)

ROX-top-panel-half-transparent.jpg


_________________
musher0
~~~~~~~~~~
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)
Back to top
View user's profile Send private message 
Jasper

Joined: 25 Apr 2010
Posts: 1350
Location: England

PostPosted: Wed 11 Feb 2015, 21:45    Post subject:  

Hi musher0,

Success - thank you very much for your help.

I presume you are now home from work as I see you have now added extensive advice - which I'll study later this morning - as I'm off to bed now.

My regards and thanks again
Back to top
View user's profile Send private message 
musher0


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

PostPosted: Thu 12 Feb 2015, 00:53    Post subject:  

My pleasure, jasper!

Here is the link for ROX theming that I seemed unable to find earlier:
http://rox.sourceforge.net/desktop/node/181.html. The horse's mouth ! Wink

BFN.

musher0

_________________
musher0
~~~~~~~~~~
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)
Back to top
View user's profile Send private message 
greengeek


Joined: 20 Jul 2010
Posts: 5005
Location: Republic of Novo Zelande

PostPosted: Sun 20 Sep 2015, 03:43    Post subject:  

Is it possible to make a rox panel which stays on top of programme windows and/or on top of the jwm taskbar? I cant see rox panels being useful to me if the windows cover them. cheers!
Back to top
View user's profile Send private message 
Jasper

Joined: 25 Apr 2010
Posts: 1350
Location: England

PostPosted: Sun 20 Sep 2015, 06:13    Post subject:  

Hi greengeek,

I like some flexibility; so I have a fixed centred top tray with a chosen depth of 21 pixels.

Thus I always have screen access to both my jwm left-click and right-click desktop menus. Also, in the particular case of SeaMonkey, I adjust its FullSceen width and placement so that its right-hand edge is one or two pixels short of my screen's right edge.

Now, when I move the mouse cursor to the top right of the screen (to where the red rose icon is highlighted in the screen shot) my rox panel is available for use. Moving the mouse cursor left will again show SeaMonkey in full (including its vertical scrollbar).

SeaMonkey is the only app, I can recall, where anything extra has been needed to reveal and use my rox panel.

My regards.

PS As an aside - which is your current version of jwm?
Shot.png
Description 
png

 Download 
Filename  Shot.png 
Filesize  154.13 KB 
Downloaded  182 Time(s) 
Back to top
View user's profile Send private message 
MochiMoppel


Joined: 26 Jan 2011
Posts: 1515
Location: Japan

PostPosted: Sun 20 Sep 2015, 10:14    Post subject:  

greengeek wrote:
Is it possible to make a rox panel which stays on top of programme windows
Yes
Quote:
and/or on top of the jwm taskbar?
Yes, if the JWM tray is at the top of the screen (panel at top edge, tray below), No if the tray is - as by default - at the bottom edge. But you can have both tray and panel at the bottom (panel at the very bottom, tray above). In any case maximized windows will not cover the panels.
Quote:
I cant see rox panels being useful to me if the windows cover them
But the ROX pinboard is being useful to you although windows can cover it? Panels are nothing else but additional, size restricted pinboards, on top of the main pinboard (aka desktop) with the advantage of being potentially off-limits to windows.

Since this thread is marked 'Solved' by the OP, covers a different topic and strayed already into an OT formatting discussion I suggest that you open your own thread, preferably in the Users forum Wink
Back to top
View user's profile Send private message 
greengeek


Joined: 20 Jul 2010
Posts: 5005
Location: Republic of Novo Zelande

PostPosted: Sun 20 Sep 2015, 14:52    Post subject:  

Jasper wrote:
As an aside - which is your current version of jwm?
Hi Jasper:
Code:
# jwm -v
JWM vgit-895 by Joe Wingbermuehle
compiled options: confirm fribidi icons jpeg nls png shape svg xft xinerama xpm xrender
system configuration: /etc/system.jwmrc
#


MochiMoppel wrote:
But the ROX pinboard is being useful to you although windows can cover it?
In fact, no. I almost never use desktop icons any more as they are covered by open windows.

Quote:
Since this thread is marked 'Solved' by the OP, covers a different topic and strayed already into an OT formatting discussion I suggest that you open your own thread, preferably in the Users forum
Ok. I will do some more research and tinkering to flesh out my questions then will open a new thread. cheers!
Back to top
View user's profile Send private message 
greengeek


Joined: 20 Jul 2010
Posts: 5005
Location: Republic of Novo Zelande

PostPosted: Sun 20 Sep 2015, 15:00    Post subject:  

ps: Jasper, what is this?
TaskbarTray.jpg
 Description   
 Filesize   7.05 KB
 Viewed   208 Time(s)

TaskbarTray.jpg

Back to top
View user's profile Send private message 
Jasper

Joined: 25 Apr 2010
Posts: 1350
Location: England

PostPosted: Sun 20 Sep 2015, 15:21    Post subject:  

Hi greengeek,

it's
Shot.png
 Description   
 Filesize   11 KB
 Viewed   222 Time(s)

Shot.png

Back to top
View user's profile Send private message 
greengeek


Joined: 20 Jul 2010
Posts: 5005
Location: Republic of Novo Zelande

PostPosted: Sun 20 Sep 2015, 15:37    Post subject:  

Jasper - I don't have that in my menu. Is it this one?
Back to top
View user's profile Send private message 
Jasper

Joined: 25 Apr 2010
Posts: 1350
Location: England

PostPosted: Sun 20 Sep 2015, 15:53    Post subject:  

Hi again,

Yes: it's 7 items times 24 pixels = 168 pixels

my top tray 8 items x 21 pixels = 168 pixels
(because I like symmetry)
and that's SFStray from seaside
just click an sfs icon to load it
and close the app to unload it.
Note, as far as I remember:
only for jwm, but not for Full installations.
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1549
Location: nyc

PostPosted: Fri 01 Jan 2016, 18:53    Post subject: you can swap keyboard shortcuts by swapping panels
Subject description: just found this out--also works with pinboards.
 

just discovered you can give yourself swappable keyboard shortcuts by assigning them specifically to panel or pinboard items. since this thread deals with panels exclusively, i'll focus on that, but it's really the same thing--when you right click on a pinboard or panel item and give it a shortcut, the shortcut goes to that specific icon, not the program or file(s) the icon represents--the key combo will work on what's in the panel--swap the panel, you swap keyboard shortcuts. to fully use this feature, you'd probably have to keep your shortcuts away from your main windows manager as that may override or conflict with the newer keycuts.

in short, you could toggle keyboard shortcuts when you toggle panels/toggling panels is also a way to have an enormous amount of context-specific (or not) keycuts. this is possible because in rox, you assign cuts to an icon, not a program.
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2323

PostPosted: Tue 10 Apr 2018, 21:32    Post subject:  

greengeek wrote:
Is it possible to make a rox panel which stays on top of programme windows and/or on top of the jwm taskbar? I cant see rox panels being useful to me if the windows cover them. cheers!

Necro bumping a old thread ... I used to include program icons/items in the main jwm panel, but have since opted to use a rox panel instead. I don't launch a rox pinboard at all now, have no need for desktop icons as program icons in a rox panel can have files dragged/dropped onto them to launch them. I also like how middle mouse drag/drop can be used to rearrange the rox panel icons, along with drag/drop new items into the panel.

Bottom panel is the jwm panel that also acts as the tasklist, tray, pager ...etc. and where the clock is used instead of a MENU button. Left edge is the rox panel, that I launch in .xinitrc/.xsession just before starting the window manager

rox -l $HOME/.panel &
exec jwm

Guess I could really include the panel being launched by jwm itself along with other commands such as

<StartupCommand>sleep 7;osmo</StartupCommand>
<StartupCommand>sleep 7;libreoffice --quickstart</StartupCommand>

and background wallpaper setting

<Background type="scale">$HOME/.wp.png</Background>

A nice feature of rox is that AppDir's can be used as the icons in the rox panel, for instance I have a few that do multiple operations such as uploading files to my server, so that a rox filer window multiple file selection can be dragged/dropped onto the relevant rox panel icon and the file uploading of those files to the server starts.

In my case both the rox and jwm panels remain visible at all times (maximise a window and both remain visible). If I drag a window however it will cover the rox panel but not the jwm panel, but perhaps if I also had rox pinboard running and set the margins that might not be the case - but I'm not sure about that.
s.png
 Description   
 Filesize   227.97 KB
 Viewed   36 Time(s)

s.png

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [29 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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.0578s ][ Queries: 13 (0.0068s) ][ GZIP on ]