SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
StarOffice 8 only has their packages in .rpm format. So, i need to convert to .tgz for Slackware. I've copied the RPMS folder from the CD-ROM to /home/user/RPMS. Is there some way of just telling rpm2tgz to just convert everything in that folder to the .tgz format? I tried
/usr/bin/rmp2tgz /home/user/RMPS/*
I hoped that the "*" would just be seen as a wild card. But, nothing happens. Or, do I need to manually convert each .rpm one at a time to .tgz? That's a lot of typing with those long file names.
It would seem that I have bigger problems than just spelling problems. (You are right.. I did mis-type.) I decided to try converting just one package from rpm to tgz. The following is cut and pasted from Konsole:
After doing this, the file did not convert to .tgz. I did this about five times. If it created another version, I cannot find it, even with "Find Files/Folders"
I assumed that in order for rmp2tgz to work, I needed to su - to root. Not so...
When I was rmp2tgz as root, the files were going to root's home. So, even though I used the Find Files tool, root's home would be invisible to me since I was logged in as a user.
When I tried rpm2tgz as just user, the .tgz conversions went to user's home and are now visible.
All in all, it was hardly worth it. Though almost everything seems to work, SWriter has no ability to SAVE documents. I reinstalled, and I still cannot save. SWriter also brings up a menu when first starting "Filter Selection" that does not include any writer extensions... .txt, .swt, etc. I guess I'm going to have to figure out how to uninstall this mess.
Did you try running StarWriter as root? It might be a permissions issue.
I had a similar problem with Sunbird calendar. A user couldn't create a calendar or any events, but root could. So it was a premissions thing - users couldn't write to the directory that Sunbird was saving stuff in.
root@localhost:~# /opt/staroffice8/program/swriter
/opt/staroffice8/program/soffice.bin X11 error: Can't open display:
Set DISPLAY environment variable, use -display option
or check permissions of your X-Server
(See "man X" resp. "man xhost" for details)
root@localhost:~#
I was logged in as a regular user and tried this.
I also tried "man x" but there were no entries for man x.
I tried man xhost and there are man pages. I tried
xhost +
to try to let everyone ( me and root) access the xserver. It was unable to open.
As your normal user (the one you logged into X-window as), type xhost +localhost. Then su - root and then export DISPLAY=:0.0
Then try starting swriter again.
On a different note - try downloading the openoffice.org slackbuild from www.slackbuilds.org and make changes to adapt it from openoffice to staroffice (a little search/replace) - then use that one to generate your own Slackware build .tgz. That should do the trick
I did as you said. But, when I started SWriter, it's still giving me the same issues...
It refuses to Save...
The list of formats available to me don't seem to include any text-based ones. I'm given choices like RTF (StarOffice Calc), Star Math 3.0, etc. But, no MS Word, Lotus word, or anything else like this. I've successfully used this on a different pc with other flavors of Linux. But, I guess that SWriter might not be compatible with Slackware 10.2 or somehting got messed up during rpm2tgz.
I'm not sure if I should post this here or if this should be a new thread.
To remove StarOffice, can I just go to /opt where SO installed itself and then just DELETE the SO folder, then manually edit the LAUNCH Menu. Or will I break something?
Actualy Slackware has rpm. I installed my OpenOffice rpm packages using rpm -i whateverpackage.rpm -nodeps For now everything works fine. The downside is you cannot use rpm -e to uninstall :-)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.