LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-23-2014, 05:08 PM   #256
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,042

Original Poster
Rep: Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977
Update 20140423 + planning creation of regular user account(s)


This update of the installers and packages is mostly to fix a bug that prevented to make a bootable USB stick (for rescue purpose) at end of installation in installers for Slackware 14.1, see this thread and the Changelog for technical details of the fix and other changes.

Also, I plan to allow creation of (regular) user account(s) at end of installation (just after proposal of creating a password for root), as I assume that that's the first thing most desktop users will do just after installation anyway. We could call the script adduser for that, already internationalized. Thoughts?
 
Old 04-24-2014, 02:01 AM   #257
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,194

Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
Also, I plan to allow creation of (regular) user account(s) at end of installation (just after proposal of creating a password for root), as I assume that that's the first thing most desktop users will do just after installation anyway. We could call the script adduser for that, already internationalized. Thoughts?
I think there is a difference between internationalizing the Slackware installer & tools, and starting to add functionality. The latter is called "forking".

Eric
 
Old 04-25-2014, 03:15 PM   #258
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,042

Original Poster
Rep: Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977
Quote:
Originally Posted by Alien Bob View Post
I think there is a difference between internationalizing the Slackware installer & tools, and starting to add functionality. The latter is called "forking".
Well... in that case slint is already a fork as it can set as default in installed system last locale settings used during installation (kernel keymap and associated X settings and $LANG): this is a new functionality. But please note that this functionality is optional, as is the proposed new one. By the way, the new one is ready for review. Here is what I have added at end of /usr/lib/setup/SeTpasswd in the installer's initrd:
Code:
mkdir -p /tmp/trythenewslintfuctionality
TMP="/tmp/trythenewslintfuctionality" # not to mess / trying in your installed Slackware
T_PX="/" # Added here so you can try this code snippet in your installed Slackware.
# In the installer this parameter is usually set to /mnt.
while [ 0 ];do
    dialog --title "`gettext "CREATE USER ACCOUNT(S)"`" --default-item "Create" \
  --menu "`gettext "You can List or Create regular user accounts. When you are done, \
choose Continue."`" \
11 80 3 \
  "List" "`gettext "List existing user accounts"`" \
  "Create" "`gettext "Create a new user account"`" \
  "Continue" "`gettext "Done, proceed to the next step"`" \
  2> $TMP/return
 REPLY=`cat $TMP/return`
 rm -f $TMP/return
 clear
 if [ "$REPLY" = "Create" ]; then
   ( trap break 2
   chroot $T_PX /usr/sbin/adduser
   echo
   gettext "Press [Enter] to continue."
   read dummy
   )
 elif [ "$REPLY" = "List" ]; then
   echo 
   if [ "`awk -F ":" '/[^:]+:[^:]+:[0-9][0-9][0-9][0-9]+/ {print $1}' $T_PX/etc/passwd`" = "" ]; then
     gettext "No registered ordinary user."
     echo
   else
     gettext "Here is the list of registered ordinary users:"
     echo
     awk -F ":" '/[^:]+:[^:]+:[0-9][0-9][0-9][0-9]+/ {print $1}' $T_PX/etc/passwd
   fi
   echo
   gettext "Press [Enter] to continue."
   read dummy
 else
   break
 fi
done
Please native English speakers tell me if that's understandable asap, then I will upload modified installers in http://slint.fr/testing. Oh, and you can try the code snippet alone in your installed Slackware (run it as root, of course).

Eric, I take your remark seriously, though.

The truth is I didn't intend to make a fork when launching this project, but instead hoped that Pat would at some point "adopt" it, in other words integrate (maybe part of) our changes to the genuine Slackware installers. I have no sign of this happening any time soon, but as said Willem van Oranje:
Quote:
Het is niet nodig te hopen om te ondernemen, noch te slagen om te volharden.
Still, I don't like to see the good work of our volunteer translators under used, thus I'm considering uploading DVD ISOs on Sourceforge till slint be somehow integrated into Slackware, as I think that for most Linux newbies it's too much of a hassle to use two media (one containing the installer, the other one the packages) for installation, thus we have less users than we deserve.

In that case, it'd be better than some folk(s) co-maintain this project with me to be able to take over its maintenance when I'll be too old or dead. Consider this a call for volunteers, that can email me at <my first name in lowercase letters> at slint dot fr.

Last edited by Didier Spaier; 04-28-2014 at 06:27 PM. Reason: minor correction (first space removed in the first dialog message).
 
Old 05-07-2014, 01:20 PM   #259
hugok
LQ Newbie
 
Registered: Feb 2014
Location: Porto, Portugal
Distribution: Slackware
Posts: 5

Rep: Reputation: Disabled
Slint it's a remarkable project. Thanks Didier

Always nice to install Slackware in our native language







# hugok
 
Old 05-07-2014, 01:48 PM   #260
Nh3xus
Member
 
Registered: Jan 2013
Location: France
Distribution: Slackware 14.1 32 bits
Posts: 130

Rep: Reputation: 33
Well the project is great indeed.

Didier : Is there any kind of task that remains to be done regarding the French translations ?
 
Old 05-07-2014, 03:56 PM   #261
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,042

Original Poster
Rep: Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977
New installers in /testing, DVD ISO images to come

@hugok and Nh3xus: thank you for your encouragement.

@Nh3xus: the translation to French is complete, but one more review never hurts, see http://slint.fr/fr/contribute.html. In short: just register on Transifex then request to join the French team.

The installers just uploaded in http://slint.fr/testing/ use a true type font, thanks to fbterm. Not only will this allow to display ideographs in the future, but also this already allows to scale the font at will, so that the ratio (dialog box size / screen size) stays roughly constant, regardless of the display resolution, from 640x480 through 7680x4320 (8k screens are not very common yet, but we are already ready for that :-). As an example of display using the DeJaVu Sans Mono font, see screenshot menu.png attached.

Also, the installers now propose to create regular users at end of configuration (just after proposing to set a password for root). See attached screenshots add_regular_users.png and adduser.png as examples. Thanks Hugo Carvalho, aka hugok for the translations to Portuguese (Portugal).

A small detail: the prompt is modified to include a (translated) reminder: [To install, run setup].

And we use syslinux-nomtools instead of syslinux in /var/log/setup/setup.80.make-bootdisk to allow actually creating USB boot disks for Slackware 14.1. This could benefit to the genuine Slackware installer as well (no problem in the installed system that contains the file IBM850.so).

Under the hood, several modifications allow to decrease the size of the installer from the previous testing release:
  • Only the font WenQuanYi Zen Hei Mono is shipped, extracted from the true type collection wqy-zenhei.ttc (thanks to fontforge :-)
  • Instead of the "old style" locale definitions, only the locale_archive database is shipped. IMO that change would benefit to Slackware as well in decreasing significantly the size of a full installation. I'll open a new thread on that topic.
  • Instead of installing packages for fbterm & dependencies, we cherry pick only the binary and the needed shared libraries.
People interested in technical details (if any :-) can unpack the tarball whose name ends in tar.xz in http://slint.fr/testing/ and have a look at the file build/slint.sh in it that builds the installers. Caveat emptor: now that we use the program localdef to build locale_archive from the legacy files, the host on which the script runs should have the same architecture as the target installer.

Next major step will be to provide DVD ISO images in addition to the installer. That'll be done when all current translations will have been completed and fully reviewed.

Have fun!
Attached Images
File Type: png menu.png (73.7 KB, 21 views)
File Type: png add_regular_users.png (36.8 KB, 22 views)
File Type: png adduser.png (101.1 KB, 23 views)

Last edited by Didier Spaier; 05-08-2014 at 03:16 AM.
 
2 members found this post helpful.
Old 05-08-2014, 03:16 PM   #262
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,042

Original Poster
Rep: Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977
In the previous post I forgot to mention a downside of using an fbterm and true type fonts: in Slint testing installers, choosing a custom console font is no more proposed. For the experienced user it's still possible to exit from an fbterm to do that, but frankly speaking running setconsolefont just after installation is way simpler IMO.

By the way, if you don't want to use a true type font during installation, just append "fbt=no" to the command line. Of course that won't be an option for ideographic languages.

Oh and I forgot to announce that Kaj Huisman joined the Dutch team. Welcome on board, Kaj!

PS I just came across a bug: not using an fbterm can trigger a read error when SeTkeymap is called early. I'll investigate tomorrow.

Last edited by Didier Spaier; 05-09-2014 at 05:33 AM. Reason: PS added (and rewritten)
 
Old 05-09-2014, 05:42 AM   #263
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,042

Original Poster
Rep: Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977
Quote:
Originally Posted by Didier Spaier View Post
PS I just came across a bug: not using an fbterm can trigger a read error when SeTkeymap is called early. I'll investigate tomorrow.
If SeTkeymap is called from rc.S2 (last part of rc.S), after installation of the new map, in case an fbterm is not used (IOW fbt is set in the command line), user's answer (1 or 2) should be read from `tty`, not from stdin. I forgot to make that change in other installers than slint-14.1.iso. I will upload fixed installers shortly.

PS Done.

Last edited by Didier Spaier; 05-10-2014 at 11:53 AM.
 
Old 05-17-2014, 02:19 PM   #264
hugok
LQ Newbie
 
Registered: Feb 2014
Location: Porto, Portugal
Distribution: Slackware
Posts: 5

Rep: Reputation: Disabled
Translation for pt_PT Portuguese(Portugal) completed.

Keymap= "pt-latin1"
Locale= "pt_PT.utf8"
Timezone= "Europe/Lisbon"
 
Old 07-23-2014, 04:33 PM   #265
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,042

Original Poster
Rep: Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977
Slint DVD ISOs version 14.1 planned: please complete your translations.

Updated installers have just been uploaded in http://slint.fr/testing and include following features:
  • The user is proposed to set ordinary user accounts
  • A true type font is used if a sane framebuffer is found @ /dev/fb0, for Slint version 14.1 only. The font size is then computed to fit the display resolution, whatever it be. The sanity of the framebuffer is checked by the program checkfb, thanks to Sébastien BALLET for finding and adapting it (that provides also the current display resolution)
  • Now each ISO image includes two installers: a genuine Slackware installer and a Slint polyglot installer.
I consider these installers to be stable enough to be included in the Slint DVD ISOs that I plan to make available within 15 days or so. Still, I will be grateful to people who will report any remaining bug or hitch in the coming days. Diantre already made tests on various hardware, thanks to him, but in that matter more is always better.

I will include in the DVD ISOs only 100% complete translations so, please the three translation teams who have less than 10 untranslated strings in the big slint file translate them now.

By the way the Turkish translation of that file has just been completed by a new team member. Thanks and welcome on board, kaanureyen07!

The DVD ISO will include the genuine Slackware packages, so only one installation media will be needed. Of course that won't make theses ISO images affiliated to, endorsed by, let alone supported by Slackware.

I have included the genuine Slackware installer alongside the Slint installer to ease maintenance work if/when the latter is accepted as part of Slackware.

English speaking users can easily compare the two, and use whichever they prefer. When you see the greeting screen just after booting:
  • to use the genuine Slackware installer, just press [Enter] or choose an alternate kernel as instructed after pressing [F2]
  • to use the Slint installer (in US English) type the code 00 (zero zero) before pressing [Enter], or press [F3] to get instructions (and possibly try another language).
If your machine has an EFI firmware, choose in the GRUB menu:
  • one of the first entries (that mention the huge.s kernel) to use the genuine Slackware installer
  • one of the other entries (that mention the language) to choose the Slint installer
PS The next challenge will be to have the installers boot directly (not using rEFInd) on Mac Intel. Stay tuned.

Have fun :^)

Last edited by Didier Spaier; 07-24-2014 at 10:40 AM. Reason: EFI mentionned
 
Old 07-27-2014, 11:06 AM   #266
hugok
LQ Newbie
 
Registered: Feb 2014
Location: Porto, Portugal
Distribution: Slackware
Posts: 5

Rep: Reputation: Disabled
Going to test the new updated installer.

Hope to see the Slint DVD ISO's soon!

Good work Didier.
Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Ubuntu 10.04 Start 0.48 Released; Now Supports Multiple Languages Thanks To You LXer Syndicated Linux News 0 04-29-2010 07:40 PM
LXer: How to add an internationalized keyboard to your Web site LXer Syndicated Linux News 0 05-15-2008 10:30 AM
Cannot start slackware 10 installer on eMachines 366is with a samsung SCR-3232 cdrom Dark_Wolf Slackware 12 06-08-2007 11:04 PM
Slackware support to Languages other than English Basel Slackware 6 02-15-2006 06:29 AM
languages of linux: which languages can be choosen in suse and red-hat distributions? Klaus Schnorr Linux - Software 3 09-10-2005 02:19 AM


All times are GMT -5. The time now is 11:02 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration