OESF Portables Forum

Model Specific Forums => Cosmo Communicator => Cosmo Communicator - Linux => Topic started by: cam1965 on July 21, 2021, 01:44:31 pm

Title: Finally installed Libreoffice in UB PORTS ( Ubuntu touch )
Post by: cam1965 on July 21, 2021, 01:44:31 pm
Hi.
Libreoffice is only  installed with ssh.
Please see :
https://docs.ubports.com/en/latest/userguide/advanceduse/ssh.html
https://askubuntu.com/questions/866156/how-to-install-libreoffice-on-ubuntu-touch

After enabling ssh, I have installed the container with libertine and then libreoffice.
You need to restart ubuntu touch after all.
But libreoffice  is too small to read.
I will attach photos.
Good luck !
 

 
Title: Re: Finally installed Libreoffice in UB PORTS ( Ubuntu touch )
Post by: MonkeyControl on July 21, 2021, 03:00:49 pm
Nice one, thanks for sharing. 
That's my job for the weekend sorted. 
Well done Galo!!! 
 :)
Title: Re: Finally installed Libreoffice in UB PORTS ( Ubuntu touch )
Post by: cam1965 on July 21, 2021, 03:29:31 pm
Nice one, thanks for sharing. 
That's my job for the weekend sorted. 
Well done Galo!!! 
 :)

OK.
To increase the dpi

create a file . Xdefaults inside ~/.local/share/libertine-container/user-data/container-name/
and set and set Xft.dpi:300 inside it .

cd ~/.local/share/libertine-container/user-data/container-name/      change container-name  with your container name.

touch .Xdefaults
echo 'Xft.dpi:300' >> .Xdefaults

Libreoffice writer has a bug.
The first time you start the app, you can touch the menu items correctly. ( at least most of them )
After the second time you cannot access the menu and other functions correctly.
You may have to delete your profile always before start libreoffice writer.
cd .local/share/libertine-container/user-data/xenial/.config/libreoffice/4
rm -rf user

( xenial is the name of my container )

The calc and other libreoffice app are working correctly. ( for most icons ).

After changing the dpi, some icons will not work correctly because the position is changed, for example font color.


Good luck !
Title: Re: Finally installed Libreoffice in UB PORTS ( Ubuntu touch )
Post by: ArchiMark on July 21, 2021, 09:14:05 pm
Very cool!

How do you like UB Ports vs the other linux options available to us?

Mark
Title: Re: Finally installed Libreoffice in UB PORTS ( Ubuntu touch )
Post by: cam1965 on July 22, 2021, 06:42:04 am
Very cool!

How do you like UB Ports vs the other linux options available to us?

Mark

UB Ports is a good operating system. The interface is very good. Usability too. It's very polished. But Debian for me is better: much more apps and more versatile. But I must admit I use Android most of the time, because the camera works with all apps and I can also use my banking app. Android is also based on Linux.
Title: Re: Finally installed Libreoffice in UB PORTS ( Ubuntu touch )
Post by: ArchiMark on July 24, 2021, 08:55:55 pm
Very cool!

How do you like UB Ports vs the other linux options available to us?

Mark

UB Ports is a good operating system. The interface is very good. Usability too. It's very polished. But Debian for me is better: much more apps and more versatile. But I must admit I use Android most of the time, because the camera works with all apps and I can also use my banking app. Android is also based on Linux.

Thank you for your comments. Very helpful.

Title: Re: Finally installed Libreoffice in UB PORTS ( Ubuntu touch )
Post by: MonkeyControl on July 27, 2021, 10:37:51 pm
Hi.
Libreoffice is only  installed with ssh.
Please see :
https://docs.ubports.com/en/latest/userguide/advanceduse/ssh.html
https://askubuntu.com/questions/866156/how-to-install-libreoffice-on-ubuntu-touch
Super, I've just got around to setting up ssh and a Libertine container and installed LibreOffice, pretty painless following those instructions. 

OK.
To increase the dpi

create a file . Xdefaults inside ~/.local/share/libertine-container/user-data/container-name/
and set and set Xft.dpi:300 inside it .

cd ~/.local/share/libertine-container/user-data/container-name/      change container-name  with your container name.

touch .Xdefaults
echo 'Xft.dpi:300' >> .Xdefaults
Tweaked the DPI as per your further instruction, just had a quick play with Calc, looks pretty good. 

Even though I have previously stated, (convinced myself), that I don't need any 'Office' apps, this will be very useful. 

Thanks for sharing, very much appreciated. 
Title: Re: Finally installed Libreoffice in UB PORTS ( Ubuntu touch )
Post by: MonkeyControl on July 27, 2021, 10:53:32 pm
How do you like UB Ports vs the other linux options available to us?
Personally, I initially backed the Cosmo for the possibility of SailFish, to replace my Jolla.  I think different people have different reasons.  Since it arrived I've tried Android, Debian, and settled on UT, (for the time being anyway :) ). 
It's nice to have a choice isn't it. 
Title: Re: Finally installed Libreoffice in UB PORTS ( Ubuntu touch )
Post by: dragon788 on September 29, 2021, 12:39:33 pm
I'd suggest trying setting the DPI to 192 for the best results, it seems to work in most apps I've used without breaking the UI.