Linuxes

Adding Desktop Icons to sdkman managed packages

When you install package like jmc or VisualVM from sdkman, the installation is for your current user only, so it doesn’t create desktop shortcuts allowing you to start program from Gnome or KDE app launchers. Unfortunately this by design forces users to start application from command line, even when it’s a desktop application. To fix it, and be able to run jmc from Alt+F2 launcher you need to create your own desktop file like this:

ZFS rename devices in pool to disk ID

zpool import -d /dev/disk/by-id poolname Converts: NAME STATE READ WRITE CKSUM poolname ONLINE 0 0 0 mdisk1 ONLINE 0 0 204 mdisk2 ONLINE 0 0 627K mdisk3 ONLINE 0 0 0 to map disks by ID (example): NAME STATE READ WRITE CKSUM poolname ONLINE 0 0 0 wwn-0x1000000 ONLINE 0 0 204 wwn-0x2000000 ONLINE 0 0 627K wwn-0x3000000 ONLINE 0 0 0