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 Tue 10 Dec 2019, 06:15
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Woof CE Debian Stretch and Devuan Ascii Based Development
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 32 of 49 [723 Posts]   Goto page: Previous 1, 2, 3, ..., 30, 31, 32, 33, 34, ..., 47, 48, 49 Next
Author Message
musher0

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

PostPosted: Sat 01 Apr 2017, 14:18    Post subject:  

@all:

I have added the man page of mpv as a pet archive to my post about it
on the previous page.

BFN.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
futwerk

Joined: 07 May 2011
Posts: 376

PostPosted: Mon 03 Apr 2017, 21:41    Post subject:  

new backgrounds.
stretch29.jpg
 Description   https://www.mediafire.com/folder/x4v77bi1p58ox/puppy2013
 Filesize   16.3 KB
 Viewed   652 Time(s)

stretch29.jpg

stretch4,2b.jpg
 Description   https://www.mediafire.com/folder/x4v77bi1p58ox/puppy2013
 Filesize   43.26 KB
 Viewed   646 Time(s)

stretch4,2b.jpg

stretch4,2.jpg
 Description   https://www.mediafire.com/folder/x4v77bi1p58ox/puppy2013
 Filesize   13.72 KB
 Viewed   639 Time(s)

stretch4,2.jpg

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


Joined: 05 May 2007
Posts: 11240
Location: Ontario Canada,Sydney Australia

PostPosted: Mon 03 Apr 2017, 21:45    Post subject:  

futwerk wrote:
new backgrounds.

Like your new backgrounds Smile
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 12801
Location: Stratford, Ontario

PostPosted: Tue 04 Apr 2017, 13:15    Post subject:  

ttuuxxx wrote:
Ok I fixed the startup issue, it was starting too fast.

How did you fix it?

[Edit] In /usr/sbin/delayedrun at line 78:

Code:
if [ -d /root/Startup ]; then
 for a in /root/Startup/* ; do
   if [ -x "$a" ]; then
     $a &
   fi
  sleep 0.2
 done
fi

This is the original, correct code. Did it get altered in woof?
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 11240
Location: Ontario Canada,Sydney Australia

PostPosted: Tue 04 Apr 2017, 19:03    Post subject:  

rcrsn51 wrote:
ttuuxxx wrote:
Ok I fixed the startup issue, it was starting too fast.

How did you fix it?

[Edit] In /usr/sbin/delayedrun at line 78:

Code:
if [ -d /root/Startup ]; then
 for a in /root/Startup/* ; do
   if [ -x "$a" ]; then
     $a &
   fi
  sleep 0.2
 done
fi

This is the original, correct code. Did it get altered in woof?


sleep 2
if [ -d /root/Startup ];then
for a in /root/Startup/*
do
[ -x "$a" ] && $a &
sleep 1
done
fi

touch /tmp/delayedrun_finished_flag

### END ###

ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 12801
Location: Stratford, Ontario

PostPosted: Tue 04 Apr 2017, 20:24    Post subject:  

Code:
  [ -x "$a" ] && $a &


Run "ps". Check out all the orphaned "delayedrun" processes. You need some stuff in the Startup folder to see them.

Then use my version.

This is a very old bug that has resurfaced.
Back to top
View user's profile Send private message 
musher0

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

PostPosted: Tue 04 Apr 2017, 23:54    Post subject:  

@ttuuxxx & rcrsn51:

You guys lost me. What are you talking about? TIA.

BFN.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12801
Location: Stratford, Ontario

PostPosted: Wed 05 Apr 2017, 05:04    Post subject:  

Open the file /usr/sbin/delayedrun and locate the block of code at the end. There are several versions.

Code A (currently in Stretch) is completely broken and prevents the applets in the Startup folder from launching.

Code B (in some old Puppies) launches the applets but has a bug. It leaves orphaned "delayedrun" processes.

Code C above is the correct version.

Code D is a cleaner correct version.

Code:
if [ -d /root/Startup ]; then
 for A in /root/Startup/* ; do
   $A 2>/dev/null &
  sleep 0.2
 done
fi

Last edited by rcrsn51 on Wed 05 Apr 2017, 07:26; edited 4 times in total
Back to top
View user's profile Send private message 
OscarTalks


Joined: 05 Feb 2012
Posts: 2038
Location: London, England

PostPosted: Wed 05 Apr 2017, 06:13    Post subject:  

rcrsn51 wrote:
the correct version

Thanks for posting.
Correct code inserted in my Stretch, Wheezy and Precise remasters.

_________________
Oscar in England

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


Joined: 05 Sep 2006
Posts: 12801
Location: Stratford, Ontario

PostPosted: Wed 05 Apr 2017, 07:20    Post subject:  

Excellent. There are hints out of woof that Startup will be deprecated in favour of ~/.config/autostart.

But Startup really is handy, even if it's not standard Linux.
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 11240
Location: Ontario Canada,Sydney Australia

PostPosted: Wed 05 Apr 2017, 07:36    Post subject:  

rcrsn51 wrote:
Excellent. There are hints out of woof that Startup will be deprecated in favour of ~/.config/autostart.

But Startup really is handy, even if it's not standard Linux.

Some things that just work should be left alone, Its a pretty convenient folder. For newbee's and lazy people like me Smile
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 12801
Location: Stratford, Ontario

PostPosted: Wed 05 Apr 2017, 07:40    Post subject:  

@ttuuxxx: Here is the unanswered question. Is this code now broken coming out of woof?
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5485
Location: Finland

PostPosted: Wed 05 Apr 2017, 08:57    Post subject:  

https://github.com/puppylinux-woof-CE/woof-CE/blob/testing/woof-code/rootfs-skeleton/usr/sbin/delayedrun
Code:
if [ -d /root/Startup ];then
 for a in /root/Startup/* ; do
  [ -x "$a" ] && $a & #jamesbond
  sleep 0.2
 done
fi
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12801
Location: Stratford, Ontario

PostPosted: Wed 05 Apr 2017, 11:25    Post subject:  

Strange. I checked Tahrpup 605 and it has a fixed version. This code has a life of its own.
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 4093
Location: Worcestershire, UK

PostPosted: Wed 05 Apr 2017, 12:12    Post subject:  

pemasu wrote:
https://github.com/puppylinux-woof-CE/woof-CE/blob/testing/woof-code/rootfs-skeleton/usr/sbin/delayedrun
Code:
if [ -d /root/Startup ];then
 for a in /root/Startup/* ; do
  [ -x "$a" ] && $a & #jamesbond
  sleep 0.2
 done
fi


Fixes now applied:
https://github.com/puppylinux-woof-CE/woof-CE/blame/testing/woof-code/rootfs-skeleton/usr/sbin/delayedrun

_________________
LxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 32 of 49 [723 Posts]   Goto page: Previous 1, 2, 3, ..., 30, 31, 32, 33, 34, ..., 47, 48, 49 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.0800s ][ Queries: 12 (0.0302s) ][ GZIP on ]