Timeshift & Similar Solutions - Safeguard & Recover Your Linux

penguinator

New Member
Thanks for the fast reply!

Yes, in that case, I do have polkit installed, and it's working just fine, because what you described is exactly what happens when Timeshift is started.

But even so, now that Timeshift is running as root, if one clicks Browse -- presumably, it's 'trying' to open pcmanfm, to also run as root, but the file manager fails to start.

I don't mean it fails to start as root, I mean -- it completely fails to start in any mode.

I should say, other Bodhi users are being (and have been, for some time) frustrated by the same problem -- everyone wants to be able to run Timeshift (properly, of course!) and there is no alternative, that I know of, that's compatible with pcmanfm.
 


wizardfromoz

Super Moderator
Staff member
Gold Supporter
G'day @penguinator I am just getting human over my 3rd morning coffee :)

When you get a chance give me an update over whether the above link has worked, or else I have an alternative.

I have to go for 30 minutes then will be back.

Cheers

Wizard
 

penguinator

New Member
G'day @penguinator ... When you get a chance give me an update over whether the above link has worked, or else I have an alternative.
Hi Wiz, thanks for the follow-up! I just got back from errands, and now it's half-past midnight on Saturday, and not best to put new files into the OS at this hour. Should be able to resume on Sunday afternoon, or evening. I'm also anxious to see Timeshift running properly on my system. But, the screenshot the Bodhi developer sent did look pretty convincing.
Thanks again!
 

wizardfromoz

Super Moderator
Staff member
Gold Supporter
I'll stay tuned. :)

If you get a chance tomorrow, slip on over to Member Introductions and tell us a bit of the Penguinator story.

You will get a warm welcome from The Gang

Cheers

Wiz
 

penguinator

New Member
Over on the thread in the Bodhi forum (thread link to there in this thread, is in a prior post) trying to figure out the correct entries (and even the correct location!) for a mimeapps.list file. Browse is 'sort of working' with the developer's suggestion, but after it does, the Enlightenment photo-editing program keeps trying to open, a few moments later. Another forum member suggested an alternative directory for the mimeapps file, but if I'm in the right directory, there's already a file there with the same name, but with different contents than what the developer suggested, for pcmanfm. So, were are still getting it sorted, waiting for either the other forum member or the developer to reply.

Pcmanfm has for the first time opened with the Browse button, but we are hoping to prevent the photo-editing program from (also) displaying a Snapshot list -- where we are, right now.

Wiz, if you have interest in seeing what's going on, maybe a fresh pair of eyes will spot the problem right away? On second thought, you've got enough going on over here. If they can't sort it out, I'll bring it to Linux.org. Which forum would be appropriate for the kind of problem described in this post's first paragraph?
 
Last edited:

70 Tango Charlie

Gold Member
Gold Supporter
Hello everyone,
I realize that this does not apply to Bodhi.
What I will say is: Time
I'll stay tuned. :)

If you get a chance tomorrow, slip on over to Member Introductions and tell us a bit of the Penguinator story.

You will get a warm welcome from The Gang

Cheers

Wiz
Hello Wiz,
I would like to put my two cents worth in; in favor of Timeshift.
I'm running LM 19.2 and been saving once a day on Timeshift for at least a year.
I've never had to use it so I decided today to do a Restore just to see how well it might work.
I'll tell everyone - "IT WORKED EXTREMELY WELL" - from the housetops!!! It was magnificent.
Old Geezer
TC
 

70 Tango Charlie

Gold Member
Gold Supporter
Sorry about the mess I've made above.
TC
 

wizardfromoz

Super Moderator
Staff member
Gold Supporter
Music to my ears, Charlie - although I cannot take any credit for it, it is Tony George's baby. He put it out around July 2014, I found it in late September 2014 and have been an advocate for it ever since.

@penguinator

I took a different approach to try to duplicate your circumstances a little, and it works.

I have had Bodhi before but it is not in my stable currently.

Instead I took the Linux Mint 19.2 'Tina' MATE I am writing from, and installed PCManFm on it.

I then opened it as Root from Terminal

Code:
sudo pcmanfm
Once open, I then tapped the "Up arrow" which says go to Parent a couple of times to get to the File System view.

Then opened Root folder. Path I took was (use Ctrl-h to show hidden files and directories if need be)

/root/.local/share/applications

In Root folder I created an empty file and named it

defaults.list

Content is simply

Code:
inode/directory=pcmanfm.desktop
x-directory/normal=pcmanfm.desktop
Saved that and exited the file browser.

Launched Timeshift, chose a snapshot and Browse, and voila.

Works fine.

Maybe something similar will work for you, let me know.

Cheers

Wizard
 

penguinator

New Member
Thanks, Wiz!
I'm finally getting back to this. As an update, the Bodhi developer (@rbtylee) had, as his first suggestion, something very similar to yours, when he posted:
I created a mimeapps.list file for the root account at /root/.config , containing:
Code:
[Default Applications]
inode/directory=pcmanfm.desktop
On his system it worked fine, but on mine (and another user, also trying to get pcmanfm's Browse working correctly), while (finally!) causing the pcmanfm to display, after a slight pause, ephoto began to pop-up, again, at intervals.

In his last post, the Bodhi developer says this behavior did not occur on his system. My suspicion is that my pressing the <Enter> key after .desktop may have left something there, that shouldn't be present. So, I'll 'clean up' that file and save it again.

Next, if still a problem, I'll enter what you gave me, in the location you gave, and see what happens then. By now, we're pretty sure this is a 'mime' problem, and not a pcmanfm problem.
I think this will be resolved, sooner or later ...
Thanks!
Ron
 

wizardfromoz

Super Moderator
Staff member
Gold Supporter
No worries, Ron :)

There's Bodhi 5.0.0 I can download from SourceForge, if we need to, just let me know if that is your version.

Which forum would be appropriate for the kind of problem described in this post's first paragraph?
If the focus remains primarily on getting that Browse feature functioning in Timeshift, then we can keep it here.

If we are looking to solve wider problems with file associations and how pcmanfm deals with them, then Desktop/X or General Linux will be the go ... possibly Desktop/X.

I have to get up and Posted a Thread for a well-known Member on running multiple Linux sharing the same Home partition, but will be free around my weekend again possibly.

Cheers

Chris.
 

Members online


Latest posts

Top