2019년 11월 26일 화요일

gnome freon ignore laptop temperatures

check sensors & sensors-detect

https://github.com/UshakovVasilii/gnome-shell-extension-freon/wiki

/etc/sensors3.conf

* thinkpad x390

chip "iwlwifi-virtual-0"
    #label temp1 "iwlwifi"       
    ignore temp1

chip "pch_cannonlake-virtual-0"
    label temp1 "pch"

chip "thinkpad-*"
    ignore fan1
    ignore temp1
    ignore temp2
    ignore temp3
    ignore temp4
    ignore temp5
    ignore temp6
    ignore temp7
    ignore temp8
    ignore temp9
    ignore temp10
    ignore temp11
    ignore temp12
    ignore temp13
    ignore temp14
    ignore temp15
    ignore temp16

* hp 455 g7
 chip "amdgpu-pci-0500"
    label edge "gpu"

 chip "acpitz-acpi-0"
    ignore temp1
    ignore temp2
    ignore temp3
    ignore temp4
    ignore temp5

chip "iwlwifi-virtual-0"
    #label temp1 "iwlwifi"       
    ignore temp1

2019년 11월 25일 월요일

restart waybar automatically using user systemd

create ~/.config/systemd/user

create  waybar-restart.service according to this link

https://github.com/Alexays/Waybar/issues/264

systemd  --user enable waybar-restart

2019년 11월 23일 토요일

xfce mimic windows snap

상단에 창 바둑판 정렬

하단에 창 바둑판 정렬

왼쪽에 창 바둑판 정렬

오른쪽에 창 바둑판 정렬 

창 최대화


5개 수정


https://fransdejonge.com/2018/04/mimic-windows-snap-hotkeys-in-xfce/

xfce map caps lock to super

Session and Startup -> Application autostart, add an entry, which executes
/usr/bin/setxkbmap -option "caps:super"

 

https://unix.stackexchange.com/questions/66775/how-to-permanently-swap-esc-and-caps-lock-in-xfce-xubuntu

2019년 11월 4일 월요일

build korean ft for amazfit verge lite

https://github.com/amazfitbip/font_tool

https://www.freemyband.com/p/amazfit-verge-lite-firmwares.html

1. download firmware & unzip
2. unpack .ft with font_tool
3. resize korean fonts from gtr with imagemagick(mogrify)
4. remove some chinese fonts and add korean fonts
5. keep in mind that
  a. do not change offset in _font_info.json
  b. addresses is equal to number of font files
  c. keep smaller font as possible - unless you'll get broken area