My tweaks to get Kali Linux running well on the GPD Pocket

Mostly notes to myself, but hey, maybe it helps you too!

Get Kali for the GPD Pocket

I installed using re4son’s modified image from here.

Removing the GRUB splash screen (it’s sideways anyway, which looks horrible, and I’m not multibooting)



Speeding up WiFi so it doesn’t lag if you SSH into the machine, and other power management tweaks

By default, Kali on the GPD Pocket will have some weird WiFi power saving mode enabled, which means that an incoming SSH session will feel very laggy unless the GPD is constantly sending data. The result is that an SSH session feels much smoother if you’re transferring a huge file at the same time, which is rather silly. A tool called “tlp” can disable the WiFi power saving.

apt-get install -y tlp
systemctl enable tlp
vim /etc/default/tlp

Firstly, disable WiFi power saving:

Speed up the disk:

Less problems with USB devices that don't take well to being suspended:

I like to have the machine run cool even while on AC power:

Making sure the screen turns properly off and back on again when closing and opening the lid

If the laptop is not set to sleep, the screen on mine didn’t shut off when closing the lid, and if I shut it off with a script, it would randomly turn back on due to magnetic interference from the magnets on the case, or on my bag, or on whatever else. I wrote a script to take care of this, with an autostart file to go along with it:


This is public domain.
gpd-screen-watcher needs to be executable 🙂

Some additional xorg config

This is from the page about running Arch Linux on the GPD Pocket:


Section "Monitor"
    Identifier "DSI-1"
    Option "Rotate" "right"


Section "InputClass"
    Identifier "GPD trackpoint"
    MatchProduct "SINO WEALTH Gaming Keyboard"
    MatchIsPointer "on"
    Driver "libinput"
    Option "Emulate3Buttons" "True"
    Option "MiddleEmulation" "True"

EDIT: The last two lines of InputClass, Emulate3Buttons and MiddleEmulation, were added here on 2018-08-13, and allow clicking both mouse buttons to simulate a middle click, for pasting and such.


Have fun with Kali 😀


  • Nickelby says:


    Awesome tips. I am just wondering whether you noticed occasional slowdowns with gnome shell? E.g. when logging in just after starting up your GPD (after putting in root/password at the GDM login screen), a few seconds later you will see that it’s like the screen freezes however things are still working.

    Using top, htop or conky, I have noticed that gnome shell is the main culprit so would just like to ask if you have also noticed this and whether you have found a solution to it.

    FYI, I have another respun non-Kali Linux running on another GPD also running GNOME but it does not show such behaviour. And yes, I have reinstalled Kali Pocket a few times 🙂

  • emi sesma says:

    I have problems with the Grub and i can’t resolve ir with any thing. I tried to repair ir with a USB booteable and it’s says that cannot find EFI directory. PLEAS HELP

Leave a Reply

Your email address will not be published. Required fields are marked *