LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-25-2016, 04:16 PM   #1
girvinh
Member
 
Registered: Mar 2011
Distribution: Slackware
Posts: 63

Rep: Reputation: 3
Xfce4 and LibreOffice 5 binary will not restore sessions


Greetings,

This is not exactly a Slackware problem, but maybe someone has seen it and has a solution.

I am running Slackware Linux 14.1, Xfce 4, and Libreoffice 5.0.6.3 (a repackaged binary .rpm download from the LibreOffice (LO) website).

I prefer to keep several oft-used LO files open all the time. These files are open when I shut down the Xfce session. When I start the next session, LO will not autoload these files and in fact will not run at all. When I then start LO manually from the desktop icon, which uses the LO ".desktop" file, these files are opened. I created a log of the Xfce output from the startup, which included the startup of LO5 and got the following snippet:

...

LibreOffice 5.0.6.3 490fc03b25318460cfc54456516ea2519c11d1aa

Unknown option: --session=2c07016df-92b0-47a4-8398-8d806cdb3d0c

Usage: soffice [options] [documents...]

<a list of all the valid options, of which --session= is not one of them.>

I am not an Xfce expert, so I do not know exactly what is going on here, but it looks like LO changed (this worked with LO 3.x) and no longer processes the --session= option, if indeed this is the root problem. Also, OpenOffice 4.1.2 does not exhibit this problem. The working LO ".desktop" file has:

Exec=libreoffice5.0 %U

I am not sure what %U translates to, but it works where "--session=" does not.

BTW, I do have "Save session for future logins." checked in the Xfce logout dialog. Just for grins, I unchecked it, but nothing changed.

Thanks.
Girvin Herr
 
Old 07-27-2016, 01:30 AM   #2
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Xfce4 and LibreOffice 5 binary will not restore sessions

IIRC there's an other place in settings to restore your session. Unfortunately, no further information since I do not use xfce, sorry.
 
Old 07-30-2016, 05:18 AM   #3
duncan_roe
Member
 
Registered: Nov 2008
Posts: 38

Rep: Reputation: 5
If you start LibreOffice without any arguments, it will present you with a screen of your most recent sessions. Is that any help?
 
Old 08-19-2016, 02:06 PM   #4
girvinh
Member
 
Registered: Mar 2011
Distribution: Slackware
Posts: 63

Original Poster
Rep: Reputation: 3
Yes, that would work as you describe, but that is not what I am trying to accomplish. I want LO to restore the files I had open when I last shut down. I am currently trying to build the same LibreOffice (LO) version from source code to see if that would correct the problem. It is more time consuming than building a Slack package from the LO binary (rpms), but if it would fix the problem, it may be worth it. In the meantime, I am using Apache OpenOffice (AOO) for my documents and only running LO when I need to use the Base Report Builder, which AOO does not have. AOO does restore my last open files as it should.

Thanks for the help.
Girvin Herr
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
restore dropped ssh and relative programm sessions ut0ugh1 Linux - Newbie 2 02-13-2016 06:26 AM
Libreoffice missing menus in XFCE4 alleyoopster Linux - Desktop 7 09-11-2015 05:35 AM
[SOLVED] Libreoffice can't start on Xfce4 Slackware 14.1 glats Slackware 5 01-07-2015 09:31 AM
Slackware 14.1 + XFCE4 - xfce4-notifyd and volume controls Freaksta Slackware 1 08-10-2014 10:00 AM
upgrade to slackware 12.2 + xfce4.6 (xfce4-power-manager doesn't work) zux Slackware 4 04-22-2009 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration