Tuesday, October 3, 2023

Second monitor no display after latest update - KDE-neon

 After latest update as of Oct 3, 2023, my second monitor was undetected with latest kernel (6.2.0-33-generic). If I boot with previous kernel, it can be detected. After searching a little bit, one suggestion is to delete kscreenrc directory in .local/share and then reboot.

Voila!... it was detected and the second monitor was running well

TQ for the tip. 

Source: https://forum.endeavouros.com/t/2nd-monitor-disabled-in-kde-plasma/34239


Thursday, September 14, 2023

KDE: bluetooth headset battery percentage

 If you like mine, I can't view my headset's battery percentage in my KDE's bluetooth notification.

To be able to see it, I need to add a line as below to /etc/bluetooth/main.conf under [General] section:

Experimental = true

Then you need to restart bluetooth service thusly:

systemctl restart bluetooth


You can see the percentage as screenshot below:




If you still can't see the percentage, it may mean your device or driver does not support it. 

That's all there is to it


Thursday, September 7, 2023

Installing kde-neon user edition using btrfs for root filesystem

 If you want to install KDE-Neon using btrfs as / filesystem, there is a bug that preventing it to boot successfully to console or to X or Wayland. For simplicity and laziness :)), i won't show here the errors but straight to solution or workaround.

1. Boot to live CD installer

2. Go to Konsole and edit file: sudo vi /calamares/desktop/modules/fstab.conf 

3. find word space_cache and change it to space_cache=v2

4. Start Installer and choose btrfs as filesystem for / 

It should successfully install KDE-Neon and boot to the new system successfully.


That's all there is to it. Have fun

Wednesday, June 14, 2023

How to resize a partition in proxmox 5 or 6

Background

1. The partition is ordinary partition and not LVM

2. The filesystem is ext4

3. The steps tested on proxmox 5 and 6 and maybe applicable to other versions of Proxmox


Step by step

1. Select and resize the disk you want in proxmox gui


2. Login to the VM and type dmesg command to see the relevant device that has changed i.e /dev/vde

3. unmount the partition i.e /dev/vde1 : umount /dev/vde1

4. use parted to extend the disk's size:
    4.1 parted /dev/vde
    4.2 resizepart 1
    4.3 q

5. unmount the partition if it is automatically mounted. If it is not, then proceed to the next step: 
     umount /dev/vde1

6. run filesystem check: e2fsck -f /dev/vde1

7. filesystem resize: resize2fs /dev/vde1

8. mount the partition i.e mount to /data: mount /dev/vde1 /data

9. Check and verify

That's all there is to it. Have fun!







Sunday, April 2, 2023

Install a Sectigo Domain Validation SSL certificate in Zimbra

We usually get the below four files from Sectigo in the certificate bundle. The file name may vary depending on the certificate type 

  1. yourdomain.com.crt – main certificate 
  2. AAACertificateServices.crt – Root Certificate 
  3. USERTrustRSAAAACA.crt – Intermediate Certificate – 1
  4. SectigoRSADomainValidationSecureServerCA.crt – Intermediate Certificate – 2 

 Step 1: We shall create two files as below

  • commercial_ca.crt (includes root certificate and two intermediate certificates)
  • commercial.crt (includes main certificate, root certificate and two intermediate certificates)
Step 2: Login to Zimbra server, move to directory /opt/zimbra/ssl/zimbra/commercial and create two files as below.

root@mail:~# cd /opt/zimbra/ssl/zimbra/commercial/
root@mail:/opt/zimbra/ssl/zimbra/commercial# touch commercial_ca.crt
root@mail:/opt/zimbra/ssl/zimbra/commercial# touch commercial.crt

Step 3: Provide ownership to Zimbra.

root@mail:/opt/zimbra/ssl/zimbra/commercial# chown zimbra:zimbra commercial_ca.crt
root@mail:/opt/zimbra/ssl/zimbra/commercial# chown zimbra:zimbra commercial.crt

Step 4: Add the certificates into respective files as mentioned above.

root@mail:/opt/zimbra/ssl/zimbra/commercial# vim commercial_ca.crt

-----BEGIN CERTIFICATE-----
<root certificate is here>
-----END CERTIFICATE-----

-----BEGIN CERTIFICATE-----
<intermediate certificate 1 is here>
-----END CERTIFICATE-----

-----BEGIN CERTIFICATE-----
<intermediate certificate 2 is here>
-----END CERTIFICATE---

root@mail:/opt/zimbra/ssl/zimbra/commercial# vim commercial.crt

-----BEGIN CERTIFICATE-----
<main certificate is here>
-----END CERTIFICATE-----

-----BEGIN CERTIFICATE-----
<root certificate is here>
-----END CERTIFICATE-----

-----BEGIN CERTIFICATE-----
<intermediate certificate 1 is here>
-----END CERTIFICATE-----

-----BEGIN CERTIFICATE-----
<intermediate certificate 2 is here>
-----END CERTIFICATE-----

Step 5: Execute below command as Zimbra user to verify the certificate.


zimbra@mail:~/ssl/zimbra/commercial$ /opt/zimbra/bin/zmcertmgr verifycrt comm /opt/zimbra/ssl/zimbra/commercial/commercial.key /opt/zimbra/ssl/zimbra/commercial/commercial.crt /opt/zimbra/ssl/zimbra/commercial/commercial_ca.crt

Step 6: Install the certificate.

zimbra@mail:~/ssl/zimbra/commercial$ /opt/zimbra/bin/zmcertmgr deploycrt comm /opt/zimbra/ssl/zimbra/commercial/commercial.crt /opt/zimbra/ssl/zimbra/commercial/commercial_ca.crt


Step 7: Restart Zimbra service to take effect the changes.

zimbra@mail:~$ zmcontrol restart

Source: https://tweenpath.net/install-sectigo-domain-validation-ssl-certificate-zimbra/

Wednesday, December 21, 2022

Tuesday, July 19, 2022

Workaround: insync icon doesn't show up in KDE's tray in Wayland session

 This is a workaround for insync icon doesn't show up in KDE's tray in Wayland session

1. Go to System Settings


2. Click on Startup and Shutdown menu on the left


3. Clik on + Add... button to add insync and then select + Add Application...

4. Select insync in the dialog and click OK


5. insync should be listed in the Autostart 



6. Click on the insync's Properties button


7. Go o Application tab and add QT_QPA_PLATFORM=xcb in the Command section as below and then click OK button to save the settings:


8. Reboot your computer. The insync's tray icon should show up in the tray.



That's all there is to it.


Second monitor no display after latest update - KDE-neon

 After latest update as of Oct 3, 2023, my second monitor was undetected with latest kernel (6.2.0-33-generic). If I boot with previous kern...