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 Sun 19 Apr 2015, 10:13
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
Libreoffice 4.4.1 and other debs
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
john biles


Joined: 17 Sep 2006
Posts: 1414
Location: Australia

PostPosted: Sun 22 Mar 2015, 21:04    Post subject:  Libreoffice 4.4.1 and other debs
Subject description: Not a how to but just a bit of fun
 

Hello Everyone,
I've been running a few deb and rpm distro's lately and have installed Libreoffice 4.4.1 on them using the included Readme file once you unzip the tar.gz file.
For debian based systems the readme says to open a terminal inside the folder containing the libreoffice deb files and run the following command
sudo dpkg -i *.deb
Now Puppy 5.7 is based on ubuntu packages so what if we open a terminal inside the folder containing the libreoffice deb files and type in sudo dpkg -i *.deb inside puppy to see what happens?
Well we get an error saying /var/lib/dpkg/status can be found. Alright so dpkg must be a folder and status a file. Lets create a folder called dpkg inside the lib folder and a blank file inside the newly created dpkg folder
and run sudo dpkg -i *.deb or dpkg -i *.deb as we really don't need sudo as we are already running as root.
Oh we get another error Boo Hoo there isn't a info folder inside dpkg what are we going to do?
Lets put a info folder inside dpkg and see what happens?
Hurray the debs are extracted and libreoffice setup inside the /opt folder.
A look around the file system shows files have been created in /usr/local | /usr/lib | /usr/share
We find the .desktop files needed for the menu in /usr/local/share/applications To be safe I link the .desktop files inside to /usr/share/applications where Puppy will look for them.
I now open the terminal inside the /usr/sbin folder and run the command ./fixmenus and restart jwm to make them appear in the menu.
I click one and Libreoffice starts but we get the message /root/%U does not exist
To fix this go to /opt/libreoffice4.4/share/xdg as we need to edit all .desktop files inside and remove %U after libreoffice4.4 --writer in the exec= line
For example exec=libreoffice4.4 --writer %U becomes exec=libreoffice4.4 --writer
we have deleted %U from the line.
Now click save and do the same thing for all the other .desktop files
Again open the terminal inside the /usr/sbin folder and run the command ./fixmenus and restart jwm to make the new correct libreoffice menu options appear in the menu and you should be able to use libreoffice.

What this shows is with a little bit of fiddling around and experimenting you can get apps working in puppy from debian.

I posted this to make you experiment and not a how to install the latest version of Libreoffice from their website.
A bit of fun2.jpg
Description 
jpg

 Download 
Filename  A bit of fun2.jpg 
Filesize  240.46 KB 
Downloaded  36 Time(s) 

_________________
Legacy OS 2.1 LTS Released! Install me on a new! EXT2 Partition with 500Mb of swap and I'll be happy. Razz
Legacy OS 4 Released! Install to newer legacy hardware / early EeePC's Very Happy
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
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.0413s ][ Queries: 12 (0.0036s) ][ GZIP on ]