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 Thu 18 Sep 2014, 07:52
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
First Run Dialog for next Lucid Puppy
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 9 of 11 [158 Posts]   Goto page: Previous 1, 2, 3, ..., 7, 8, 9, 10, 11 Next
Author Message
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Mon 01 Nov 2010, 11:43    Post subject:
Subject description: Calling for better translations.
 

firstrun-1.1
revised german translation attached
countrywizard-de.tar.gz
Description  /usr/share/doc/countrywizard/nls/de.po
/usr/share/locale/de/LC_MESSAGES/countrywizard.mo
gz

 Download 
Filename  countrywizard-de.tar.gz 
Filesize  3.59 KB 
Downloaded  244 Time(s) 
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7802
Location: qld

PostPosted: Thu 04 Nov 2010, 03:40    Post subject:  

shino

On some thinking about fullstart..

This is all that is needed

Code:
#!/bin/sh

. /etc/rc.d/PUPSTATE #get pupmode

if [[ $PUPMODE != 2 && $PUPMODE != 3 ]];then exit
   else
   first-run.sh &
   #rm -f /$HOME/Startup/fullstart  #this file self destructs after first run
   chmod -x /root/Startup/fullstart ##change permission instead
fi


That way the code will only execute once in pupmode 2 and 3 only (full installs to fast and slow media respectively).

There is no need of the permission change in /usr/bin/first-run.sh... (unless of course this one is removed Wink maybe more correct syntax that way )

Cheers

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2630
Location: Japan

PostPosted: Thu 04 Nov 2010, 04:37    Post subject: fullstart  

01micko wrote:
On some thinking about fullstart..

Maybe playdayz mistook in packaging Luci-235.
My code in firstrun-1.1.pet, /root/Startup/fullstart:
Code:
#!/bin/sh
[ -s /tmp/firstrun ] && chmod -x $0 && exit
firstrun
[ -s /tmp/firstrun ] && chmod -x $0

Seems tricky but may work.

EDIT: I forgot the detail of these scripts... Laughing
It is quite complex.
One thing i remember is the firstrun(countrywizard.qs) can be canceled with CTL-ALT-BS when trying new resolution.
Another, the delayedrun may change its sequence in the future... etc.
My thought, the delayedrun need not call the first-run.sh, but should launch the Startup scripts soon. It must be more simple with the variety of install style.

By the way, i see you use '[[ ]]'.
what is the difference from '[ ]'?
I am not familiar with '[[ ]].

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html

Last edited by shinobar on Tue 09 Nov 2010, 22:40; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7802
Location: qld

PostPosted: Thu 04 Nov 2010, 05:35    Post subject:  

Hi shino

Yes I use the [[ ]] to avoid "[; unary operator expected" error which occurs when using "not" operator... it's not fatal but it does produce an error. Also is necessary when testing 2 conditions with "&&" or "||".. (or even -a or -o).

Perhaps you are right that playdayz did misplace a file as we did discuss the full install earlier.

Also I agree with the delayedrun call not being a good idea. /root/Startup/* is executed just after and is very versatile. If you put "0_<scriptname>" in /root/Startup it gets priority.

Cheers

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2630
Location: Japan

PostPosted: Thu 04 Nov 2010, 05:40    Post subject: double braket  

01micko wrote:
Yes I use the [[ ]] to avoid "[; unary operator expected" error

Thanks mike for the lecture. Lastly I got it Smile

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2630
Location: Japan

PostPosted: Thu 04 Nov 2010, 08:42    Post subject: Refresh rate  

I am trying to implement bigpups proposal, separating the refresh rate.



I am facing to the difficulty how to get the current refresh rate when we do not rely the xrandr reports.
Your help wanted.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
gcmartin

Joined: 14 Oct 2005
Posts: 4276
Location: Earth

PostPosted: Thu 04 Nov 2010, 11:23    Post subject: Best Startup for a RAM-based system I've ever seen  

shinobar wrote:
...
... .
Congratualations on your work thus far. For LiveCD implementations, this is the BEST startup I've ever witnessed thus far. This single piece of work is any user's dream (newbie or advanced).

Your work here is going to end up everywhere (especially in future LIveCD/RAM based systems.

Hint: When time permits, move for a GNU licensing ("a software form of patent") of your work. It truly is far-reaching.

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 5138
Location: Charleston S.C. USA

PostPosted: Thu 04 Nov 2010, 19:51    Post subject:  

Quote:
I am facing to the difficulty how to get the current refresh rate when we do not rely the xrandr reports.
Your help wanted.

Does it really matter if the refresh rate is good in the beginning if you are going to be able to change it at start with the first run dialog. I never had a problem getting a desktop to appear, I could not get the proper combination of resolution and refresh rate to choose in First Run Dialog. That is why I suggested have it give everyone a 60Hz refresh rate at first. Everyones monitor and video card should be able to handle that refresh rate in the beginning, but then offer to let them change it to what they want along with changing the resolution.
Also, if you are a total newbie and do not understand refresh rate, you can change the resolution and 60HZ refresh rate should work with any resolution setting. Should stop from getting the Black Screen of Death because the combination of resolution and refresh rate is unable to be used by your monitor.
Back to top
View user's profile Send private message 
Jim1911

Joined: 19 May 2008
Posts: 2457
Location: Texas, USA

PostPosted: Thu 04 Nov 2010, 20:22    Post subject:  

Please include a firstrun.desktop file with a cute little icon, so that a menu entry will be generated. I know that it can be started from the console, but a menu entry is handy.

Thanks,
Jim
Back to top
View user's profile Send private message 
shinobar


Joined: 28 May 2009
Posts: 2630
Location: Japan

PostPosted: Thu 04 Nov 2010, 20:47    Post subject: menu entry  

Jim1911 wrote:
I know that it can be started from the console, but a menu entry is handy.

The title of the menu entry is 'Parsonalize Settings' under 'Setup' you can find.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
Jim1911

Joined: 19 May 2008
Posts: 2457
Location: Texas, USA

PostPosted: Thu 04 Nov 2010, 21:45    Post subject: Re: menu entry  

Thanks to Shinobar and James C for pointing me in the right direction. "Personalize Settings" does make more sense than First Run.
Jim Embarassed

Last edited by Jim1911 on Fri 05 Nov 2010, 00:37; edited 1 time in total
Back to top
View user's profile Send private message 
James C


Joined: 26 Mar 2009
Posts: 5753
Location: Kentucky

PostPosted: Thu 04 Nov 2010, 22:20    Post subject:  

Located at:
luci-235.png
 Description   
 Filesize   370.03 KB
 Viewed   1032 Time(s)

luci-235.png

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


Joined: 25 Apr 2008
Posts: 3788

PostPosted: Thu 04 Nov 2010, 22:55    Post subject:  

Fullstart. Yes, I checked and there was an older fullstart that took the place of yours shinobar. It should be correct in luci-236. I am sorry for missing it.

Please let me know when that kind of thing happens. 01micko is not shy about it Wink
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7802
Location: qld

PostPosted: Fri 05 Nov 2010, 19:19    Post subject:  

I made a post about what I think causes playdayz problem with LANG="C"

http://murga-linux.com/puppy/viewtopic.php?p=464003#464003

Do you think this could cause the problem?

Cheers

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2630
Location: Japan

PostPosted: Fri 05 Nov 2010, 20:44    Post subject: some fixes  

Thanks playdayz.
I will fix the UTF typo and '@euro' support.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 9 of 11 [158 Posts]   Goto page: Previous 1, 2, 3, ..., 7, 8, 9, 10, 11 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.0913s ][ Queries: 12 (0.0150s) ][ GZIP on ]