From 03b8dbf194f88f013e791616ad5430c96d4f40cf Mon Sep 17 00:00:00 2001 From: Dino Korah <691011+codemedic@users.noreply.github.com> Date: Wed, 22 Apr 2026 12:31:25 +0100 Subject: [PATCH 1/2] Add KDE neon entry --- README.md | 1 + grub2/grub.cfg | 6 + grub2/inc-kdeneon.cfg | 19 +++ grub2/themes/invader/icons/kdeneon.png | Bin 0 -> 1547 bytes icons-original/invader/kdeneon.svg | 164 +++++++++++++++++++++++++ 5 files changed, 190 insertions(+) create mode 100644 grub2/inc-kdeneon.cfg create mode 100644 grub2/themes/invader/icons/kdeneon.png create mode 100644 icons-original/invader/kdeneon.svg diff --git a/README.md b/README.md index 7571c68..69a6f09 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,7 @@ The supported `boot/iso/` sub-directories (in alphabetical order) are : * [`grml`](https://grml.org/) * [`ipxe`](https://ipxe.org/) - _.iso or .efi_ * [`kali`](https://www.kali.org/) +* [`kdeneon`](https://neon.kde.org/) * [`kubuntu`](https://kubuntu.org/) * [`libreelec`](https://libreelec.tv/) * [`linuxmint`](https://linuxmint.com/) diff --git a/grub2/grub.cfg b/grub2/grub.cfg index c8908b4..b887c0c 100644 --- a/grub2/grub.cfg +++ b/grub2/grub.cfg @@ -241,6 +241,12 @@ if any_exists ${isopath}/kali/kali-*.iso; then } fi +if any_exists ${isopath}/kdeneon/neon-*.iso; then + menuentry "KDE neon >" --class kdeneon { + configfile "${prefix}/inc-kdeneon.cfg" + } +fi + if any_exists ${isopath}/kubuntu/kubuntu-*.iso; then menuentry "Kubuntu >" --class kubuntu { configfile "${prefix}/inc-kubuntu.cfg" diff --git a/grub2/inc-kdeneon.cfg b/grub2/inc-kdeneon.cfg new file mode 100644 index 0000000..b4962cc --- /dev/null +++ b/grub2/inc-kdeneon.cfg @@ -0,0 +1,19 @@ +# KDE neon +function add_menu { + isofile="$1" + + regexp \ + --set 1:isoname \ + --set 2:edition \ + "^${isopath}/kdeneon/(neon-(.+)-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]\.iso)\$" "${isofile}" + menuentry "KDE neon ${edition}" "${isofile}" "${isoname}" --class kdeneon { + set isofile=$2 + set isoname=$3 + use "${isoname}" + loop $isofile + linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=${isofile} fsck.mode=skip quiet splash + initrd (loop)/casper/initrd* + } +} + +for_each_sorted add_menu "$isopath"/kdeneon/neon-*.iso diff --git a/grub2/themes/invader/icons/kdeneon.png b/grub2/themes/invader/icons/kdeneon.png new file mode 100644 index 0000000000000000000000000000000000000000..feaf156da190195161c80c849193ca1f009d349b GIT binary patch literal 1547 zcmV+m2K4!fP)E7 z+unP7-+s^Y_(!4A!R9wPd6IL^^ZlNaoSf$oJ_faa`E3Ju?ZAUTBT#oWbQu@~cMPju zAG`nQk&oh#n>p)_?vFUnd>`S;m)!uI>-7sKR>(J4Sf6Z=b!xL4FdH?5A4L+ zj?Lv&YU`?MrgCY1Kh%f2u7GV7H8>pa#3q(i`1tBp%7Y=^nYhfk#HFZ zb2(}YKf%{q*75e#IHzM%{HC{uUGIHes~U+;fY(C>5auWGe3s_&$X@N#kbx>mz5b?5^7Yw3GBp*zP+@9 zGgH$zD-`P>TPwmGie3UMA8QAq{oGR>p)l*?tZ*(q$EU(I*!a9=DzQr`!wxaRws18k zM<)>@Jkrp_f!<4qktHkDAs%aLVRvIQD|KjD?9jk457*Y?QW;KMp5Wf57Q|^(&OYFY zRV@I@3C0IOQ5py_oysC809FQrbl$g}`r;x0_O`BJ=NoU5w2Lz~k<3sTiC||FWUa>2 z0R#s_+0IOH7;B%#=xU5;qu_&;L3S$WZTWTZV zbhQ#AILB2|5G&vWvHvsNjT^;ThnbE+-Y(@RG&lu$AMzIElvNlRJ3Bf<);MNTIWU5< z%RA_bjxrQaERhe)#5wlCCGf$_T*2in+5t{6oyg$(j(_wG;&T3^Csy?XtNSBjN#PqG<(__m(9G0hgTLxbP!O0=1X_9@z?WF(s={v z3>(9%cz=8rMElm+PCeW8hxv;8cQ@c zM4=9lQ$ZqyA-;OoZJfP0$UlcBDGUU8?9TPP)g9$Z#(?No2VeNgeh&bvejvC8 zd=OzKl_3}m@R`;K8zW`BcDkFM@mcUZ>jeVO_5JwipI-l7EW_G;Z#)FDx+*;@&)aPJ zYbF)<5CtM^Zmz}}!`X{Nh|-`vL}`oCM|2?go!%ckI{IO*n+jaRh8Mc(7E*J&obex2 xuo|Um5WyKUj`fF?r;aP%zSi@L8-Ekm@Lz52roF%gNSgov002ovPDHLkV1lA~?~MQe literal 0 HcmV?d00001 diff --git a/icons-original/invader/kdeneon.svg b/icons-original/invader/kdeneon.svg new file mode 100644 index 0000000..8381a51 --- /dev/null +++ b/icons-original/invader/kdeneon.svg @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + From 280aced1501baf313121e0aed95653d5abc3b3b5 Mon Sep 17 00:00:00 2001 From: Dino Korah <691011+codemedic@users.noreply.github.com> Date: Fri, 24 Apr 2026 00:02:01 +0100 Subject: [PATCH 2/2] Show build date in KDE neon menu entry --- grub2/inc-kdeneon.cfg | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/grub2/inc-kdeneon.cfg b/grub2/inc-kdeneon.cfg index b4962cc..4e53fe0 100644 --- a/grub2/inc-kdeneon.cfg +++ b/grub2/inc-kdeneon.cfg @@ -5,8 +5,9 @@ function add_menu { regexp \ --set 1:isoname \ --set 2:edition \ - "^${isopath}/kdeneon/(neon-(.+)-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]\.iso)\$" "${isofile}" - menuentry "KDE neon ${edition}" "${isofile}" "${isoname}" --class kdeneon { + --set 3:date \ + "^${isopath}/kdeneon/(neon-(.+)-([0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9])-[0-9][0-9][0-9][0-9]\.iso)\$" "${isofile}" + menuentry "KDE neon ${edition} ${date}" "${isofile}" "${isoname}" --class kdeneon { set isofile=$2 set isoname=$3 use "${isoname}"