Author Topic: Finally installed Libreoffice in UB PORTS ( Ubuntu touch )  (Read 715 times)

cam1965

  • Sr. Member
  • ****
  • Posts: 333
    • View Profile
    • http://
Finally installed Libreoffice in UB PORTS ( Ubuntu touch )
« 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 !
 

 
« Last Edit: July 21, 2021, 01:56:37 pm by cam1965 »

MonkeyControl

  • Full Member
  • ***
  • Posts: 105
    • View Profile
    • http://
Re: Finally installed Libreoffice in UB PORTS ( Ubuntu touch )
« Reply #1 on: July 21, 2021, 03:00:49 pm »
Nice one, thanks for sharing. 
That's my job for the weekend sorted. 
Well done Galo!!! 
 :)
« Last Edit: July 21, 2021, 11:11:15 pm by MonkeyControl »

cam1965

  • Sr. Member
  • ****
  • Posts: 333
    • View Profile
    • http://
Re: Finally installed Libreoffice in UB PORTS ( Ubuntu touch )
« Reply #2 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 !
« Last Edit: July 21, 2021, 03:56:11 pm by cam1965 »

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1809
    • View Profile
Re: Finally installed Libreoffice in UB PORTS ( Ubuntu touch )
« Reply #3 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
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

cam1965

  • Sr. Member
  • ****
  • Posts: 333
    • View Profile
    • http://
Re: Finally installed Libreoffice in UB PORTS ( Ubuntu touch )
« Reply #4 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.

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1809
    • View Profile
Re: Finally installed Libreoffice in UB PORTS ( Ubuntu touch )
« Reply #5 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.

Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

MonkeyControl

  • Full Member
  • ***
  • Posts: 105
    • View Profile
    • http://
Re: Finally installed Libreoffice in UB PORTS ( Ubuntu touch )
« Reply #6 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. 
« Last Edit: July 27, 2021, 10:39:39 pm by MonkeyControl »

MonkeyControl

  • Full Member
  • ***
  • Posts: 105
    • View Profile
    • http://
Re: Finally installed Libreoffice in UB PORTS ( Ubuntu touch )
« Reply #7 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. 

dragon788

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Finally installed Libreoffice in UB PORTS ( Ubuntu touch )
« Reply #8 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.