Run non steam windows game under Linux

For example I want to run caesar 3 windows game..
Create this script in Caesar 3 folder, named

$ vi

SCRIPT=`realpath $0`


# change this to your proton binary, for example: $HOME/.local/share/Steam/steamapps/common/Proton 3.16/proton
PROTON="/path/steamlibrary/Steam/SteamApps/common/Proton 3.16/proton"

# change c3.exe to your game executable


killall -r "$EXE"

$ chmod +x

Run Steam, open menu Games -> Add Non Steam Game -> Browse... and choose

Click Play to run! 😼

Smooth Sweet Home 3D in Linux

Add  flag: sun.java2d.opengl=true to launch script:

# vi SweetHome3D-Java3D-1_5_2

exec "$PROGRAM_DIR"/jre8/bin/java -Xmx2g -Dsun.java2d.opengl=true -classpath "$PROGRAM_DIR"/lib/SweetHome3D.jar:"$PROGRAM_DIR"/lib/Furniture.jar:"$PROGRAM_DIR"/lib/Textures.jar:"$PROGRAM_DIR"/lib/Examples.jar:"$PROGRAM_DIR"/lib/Help.jar:"$PROGRAM_DIR"/lib/batik-svgpathparser-1.7.jar:"$PROGRAM_DIR"/lib/jeksparser-calculator.jar:"$PROGRAM_DIR"/lib/iText-2.1.7.jar:"$PROGRAM_DIR"/lib/freehep-vectorgraphics-svg-2.1.1b.jar:"$PROGRAM_DIR"/lib/sunflow-0.07.3i.jar:"$PROGRAM_DIR"/lib/jmf.jar:"$PROGRAM_DIR"/lib/j3dcore.jar:"$PROGRAM_DIR"/lib/j3dutils.jar:"$PROGRAM_DIR"/lib/vecmath.jar:"$PROGRAM_DIR"/jre8/lib/javaws.jar -Djava.library.path="$PROGRAM_DIR"/lib -Dcom.eteks.sweethome3d.applicationId=SweetHome3D#Installer com.eteks.sweethome3d.SweetH…

Clean up Unix Trojan.DDoS_XOR-1, Chinese Chicken Multiplatform DoS botnets Trojan

So you have identified your server is infected with this Trojan

Using top you can find random proces name

Killing it will spawn another new random proces

There is nothing you can do.. just restore your server from backup

Or reinstall your server

Just kidding...

You can clean this trojan because this one is non destructive

Ok let's go!

First you have to find the pid of random process using top

You cannot use ps because it renamed the process name

Then you have to freeze those processes, do not kill it because it will spawn another random process

Use kill -STOP pid [pid] [pid] it will freeze those processes

Next we do cleaning up the trojan from file system

Truncate /lib/ /lib/ So it contains nothing, because the trojan copy from this file to random name

Make it immutable (chattr +i)

Next edit /etc/crontab  find lines contains gcc and remove it

Go to /etc/cron.d , /etc/cron.* and remove and another random names

Next we go to /etc/init.d find random file…

Update lenovo/thinkpad BIOS using USB Flash

Download firmware in .iso format (BIOS bootable update CD)dnf install geteltoritogeteltorito -o bios.img j5uj62wd.isoPlug USB flash, umount manually if mounted, find out the device name (dmesg)Write bios.img to usb flash disk, be careful about device name, for example /dev/sdb, all data in USB flash will be deleted
dd if=bios.img of=/dev/sdb bs=1MBoot and enter Setup, make sure system can boot in Legacy mode
UEFI / Legacy = both
Priority = Legacy First
CSM = yesSave and boot using USB flash


Update grub config and update initramfs in Fedora

Tune grub config in: /etc/default/grub and /etc/grub.d/*

Update grub config: grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

To update initramfs run: dracut -fv

Theme for Thunderbird mail client

Cool theme for  Thunderbird mail client:

Monterail Full Dark 1.1.2 by conema

Monterail Full Dark, a Thunderbird theme inspired by the mockup of Monterail

To install, search Add On from Thunderbird mail or


Another good gnome theme (Fedora)

Use this combination:
Adapta Papirus iconRoboto fonts To install theme, i'm using Fedora 28:

$ dnf install adapta-gtk-theme
Install icon:

$ dnf copr enable dirkdavidis/papirus-icon-theme
$ dnf install papirus-icon-theme
Change settings using Tweaks: