Firstrun-2.2 (Country Settings and more)

Window managers, icon programs, widgets, etc.
Message
Author
User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Canadian French keyboard layout

#16 Post by shinobar »

jemimah wrote:I believe I solved the problem with French Canadian keymaps.
I changed /usr/share/i18n/keymaps. I edited the line where it says "cf% (canada)" to "qc%(canada)"
Basic problem is: The console keymap 'cf' and 'ca' for Xorg seems legacy Canadian French keyboard layout, and the modern(?) 'qc' has no corresponding console keymap.

We can put 'qc' on the /usr/share/i18n/keymaps,
but note that the console keymap is set to 'us' in this case. If we are running Xvesa, not Xorg, there is no way because the Xvesa follows the console keymap... :(

Anyway, thanks jemimah for the information.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#17 Post by jemimah »

What I didn't figure out, is why cf won't stick. Probably this problem exists with other console keymaps,

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

firstrun-1.7

#18 Post by shinobar »

firstrun-1.7
/usr/sbin/countrywizard.qs
# 9jan11 v1.7: read Xorg driver name from xorg.conf or from /var/log/Xorg.0.log
# : fix change_xrandr was crash with multiple monitors, CLOCKFLICKER, 'us' keymap near the top
/etc/rc.d/rc.country
# 5jan11 backward compatibility loadkeys
# 9jan11 ASKKMAP the list order when pfix=nox (depends on the rc.sysinit)

It does not support 'qc'(Quebec). You can add the entry in the /usr/share/i18n/keymaps as jemimah says.
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:

Firstrun-1.8.1

#19 Post by shinobar »

Updated Firstrun-1.8.1. (Built in the Multilingual Wary-500m06)
# 12jan11 v1.8: no sandbox for Xvesa, Switching Xvesa to Xorg
# 21jan11 v1.8.1: leave 'changed' at status, extralang, fix was lang_check failed to change from pt_BR

Confirmed works on:
* Wary-500
* Puppy-431
* Puppy-421
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:

GMT+-n issue

#20 Post by shinobar »

An issue: GMT+n/GMT-n may be reverted to UTC.
Solution: Remove the file /usr/share/i18n/timezones if it exists.
Edit: Yes, it is 'timezones'. Thanks jemimah.

For pupplet distributors:
  1. Remove the file /usr/share/i18n/timezones.
  2. After removing, run countrywizard.
  3. /tmp/contrywizard-timezones will be generated. (or another names /tmp/*-timezones)
  4. Rename it and copy as the new /usr/share/i18n/timezones.
Last edited by shinobar on Tue 01 Feb 2011, 23:13, edited 1 time in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#21 Post by jemimah »

I've got a /usr/share/i18n/timezones file, should that be removed from the distro?

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

#22 Post by shinobar »

jemimah wrote:I've got a /usr/share/i18n/timezones file, should that be removed from the distro?
Thanks jemimar for the correction.
The problem was the old timezones file uses '@' for the separator.
GMT+8@Perth,Singapore,Hongkong
Should be '%'.
GMT+8%Perth,Singapore,Hongkong
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#23 Post by jemimah »

Excellent - hopefully this solves nooby's timezone problem.

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

Firstrun-1.8.2

#24 Post by shinobar »

30jan11 Firstrun- v1.8.2:
  • fix was failed GMT+-n
  • avoid black screen at changing timezone
  • lang_chek for Puppy-4.2 and older
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#25 Post by ASRI éducation »

Hello Shinobar,
Do you plan to integrate the proposed change here?

http://www.murga-linux.com/puppy/viewto ... 491#509491

Sincerely,

gcmartin

/etc/hostname, /etc/hosts, environment variable HOSTNAME

#26 Post by gcmartin »

FirstRUN has become the standard for desktop startups across Puppyland for many disto developers.

I have found a bug. It is low level, but could use attention because of it uses. It involves the HOSTNAME,

And, it is reported here.

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

firstrun-1.8.4pet

#27 Post by shinobar »

Sorry to be late to upload. The version 1.8.4 is the latest and built in the Wary-511-01q.
Get the most recent version, firstrun-1.8.4pet (1 Apr 2011) from here..

@ASRI éducation
It has fixed the ROX-filer speed slowing down.

@gcmartin
The HOSTNAME issue may be found in some applications who do not read /etc/profile.
But there are no problem on the urxvt terminal because it reads /etc/profile.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

gcmartin

FirstRUN system configuration

#28 Post by gcmartin »

@Shinobar.. See this BEFORE you next update. See "Personalize Settings" image there.
Edited 2011-08-13: HOSTNAME Solved by contributions from @TazOC. Please review and incorporate.[/size] See HERE! Saves logout or rebooting.
Edited 2011-08-15:PM Internationalization issues exist in video on SLACKO - this is a problem you may well understand.

Hope this helps

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

Firstrun-1.9

#29 Post by shinobar »

UPDATE to v1.9:
/root/Startup/firstrun (was 'fullstart')
removed but optional numlockx binary because of the potential incompatibility (thanks to barry)
removed but optional extralang which is experimental
keep languege list to speed up at repeated run
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

scsijon
Posts: 1596
Joined: Thu 24 May 2007, 03:59
Location: the australian mallee
Contact:

#30 Post by scsijon »

shinobar,

I wonder if it would it be possible to put a windowmanager selection screen into firstrun, so the user could select which one of those installed, they want to run by default?

regards
scsijon

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

firstrun-1.9.5

#31 Post by shinobar »

I am not sure whether this firstrun still needs to survive when the Barry's Quicksetup is already out. But i made an update focusing speed up in lauching dialogue.
Test release: firstrun-1.9.5.pet. See the top post.

Note:
Older versions did not show all languages but only the ones the current font can display.
This new version shows all language codes which puppy potentially supports. But some language names are not readable beacuase of the font is not available.
You need to install those font before you select such a langage.
Image
Last edited by shinobar on Tue 29 Nov 2011, 21:52, edited 1 time in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#32 Post by 01micko »

Hello shinobar

Seems to work nicely :)

I have a custom pinstall.sh that I use with firstrun-1.9 and previous that fixes the symlinks when installing firstrun from "woof" build system previous to November 2011.

However, since Barry has added "quicksetup" as a part of "woof" all the DOTdesktop files have changed. What I can do is modify the pinstall.sh to remove or patch all the "quicksetup" stuff and then firstrun get's priority. Of course woof users, you must modify the /usr/sbin/delayedrun script to call this firstrun. I fear that "quicksetup" is well entrenched in things like "video-wizard" so I will need to make patches for all apps that "quicksetup" affects and restore "firstrun".

When I have it working well I will publish the custom pinstall.sh here for developers.

Cheers
Puppy Linux Blog - contact me for access

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

Re: firstrun-1.9.5

#33 Post by sc0ttman »

shinobar wrote:I am not sure whether this firstrun still needs to survive when the Barry's Quicksetup is already out. But i made an update focusing speed up in launching dialogue.
Yes please do make it 'survive'.. I always use Firtsrun, which is better (IMHO) and more mature, supporting a wider variety of puppies... Also you might need or want to port some upgrades from Barrys QuickSetup in the future... or vice vera...
Test release: firstrun-1.9.5.pet. See the top post.
Will try it out soon
Older versions did not show all languages but only the ones the current font can display. This new version shows all language codes which puppy potentially supports. But some language names are not readable becuase of the font is not available.
Actually, I am using Firstrun 1.8.2 in 'Akita Linux' and can still see some language names in the list (such as japanese, chinese, others) seem not to be supported by the default system font in Akita (Ubuntu-Light)... But Arabic, Russian and others display OK - it is mainly the Asian fonts that do not display correctly.

I prefer to have all languages listed (like I do now), so i would like to know:
You need to install those font before you select such a langage.
...where can I get japanese, thai, chinese, fonts from? Ideally with a small filesize?
Attachments
lang-list.png
(26.8 KiB) Downloaded 1214 times
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

gcmartin

Re: firstrun-1.9.5

#34 Post by gcmartin »

shinobar wrote:I am not sure whether this firstrun still needs to survive when the Barry's Quicksetup is already out. But i made an update focusing speed up in launching dialogue.
Hi Shinobar.

I had sent you a PM on this in the past. This product of yours needs to survive. It currently is the only single screen utility that we have. As Puppy matures into the LAN arena as it has over the past 18 months, this single screen approach for localization is a mainstay.

It also provide a single point where users can easily (via Menu>Settings) come back to in order to update or change those localization settings. this is important if you travel to other areas of the world. Its also very important should anyone need to change the station's name when necessary. It a single place that provide an excellent at a glance UI.

Barry has a good tool, but its approach is different and the components are broken apart. Your tool keeps all of the components along with its information in eye's view.

This has become an important tool for, not just distro developers, but most of all for the USERS!

Your work and the contributions of others has created a very stable tools that has addressed all of its aspects for localization. its easy to understand and its very easy to use.

Please do not abandon us on this. It currently is the best tool for startup and easy understand for simple users, as well. We need this tool.

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#35 Post by 01micko »

Ok, here is the pinstall.sh for woof

Note that in a non-woof install (even with the current script in 1.9.5) the chooselocale symlink to Barry's quicksetup is not removed so quicksetup is still called.

Code: Select all

#!/bin/sh
#firsrun pinstall.sh
#=================== check if running from woof =========================
if [ ! "`pwd`" = "/" ];then

echo "Configuring first start wizard"
 QSPROG="countrywizard.qs"
 #[ -s $QSPROG ] || exit
 #rm -f ./tmp/firstrun 2>/dev/null
 for P in ./usr/sbin/countrywizard  ./usr/sbin/xrandrshell ./usr/sbin/timezone-set ./usr/sbin/quicksetup; do
  [ -s $P -a ! -L $P ] && cp -f $P $P.org
  rm -f $P
  ln -sf $QSPROG $P
 done
#remove Barry's QuickSetup
[ -f ./usr/share/applications/QuickSetup.desktop ] && rm -f ./usr/share/applications/QuickSetup.desktop
#==================  end woof  ==========================================
 else
 #================= v 1.9.5    ==========================================
 QSPROG=/usr/sbin/countrywizard.qs
[ -s .$QSPROG ] || exit
 rm -f ./tmp/firstrun
 for P in /usr/sbin/countrywizard  /usr/sbin/xrandrshell; do
  [ -s .$P -a ! -L .$P ] && cp -f .$P .$P.org
  rm -f .$P
  ln -sf $QSPROG .$P
 done
 # some old version (Puppy-4.2x etc) corrupts by the comment line
 if grep -q '#.*LANG=' ./etc/profile; then
   sed -e 's/#.*LANG=/#LANG:/g' ./etc/profile > /tmp/profile
  [ -s /tmp/profile ] && mv -f /tmp/profile ./etc/profile
 fi

 # LupQ has extralang conflicts with firstrun  # v1.9 removed extralang
 #[ -x ./root/Startup/extralang -a -x ./root/Startup/fullstart ] && chmod -x ./root/Startup/extralang

 # v1.9: remove old /root/Startup/fullstart, now renamed root/Startup/firstrun
 OLDFILE=/root/Startup/fullstart
 rm -f ."$OLDFILE"
 #================= end 1.9.5===========================================
fi
[quote][/quote]
Puppy Linux Blog - contact me for access

Post Reply