How do I transfer my Keyring from my old lubuntu machine to ElementaryOS?

My lubuntu SSD is too small for my needs so I want to replace it with a larger one. While I’m at it, and before I fully commit to the switch, I want to try out ElementaryOS, with my lubuntu SSD added as an external drive to allow me to get access to my files.

I figure there are three main tasks I will need to perform in order to fully test the OS.:

1) transfer all my passwords (ie. the keyring)

2) transfer all my mail (I’ll be using kontact on both machines)

3) transfer my keys/certificates(?terminology?) so that files encrypted with gpg can be decrypted.

I’d appreciate any instructions on how to do this.

BTW. Kontact 5.7.3’s PIM Setting Exporter is a disaster. It saved 3.6GB of data into a Zip file which I can manually explore and verify the email is there, but when I tried to use PIM Setting Exporter to restore the email, it had me manually create my folders, did not put any mail in them, copied none of my email account settings over and did not copy my Contacts data. There has to be an easier way.

How do I transfer my Keyring from my old lubuntu machine to ElementaryOS?

My lubuntu SSD is too small for my needs so I want to replace it with a larger one. While I’m at it, and before I fully commit to the switch, I want to try out ElementaryOS, with my lubuntu SSD added as an external drive to allow me to get access to my files.

I figure there are three main tasks I will need to perform in order to fully test the OS.:

1) transfer all my passwords (ie. the keyring)

2) transfer all my mail (I’ll be using kontact on both machines)

3) transfer my keys/certificates(?terminology?) so that files encrypted with gpg can be decrypted.

I’d appreciate any instructions on how to do this.

BTW. Kontact 5.7.3’s PIM Setting Exporter is a disaster. It saved 3.6GB of data into a Zip file which I can manually explore and verify the email is there, but when I tried to use PIM Setting Exporter to restore the email, it had me manually create my folders, did not put any mail in them, copied none of my email account settings over and did not copy my Contacts data. There has to be an easier way.

how do I enter commands in Lubuntu

It runs ridiculously slow at times (like 10 minutes to open a browser page) I have not used Linux before and have no idea how to get to a “command prompt” or if that is even where I need to be but would like to try installing metacity as I saw that worked for someone who posted on this forum.

thanks, Tony

Lubuntu, broken fstab and non existent swap

I did a fresh install of Lubuntu desktop (meant as a headless machine mostly), with formatting the disk via installer.

Apparently it didn’t create a partition properly.. no GPT but msdos.

The machine wouldn’t boot to the main drive unless i unplugged the 2nd SATA drive (for storage). Remained stuck on HP bios.

The system is currently running, i have SSH access, but unfortunately won’t be physically accessing the machine for a while.

After hours of crawling the web for tutorials and discussions.. no success. I’ve only managed to trash the fstab, and obviously didnt make backup (not that it was any good..)

here are a few cmd returns :
blkid

/dev/sda1: UUID="1124c007-a2cd-4e2b-8942-06fca94f5f88" TYPE="ext4" PARTUUID="4ac38d5d-01" 

lsblk

   NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT sda      8:0    0 596,2G  0 disk  └─sda1   8:1    0 596,2G  0 part / 

df

    Filesystem     1K-blocks    Used Available Use% Mounted on udev             1959572       0   1959572   0% /dev tmpfs             403696    1220    402476   1% /run /dev/sda1      614267120 5072576 577921748   1% / tmpfs            2018476       0   2018476   0% /dev/shm tmpfs               5120       4      5116   1% /run/lock tmpfs            2018476       0   2018476   0% /sys/fs/cgroup tmpfs             403692       4    403688   1% /run/user/1000 tmpfs             403692       0    403692   0% /run/user/117 

sudo parted -l

Model: ATA WDC WD6400BEVT-8 (scsi) Disk /dev/sda: 640GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags:   Number  Start   End    Size   Type     File system  Flags  1      1049kB  640GB  640GB  primary  ext4 

swapon -s returns nothing

How do i properly create a SWAP file with the current config (do i need one, how come the installer didn’t make it?)

And most importantly what should the fstab look like please? So i can safely reboot the machine via SSH without fear of it not booting where it needs to and then the machine staying idle for weeks..

Thanks in advance !

(what will i need to run to be safe, regarding GRUB or else?)

ps: after install i had the following error (fwiw)

cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries nor crypto modules. If that's on purpose, you may want to uninstall the 'crypsetup-initramfs' package in order to disable the cryptsetup initramfs integration and avoid this warning.

.. removed cryptsetup and then ran update-initramfs -u

Lubuntu, running script on boot

I’m using Lubuntu 19.04 with LXQt

I’m trying to remap the Caps-Lock and Escape keys. I have found the commands I needed to make that happen and I’ve made an executable script for them. If I run the script, it works; the problem is that I can’t find the way to run the script on boot.

Here is my script, which is located in /usr/local/bin/:

#!/bin/bash  setxkbmap -option caps:none xmodmap -e "keycode 9 = Caps_Lock" xmodmap -e "keycode 66 = Escape" 

Now, I have already tried with a cron job, running:

crontab -e  @reboot /usr/local/bin/my_script 

I also tried running the previous command as sudo, with:

sudo crontab -e 

or for my specific user:`

sudo crontab -u user -e 

I gave up using cron and tried adding the specific commands to /etc/init.d/rc.local and making the file executable using chmod, as I had to create the file.

Also, I tried adding it on /etc/rc.local.

What can I do to make this work?

Lubuntu 18.04LTS touchpad config: CLI solution to turn off tapping?

I have seen numerous posts about touchpad issues, but have mainly seen GUI solutions, such as adding “touchpad-indicator” (which didn’t work the way I’d hoped) or synaptics (which froze my keyboard at login requiring a whole reinstall). I have seen a great tutorial of exactly what I hope to accomplish for 18.10 here: anglehit

But the problem is I don’t seem to have an xorg.conf.d file in /etc/X11 in Lubuntu 18.04LTS.

I would love to just open a text editor, change a setting to something like:

tapping = "off" 

Hit save, and be done. Is there any way to do this on Lubuntu 18.04LTS?

Thank you very much.