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 21 Oct 2018, 06:39
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
PuppyPin priority on unionfs
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
pewekodok

Joined: 23 May 2013
Posts: 14

PostPosted: Sun 27 Oct 2013, 01:18    Post subject:  PuppyPin priority on unionfs
Subject description: PuppyPin overwritten
 

after unionfs layer checking, my puppypin was overwritten
/root/Choice/ROX-Filler/PuppyPin

I am using ratpoison and want no-icon desktop.
usually I deleted those icon tag on PuppyPin xml.
but again and again the puppy was overwritten.

how to make it sure my customized PuppyPin is on the top priority of unionfs

P.S.: my bios battery has little failure, so the time reset to earlier date after powered off.
is timestamp the possible cause of overwriting?
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11172

PostPosted: Sun 27 Oct 2013, 07:42    Post subject:  

I think you need to disable the icons using the eventmanager otherwise it will recreated them
mike
Back to top
View user's profile Send private message 
sunburnt


Joined: 08 Jun 2005
Posts: 5087
Location: Arizona, U.S.A.

PostPosted: Sun 27 Oct 2013, 15:55    Post subject:  

Yeah, a real sore spot for Puppy if you ask me.

I`m sure there`s a reason for it, but it obviously needs better control.
Back to top
View user's profile Send private message 
musher0

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

PostPosted: Sun 27 Oct 2013, 16:29    Post subject: Re: PuppyPin priority on unionfs
Subject description: PuppyPin overwritten
 

pewekodok wrote:
after unionfs layer checking, my puppypin was overwritten
/root/Choice/ROX-Filler/PuppyPin

I am using ratpoison and want no-icon desktop.
usually I deleted those icon tag on PuppyPin xml.
but again and again the puppy was overwritten.

how to make it sure my customized PuppyPin is on the top priority of unionfs

P.S.: my bios battery has little failure, so the time reset to earlier date after powered off.
is timestamp the possible cause of overwriting?


Hello, pewekodok.

No, the low bios battery has nothing to do with it.

To get no pinboard at all with your ratpoison window manager, simply
put the following script in your /root/Startup folder.

Code:
#!/bin/sh
# /root/Startup/nopinboard.sh
####
[ "`cat /etc/windowmanager`" = "ratppoison" ] && rox -p=


That little script wil override the PuppyPin default.

Alternately, you could insert the line
Code:
[ "$CURRENTWM" = "ratpoison" ] && rox -p=

just before the line
Code:
#exec $CURRENTWM

in the /root/.xinitrc file. (That should be line 182 or therabouts.)

That line means:
if ratpoison is the wm, show no pinboard; if not, show it.

Do not use both scripts at the same time; use one or the other.

Should you need to restore the default pinboard for some reason,
issue the command
Code:
rox -p=/root/Choices/ROX-Filer/PuppyPin

in a console. The "rox -p=" command does not alter the existing pinboard.

I hope this helps. Best regards.

musher0

_________________
musher0
~~~~~~~~~~
Fidèle elle commença, ainsi elle restera. (Prov. canadien) /
Faithful she began, so will she stay. (Canadian prov.)
Back to top
View user's profile Send private message 
pewekodok

Joined: 23 May 2013
Posts: 14

PostPosted: Mon 28 Oct 2013, 23:05    Post subject: thx musher  

musher( thanks a lot
you guided me to the right direction.

digging .xinitrc, find out a script
/usr/sbin/fixPuppyPin

the script try to relocate pin location.
just now comment out fixPuppyPin script.
and will see if the magic works Very Happy

btw I just learned ROX file explorer, its features resembled ROSC
for me it were so many unfamiliarized feature, then found out those features are excellent
Back to top
View user's profile Send private message 
pewekodok

Joined: 23 May 2013
Posts: 14

PostPosted: Mon 28 Oct 2013, 23:16    Post subject: two checkboxes not checked?  

mikeb wrote:
I think you need to disable the icons using the eventmanager otherwise it will recreated them
mike


mikeb please check whether I did it correctly
I leave two checkboxes unchecked.
eventmanager.png
 Description   
 Filesize   10.25 KB
 Viewed   231 Time(s)

eventmanager.png

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

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

PostPosted: Tue 29 Oct 2013, 02:10    Post subject:  

Careful dabbling with the fixPuppyPin line.

It's there because somehow the icons' position is calculated starting from
the right. I don't think it has any bearing when no pinboard is used.
However, if you remove or "remark" that line, you may scratch your head
for a bit when you'll want to come back to using another window manager.

BFN.

musher0

_________________
musher0
~~~~~~~~~~
Fidèle elle commença, ainsi elle restera. (Prov. canadien) /
Faithful she began, so will she stay. (Canadian prov.)
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11172

PostPosted: Tue 29 Oct 2013, 07:39    Post subject:  

Yes that should do it...it may do as its told Very Happy

The fix puppy pin unless its changed calculates icon positions based on the existence of the trash can one...think about that for a minute..

I rewrote it to use the actual screen dimensions but to be honest its no big deal to leave it out as its not exactly very clever in the first place.

mike
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2599

PostPosted: Thu 12 Apr 2018, 10:51    Post subject:  

necro bumping a old thread ...
Quote:
but to be honest its no big deal to leave it out as its not exactly very clever in the first place.

I use jwm and rox, but more in their traditional style. Mostly code everything into ~/.jwmrc (repeated <StartupCommand>....</StartupCommand> 's for multiple things to be started when jwm is loaded ...etc.); And I use standard rox.

A rox panel is great as a program launcher as you can just drag/drop programs onto the panel, and rearrange them using the middle mouse drag/drop. Including AppDir's (special rox folders that contain a icon (.DirIcon) and script (AppRun) ... along with anything else that 'App' might use/need that isn't already included elsewhere). Some take AppDir's to the extreme and include entire environments and/or filesystems ... so for instance you could build a AppDir for libreoffice ...etc. Once built you can drag/drop and run AppDir's as though they were a single file/folder. AppDir's in the ROX panel means you can just drag/drop files onto that panel icon so that it opens up that file with that program. Rox is heavily into drag and drop.

The rox pinboard, typically called puppypin in Puppy linux can be any name. However Puppy has tended to steer that more towards single pinboard usage, which is a shame IMO. Whilst somewhat like a desktop in that you can drag/drop things (icons) onto the Pinboard, its not really a desktop in the more common sense. Its really better suited for grouping things. Personally I use multiple pinboards and switching between them is as simple as running rox -p <pinboardname>, so for instance I have one for music (rox -p music.pb i.e. my choice of name is music.pb), another for the car (rox -p car.pb) ... etc. On each of those you can drag/drop relevant files/programs/images/videos/whatever. For instance you might keep scans of your car test certificates (MOT's) and insurance papers, along with contact phone numbers, maybe some pictures .. whatever - and have all of those files that are perhaps located in a range of places in your file/folders/directories all readily to hand on the single pinboard.

You could for instance create a pinboard for each customer/client you might deal with, maybe naming them john.pb .... or whatever. So if they phone you you can rox -p john.pb and instantly switch to a desktop that you specifically have structured to be appropriate for dealing with that client, photos, family details, calendar events (spreadsheets, docs...etc.).

I only give my pinboard names a .pb suffix so that I can associate those, another way to open them i.e. create a mime type that associates .pb files to open/execute rox -p ... that file ... and if all your .pb files are in the same single folder you can quickly navigate to any one.

Such workflow benefits along with its drag/drop style are one of the great features of ROX. Whilst upstream development of ROX slowed to a crawl after years of development at a frantic pace (lead author Dr. Leonard had real-life encroach upon him) he was/is one of the chief architects of the freedesktop.org standards so ROX was well written and compliant ... worked well and continues to work well.

Attached snap of my main (default) desktop. Left screen edge is the rox panel to/from where I can just drag things (for instance grab one of those .conf files in the rox filer window and drag it over to the leaf icon in the rox panel to open that file using leafpad (text editor)). Bottom edge is the jwm panel, I like to keep mine mostly as a tray and tasklist. The time shown in that tray double acts as the MENU button. For volume control I just use a WIN up and down arrow key combination so I don't bother with a volume icon in the tray etc.

Flip to my music pinboard and that has a range of my recent listening list of mp4 files, along with a link to my main music folder and a mpv icon that I can drag music files onto as a addition/alternative to dragging files over to the rox-panel mpv icon.
s.png
 Description   
 Filesize   254.73 KB
 Viewed   69 Time(s)

s.png

m.png
 Description   
 Filesize   208.21 KB
 Viewed   69 Time(s)

m.png

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


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

PostPosted: Fri 13 Apr 2018, 05:44    Post subject:  

Rufwoof - how did you get your icons placed off grid?
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.1089s ][ Queries: 13 (0.0072s) ][ GZIP on ]