First Run Dialog for next Lucid Puppy
fix the refresh rate to 60Hz
We know the xrandr reports wrog in many case.bigpup wrote:Could all the resolutions that come up on the list be set to have a refresh rate of 60HZ, Like locked setting?
So, the bigpup's proposal is very attractive.
I am not sure all or most of the hardwares can manage it.
The problem is how to organize the testers.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
Re: fix the refresh rate to 60Hz
I have never seen specs, on a monitor, that did not list 60HZ as a refresh rate for any resolution. I think it is a standard supported by all.shinobar wrote:We know the xrandr reports wrog in many case.bigpup wrote:Could all the resolutions that come up on the list be set to have a refresh rate of 60HZ, Like locked setting?
So, the bigpup's proposal is very attractive.
I am not sure all or most of the hardwares can manage it.
The problem is how to organize the testers.
From Wikipedia;
(Why did my screen go black when I wrote that quote)?From Wikipedia wrote:Windows XP, Windows Vista and Windows 7, set the default refresh rate to a "conservative" rate, usually 60 Hz.
My LCD monitor support suggests I use 60HZ refresh rate all resolutions.
All the resolution settings listed in my monitor manual have 60HZ as a setting.
Suggested refresh rate for CRT monitor at HP support how to in that other operating system.From HP Support wrote:The most common refresh rate for LCD monitors is 60 Hz. This normally cannot be changed for flat panel displays using Plug and Play settings.
- Attachments
-
- refresh.png
- Refresh rate setting
- (41.02 KiB) Downloaded 922 times
Last edited by bigpup on Sun 31 Oct 2010, 04:32, edited 1 time in total.
Update v1.1
Fixed.Mobeus wrote:Bad news: Upon reboot the screen was black.
But note that the xranrshell nor xorgwizard are not yet fixed.
They still have a problem with selectiong the refresh rate with some hardware as Mobeus reported.
The proposal from bigpup (not rely xrandr refresh rate) is pending for this update, v1.1.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
firstrun-1.1
revised german translation attached
revised german translation attached
- Attachments
-
- countrywizard-de.tar.gz
- /usr/share/doc/countrywizard/nls/de.po
/usr/share/locale/de/LC_MESSAGES/countrywizard.mo - (3.59 KiB) Downloaded 419 times
shino
On some thinking about fullstart..
This is all that is needed
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 maybe more correct syntax that way )
Cheers
On some thinking about fullstart..
This is all that is needed
Code: Select all
#!/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
There is no need of the permission change in /usr/bin/first-run.sh... (unless of course this one is removed maybe more correct syntax that way )
Cheers
Puppy Linux Blog - contact me for access
fullstart
Maybe playdayz mistook in packaging Luci-235.01micko wrote:On some thinking about fullstart..
My code in firstrun-1.1.pet, /root/Startup/fullstart:
Code: Select all
#!/bin/sh
[ -s /tmp/firstrun ] && chmod -x $0 && exit
firstrun
[ -s /tmp/firstrun ] && chmod -x $0
EDIT: I forgot the detail of these scripts...
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 '[[ ]].
Last edited by shinobar on Wed 10 Nov 2010, 02:40, edited 1 time in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
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
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
Puppy Linux Blog - contact me for access
double braket
Thanks mike for the lecture. Lastly I got it01micko wrote:Yes I use the [[ ]] to avoid "[; unary operator expected" error
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
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.
I am facing to the difficulty how to get the current refresh rate when we do not rely the xrandr reports.
Your help wanted.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
Best Startup for a RAM-based system I've ever seen
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).shinobar wrote: ...
... .
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.
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.I am facing to the difficulty how to get the current refresh rate when we do not rely the xrandr reports.
Your help wanted.
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.
menu entry
The title of the menu entry is 'Parsonalize Settings' under 'Setup' you can find.Jim1911 wrote: I know that it can be started from the console, but a menu entry is handy.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
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
Jim
Last edited by Jim1911 on Fri 05 Nov 2010, 04:37, edited 1 time in total.
I made a post about what I think causes playdayz problem with LANG="C"
http://murga-linux.com/puppy/viewtopic. ... 003#464003
Do you think this could cause the problem?
Cheers
http://murga-linux.com/puppy/viewtopic. ... 003#464003
Do you think this could cause the problem?
Cheers
Puppy Linux Blog - contact me for access
some fixes
Thanks playdayz.
I will fix the UTF typo and '@euro' support.
I will fix the UTF typo and '@euro' support.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]