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 Mon 28 Jul 2014, 02:44
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Light-Debian-Core-Live-CD-Wheezy + Porteus-Wheezy
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 80 of 225 [3373 Posts]   Goto page: Previous 1, 2, 3, ..., 78, 79, 80, 81, 82, ..., 223, 224, 225 Next
Author Message
saintless


Joined: 11 Jun 2011
Posts: 2203
Location: Bulgaria

PostPosted: Wed 05 Feb 2014, 17:19    Post subject:  

fredx181 wrote:
Code:
desktop_drive_icons &
sleep 2
/usr/bin/rox -p /root/.config/rox.sourceforge.net/ROX-Filer/pinbd &
sleep 1
/opt/apps/wallpapers/wallpapers.d rox &
sleep 1
/opt/bin/start-up &
sleep 1
frisbee-tray &
sleep 1
volumeicon

Thank you, Fred. I will test this on mine low ram computers. I guess the reason you have this issue is the iso loads 3 maximum compressed xz modules instead of only one. Maybe it makes the system boot stress more.

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 2203
Location: Bulgaria

PostPosted: Wed 05 Feb 2014, 17:23    Post subject:  

New updated DebianDog-PorteusDog-test.iso uploaded:
http://smokey01.com/saintless/Light-Wheezy/DebianDog-PorteusDog-test.iso
It includes the fixes from Fred about relative symlinks, new initrd, mountlink working. The previous version is removed.

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
fredx181

Joined: 11 Dec 2013
Posts: 673
Location: holland

PostPosted: Wed 05 Feb 2014, 17:58    Post subject:  

Hi Toni
Quote:
Just playing a little with the startup file worked for me, hope for you and others also:
Code:
desktop_drive_icons &
sleep 2
/usr/bin/rox -p /root/.config/rox.sourceforge.net/ROX-Filer/pinbd &
sleep 1
/opt/apps/wallpapers/wallpapers.d rox &
sleep 1
/opt/bin/start-up &
sleep 1
frisbee-tray &
sleep 1
volumeicon

Did a couple of reboots with savefile, still good.

This didn't work always either, also when choosing another workspace-desktop the frisbee and volume icon disappear.

This really solved it for me:
Comment out the frisbee and volumeicon lines in~/.icewm/startup.
Copy /usr/bin/frisbee-tray to /root/Startup
Create new shellscript in /root/Startup with:
Code:
#!/bin/sh
volumeicon &



BTW nIce work with the wallpaper change when changing desktops!

Fred
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 2251
Location: New Zealand

PostPosted: Wed 05 Feb 2014, 18:05    Post subject:  

fredx181 wrote:
Hi Toni
Quote:
Just playing a little with the startup file worked for me, hope for you and others also:
Code:
desktop_drive_icons &
sleep 2
...
Did a couple of reboots with savefile, still good.

This didn't work always either, also when choosing another workspace-desktop the frisbee and volume icon disappear.

This really solved it for me:
Comment out the frisbee and volumeicon lines in~/.icewm/startup.
Copy /usr/bin/frisbee-tray to /root/Startup
Create new shellscript in /root/Startup with:
Code:
#!/bin/sh
volumeicon &


Fred


Just wondered if you have tried running all the pieces like desktop_drive_icons without putting them into the background with &. Then each part would have to complete before the next line in the shell script was done. Perhaps you don't really need the sleep commands in that case?

I haven't checked because I am not sure what the problem you are experiencing is exactly.

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
saintless


Joined: 11 Jun 2011
Posts: 2203
Location: Bulgaria

PostPosted: Wed 05 Feb 2014, 18:06    Post subject:  

fredx181 wrote:
Comment out the frisbee and volumeicon lines in~/.icewm/startup.
Copy /usr/bin/frisbee-tray to /root/Startup
Create new shellscript in /root/Startup with:
Code:
#!/bin/sh
volumeicon &


Thank you, Fred. I will change it this way.


Quote:
BTW nIce work with the wallpaper change when changing desktops!

It is all Terry's great work. He also writes GUI to change the wallpapers. We have separate wallpapers for each user also. Thank you, Terry Smile

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 2203
Location: Bulgaria

PostPosted: Wed 05 Feb 2014, 18:11    Post subject:  

mcewanw wrote:
Just wondered if you have tried running all the pieces like desktop_drive_icons without putting them into the background with &. Then each part would have to complete before the next line in the shell script was done. Perhaps you don't really need the sleep commands in that case?

Hi, William.
I tested all options also without & when I first met this problem but it didn't work on 128 Mb RAM computer. I think the solution for Fred will be enough. I doubt someone else will use DebianDog on 128Mb RAM as I do Smile

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
starhawk

Joined: 22 Nov 2010
Posts: 2765
Location: Everybody knows this is nowhere...

PostPosted: Wed 05 Feb 2014, 18:36    Post subject:  

...a little help, here? I'm trying to try this out (specifically Light Wheezy 2) and I'm having some trouble getting it to boot, due at least partially to the nature of my hardware Embarassed

The system that I want to try this on is a very weird and cantankerous contraption indeed. It will only accept USB flash drives that are partitioned FAT32 (although it doesn't seem to see linux-swap) with one single partition, and it cannot boot from GRUB or grub4dos (I've tried both). Further, it will not boot from a USB optical drive, nor will it boot from a hard drive stuck into a USB->IDE/SATA adapter. It has an internal (IDE) drive header but the BIOS turns that off as soon as an OS kernel boots, because it thinks it's being funny (it's not -- particularly since there's no way to disable that horrible behavior). Tricky little fellow, now, isn't it!

The trouble is that I can't seem to get Syslinux to find things. Currently, the drive has the following files (here, / refers to the root of this drive)...

/live/ [directory]
/syslinux/ [directory]
/ldlinux.sys
/live/01-filesystem.squashfs
/live/initrd1.img
/live/initrd2.img
/live/vmlinuz1
/live/vmlinuz2
/syslinux/syslinux.cfg

My syslinux.cfg looks like this:
Code:
LABEL LightWheezy2-NonPAE
   KERNEL /live/vmlinuz1
   APPEND rw root=/dev/sda1 initrd=/live/initrd1.img boot=live config persistent quickreboot noprompt autologin toram=01-filesystem.squashfs


I'm sure I'm doing a lot of something wrong, because syslinux wanders off daftly searching for a nonexistent file named simply "linux"... and upon not finding it, errors out. But given the truly astonishing massive lack of readable simple-English information on the 'Net about how to configure syslinux, I don't know how to fix it Sad

Perhaps someone here can help?

_________________
Loving X-Slacko 1.1! Get the PetGet patch on pg8; it's important.
Next system will be an HP MOCA-AR + Core2Duo in an innovative case... if I ever get off my butt and build it Razz
Back to top
View user's profile Send private message 
fredx181

Joined: 11 Dec 2013
Posts: 673
Location: holland

PostPosted: Wed 05 Feb 2014, 19:01    Post subject:  

Hi starhawk
Quote:
My syslinux.cfg looks like this:
Code:
LABEL LightWheezy2-NonPAE
KERNEL /live/vmlinuz1
APPEND rw root=/dev/sda1 initrd=/live/initrd1.img boot=live config persistent quickreboot noprompt autologin toram=01-filesystem.squashfs

Maybe I do not understand all but:
- why "rw root=/dev/sda1"? leaving that out could make it work.
- I think I recognize what you say about searching for "linux"
"Could not find kernel image: linux"
If that's the message try google-search for that.
See here for example:
http://old.slax.org/forum.php?action=view&parentID=58998

I had that also some time ago and solved it by formatting to fat16 instead of fat32.
Hope it helps.
Fred
Back to top
View user's profile Send private message 
starhawk

Joined: 22 Nov 2010
Posts: 2765
Location: Everybody knows this is nowhere...

PostPosted: Wed 05 Feb 2014, 19:19    Post subject:  

I had the root= thing there because the Syslinux wiki had something similar (ro though, instead of rw).

EDIT: removing that did not fix Crying or Very sad same error. I'll look at the slax link later -- I've got to go make dinner right now.
EDIT2: looked at the slax thread anyways because I'm silly Razz I don't think I can do the FAT16 thing on a 32gb flash drive and be able to use the whole drive (which would be preferred) -- also, this machine boots syslinux just fine when BootFlash sets it up.

Just had a thought about that, actually, let me try something.

_________________
Loving X-Slacko 1.1! Get the PetGet patch on pg8; it's important.
Next system will be an HP MOCA-AR + Core2Duo in an innovative case... if I ever get off my butt and build it Razz
Back to top
View user's profile Send private message 
starhawk

Joined: 22 Nov 2010
Posts: 2765
Location: Everybody knows this is nowhere...

PostPosted: Wed 05 Feb 2014, 19:41    Post subject:  

Got it! (Sort of.)

http://www.syslinux.org/wiki/index.php/SYSLINUX#DEFAULT_command

Adding the line:
Code:
DEFAULT /live/vmlinuz1

fixed it.

But now it chokes with some gobbledegook about pci_root and a host bridge window. I'm tempted to blame ACPI -- what could I use to try and bypass that?

EDIT: never mind, I know Puppy best, so I think I'll stick with that. Sorry for wasting folks' time (and John's server space).

_________________
Loving X-Slacko 1.1! Get the PetGet patch on pg8; it's important.
Next system will be an HP MOCA-AR + Core2Duo in an innovative case... if I ever get off my butt and build it Razz

Last edited by starhawk on Wed 05 Feb 2014, 22:18; edited 1 time in total
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 2251
Location: New Zealand

PostPosted: Wed 05 Feb 2014, 20:14    Post subject:  

saintless wrote:
fredx181 wrote:
Comment out the frisbee and volumeicon lines in~/.icewm/startup.
Copy /usr/bin/frisbee-tray to /root/Startup
Create new shellscript in /root/Startup with:
Code:
#!/bin/sh
volumeicon &


Thank you, Fred. I will change it this way.


The following scheme seems to work for me:

In /root/Startup, I have the following shell scripts (using exec to not keep the starting sh process):

volumeicon_start
Code:
#!/bin/sh
exec volumeicon &


desktopdriveicons_start
Code:
#!/bin/sh
exec desktop_drive_icons &


roxwallpapers_start
Code:
#!/bin/sh
exec /opt/apps/wallpapers/wallpapers.d rox &


and a relative symbolic link to ../../usr/bin/frisbee-tray

Then in /root/.icewm/startup I simply have:
Code:
#!/bin/sh
exec /opt/bin/start-up &


And in /opt/bin/start-up, I have:
Code:
#!/bin/bash
/usr/bin/rox -p /root/.config/rox.sourceforge.net/ROX-Filer/pinbd &
wait
ls /root/Startup/* | while read J
do
   "$J" &
   wait
done


Gets rid of lots of sleeps and seems to work perfectly on my system though I haven't tested it much yet.

Would be worth checking that a restart iceWM doesn't lose any of the icons.
Also prior to the above arrangement I used to get an annoying little X window obscuring the xterm icon sometimes and that problem hasn't resurfaced here yet.

I'm not sure if the second "wait" above is important - I'll try without it.

EDIT: Actually, removing the & from the end of line: /usr/bin/rox -p ... pinbd, and also removing both 'wait' commands seemed to work for me too. Result:

/opt/bin/start-up
Code:
#!/bin/bash
/usr/bin/rox -p /root/.config/rox.sourceforge.net/ROX-Filer/pinbd
ls /root/Startup/* | while read J
do
   "$J" &
done


But as I say, I haven't tested this much for reliability yet. Perhaps (?) it is more reliable with the wait(s) but I'd try without first.

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
mcewanw

Joined: 16 Aug 2007
Posts: 2251
Location: New Zealand

PostPosted: Thu 06 Feb 2014, 01:23    Post subject:  

The alternative might be to use "wait" instead of the various sleeps in your previous /root/.icewm/startup, but I haven't tried that as yet.However, I think it is better anyway to put the various parts in /root/Startup, as per my above post, since it is easy to see what you are putting in the tray and easy to change that rather than having to modify a script. Should really be ${HOME}/Startup, I feel, since lets user change their own desktop tray (maybe it already is, I'm about to go out and haven't time to check).

EDIT: On second thoughts, it is also fine if it is all just in /root/Startup since these are pretty much default tray items the user will want anyway.

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
saintless


Joined: 11 Jun 2011
Posts: 2203
Location: Bulgaria

PostPosted: Thu 06 Feb 2014, 01:44    Post subject:  

Thank you, William.
I will test your suggestions on my old hardware. It will show best if there is any difference regarding the issue we have with Fred.

BTW this is exactly the issue we have with Fred:
Quote:
Also prior to the above arrangement I used to get an annoying little X window obscuring the xterm icon sometimes and that problem hasn't resurfaced here yet.


Toni

_________________
Farewell, Nooby, you will be missed...

Last edited by saintless on Thu 06 Feb 2014, 02:11; edited 2 times in total
Back to top
View user's profile Send private message MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 2203
Location: Bulgaria

PostPosted: Thu 06 Feb 2014, 01:54    Post subject:  

starhawk wrote:
The system that I want to try this on is a very weird and cantankerous contraption indeed. It will only accept USB flash drives that are partitioned FAT32 (although it doesn't seem to see linux-swap) with one single partition, and it cannot boot from GRUB or grub4dos (I've tried both).

Hi, Starhawk.
Perhaps all you need to do is to create bootable Fat32 flash drive from the iso. If you like to try this sometime here is a way to do it easy from Windows:
http://foxyroxylinux.com/viewtopic.php?f=2&t=105
Or from linux. I think Puppy also have Unetbootin pet package:
http://foxyroxylinux.com/viewtopic.php?f=6&t=133
Just in case you decide to try again someday.

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
emil

Joined: 10 Nov 2009
Posts: 614
Location: Austria

PostPosted: Thu 06 Feb 2014, 03:54    Post subject: etc/skel  

regarding tray elements:
there is the skeleton user directory /etc/skel

I hope I understand it right.
things you put into it will be used to create a home directory for new users.
so if you put it into root and in the skel dir then every user can customize its own tray.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 80 of 225 [3373 Posts]   Goto page: Previous 1, 2, 3, ..., 78, 79, 80, 81, 82, ..., 223, 224, 225 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
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.1395s ][ Queries: 12 (0.0373s) ][ GZIP on ]