flatpak and recent filesWhy is Microsoft Word complaining about Libre Office's .odt files being corrupt?Unity launcher and panel diappears when changing text colour in libreofficehow can I create office documents without particular extension?LibreOffice 5.1 black text issue within dialogsHow to make org.kde.discover (Plasma Discover installed as FlatPak) to work with APT, Snap and FlatPak of the system?How to access a device with Arduino IDE Flatpakflatpak commands does not run on Ubuntu 16.04 LTSLibreOffice Writer: how to set a custom background color for a table cell

Mordhau grip for bludgeoning damage?

copying files with a string in their name from one folder to another

Vertical equivalent of mathclap?

Interview question: If correlation doesn't imply causation, how do you detect causation?

Solving Fizz Buzz using LINQ in C#

What´s the purpose of this diode?

Would an antimatter bullet fired from a sniper rifle even reach its target?

Adding bug screen to 3/4 PVC

If Space Shuttle flies "like a brick", why does it need the wings?

Driverless car Puzzle

Christmas party and autism

Puzzle Hunt 03: As a bat

Horizontally mirror a brainflak program

Are humans superior to machines in chess?

Where on a modern map are these areas of Ptolemy's map?

What's the difference between words "tongue" and "lingua"?

PyQGIS using selected layer from a combobox

Origin of 〜かった?

Why didn't Abraham ask the single best question?

Are we really moving at the speed of light in the time dimension?

How this DIY High-Speed Probe doesn't reflect signals?

Zoom in / Zoom out symbol

Am I being run backwards?

Should I report a security vulnerability?



flatpak and recent files


Why is Microsoft Word complaining about Libre Office's .odt files being corrupt?Unity launcher and panel diappears when changing text colour in libreofficehow can I create office documents without particular extension?LibreOffice 5.1 black text issue within dialogsHow to make org.kde.discover (Plasma Discover installed as FlatPak) to work with APT, Snap and FlatPak of the system?How to access a device with Arduino IDE Flatpakflatpak commands does not run on Ubuntu 16.04 LTSLibreOffice Writer: how to set a custom background color for a table cell






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









3

















With my flatpak version of LibreOffice (LO 5.2.5, Ubuntu 18.04), the files created or modified by LO do not appear in "Recent files" in Ubuntu.
It seems to be the same for other applications (I tested also Sublime Text which is installed via flatpak).
It is quite annoying as Ubuntu "Recent files" is often the fastist way to find the files you recently work on.
How can this behavior be corrected?










share|improve this question





















  • 1





    It can be corrected by filing a bug report with each Flatpak author. They are failing to register their activity with Gnome properly.

    – user535733
    Aug 9 at 19:53


















3

















With my flatpak version of LibreOffice (LO 5.2.5, Ubuntu 18.04), the files created or modified by LO do not appear in "Recent files" in Ubuntu.
It seems to be the same for other applications (I tested also Sublime Text which is installed via flatpak).
It is quite annoying as Ubuntu "Recent files" is often the fastist way to find the files you recently work on.
How can this behavior be corrected?










share|improve this question





















  • 1





    It can be corrected by filing a bug report with each Flatpak author. They are failing to register their activity with Gnome properly.

    – user535733
    Aug 9 at 19:53














3












3








3








With my flatpak version of LibreOffice (LO 5.2.5, Ubuntu 18.04), the files created or modified by LO do not appear in "Recent files" in Ubuntu.
It seems to be the same for other applications (I tested also Sublime Text which is installed via flatpak).
It is quite annoying as Ubuntu "Recent files" is often the fastist way to find the files you recently work on.
How can this behavior be corrected?










share|improve this question















With my flatpak version of LibreOffice (LO 5.2.5, Ubuntu 18.04), the files created or modified by LO do not appear in "Recent files" in Ubuntu.
It seems to be the same for other applications (I tested also Sublime Text which is installed via flatpak).
It is quite annoying as Ubuntu "Recent files" is often the fastist way to find the files you recently work on.
How can this behavior be corrected?







libreoffice flatpak






share|improve this question














share|improve this question











share|improve this question




share|improve this question










asked Aug 9 at 19:20









Silvain DupertuisSilvain Dupertuis

413 bronze badges




413 bronze badges










  • 1





    It can be corrected by filing a bug report with each Flatpak author. They are failing to register their activity with Gnome properly.

    – user535733
    Aug 9 at 19:53













  • 1





    It can be corrected by filing a bug report with each Flatpak author. They are failing to register their activity with Gnome properly.

    – user535733
    Aug 9 at 19:53








1




1





It can be corrected by filing a bug report with each Flatpak author. They are failing to register their activity with Gnome properly.

– user535733
Aug 9 at 19:53






It can be corrected by filing a bug report with each Flatpak author. They are failing to register their activity with Gnome properly.

– user535733
Aug 9 at 19:53











1 Answer
1






active

oldest

votes


















2


















Warning: the following is for the flatpak version of Gimp, but possibly also relevant to other flatpak apps.



The standard file used by well-behaved applications is ~/.local/share/recently-used.xbel. Unfortunately the flatpak installs keep their own copy as ~/.var/app/application/data/recently-used.xbel.



A first idea is to replace ~/.var/app/application/data/recently-used.xbel by a link to ~/.local/share/recently-used.xbel but this link is quickly replaced by a plain file.



On the other hand the ~/.var/app/application/data directory has the same organization as ~/.local/share/ and replacing it by a (soft) link to ~/.local/share/ (and possibly copying over useful stuff) did correct the problem for me.






share|improve this answer





















  • 1





    As far as I have observed, the Recent file problem concerns all applications installed with flatpak and with snap, and is linked to the sandboxing, so we need a general way of solving the problem.

    – Silvain Dupertuis
    Aug 11 at 6:37






  • 1





    @SilvainDupertuis The general way will come from the flatpak authors. If you want a flatpak fix, report the issue. By asking here you can only get work-arounds. Another annoying thing is the application-specific /tmp. Many apps communicate with others by putting the data in a /tmp file and passing the name.

    – xenoid
    Aug 11 at 7:11












  • Thanks for your comment. I have opened an issue in flatpak on github

    – Silvain Dupertuis
    Aug 12 at 16:07












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1164665%2fflatpak-and-recent-files%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown


























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









2


















Warning: the following is for the flatpak version of Gimp, but possibly also relevant to other flatpak apps.



The standard file used by well-behaved applications is ~/.local/share/recently-used.xbel. Unfortunately the flatpak installs keep their own copy as ~/.var/app/application/data/recently-used.xbel.



A first idea is to replace ~/.var/app/application/data/recently-used.xbel by a link to ~/.local/share/recently-used.xbel but this link is quickly replaced by a plain file.



On the other hand the ~/.var/app/application/data directory has the same organization as ~/.local/share/ and replacing it by a (soft) link to ~/.local/share/ (and possibly copying over useful stuff) did correct the problem for me.






share|improve this answer





















  • 1





    As far as I have observed, the Recent file problem concerns all applications installed with flatpak and with snap, and is linked to the sandboxing, so we need a general way of solving the problem.

    – Silvain Dupertuis
    Aug 11 at 6:37






  • 1





    @SilvainDupertuis The general way will come from the flatpak authors. If you want a flatpak fix, report the issue. By asking here you can only get work-arounds. Another annoying thing is the application-specific /tmp. Many apps communicate with others by putting the data in a /tmp file and passing the name.

    – xenoid
    Aug 11 at 7:11












  • Thanks for your comment. I have opened an issue in flatpak on github

    – Silvain Dupertuis
    Aug 12 at 16:07















2


















Warning: the following is for the flatpak version of Gimp, but possibly also relevant to other flatpak apps.



The standard file used by well-behaved applications is ~/.local/share/recently-used.xbel. Unfortunately the flatpak installs keep their own copy as ~/.var/app/application/data/recently-used.xbel.



A first idea is to replace ~/.var/app/application/data/recently-used.xbel by a link to ~/.local/share/recently-used.xbel but this link is quickly replaced by a plain file.



On the other hand the ~/.var/app/application/data directory has the same organization as ~/.local/share/ and replacing it by a (soft) link to ~/.local/share/ (and possibly copying over useful stuff) did correct the problem for me.






share|improve this answer





















  • 1





    As far as I have observed, the Recent file problem concerns all applications installed with flatpak and with snap, and is linked to the sandboxing, so we need a general way of solving the problem.

    – Silvain Dupertuis
    Aug 11 at 6:37






  • 1





    @SilvainDupertuis The general way will come from the flatpak authors. If you want a flatpak fix, report the issue. By asking here you can only get work-arounds. Another annoying thing is the application-specific /tmp. Many apps communicate with others by putting the data in a /tmp file and passing the name.

    – xenoid
    Aug 11 at 7:11












  • Thanks for your comment. I have opened an issue in flatpak on github

    – Silvain Dupertuis
    Aug 12 at 16:07













2














2










2









Warning: the following is for the flatpak version of Gimp, but possibly also relevant to other flatpak apps.



The standard file used by well-behaved applications is ~/.local/share/recently-used.xbel. Unfortunately the flatpak installs keep their own copy as ~/.var/app/application/data/recently-used.xbel.



A first idea is to replace ~/.var/app/application/data/recently-used.xbel by a link to ~/.local/share/recently-used.xbel but this link is quickly replaced by a plain file.



On the other hand the ~/.var/app/application/data directory has the same organization as ~/.local/share/ and replacing it by a (soft) link to ~/.local/share/ (and possibly copying over useful stuff) did correct the problem for me.






share|improve this answer














Warning: the following is for the flatpak version of Gimp, but possibly also relevant to other flatpak apps.



The standard file used by well-behaved applications is ~/.local/share/recently-used.xbel. Unfortunately the flatpak installs keep their own copy as ~/.var/app/application/data/recently-used.xbel.



A first idea is to replace ~/.var/app/application/data/recently-used.xbel by a link to ~/.local/share/recently-used.xbel but this link is quickly replaced by a plain file.



On the other hand the ~/.var/app/application/data directory has the same organization as ~/.local/share/ and replacing it by a (soft) link to ~/.local/share/ (and possibly copying over useful stuff) did correct the problem for me.







share|improve this answer













share|improve this answer




share|improve this answer










answered Aug 9 at 20:32









xenoidxenoid

2,9131 gold badge6 silver badges19 bronze badges




2,9131 gold badge6 silver badges19 bronze badges










  • 1





    As far as I have observed, the Recent file problem concerns all applications installed with flatpak and with snap, and is linked to the sandboxing, so we need a general way of solving the problem.

    – Silvain Dupertuis
    Aug 11 at 6:37






  • 1





    @SilvainDupertuis The general way will come from the flatpak authors. If you want a flatpak fix, report the issue. By asking here you can only get work-arounds. Another annoying thing is the application-specific /tmp. Many apps communicate with others by putting the data in a /tmp file and passing the name.

    – xenoid
    Aug 11 at 7:11












  • Thanks for your comment. I have opened an issue in flatpak on github

    – Silvain Dupertuis
    Aug 12 at 16:07












  • 1





    As far as I have observed, the Recent file problem concerns all applications installed with flatpak and with snap, and is linked to the sandboxing, so we need a general way of solving the problem.

    – Silvain Dupertuis
    Aug 11 at 6:37






  • 1





    @SilvainDupertuis The general way will come from the flatpak authors. If you want a flatpak fix, report the issue. By asking here you can only get work-arounds. Another annoying thing is the application-specific /tmp. Many apps communicate with others by putting the data in a /tmp file and passing the name.

    – xenoid
    Aug 11 at 7:11












  • Thanks for your comment. I have opened an issue in flatpak on github

    – Silvain Dupertuis
    Aug 12 at 16:07







1




1





As far as I have observed, the Recent file problem concerns all applications installed with flatpak and with snap, and is linked to the sandboxing, so we need a general way of solving the problem.

– Silvain Dupertuis
Aug 11 at 6:37





As far as I have observed, the Recent file problem concerns all applications installed with flatpak and with snap, and is linked to the sandboxing, so we need a general way of solving the problem.

– Silvain Dupertuis
Aug 11 at 6:37




1




1





@SilvainDupertuis The general way will come from the flatpak authors. If you want a flatpak fix, report the issue. By asking here you can only get work-arounds. Another annoying thing is the application-specific /tmp. Many apps communicate with others by putting the data in a /tmp file and passing the name.

– xenoid
Aug 11 at 7:11






@SilvainDupertuis The general way will come from the flatpak authors. If you want a flatpak fix, report the issue. By asking here you can only get work-arounds. Another annoying thing is the application-specific /tmp. Many apps communicate with others by putting the data in a /tmp file and passing the name.

– xenoid
Aug 11 at 7:11














Thanks for your comment. I have opened an issue in flatpak on github

– Silvain Dupertuis
Aug 12 at 16:07





Thanks for your comment. I have opened an issue in flatpak on github

– Silvain Dupertuis
Aug 12 at 16:07


















draft saved

draft discarded















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1164665%2fflatpak-and-recent-files%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown









Popular posts from this blog

Tamil (spriik) Luke uk diar | Nawigatjuun

Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?