I am new to OpenSuse Tumbleweed XFCE & Have a few Questions?

  I am new to OpenSuse Tumbleweed XFCE and have a few questions I can seem to find the answer to online searching for them, or here for that matter. 

1st Question : I have setup Snapper to backup Root & followed the OpenSuse Wiki to create a home folder backup which shows up when I go into yast snapshots where I can delete or create home folder snapshots. As for restoring root I already know how to do that, sudo snapper rollback # of the Snapshot after listing it of course. And I know how to delete multiple root and home snapshots, sudo snapper delete 1-5 for example for root and sudo snapper -c home delete 1-5 for example for home. The part that I am unclear about is how to restore the home folder snapshot. I get you can choose show changes and select things there but that seems only good for changes, I’m talking about restoring a snapshot that I made before changes that is “single”. Any ideas? I’m coming from Arch and switched to OpenSuse Tumbleweed a week or so ago. As a test I deleted the home folder completely, only way to get it back was by copying it over completely as root from the snapshot and chown all the files & folders at once. Is there an easier better way to completely restore a home folder snapshot all at once?

2nd Question : This is a question that I have asked before using Debian, Ubuntu, Arch, and that is when I connect my Android phone and select the file transfer transfer so it will show up in Thunar, then I select the folders on the phone the thumbnails to not show up. It seems that most of the fixes mentioned online are to install tumbler-online-extras but that package does not appear to be available for OpenSuse Tumbleweed. I installed Nautilus and when I go to the pictures directory on my Android phone it does show the thumbnails. I also have already check to make sure the preferences would show them correct with Always set and Unlimited for the file sizes to show the thumbnails. I checked to make sure Tumbler was installed and ffmpegthumbnailer which they were, also tried installing some other files but it just refuses to show the thumbnails from the Android phone using Thunar. While I could use Nautilus, the one thing I have found so far is that it seems rather buggy on OpenSuse Tumbleweed and most of the custom scripts command simply just don’t work that I have found online. I have created a simple solution for now where I wrote a little script that will open on one side of the screen Thunar and the other Nautilus in the directory where my Anrdroid phone pictures are so I can view them and copy them over, but I was hoping I just just use Thunar to view them with. I can also view them with Gthumb, Shotwell and Nomacs and such without using Nautilus but it seems they all want to import the whole folders to my drive rather than letting me view them first.

3rd Question : I know you can run zypper dup and are not supposed to run zypper up on OpenSuse Tumbleweed. Is running gpk-update-viewer enough to keep everything up to date without having to run zypper dup? I seem to find no difference between running one or the other except running gpk-update-viewer as a shortcut doesn’t ask for root password and seems much easier.

Anyway, sorry so many questions. I can say that I have no plans on switching distro’s again, so please don’t take my questions as complaints, some of these are issues I simply don’t know and or have had on other distro’s also. Other than what I mentioned here I have had no problems at all getting everything I want running fine, and to be honest way faster than any distro I have ever used before.

Thanks in advance for any advice or information, sorry such a long first post to start with, I figured better to put it all in one than to spread it all around.

Create writable clone of this snapshot and modify /etc/fstab to mount it instead of the default @/home subvolume.

snapper -c home create --read-write --from $SNAPSHOT_NUMBER

gpk-update-viewer is frontend to PackageKit and PackageKit zypper backend does the equivalent of zypper dup on Tumbleweed. The main problem is the lack of interactive problem resolution so PackageKit is bound to fail sooner or later (unfortunately even without third-party repositories Tumbleweed regularly hits dependency issues that cannot be resolved unattended).

On this forum we really prefer one topic - one question, with suitable meaningful title. “Have a few questions” is almost as useless as you can get it to attract attention of others.

1 Like

My opinion, just use zypper dup. zypper dup does a full upgrade and not just an update, which packagekit does normally which can break the system.

1 Like

Okay Thank You, I wasn’t sure about the multi-question, I’ll do that next time. Sorry.
Ah, I see, THANK YOU! That makes sense, I will do that with the writable clone, sounds much easier.

Yeah, I wondered about that. So I will run zypper dup from now on,.

Thanks again, that was very informative and helpful.

It cannot be used on Tumbleweed.

1 Like

Interesting (just shows I’ve never used Yast for updates :+1: )

So then, what about the Software Update icon/widget in the System Tray on KDE Panel ?
I’ve compared the updates it offers to zypper dup and the two lists are absolutely identical?

1 Like

@Bobcat-Songwriter

What do you mean does the Script more as if you run zypper dup?
Running such a Script in background and you will not get any errors…

See the Mesa problem in Packman…

When running zypper dup you will see what is going on and can do something.

2 Likes

You do not need zypper lu or zypper ref…

Only zypper dup, thats list the packages and refreshes the Repos if necessary.

2 Likes

You don’t have to type all of that stuff in. Just a simple “sudo zypper dup” will do all you need. You can even create an alias for it in .bashrc such as this.
alias zup=‘sudo zypper dup’

1 Like

This script is very odd. It can’t be used on Leap due to zypper dup, and runs some extraneous things on TW. zypper lu lists updates that would be applied by zypper up. TW doesn’t use patches. As others said, only zypper dup is required.

Upgrades once a week is what I recommend, in particular I do on Fridays when Dominique posts his weekly review on factory list.

It is frontend to PackageKit. Further explanation I already provided in this topic.

2 Likes

As zypper lu will show you what an eventual zyyper up will do, it is of no use in Tumbleweed as one never should do a zypper up in Tumbleweed.

And about the zypper ref, that is normally superfluous because zypper dup (like all the zypper commands that use the repos) will do a refresh themselves if it was not done for more then say five minutes. And in this case it is also in the wrong place because a zypper lu would already need refreshed repos to be of any use.

Thus, just use zypper dup (oh, you could add the gobal option -vvv when you want to see ore verbose information)

Try understanding the man page

man zypper
2 Likes

Is there an “AWARD BUTTON SOMEWHERE?”. Thank YOU! Perhaps I need to delete those post if I can, I’m new but I will try. I didn’t even think about the possibility of that command pulling from Leap.

Thanks again.

Zypper is awesome and so powerful. Just stay away from any scripts or gui front ends that run unattended. They can cause issues, because you are not sitting there answering the choices when they pop up. Just make sure you read the choices and understand what they are telling you before you answer them.

2 Likes

I removed some post of mine in this thread for bad information that I thought was good because it was just pointed out to me that it was incorrect. Apologies to anyone who read that and also many Thanks to those who informed me of the better way of updating Tumbleweed.

1 Like

Always remember that Tumbleweed and Leap may look similar, but they are very different. :grinning:

Tumbleweed is like running Arch, but it doesn’t break as often. We don’t have to worry about the Manjaro devs breaking things. :rofl:

Oh yeah, and Arch doesn’t have YAST.

1 Like

That is not very nice of you. We now probably have a thread with a complete ununderstandable discussion. :frowning:

2 Likes

Wait, that would make sense.

We’ll be having none of that.

1 Like

LOL! How dare you speak of Manjaro that way! Could you please speak more WORSE! :rofl:

I’ll stop there, I will just say, my experience with Manjaro is it’s what I consider a locked down distro. First thing I did was unlock it and then things started to break so I stopped using it. And I’ll leave it there.

Yast is a really big deal once you figure out how to use it as I have come to find out. No doubt about that. I see YouTube reviews that really don’t get how easy and powerful it really is. I don’t consider it OpenSuse strongest benefit though, but it is one of MANY I would consider that make it the best distro for me at this point.

1 Like

For most people, the biggest complaint about YAST is the look of it. They don’t understand that it is designed to look very much the same when you open the command line version of it. That familiarity is a huge deal for someone who is using the command line version for the first time.

1 Like