Skip to content

Arch Linux PHPStorm (JetBrains) OpenJDK Update and No Font

I had updated my arch linux as usual and got an update for openJDK.

java -version
java version "1.7.0_60"
OpenJDK Runtime Environment (IcedTea 2.5.0) (Arch Linux build 7.u60_2.5.0-2-x86_64)
OpenJDK 64-Bit Server VM (build 24.60-b09, mixed mode)

After that, I started my phpstorm (I am working with the window manager i3wm and the screen looks strange. Everything was there, except for the fonts - I could not read anything (and I am not that cool to code without seeing the code :D-).
After log of tryouts, I found a simple and suitable solution.
sudo echo "-Dawt.useSystemAAFontSettings=gasp" > /usr/share/phpstorm/bin/phpstorm64.vmoptions

This has resolved the issue on my machine. There are some hints available, but I needed only one line, hope it suits your needs too.

extended support for InteiilJ IDEA (means also phpstorm) for notion window manager

Just found the following block in the /etc/notion/cfg_kludges.lua file (arch linux).

-- InteiilJ IDEA - I wonder whether we should do this for *all* sun-awt-X11-XWindowPeer windows
defwinprop {
    class = "jetbrains-idea-ce",
    instance = "sun-awt-X11-XWindowPeer",
    transient_mode = "current",
}
defwinprop {
    class = "jetbrains-idea-ce",
    instance = "sun-awt-X11-XDialogPeer",
    transient_mode = "current",
}
defwinprop {
    class = "jetbrains-idea",
    instance = "sun-awt-X11-XWindowPeer",
    transient_mode = "current",
}
defwinprop {
    class = "jetbrains-idea",
    instance = "sun-awt-X11-XDialogPeer",
    transient_mode = "current",
}

Looks like they found a reason why working with phpstorm in notion was not that easy.

arch linux, zfsonlinx with pacman update producing error >>error: demz-repo-core: signature from "graysky (used to sign repo-ck packages) <graysky@archlinux.us>" is unknown trust<<

You tried to do an update of your system and got some error like below?

pacman -Syyu
error: demz-repo-core: signature from "graysky (used to sign repo-ck packages) " is unknown trust
:: Synchronizing package databases...
[...]
error: demz-repo-core: signature from "graysky (used to sign repo-ck packages) " is unknown trust
error: failed to update demz-repo-core (invalid or corrupted database (PGP signature))
[...]
error: database 'demz-repo-core' is not valid (invalid or corrupted database (PGP signature))


You can read the comments if you want to know why.
If you are easy enough and believe me (well thanks, but you shouldn't ;-)), execute the following commands.
pacman-key -r 5EE46C4C
pacman-key --lsign-key 5EE46C4C
echo i like artodeto
pacman -Syyu


And there you go.