Customization > Desktop Customization

Saving and/or Transferring Entire Desktop Panels?

(1/4) > >>

Robo_Pi:
Another UPDATE:

Instead of editing all the paths on the launchers on the new Linux I just went back to the original Linux and fixed them all there properly.

I just made sure that they all used %/Documents/etc,...   in both the Command box and the Working Directory box in the launchers.

Then I only had to copy over the panel folder and do a reboot on the new computer and now all the launchers work without a hitch.

So that's definitely the way to do it.   The only slight problem after that would be any WINE programs.  I'm pretty sure they would need to either be edited or just recreated on the new computer.  But at least the panels will be there with the non-working placeholders.  That's good enough for me.  I'll just recreate those launchers.  I only have a few WINE programs and I don't mind cleaning up those launchers.  This is still a huge time saver.

Robo_Pi:
IMPORTANT UPDATE ! ! !

Moving a ton of panels and launchers to a freshly installed Linux is doable, but it's not for the faint of heart.  ;)

Just some notes from my current experiments:

To begin with I am storing all my data files in a single directory tree under the Documents folder.

In fact, my folder currently looks something like this:

Documents
----> Daily Diary
----> Projects
----> Project Archives

There are also numerous other folders in these subfolders.  But the idea here is that everything is kept in the Documents Folder.   This way I only need to copy over the documents folder to the new computer and all the data is preserved with precisely the same paths.   This is important if the launchers are going to work without needing to edit them all to change paths.

So the data needs to be copied over first so it's available when you move over the panels and launchers that point to these files.

The next thing I did was copy over the entire panel folder. That is stored in user/.config/xfce4 (Change the name of the original panel folder first just to hang onto it in case you want to revert back to the original configuration.)

Then I went into the xfconf folder opened the xfce-perchannel-xml folder, and replaced the xfce4-panel.xml file.  (again, rename the old file just to save a copy of it before replacing it)

What you end up with at that point is an absolute NIGHTMARE!  The original panel is all filled with red X's and nothing works!

Don't panic. Just chose SHUT DOWN and reboot.  When it reboots MAGIC OCCURS and all the new panels and launchers suddenly appear with all the unique icons you had assigned them.

~~~~~~

Unfortunately this doesn't work without a hitch.    Some of the launchers wouldn't work because I had included  the user name of the other computer in the launcher paths when I created them.   So I had to go in an edit the user name on the path of all those launchers.  However, I also realized that this could have been avoided.  When setting up the launchers always start from %/Documents/whatever .  Then it won't matter if the user names are different.  I had used /home/user/Document/blah/blah/blah instead of %/Documents

I'm learning the hard way by trial and error.  So heads-up on that one.

~~~~~~

More potential trouble:

Well, it should be obvious that you need to have installed the software that the launchers call.   So this new computer will need to have all the same software installed.  But as long as the software is there they should work.  EXCEPT in the case of WINE installed software.

I have a few Windows programs I installed via WINE.  Those specific launchers will need to be recreated because WINE programs have special C: drive Windows installation directories.  For me this was only 4 programs.  And it was still nice having the original launchers there to see what I needed to replace.   So at least the launchers were copied over.  I all needed to do was create new ones and then delete the old ones.   But at least I could see where I wanted them to be.

~~~~~

So overall, it was well worth it for me.   But it's kind of scary when you first copy the files over and it looks like everything is going to crash.  ;D

Just reboot and that should do the magic.  Then clean up any spilled WINE.  Applications that were installed by Linux all seemed to work without a hitch.  It was only the WINE app Launchers that needed to be recreated.

Like I say. this is not for the faint of heart, but it's certainly doable.  Just remember to always start the launcher paths at %/Documents.    Don't start any paths in the launchers at /home/user/ or you'll need to edit the user name on all the launchers like I did. ::)

Live and learn!

I'm going to do this again too because I have four computers I'm installing Linux on and I want the same panels and launchers on all of them.  I'll be an expert at this before I'm done.  8)



Robo_Pi:
@justme2

Thanks for the tip on Liberty Basic.  I might look into that.  That's not a bad price either.  The reason I want SharpDevelop is because I already wrote a lot of programs using that IDE and I have a lot of code that I can reuse in future programs.   So that's my main interest in sticking with SharpDevelop.   Now that I'm going to reinstall Windows I might just keep Windows just for SharpDevelop. 

Sorry for the many topics in this thread.  I'm just now converting over to Linux so I have a lot of issues, it's hard to stick to just one thing.

I should probably mark this thread solved though since I think the original topic of transferring Panels has been taken care of.   But I'm glad for the off-topic info.  I came out of this thread deciding to reinstall Windows onto a new drive.  So after I do that I'll have a place to keep SharpDevelop and won't need to move it over to Linux after all.   That's probably all I'll use the Windows OS for after that.

justme2:

--- Quote from: Robo_Pi on February 12, 2018, 09:37:19 AM ---
I need to keep Windows around until I find a replacement for SharpDevelop.  I use SharpDevelop to do C# programming.   I've been trying to install SharpDevelop on Linux using WINE, but so far no luck.
 

--- End quote ---

We are getting a little off topic in this thread and I have no idea what your programming applications are, but if its for your own hobby use you might find Liberty Basic and LBBooster are much easier and quicker for GUI generation and windows executables can be built, down to a single exe app with LBBooster. You have full access to windows APIs, sockets, serial comms etc. and Liberty and LBBooster both run under linux with wine. Liberty Basic is not free though. Ignore if it is of no interest to you!

Robo_Pi:

--- Quote from: Moltke on February 12, 2018, 12:23:31 PM ---If I may ask, since you have a new HDD, why don't you just make a fresh new Windows install on it? I think it will be easier that way; backup your data from the old drive, replace it wih the new one and install Windows on it.

--- End quote ---

To be honest I never really thought about doing that.  I was so intent on cloning the drive to salvage all my installed software and other modifications I had made.  But yeah, reinstalling a clean system would be better than losing the Windows entirely.  This drive is making a racket but it's still working for now.  Maybe it will last until I make a new install.

I just found this site, it looks easy enough to do:

How to Reinstall Windows

Does that look like good enough instructions.  I'll definitely give that shot.  I'll need to buy another drive though.  I used that last drive as my external Linux System.  ;D

Navigation

[0] Message Index

[#] Next page

Go to full version