First Run Dialog for next Lucid Puppy

A home for all kinds of Puppy related projects
Message
Author
Tasgarth
Posts: 203
Joined: Mon 06 Oct 2008, 19:08
Location: France, Besancon
Contact:

Settings Wizard

#46 Post by Tasgarth »

Shinobar wrote :
The function of the first-run dialog is Country settings plus Resolution changer.
It is local settings matching the hardware, rather than 'personal'.
But also i think the word 'Local Settings' is not easy to understand...
Perhaps :
PC Settings Wizard

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

version 9d

#47 Post by shinobar »

Next version shall be like this:
Image
NOTE: the version name in the title bar is for debbuging.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#48 Post by bigpup »

Add to info statement at top,
Make any required corrections and apply changes.

User avatar
playdayz
Posts: 3799
Joined: Fri 25 Apr 2008, 18:57

#49 Post by playdayz »

Looking great shinobar. I agree with Bigpup about a bit more explanation at the top, but I can do that--I probably will tinker with it just to be obsessive ;-) so don't stress about it--I will do that!

The two buttons Apply and OK confuses me. I think Apply and Close would make more sense. And make them the same size. But one button Apply might be enough, because the current version posts a message "Nothing was Changed" if nothing was changed and th program ends.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

keyboard image

#50 Post by don570 »

Here's my attempt to show a keyboard with a first run app.
No disk space is wasted because it's text.

Click to enlarge
[url=http://upmyphoto.com/image/27177/7 ... .jpg[/img][/url]

_________________________________________________

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

Re: version 9d

#51 Post by Béèm »

shinobar wrote:Next version shall be like this:
Image
NOTE: the version name in the title bar is for debbuging.
Looks good, but can I repeat the suggestion done before to add a selection for the 12/24 hour clock.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

keyboard layout, clock

#52 Post by shinobar »

Thanks, don and Béèm.

As for the graphical keyboard layout, nice idea using text, but i am afraid i cannot gather all the 43 layouts the Puppy supports.
Or, do you know how to extract it from the X data base(/usr/share/X11/xkb) or from somewhere?

A selection for the 12/24 hour clock is atractive but i think it is the business of the window manager, i cannot manage.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Sandbox

#53 Post by shinobar »

Now, we can avoid 'Apply' button.
For the keyboard setting i put a sandbox. If you click 'Cancel' here, the main dialog comes back with previous keyboard layout.
Image
Same as screen resolution. If you click 'OK' for every question, the main dialog disappears and never comes back unless you launch it from the menu.
Note the timezone and locale do not have cancel buttons.

As for the 'XorgWizard' button, after all other changes performed, you will be asked to go through the text mode. After the desktop comes back, the main dialog appears again.

Next version with 'XorgWizard' button and 'OK' button, without 'Apply' button, coming soon.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#54 Post by technosaurus »

here is a function from my latest version of bashbox that may be of help during language testing:

as a function

Code: Select all

test_program_with_LANG() { #$1=LANG followed by command to test
REAL_LANG=$LANG
export LANG=$1
shift #removes $1 from $@
$@
export LANG=$REAL_LANG
}
or as a script

Code: Select all

#!/bin/sh
REAL_LANG=$LANG
export LANG=$1
shift #removes $1 from $@
$@
export LANG=$REAL_LANG
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

firstrun-0.9d available

#55 Post by shinobar »

Now the new version firstrun-0.9d-lupu.pet is available at the top of this topic.
Also calling for translations.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

keyboard settings

#56 Post by don570 »

For the keyboard setting i put a sandbox.
I like this idea. Simple but effective.

This page describes finding the characters of a keyboard layout
http://murga-linux.com/puppy/viewtopic.php?t=48898

UK keyboards have one extra key which complicates things.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#57 Post by bigpup »

Where are the resolution settings, that you can select, coming from? I ask because, none of them seem to have common refresh rates.
Example;
My monitors best setting is 1280x1024 at 60HZ.
There is a 50HZ, and nothing else.
Next best, 1024X768 at 60HZ.
There is a 57HZ.
All the refresh rates seem to be not normal settings for any resolution.
Like 52, 61, 63, 66, 74, 82, 89, 93 etc......
Attachments
screen 1.png
resolution settings
(174.23 KiB) Downloaded 1006 times

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

resolution settings

#58 Post by shinobar »

bigpup wrote:Where are the resolution settings, that you can select, coming from? I ask because, none of them seem to have common refresh rates.
Example;
My monitors best setting is 1280x1024 at 60HZ.
There is a 50HZ, and nothing else.
Next best, 1024X768 at 60HZ.
There is a 57HZ.
All the refresh rates seem to be not normal settings for any resolution.
Like 52, 61, 63, 66, 74, 82, 89, 93 etc......
It is the same as the Xorg Resolution Changer, found in the 'Xorg Video Wizard' on the main menu.
On the virtual terminal, type:

Code: Select all

xrandr
It shows available resolutions and vertical frequencies.
But the Xorg Resolution Changer shows the lowest frequency.
I am not sure the Xorg Resolution Changer specifies the frequency or not at running 'xrandr'.

Note that If you once set the resolution with this Personalize Settings, or the Xorg Resolution Changer, the setting of xorg.conf is ignored, even if you run the XorgWizard and select different resolution.
It can be a problem when we take the 'xrandr' for the resolution setting.
EDIT: There are no problem with the XorgWizard, but with the Nvidia X Setting Wizard.

Bigpup, How does the 1280x1024 at 50HZ actually see? Is the display a CRT?
If it is serious, I have to add new menu for frequency.
Last edited by shinobar on Wed 20 Oct 2010, 00:30, edited 1 time in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#59 Post by bigpup »

Bigpup, How does the 1280x1024 at 50HZ actually see? Is the display a CRT?
If it is serious, I have to add new menu for frequency.
It is an LCD monitor so 50HZ is not a big issue, MAYBE? If it was a CRT it would be. The thing is, my monitor specs call for a refresh rate of 60HZ or 75HZ at 1280X1024 resolution.
I am using a Nvidia driver and the Nvidia X server setting program gives me the choice of 1280X1024 60HZ or 75HZ.
A troubleshooting question response from my monitors support;
If your LCD monitor is flickering, it probably means that the refresh rate is set too high. The optimal refresh rate for a Samsung LCD Monitor is 60 Hz regardless of the resolution you are running.
Before you say refresh does not matter on a LCD monitor read this.
http://www.tweakguides.com/Graphics_8.html

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#60 Post by bigpup »

Note that If you once set the resolution with this Personalize Settings, or the Xorg Resolution Changer, the setting of xorg.conf is ignored, even if you run the XorgWizard and select different resolution.
It can be a problem when we take the 'xrandr' for the resolution setting.
If I understand this, if you make resolution changes with "First Run Dialog screen" then using Xorgwizard will not make changes?

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Resolution Changer and XorgWizard

#61 Post by shinobar »

bigpup wrote:
Note that If you once set the resolution with this Personalize Settings, or the Xorg Resolution Changer, the setting of xorg.conf is ignored, even if you run the XorgWizard and select different resolution.
It can be a problem when we take the 'xrandr' for the resolution setting.
If I understand this, if you make resolution changes with "First Run Dialog screen" then using Xorgwizard will not make changes?
Sorry, i was wrong.
There are no problem with the Resolution Changer (and from the Personalize Settings) and the XorgWizard.
Chang the resolution by the Resolution Changer or from the Personalize Settings, then running the XorgWizard, the resolutions of the XorgWizard is effective.

Only a problem occurs: Changing xorg.conf by the Nvidia X Setting Wizard is overridden by the xrandr.

Technically, the 'xrandr' for the resolution setting, the Resolution Changer(/usr/sbin/xrandrshell) and from the Personal Settings(/usr/sbin/countrywizard.qs), leaves a file '/etc/xrandrindex'. The /usr/sbin/xorgwizard removes the file '/etc/xrandrindex'. But the Nvidia X Setting Wizard does not.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

NumLock

#62 Post by shinobar »

Do you like the Personalize Settings/Country Wizard having this checkbox?
Image
Note that it is not effective on console (without X).
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#63 Post by bigpup »

Num lock button?
YES!

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

small bug

#64 Post by don570 »

There is small insignificant bug

While testing the keyboard input, the shortcut keyboard commands
(using the alt key ) should be shut off.

For example while using German alt-A results
in cancellation so the window unexpectedly shuts
and the user returns to first run.


______________________________________________________

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Re: small bug

#65 Post by shinobar »

don570 wrote:While testing the keyboard input, the shortcut keyboard commands
(using the alt key ) should be shut off.

For example while using German alt-A results
in cancellation so the window unexpectedly shuts
and the user returns to first run.
Thanks don. But I cannot reproduce.
I tried de, de-latin1 with de_DE, de_BE, en_US, de_DE.utf8.
Luci-232 RAM mode.

Do you mean if Alt + somekey is set to shortcut keyboard commands?
Maybe no problem for the RAM mode. Tested openbox and jwm.
If the shortcut is set by the user, he knows what happens. Isn't it alright?
Attachments
first_de_key.png
(3.18 KiB) Downloaded 1058 times
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

Post Reply