BionicDog (updated: 2018-06-04)

A home for all kinds of Puppy related projects
Message
Author
User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#61 Post by fredx181 »

ITSMERSH wrote:That's also some new fact to me. Function sed can be used on a binary?

Where can I download a full package of DE language files? Is there any?
I was surprised also that sed can do that, but yes, it works.

I must say that I can't figure out really how setting the language in Ubuntu works, did some experiments and it works, although very incomplete, e.g. leafpad, pcmanfm, mtpaint are translated and synaptic not.
Also I tried hydrogen (see pic) and qtractor and these are well translated.
So it will always be a mix of english and german, I'm afraid.
Tell me if you still interested and I'll try to explain (it's a bit of a hassle).

@wiak, Re: Cast2Chrome
Was developed and tested on XenialDog64, and tested on XenialPup32, but will certainly also work on Bionic...

You might need to tweek the organisation of the deb packages, Fred - I tend to just throw these deb constructions together.
Thanks, your deb packages look fine, I'll add to repositories today or tomorrow.

Fred
Attachments
hydrogen in german.jpg
hydrogen translated in german
(68.95 KiB) Downloaded 1700 times

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#62 Post by wiak »

Hi Fred,

Hold on uploading that cast2chrome first version. It works, but has a couple of not obvious errors that don't stop it basically working. I'm also adding a save youtube download option. New version will be posted some time tomorrow.

By the way, were you able to try it?

wiak

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#63 Post by fredx181 »

Hi wiak, ok, I'll wait for your new version.
By the way, were you able to try it?
I can't, my TV is from the 18th century (analog only, I guess) and can't afford buying a new one atm :cry:
Just curious (but I'm a noob with these things), what is required to have, e,g. hdmi connection, or/and.. ?

Fred

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#64 Post by wiak »

fredx181 wrote:Hi wiak, ok, I'll wait for your new version.
By the way, were you able to try it?
I can't, my TV is from the 18th century (analog only, I guess) and can't afford buying a new one atm :cry:
Just curious (but I'm a noob with these things), what is required to have, e,g. hdmi connection, or/and.. ?

Fred
Just HDMI (input to tv) and a Google chromecast dongle I think
Last edited by wiak on Tue 08 May 2018, 22:12, edited 1 time in total.

User avatar
shelezyaka
Posts: 52
Joined: Tue 14 Feb 2012, 13:57
Location: Ukrainian

#65 Post by shelezyaka »

What you need to install or change in the assembly to go to another location. In my case, the Russian.
I put the localization in the modules, but it did not change anything.

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#66 Post by rufwoof »

What you need to install or change in the assembly to go to another location. In my case, the Russian.
I put the localization in the modules, but it did not change anything.
By "put in the localisations" did you mean you loaded the locales sfs as on the first page
http://www.murga-linux.com/puppy/viewto ... 363#989363
i.e.
https://github.com/fredx181/bionicdog/r ... 1.squashfs
??

User avatar
shelezyaka
Posts: 52
Joined: Tue 14 Feb 2012, 13:57
Location: Ukrainian

#67 Post by shelezyaka »

Yes, I downloaded the local sfs from the first page. Nothing has changed. There is no way to install another language in the assembly. Do you need a shooselocale switch or something else?

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#68 Post by fredx181 »

shelezyaka wrote:Yes, I downloaded the local sfs from the first page. Nothing has changed. There is no way to install another language in the assembly. Do you need a shooselocale switch or something else?
Hi shelezyaka, I'll try to explain what to do later today when I get home again.

Fred

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#69 Post by rufwoof »

I'd guess (not running BionicDog myself) it would be something like : regenerate supported locales using

Code: Select all

dpkg-reconfigure locales
and then something like

Code: Select all

update-locale LANG=ru_RU.UTF-8
You might also have to

Code: Select all

dpkg-reconfigure tzdata

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#70 Post by Flash »

wiak wrote:@Flash

When you get to that # command line prompt take a look at the X log:

/var/log/Xorg.0.log

You an save a copy using:

cat /var/log/Xlog.0.log

and post it here for analysis.

We need to see what graphics driver your machine needs. Might also need some dmesg video-related or graphics-related info that identifies your graphics card. You probably just need to apt install appropriate xserver driver for your card. Should be able to configure WiFi or Ethernet internet connection from that command prompt. Not sure if dogs contain command line WiFi utility - I'm out and on android tablet at the moment.

Command for trying to start X is startx

wiak
I couldn't get in. It wanted a login and I forgot how or something.

By the way, notice the improvement in the image that an expensive lens will give you. This picture was taken hand-held in P(rogram) mode, iso 1600. The previous picture was taken with a high-end point-and-shoot camera with anti-shake. I think the iso was 400.
Attachments
Bionic Dog boot fail 2.jpg
(83.46 KiB) Downloaded 1469 times

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#71 Post by rcrsn51 »

@Flash: On a Puppy version that works, please identify the video card and the driver being loaded.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#72 Post by Flash »

This one's working fine:
VIDEO REPORT: UPupBB, version 18.05

Chip description:
VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Richland [Radeon HD 8470D]

Requested by /etc/X11/xorg.conf:
Modules requested to be loaded: dbe

Probing Xorg startup log file (/var/log/Xorg.0.log):
Driver loaded (and currently in use): radeon
Loaded modules: ati dbe dri2 evdev fb fbdevhw glamoregl glx libinput ramdac

Actual rendering on monitor:
Resolution: 1600x900 pixels (423x238 millimeters)
Depth: 24 planes

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#73 Post by rcrsn51 »

This is a firmware problem with the Radeon card.

Run BionicDog again. When it stops, run: dmesg | grep -i firmware

Assuming that the machine has a wired network connection, type the following:

Code: Select all

apt-get update
apt-get install xserver-xorg-video-vesa
startx
That should boot and use the Xorg "ati" driver. (I don't know why.)

It may be good enough. But if you want the "radeon" driver instead, do the following:

1. Open a terminal
2. Type: apt-get install linux-firmware
3. Reboot
Last edited by rcrsn51 on Wed 09 May 2018, 15:44, edited 3 times in total.

User avatar
shelezyaka
Posts: 52
Joined: Tue 14 Feb 2012, 13:57
Location: Ukrainian

#74 Post by shelezyaka »

rufwoof - The execution of commands, as you suggested, did not change anything. The localization module turns out to be dead.
Attachments
ot3.jpg
(251.07 KiB) Downloaded 1464 times

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#75 Post by fredx181 »

@shelezyaka, the message you got is because the package " locales" needs to be installed first, after that you can run "dpkg-reconfigure locales"

There's more than one way to set the locale, here's how I would do it (I tested, and works with russian, but... it's very incomplete, many applications included are not translated)

First check with "losetup -a" if the locales squashfs is loaded , you should see similar as this:

Code: Select all

root@live:~# losetup -a
/dev/loop1: [2055]:9830575 (/mnt/live/mnt/sda7/bion/casper/modules/99-locales-BionicDog-2018-04-21.squashfs)
/dev/loop0: [2055]:9830703 (/mnt/live/mnt/sda7/bion/casper/01-filesystem.squashfs)
Then the following in terminal for to set to russian locale:

Code: Select all

apt-get update # if required
apt-get install locales # install locales packages
GEN="ru_RU.UTF-8 UTF-8"
sed -i "s/# $GEN/$GEN/" /etc/locale.gen
sed -i "s/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/" /etc/locale.gen
dpkg-reconfigure --frontend=noninteractive locales
update-locale LANG="ru_RU.UTF-8"
Additional you can install language packs:

Code: Select all

apt-get install language-pack-ru language-pack-gnome-ru
To apply: Exit X and type at console: logout (not startx)

The openbox menu doesn't really support locale setting, but the menu from lxpanel does (see screenshot below).
So to set to that, run from Menu > Settings > Desktop Manager and select pcmanfm + lxpanel

Hope this helps.

Fred
Attachments
lxpanel-menu_russian_locale.jpg
Menu lxpanel in russian (but not completely)
(82.89 KiB) Downloaded 1433 times

User avatar
shelezyaka
Posts: 52
Joined: Tue 14 Feb 2012, 13:57
Location: Ukrainian

#76 Post by shelezyaka »

Thanks fredx181.
I already did all this before your report. It turns out that the squashfs module of the locales is made a bit wrong. After installation through apt-get, the folder / usr / share / locale-langpack was created in which translations are located. I added missing translations. Almost everything was localized except for the menu, as you said.
No switching layouts. He installed the Xneur, he does not want to work. I'll understand further.
And even in the browser Firefox does not work the flash player on the sites of streaming video ? Youtoub works .
Attachments
capture27193.png
(156.92 KiB) Downloaded 1312 times

User avatar
shelezyaka
Posts: 52
Joined: Tue 14 Feb 2012, 13:57
Location: Ukrainian

#77 Post by shelezyaka »

Снимок
Attachments
2018-05-09-134330_1024x768_scrot.png
(223.59 KiB) Downloaded 131 times

zagreb999
Posts: 567
Joined: Fri 11 Apr 2014, 06:39
Location: Yugoslavija

wps office

#78 Post by zagreb999 »

FRED,
CAN YOU INSTALL wps office?
THANKS.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#79 Post by fredx181 »

shelezyaka wrote:I already did all this before your report. It turns out that the squashfs module of the locales is made a bit wrong. After installation through apt-get, the folder / usr / share / locale-langpack was created in which translations are located. I added missing translations.
The locale squashfs module has only the contents of /usr/share/locale (most translations of the official Ubuntu programs that are included in BionicDog (see screenshot))
Indeed to have more you need to install the language packs. You mean these should be also in the locales squashfs ? If so, yes, I will probably include these next time.
And even in the browser Firefox does not work the flash player on the sites of streaming video ? Youtoub works .
Did you install flashplayer ? Youtube doesn't need flashplayer for most video's (using HTML5).

Fred
Attachments
2018-05-09-152434_726x403_scrot.png
Programs translated for Russian in /usr/share/locale in locales squashfs module
(82.54 KiB) Downloaded 1232 times
Last edited by fredx181 on Wed 09 May 2018, 15:50, edited 2 times in total.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

Re: wps office

#80 Post by fredx181 »

zagreb999 wrote:FRED,
CAN YOU INSTALL wps office?
THANKS.
You probably mean: how to install wps office ?
Did you try installing the deb from here ?:
http://wps-community.org/download.html

Possibly useful info here:
https://askubuntu.com/questions/783927/ ... a-terminal

Fred

Post Reply