Firstrun-2.2 (Country Settings and more)

Window managers, icon programs, widgets, etc.
Message
Author
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

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

Re: pinstall.sh

#36 Post by shinobar »

Tnx micko. Will merge at next update.
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:

unifont

#37 Post by shinobar »

sc0ttman wrote:...where can I get japanese, thai, chinese, fonts from? Ideally with a small filesize?
You can find them in the lang_pack_all.
http://www.murga-linux.com/puppy/viewtopic.php?t=51702
  • M+1P+IPAG.ttf 1.9M ... Japanese only
  • wqy-microhey.ttf 5M ... Chinese, Japanese and Korean, no thai
  • unifont.ttf 16M ... univasal including CJK and thai
/etc/fonts/fonts.conf may also need to replace with that of Multilingual Wary, wary-511-01m, to show bold and italic.

Well, need some files are needed to support ko_KR and zh_CN locale.
That is /usr/share/i18n/locales/transit_cjk_variant_compat and iso14651_t1_pinyn you can find in the lang_pack_all.
i am not sure on thai but may need libthai components in /usr/lib and /usr/share/libthai for input.
These components are not essencial if you only want to read them.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

gcmartin

#38 Post by gcmartin »

Hi Shinobar
Please make it obvious that you are offering a single Page "FirstRUN" and a double_page FirstRUN here. Right now you are showing a double page version which is not the version that distro owners are offering for user to see at boot.

Personally, I'm still in favor of the very simple approach of a single-page FirstRUN.

Hope this helps all.
Attachments
1.png
(78.53 KiB) Downloaded 997 times
Last edited by gcmartin on Wed 21 Dec 2011, 01:44, edited 1 time in total.

gcmartin

#39 Post by gcmartin »

@Shinobar. Are you aware of this (posted in green)?

Hope this helps

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

UPDETE: v1.9.6

#40 Post by shinobar »

v1.9.6: UTF-8 on main dialog(tnx to zigbert)
Refreshed pinstall.sh but 01micko reports it has still problem with recent woof install. The distributer need to correct them by hand.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

Post Reply