Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 22 Mar 2019, 03:54
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
EasyOS 1.0.14, March 15, 2019
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 84 of 102 [1517 Posts]   Goto page: Previous 1, 2, 3, ..., 82, 83, 84, 85, 86, ..., 100, 101, 102 Next
Author Message
step

Joined: 04 May 2012
Posts: 1168

PostPosted: Sun 06 Jan 2019, 08:56    Post subject:  

technosaurus wrote:

One thing I remember learning from that, which I never posted about was that it becomes important to replace echo with printf to allow for differing language rules. It allows a %s to be included in the translated string so that variables can be inserted at the appropriate syntactical location.

Here is an oversimplified example:
Code:

setLANG_de(){
#uncomment these after translating to german
#_M_1="translate %s strings\n"
#_M_2="some"
#_M_3="some more"
}
printf "${_M_1:-translate %s strings\n}" "3"
printf "${_M_1:-translate %s strings\n}" "${_M_2:-some}"
printf "${_M_1:-translate %s strings\n}" "${_M_3:-some more}"
I agree. The alternative to printf is sourcing gettext.sh and calling
Code:

# howmay="some more" eval_gettext 'translate $howmany strings'

Both shell printf and eval_gettext share the limitation that one can't re-arrange the order of arguments. That limits somewhat the translation. However, I think this sort of limitation isn't going to be an issue in practice because good translators can usually work around it.

Some of my scripts use a single gettext -es call to translate all messages at once instead of each single message with its own gettext call. This is done for speed and to keep all strings in a single place. The technique is illustrated in this message table script, which the application script sources. Script xgettext.sh in this folder is used to extract the gettext strings (the folder contains all scripts I use to generate a .pot file for findnrun).

_________________
Fatdog64-800|+Packages|Kodi|Findnrun|+forum|gtkmenuplus
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2904

PostPosted: Mon 07 Jan 2019, 11:42    Post subject:  

Just to report that tmux from ...
http://www.murga-linux.com/puppy/viewtopic.php?p=1002738#1002738 seems to work well under the latest EasyOS version. I also install mc from petget as a terminal/cli file manager and text editor.

Setting things to log into to the Easy Container and then Ctrl-Shift to disable alt-F6 switching to the main/real root desktop and instead running all root commands from root/cli (I like to use ctrl-alt-F3 for root/cli) works well.

For absolutely necessary root/windows gui actions you can run those from the console/cli for example

DISPLAY=:1 leafpad

from root/cli to fire up a (real root) leafpad window on the Easy containers gui desktop. That does however become insecure so best if no other Easy container windows, in particular browser, are running at that time.

With a reasonable tput based (textual/cli) menu, much of the root actions you might normally use in the main (real root) session can be replicated under ctrl-alt-F3 root/cli (console).
s.png
 Description   
 Filesize   140.71 KB
 Viewed   1205 Time(s)

s.png


_________________
( ͡° ͜ʖ ͡°) :wq
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2904

PostPosted: Mon 07 Jan 2019, 11:47    Post subject:  

Just to highlight the insecurities of running real root X programs/windows alongside user or less secure windows (browsers etc.), here (attached image) note how with a real root window present on the Easy containers desktop, a easy container program such as sakura can detect that, and stuff commands into it (for simplicity I used xdotool to do that).
s.png
 Description   
 Filesize   139.79 KB
 Viewed   1197 Time(s)

s.png


_________________
( ͡° ͜ʖ ͡°) :wq
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2904

PostPosted: Mon 07 Jan 2019, 15:41    Post subject: Audacious  

Start audacious

View Visualisations and add the Blur visualisation, click its top panel and select the Dock Left option and it docks OK.

Repeat for another visualisation and audacious crashes.

I usually activate and dock all three of the available visualisations.
s.png
 Description   
 Filesize   153.72 KB
 Viewed   1158 Time(s)

s.png


_________________
( ͡° ͜ʖ ͡°) :wq
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8878
Location: Perth, Western Australia

PostPosted: Tue 08 Jan 2019, 07:39    Post subject:  

@rufwoof,
Thanks for your reports. Yes, I do need to think some more about ratcheting-up the security. That is on the to-do list.

Right now, I am working on something else: out-of-the-box non-English support.

See this post:

http://bkhome.org/news/201901/non-english-builds-of-easyos.html

Releasing a ready-to-go non-English build of Easy is real nice for users. Also, it is good for containers -- currently, that is a difficult situation.

I am building the non-English Easy distro in WoofE, with the langpack built-in. So, running in containers is fully translated.

Otherwise, if the langpack is a PET, it would have to be installed in each container. It could be an SFS instead, but there are still problems.

Building language-specific EasyOSs does mean a lot of extra uploads, if I have say, several of them, but these days I have a 4G plan with unlimited data.

This is quite exciting.

One thing, the test German build of Easy still had LibreOffice displaying in English. So I am compiling it again, with support for all languages.

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8878
Location: Perth, Western Australia

PostPosted: Thu 10 Jan 2019, 21:29    Post subject:  

EasyOS version 0.9.18 is released, see blog announcement:

http://bkhome.org/news/201901/easyos-0918-with-german-build.html

The really exciting thing is that there is a German build, ready-to-go (almost) fully translated.

Earlier post, with photos:

http://bkhome.org/news/201901/non-english-builds-of-easyos.html

Download:

http://distro.ibiblio.org/easyos/amd64/releases/pyro/0.9.18/

Stay tuned, more languages expected very soon.

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
Sage

Joined: 04 Oct 2005
Posts: 5446
Location: GB

PostPosted: Fri 11 Jan 2019, 08:22    Post subject:  

Thanks for the .iso!
It's not the German, or other, versions that are of concern but the alleged 'English' variety with all the American allusions and defaults, not least the locales - most would be happy to see Perth/Oz as defaults, recognising the talents of the inventor! Not as if the Yanks invented computers or coding, even....
Babbage, Ada, Turing, Flowers, & co...
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8878
Location: Perth, Western Australia

PostPosted: Fri 11 Jan 2019, 20:35    Post subject:  

A Portuguese (pt) build of EasyOS 0.9.18, see blog post:

http://bkhome.org/news/201901/easyos-0918-portuguese-build.html

Robert (forum member robwoj44) has expressed an interest in doing some pt translating. He explained that he doesn't come to the Puppy Forum much these days, but it is great that he will have some input.

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
Billtoo


Joined: 07 Apr 2009
Posts: 3680
Location: Ontario Canada

PostPosted: Fri 11 Jan 2019, 20:38    Post subject: EasyOS Pyro 0.9.18, January 11, 2019  

.
I downloaded easy-0.9.18-de-amd64.img.gz and easydd, I used the command
"sudo sh easydd easy-0.9.18-de-amd64.img.gz" (from Manjaro).
Drive a: is the hard drive, and I thought the flash drive would be drive b:
(Sandisk Ultra usb 3.0) but it turned out that drive b: was the empty
SD card reader and the flash drive was drive c:
I installed to drive c:, when easy booted drive c: had become drive b:

On first boot I changed to U.S. english, saw a message that it would be
english after rebooting and it was.

I think I'll give easy a rest for a few releases and give it another try
at that point.

Thanks.
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8878
Location: Perth, Western Australia

PostPosted: Sat 12 Jan 2019, 00:22    Post subject: Re: EasyOS Pyro 0.9.18, January 11, 2019  

Billtoo wrote:
.
I downloaded easy-0.9.18-de-amd64.img.gz and easydd, I used the command
"sudo sh easydd easy-0.9.18-de-amd64.img.gz" (from Manjaro).
Drive a: is the hard drive, and I thought the flash drive would be drive b:
(Sandisk Ultra usb 3.0) but it turned out that drive b: was the empty
SD card reader and the flash drive was drive c:
I installed to drive c:, when easy booted drive c: had become drive b:

On first boot I changed to U.S. english, saw a message that it would be
english after rebooting and it was.

I think I'll give easy a rest for a few releases and give it another try
at that point.

Thanks.


Thanks for all the testing that you have done.

I want to bring out version 1.0, maybe in a couple of weeks.

Then I also will give it a rest.

My Purism Librem 5 phone dev-kit arrived recently, and I am keen to play with it. So will put EasyOS on the back-burner for awhile.

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8878
Location: Perth, Western Australia

PostPosted: Sat 12 Jan 2019, 00:29    Post subject:  

Here is a French build:

http://bkhome.org/news/201901/easyos-0918-french-build.html

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
petihar


Joined: 09 Apr 2007
Posts: 362

PostPosted: Sat 12 Jan 2019, 12:01    Post subject:  

Quote:
Hi guys,
Just to let you know, in case anyone is interested. There is a French build of EasyOS, ready-to-go


Super nice! Thank you Barry, I'll be quick to test it.
Very Happy petihar
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8878
Location: Perth, Western Australia

PostPosted: Sun 13 Jan 2019, 06:23    Post subject:  

And more!

http://bkhome.org/news/201901/easyos-0918-polish-build.html

http://bkhome.org/news/201901/easyos-0918-spanish-build.html

These have UI translation for SeaMonkey, but it has to be manually enabled. The Mozilla developers have made it more difficult to get the language translation extension to be enabled automatically. Will keep trying.

I you start "seamonkey" in a terminal, you will see the message:

Quote:
Warn: Disabling foreign installed addon langpack-pl@seamonkey.mozilla.org

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
Rodney Byne

Joined: 31 Jan 2014
Posts: 198

PostPosted: Sun 13 Jan 2019, 12:31    Post subject: Desktop container  

In trying to get accustomed to v18, it seems like the desktop container
system needs more work.

Default SfsGet delivers Firefox ok.
In container system, SfsGet looks as if it wants to download Firefox
while showing the orange % progress banner, but doesn't actually install.
Same thing with Chromium. Is this right or wrong?
If SfsGet is supposed to provide working s/w in this mode, then it isn't doing its job.

Also the package manager downloads a critically out of date Firefox 42.9esr.
Regards.
Back to top
View user's profile Send private message 
Gyle

Joined: 23 Dec 2007
Posts: 113
Location: Fr

PostPosted: Sun 13 Jan 2019, 16:22    Post subject:  

For those who are concerned:
I just discovered some comments from BK on a thread specialized in translations

1 I destroyed the translation files, I made in a hurry just to bring help, so as not to interfere with musher0's, just in case, hoping for normal relations in the near future between him and BK. He is far better than me, a true bilingual, I sometimes read his posts.

2 Between musher0, belham2, and myself there is no relationship at all, Edit : I'm totally unknown to each other,Edit : I have never communicated with each other in any way, so there can be no rivalry, discussion, dispute of any kind in the past or present. They can confirm this.
EDIT: ooops ! sorry for belham2 and musher0, I don't know nothing about their relations

3 Not too seriously, when there's somewhere a mess, there's always a messiah.

Good night, janv 13, 21:12, it's time for me to drill in the political messes.

Last edited by Gyle on Mon 14 Jan 2019, 13:59; edited 1 time in total
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 84 of 102 [1517 Posts]   Goto page: Previous 1, 2, 3, ..., 82, 83, 84, 85, 86, ..., 100, 101, 102 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1670s ][ Queries: 13 (0.0885s) ][ GZIP on ]