Page 1 of 4

Canadian French keyboard layout

Posted: Wed 05 Jan 2011, 08:31
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.

Posted: Wed 05 Jan 2011, 13:14
by jemimah
What I didn't figure out, is why cf won't stick. Probably this problem exists with other console keymaps,

firstrun-1.7

Posted: Sun 09 Jan 2011, 15:55
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.

Firstrun-1.8.1

Posted: Sat 22 Jan 2011, 04:59
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

GMT+-n issue

Posted: Mon 31 Jan 2011, 08:55
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.

Posted: Mon 31 Jan 2011, 15:33
by jemimah
I've got a /usr/share/i18n/timezones file, should that be removed from the distro?

Posted: Tue 01 Feb 2011, 23:20
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

Posted: Wed 02 Feb 2011, 03:58
by jemimah
Excellent - hopefully this solves nooby's timezone problem.

Firstrun-1.8.2

Posted: Fri 04 Feb 2011, 13:35
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

Posted: Sat 02 Apr 2011, 10:06
by ASRI éducation
Hello Shinobar,
Do you plan to integrate the proposed change here?

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

Sincerely,

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

Posted: Mon 11 Jul 2011, 15:48
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.

firstrun-1.8.4pet

Posted: Sat 23 Jul 2011, 02:58
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.

FirstRUN system configuration

Posted: Wed 10 Aug 2011, 15:17
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

Firstrun-1.9

Posted: Mon 17 Oct 2011, 10:42
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

Posted: Thu 20 Oct 2011, 23:43
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

firstrun-1.9.5

Posted: Tue 29 Nov 2011, 13:55
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

Posted: Tue 29 Nov 2011, 21:00
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

Re: firstrun-1.9.5

Posted: Wed 30 Nov 2011, 13:44
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?

Re: firstrun-1.9.5

Posted: Wed 30 Nov 2011, 21:09
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.

Posted: Fri 02 Dec 2011, 06:13
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]