2019년 5월 25일 토요일

icewind dale cheat

  •  linux
    • ~/.local/share/Icewind Dale - Enhanced/Baldur.lua
      • SetPrivateProfileString('Program Options','Debug Mode','1')
      • SetPrivateProfileString('Program Options','Debug','1')


https://forums.beamdog.com/discussion/8317/general-bgee-customization/p1
https://forums.beamdog.com/discussion/43046/icewind-dale-enhanced-edition-clua-console-commands-and-areas


2019년 5월 24일 금요일

flame + flutter for desktop test

<windows>

https://flutter.dev/docs/get-started/install/windows#android-setup
https://itnext.io/getting-started-with-flutter-desktop-91e8293bafcf
https://github.com/kenreilly/flutter-desktop-example
visual studio

https://github.com/mkiisoft/taphero
https://medium.com/flutter-community/from-zero-to-a-multiplatform-flutter-game-in-a-week-8245da931c7e
https://medium.com/flutter-community/more-than-a-flutter-web-app-is-a-full-flutter-website-c6bb210b1f16


2019년 5월 23일 목요일

arch linux 2016

archbang

1. pacman error key could not be imported

1-2. pacman-key --init
1-3. pacman-key --populate archlinux

2. pacman error failed to commit transaction (conflicting files)

pacman -Sc
pacman -Syu

3. sudo mv /usr/lib/libdcadec.so.0 /usr/lib/libdcadec.so.0-backup

4. install yaourt
https://www.digitalocean.com/community/tutorials/how-to-use-yaourt-to-easily-download-arch-linux-community-packages
sudo vi /etc/pacman.conf


[archlinuxfr]SigLevel = Never
Server = http://repo.archlinux.fr/$arch


pacman -S yaourt

5. yaourt -S ttf-nanum
5-1. pacman -S binutils fakeroot

~~(6. pantheon
https://wiki.archlinux.org/index.php/Pantheon)~~

7. dasom -> nimf?


~~(pacman -S binutils pkg-config make fakeroot autoconf automake
빌드. dconf-editor에서 shift-space 지정해주니 됨...)~~

~~(telegram입력이 안되는 문제.qt5의 버그라고 한다.)~~
https://github.com/telegramdesktop/tdesktop/issues/1348
https://wiki.archlinux.org/index.php/Internationalization/Korean_%28%ED%95%9C%EA%B5%AD%EC%96%B4%29
http://zapary.blogspot.kr/2015/05/1504-fcitx-hangul.html
fcitx를 사용해보자.

7-1. zbs
* pacman -S patch
* yaourt -S zerobrane-studio
7-2. love2d
* yaourt -S love
7-3. git-cola
* yaourt -S tk git-cola

8. flicker
linux mint flicker 참조

9. dpi
.xprofile에
xrdb -merge ~/.Xresources

.Xresources에
Xft.dpi: 128T
Xft.autohint: 0
Xft.lcdfilter: lcddefault
Xft.hintstyle: hintfull
Xft.hinting: 1
Xft.antialias: 1
Xft.rgba: rgb

10. bluetooth control

http://www.archlinuxuser.com/2013/08/how-to-install-bluetooth-manager-on.html

.xprofile에 blueman-applet 추가(또는 .config/openbox/autostart)


11. brightness control
http://www.linuxandlife.com/2011/11/tips-to-use-archbang.html


 1. pekwm

  1. chmod a+x .pekwm/start
  2. .pekwm/keyboard


 2. dmenu
 3. conky
 4. tint2
 5. spacefm + cifs

  1. http://www.linuxveda.com/2014/04/26/mount-samba-shares-spacefm/


 6. telegram

  1. yaourt -S telegram-desktop-bin


 7. disable touchpad automatically

  ~~(1. https://growworkinghard.wordpress.com/2014/08/23/enabledisable-touch-screen-on-arch-linux/

  2. https://wiki.archlinux.org/index.php/Touchpad_Synaptics#Disable_touchpad_on_mouse_detection

  3. basic desktop with xinput -disable and -enable see software toggle)~~

  4. 그놈 확장에서 Touchpad Indicator 설치



     Option "PalmDetect" "1"
     Option "PalmMinWidth" "8"
     Option "PalmMinZ" "100"

24. kernel upgrade (linux-mainline)
yaourt -S linux-mainline
http://ifranali.blogspot.kr/2015/04/installing-arch-linux-on-asus-x205ta.html

ub-mkconfig -o /boot/grub/grub.cfg
25. 자막
yaourt -S subtitleeditor

26. gnome systray
gnome-tweak-tool -> 확장
CPU Power Manager
Arch linux updater indicator
Touchpad Indicator


27. dropbox
https://wiki.archlinux.org/index.php/dropbox

adding /usr/bin/dropbox & to ~/.config/openbox/autostart

28. html링크시 spacefm 뜨는 문제
http://bbs.archbang.org/viewtopic.php?id=5477
$ xdg-mime default browser.desktop x-scheme-handler/http
$ xdg-mime default browser.desktop x-scheme-handler/https


`29. sloppy firefox

https://wiki.archlinux.org/index.php/firefox_tweaks#Jerky_or_choppy_scrolling


30. sublime text 3 + fcitx
yaourt -S sublime-text-dev-imfix2

31. bluetooth
sudo pacman -S bluez bluez-utils

32. DE
32-1. cinnamon
high cpu : gvfsd-smb-brows?
32-2. enligtenment
32-3. pantheon?
32-4. moksha?


33. no turbo boost
http://qiita.com/tukiyo3/items/7cdc777b596e63c01594

34. synapse
launchy 비슷함.
35. pa-applet
.config/openbox/rc.xml 에 amixer 관련 주석처리 필요.

polybar temperature not working

https://github.com/polybar/polybar/wiki/Module:-temperature

~/.config/polybar/modules.conf
thermal-zone = 6
hwmon-path=/sys/devices/virtual/thermal/thermal_zone6/hwmon1/temp1_input

markdown to pdf, 마크다운을 PDF로 바꾸기

  • write .md in vscode
    • extensions: markdown extended, markdownlint
    • 첨부할 그림의 크기를 바꿔야 한다면...다음과 같이 html 태그를 직접 사용
      • <img src="drawing.jpg" alt="drawing" width="200"/>
  • export to html using markdown-styles
    • http://mixu.net/markdown-styles/
    •  generate-md --layout mixu-page --input <src_folder> --output ./out/
  • html to pdf in firefox

2019년 5월 19일 일요일

dosbox external keypad input issue on wayland

use xorg instead of wayland

or

usescancodes=false
in dosbox.conf

https://sourceforge.net/p/dosbox/bugs/465/

2019년 5월 16일 목요일

build erlang on sublime text 2

  • build erlang (Cmd + B)
~/Library/Application Support/Sublime Text 2/Packages/Erlang/Erlang.sublime-build 에 다음과 같이 추가

    ,"osx":
    {
        "path" : "원래PATH:erl이 있는 PATH"
    }

2019년 5월 14일 화요일

archlabs setup 2019

  1. yay
  2. ibus ibus-hangul ibus-qt
    1. 영문 남겨둬야 하는 듯. (polybar때문인가?)
    2. gnome 
      • 설정->지역 및 언어->입력 소스 에 한글 추가
  3. syncthing syncthing-gtk
  4. transmission-remote-gtk
  5. visual-studio-code-bin
    1. extensions
      1. Git Historydonjayamanne.githistory
      2. GitLens — Git supercharged
      3. Love2D Supportpixelbyte-studios.pixelbyte-love2d
      4. Godot Toolsgeequlim.godot-tools 
      5. empty-indent dmitrydorofeev.empty-indent
      6. indent-rainbow oderwat.indent-rainbow
      7. markdownlint davidanson.vscode-markdownlint
  6. godot-bin
  7. gitflow-avh
  8. love
  9. mcomix
  10. keepassx2
  11. vlc 
  12. steam
    1. steam-native-runtime 
  13. pcmanfm-gtk3
    1. file-roller
  14. setup
    1. disable-turbo-boost
    2. disable-hyper-threading
    3. time setup
      1. timedatectl set-local-rtc 1
      2. https://wiki.archlinux.org/index.php/System_time
      3. timedatectl set-ntp true
      4. https://wiki.archlinux.org/index.php/Systemd-timesyncd 
    4. ssh-keygen
    5. alt-f1 issue
      1. Settings > Keyboard > Application Shortcuts, remove Alt+F1 bindings, done.
        https://forum.archlabslinux.com/t/superkey-alt-f1-error/2504

ibus on antergos

  • install ibus ibus-hangul ibus-qt
  • gnome 
    • 설정->지역 및 언어->입력 소스



      한국어(Hangul)없으면 추가
    • .profile같은 곳에..

      export GTK_IM_MODULE="ibus"
      export QT_IM_MODULE="ibus"
      export QT4_IM_MODULE="ibus"
      export XMODIFIERS="@im=ibus"
      ibus-daemon &
      추가 
  • backspace, enter 키 이상하게 먹을 때

fcitx conflicts with gnome wayland

https://gitlab.gnome.org/GNOME/gnome-shell/issues/797

antergos - Problem with pacman-mirrorlist being corrupted


sudo pacman -S haveged
sudo haveged -w 1024
sudo pacman-key --init
sudo pacman-key --populate archlinux antergos
sudo pkill haveged

sudo pacman -S antergos-keyring 
 

https://forum.antergos.com/topic/2604/problem-with-pacman-mirrorlist-being-corrupted/37

antergos install with minimal iso

  • setup wifi: create wifi connection 
  • launch midori : with add panel (launch app?)
    • search arch mirrorlist
    • update /etc/pacman.d/mirrorlist with search results
    • test mirrorlist
      • sudo pacman -Syu
  • launch cnchi

2019년 5월 1일 수요일

via permission error linux chrome

 https://bbs.archlinux.org/viewtopic.php?id=285709