greets again . . .
my laptop test case for debian continues. my goal today is to make my TDE -- menus, apps, panel, desktop, etc. -- as close as i can to my desktop machine. i could do this by hand, which would take a day or two, or perhaps by copying my configuration from the desktop to the notebook via something like a usb drive.
what i do not know is what configurations to copy. the whole .config directory seems a little drastic, and i do not know that it would do the job. would .trinity do it?
i should already know all this, but it's been a lot of years (and at least one covid brain repartitioning), and i'd rather ask than break things and ask afterwards.
thanks in advance. -- dep
Pictures: http://www.ipernity.com/doc/depscribe/album Column: https://ofb.biz/author/dep/
On Friday 17 March 2023 02:05:10 pm dep via tde-users wrote:
greets again . . .
my laptop test case for debian continues. my goal today is to make my TDE -- menus, apps, panel, desktop, etc. -- as close as i can to my desktop machine. i could do this by hand, which would take a day or two, or perhaps by copying my configuration from the desktop to the notebook via something like a usb drive.
what i do not know is what configurations to copy. the whole .config directory seems a little drastic, and i do not know that it would do the job. would .trinity do it?
Yeah, you could copy over .trinity, but you'd normally do that before loging in to a user the first time.
It's actually probably faster to just:
1) re-install debian ^ (with a dummy user if it forces you to create one during the install) 2) copy the entire /home/{username} from your desktop 3) create {username} with the same name/group (and UID/GID) as the desktop 4) re-install TDE
You can change the order as long as you don't login with the {username} before copying /home...
Well, or, you can just delete {username} on the laptop and then do 2) and 3), which is faster still...
Best, Michael
said Michael via tde-users: | On Friday 17 March 2023 02:05:10 pm dep via tde-users wrote: | > greets again . . . | > | > my laptop test case for debian continues. my goal today is to make my | > TDE -- menus, apps, panel, desktop, etc. -- as close as i can to my | > desktop machine. i could do this by hand, which would take a day or | > two, or perhaps by copying my configuration from the desktop to the | > notebook via something like a usb drive. | > | > what i do not know is what configurations to copy. the whole .config | > directory seems a little drastic, and i do not know that it would do | > the job. would .trinity do it? | | Yeah, you could copy over .trinity, but you'd normally do that before | loging in to a user the first time. | | It's actually probably faster to just: | | 1) re-install debian | ^ (with a dummy user if it forces you to create one during the install) | 2) copy the entire /home/{username} from your desktop | 3) create {username} with the same name/group (and UID/GID) as the | desktop 4) re-install TDE | | You can change the order as long as you don't login with the {username} | before copying /home... | | Well, or, you can just delete {username} on the laptop and then do 2) | and 3), which is faster still...
Um, well, I can think of a couple thousand reasons not to do it that way, the first being the problem in copying a 6-tb partition to a 950-gb partition. (I don't think there's stacker for linux.)
It's relatively easy to log out then log back in to a prompt, both from the window manager and from alt-ctrl-f1, so the existence of the user already ought to be a trivial issue, no? And if I write over some of the newly installed configurations, well, that's the whole purpose of the exercise.
Instead, I'm trying to bring over my TDE desktop configuration: KMenu and its contents, arranged as I have them arranged; the bottom panel with its contents and configurations; various TDE applications, such as kmail, with its configurations; and so on. I don't need to bring over a pile of data, pictures, and so on.
So I'm trying to find out where those things are stored on my desktop machine, so that I can copy them to the notebook machine. Are they in /.trinity? Or are they spread around? -- dep
Pictures: http://www.ipernity.com/doc/depscribe/album Column: https://ofb.biz/author/dep/
On Friday 17 March 2023 03:15:39 pm dep via tde-users wrote:
Um, well, I can think of a couple thousand reasons not to do it that way, the first being the problem in copying a 6-tb partition to a 950-gb partition. (I don't think there's stacker for linux.)
lol, yeah, that's not gonna work ;0
They're scattered about in .trinity
But that includes app data like your email messages, so maybe check the dir size first? If the size is okay, then copy the whole dir over and go...
Best, Michael
said Michael via tde-users: | On Friday 17 March 2023 03:15:39 pm dep via tde-users wrote: | > Um, well, I can think of a couple thousand reasons not to do it that | > way, the first being the problem in copying a 6-tb partition to a | > 950-gb partition. (I don't think there's stacker for linux.) | | lol, yeah, that's not gonna work ;0 | | They're scattered about in .trinity | | But that includes app data like your email messages, so maybe check the | dir size first? If the size is okay, then copy the whole dir over and | go...
Hmmm. My mail messages live in ~/Mail.
I just copied all of ~/.trinity to the notebook, from a prompt though logged in as me. It seems mostly to have worked -- completely to have worked but for no kicker icons for apps I haven't installed yet, which is expected and, puzzlingly, no KMenu at all, which isn't expected. -- dep
Pictures: http://www.ipernity.com/doc/depscribe/album Column: https://ofb.biz/author/dep/
Michael via tde-users wrote:
Well, or, you can just delete {username} on the laptop and then do 2) and 3), which is faster still...
Or what I am doing, login as root in the console (no user is logged in)
on the source machine tar cJvf /tmp/your_user.tar.xz /home/your_user
on the target machine
scp your_user@source_machine:/tmp/your_user_trinity.tar.xz /tmp/ cd / mv /home/your_user /home/your_user.orig tar xJvf /tmp/your_user.tar.xz
This will guarantee you picked up all your stuff to your new installation.
login now in TDE with your_user
Assuming your_user has id=1000 you do not have to chown on the home dir
said deloptes via tde-users: | Michael via tde-users wrote: | > Well, or, you can just delete {username} on the laptop and then do 2) | > and 3), which is faster still... | | Or what I am doing, login as root in the console (no user is logged in) | | on the source machine | tar cJvf /tmp/your_user.tar.xz /home/your_user | | on the target machine | | scp your_user@source_machine:/tmp/your_user_trinity.tar.xz /tmp/ | cd / | mv /home/your_user /home/your_user.orig | tar xJvf /tmp/your_user.tar.xz | | This will guarantee you picked up all your stuff to your new | installation.
again, i'm not hoping to bring the entire contents of ~/ to the notebook, just the trinity configuration files. -- dep
Pictures: http://www.ipernity.com/doc/depscribe/album Column: https://ofb.biz/author/dep/
dep via tde-users wrote:
again, i'm not hoping to bring the entire contents of ~/ to the notebook, just the trinity configuration files.
I would take .trinity and .config .mc .ssh and all relevant dot directories. OR create exclude list for tar of directories which you want to exclude.
said deloptes via tde-users: | dep via tde-users wrote: | > again, i'm not hoping to bring the entire contents of ~/ to the | > notebook, just the trinity configuration files. | | I would take .trinity and .config .mc .ssh | and all relevant dot directories. OR create exclude list for tar of | directories which you want to exclude.
Right now I'm trying to find the KMenu configuration file, and can't. -- dep
Pictures: http://www.ipernity.com/doc/depscribe/album Column: https://ofb.biz/author/dep/
dep via tde-users wrote:
Right now I'm trying to find the KMenu configuration file, and can't.
why are you doing this?
You said you are breaking things more then repairing.
Just make a list of directories and copy them over, when you are not logged in. If you are fan of mc, you could open ssh session and copy those via mc on the fly.
Editing files is not recommended and you should use the interfaces for adjusting/customizing your desktop.