Ubuntu 24.04 instructions - jacobmoroni/ubuntu_hacks GitHub Wiki
I followed most of the ubuntu 22.04 instructions. I have included the stuff I did specifically for 24.04 here
The XPS computer I have does not have dedicated home or end keys. they are shared with the f11 and f12 keys. That is kind of annoying because I use those keys all the time. I found out how to swap them so that they for only those keys i have to push fn + f12 to do f12 and fn + f11 do f11 I found an ask ubuntu question that solves this here
to do this, we need to edit the evdev file
sudo vim /usr/share/X11/xkb/keycodes/evdev
then fine and and swap the numbers on them and and and swap those. To help keep it reversible I commented out the old ones so they are still there to mark what I did.
Below is a snippet of the code to show what it looks like afterwards
<FK10> = 76;
// <FK11> = 95;
<FK11> = 110;
// <FK12> = 96;
<FK12> = 115;
<PRSC> = 107;
<SCLK> = 78;
<PAUS> = 127;
<INS> = 118;
// <HOME> = 110;
<HOME> = 95;
<PGUP> = 112;
<DELE> = 119;
// <END> = 115;
<END> = 96;
<PGDN> = 117;
NOTE: I realized that this kind of screws up external keyboards. In my testing it looks like F11 and F12 are still mapped to home and end. But the home and end keys on that one do work. I just couldnt figure out how to do F11 or F12. Which I dont use very much anyways so I will leave it like this for now but there is a caveat