Skip to content

Instantly share code, notes, and snippets.

View chaeya's full-sized avatar
😀

Kevin Kim chaeya

😀
View GitHub Profile
@chaeya
chaeya / .conkyrc
Created June 6, 2024 14:49
conkyrc in archlinux
conky.config = {
use_xft= true,
xftfont = 'Pretendard:size=20',
xftalpha = 0.1,
update_interval = 1,
total_run_times = 0,
short_units = true,
own_window = true,
own_window_type = 'desktop',
@chaeya
chaeya / lol.sh
Last active October 24, 2023 07:57
Install LOL on HamoniKR
#!/bin/bash
# SPDX-License-Identifier: MIT
# Program Information
# Program Name: League of Legends Installer
# Description: This script installs League of Legends on a Linux system using Lutris.
# Version: 1.0
# Author: Kevin Kim
# Date: 2023.10.23
@chaeya
chaeya / set-build-env.sh
Last active October 28, 2023 02:51
Prepare build env at Desktop
#!/bin/bash
# Whole message to syslog
# exec 1> >(logger -s -t $(basename $0)) 2>&1
# only some message to syslog
readonly SCRIPT_NAME=$(basename $0)
log() {
echo "$@"
@chaeya
chaeya / hamonikr-pkg-sec.asc
Created October 6, 2023 07:14
packaging key
-----BEGIN PGP PRIVATE KEY BLOCK-----
lQdGBF+FK9MBEADF4B/AOq7OSIxKu3bqVaYSH+VsLo5slCaujfgSiha9kERgs+Wj
k99CKB5q+VQrcAtNgTaYWv0RcwOXt74MdVgoMpjOht0UtuganmuwEaPbZQFgf7a2
pX6i4sD/r5NKTpSdvO5SnLdnoqbBaJgFm4UJLokqRopBG2CCA3mlibcFE4HfAgSH
Vw4es6gY35PB90zeAWNGMPTTKxuqmUDtsyp2ZO5xCwcbb202rZCCn32PrYroX/Ph
Eb43D/Zrcrz9RTarLsRW0yc9ocyGjdJ8ltc6F6Q72HwolAQ23yMGfS3rJ4oOTAQ5
DkSOKD4XfxoEXUTl5YJiKVfbVYn83gK7M/JKVg+zasjGTp7KBI+XGY5P6MCs60X2
V1lOjOLcFAo8V9zFRstCoX7VRiIE1iTNz/U+Gck7QJNDngl1Xd8SM7nP8wqwYHNE
IOpWVWGa8EzgAJiHcM+/ZG4Hic2XtpfCrIxPRQNkA01h56Xq3l66+ZROwqSvyWgY
@chaeya
chaeya / linuxmint-21.2-to-hamonikr-7.0.patch
Created October 4, 2023 10:58
Ubiquity linuxmint-21.2 to hamonikr-7.0
diff -urN a/bin/ubiquity-dm b/bin/ubiquity-dm
--- a/bin/ubiquity-dm 2022-06-28 00:53:37.000000000 +0900
+++ b/bin/ubiquity-dm 2023-10-04 19:33:57.350212498 +0900
@@ -429,7 +429,7 @@
visual_a11y = 'access=v' in proc_cmdline
background_image = None
- for background in ('/usr/share/backgrounds/linuxmint/default_background.jpg'):
+ for background in ('/usr/share/backgrounds/hamonikr/default_background.jpg'):
exists = os.access(background, os.R_OK)
@chaeya
chaeya / kakaotalk-install
Created September 18, 2023 07:22
install kakaotalk on ubuntu 22.04
#!/bin/bash
RUID=$(who | awk 'FNR == 1 {print $1}')
echo "$RUID"
# 인터넷 연결상태 확인
nslookup www.google.com | grep authoritative > /dev/null 2>&1
if [[ $? != 0 ]]; then
zenity --info --width 200 --text "인터넷 연결상태를 확인해주세요"
exit 0
@chaeya
chaeya / hamonikr-xrdp-installer.sh
Last active January 12, 2024 02:38
xRDP installation on Ubuntu 22.04, HamoniKR 7
#!/bin/bash
#####################################################################################################
# Script_Name : hamonikr-xrdp-installer.sh
# Description : Perform xRDP installation on Ubuntu 22.04, HamoniKR 7 and perform
# additional post configuration to improve end user experience
# Date : Mon, 18 Sep 2023 10:18:03 +0900
# written by : Kevin Kim
# WebSite :https://hamonikr.org
####################################################################################################
@chaeya
chaeya / xrdp.ini
Created September 18, 2023 01:26
XRDP settings for HamoniKR OS
[Globals]
ini_version=1
fork=true
port=3389
use_vsock=false
tcp_nodelay=true
tcp_keepalive=true
security_layer=negotiate
crypt_level=low
certificate=
@chaeya
chaeya / sesman.ini
Created September 18, 2023 01:25
XRDP sesman.ini for HamoniKR
[Globals]
ListenAddress=127.0.0.1
ListenPort=3350
EnableUserWindowManager=true
UserWindowManager=startwm.sh
DefaultWindowManager=startwm.sh
[Security]
AllowRootLogin=true
MaxLoginRetry=4
@chaeya
chaeya / startwm.sh
Last active September 18, 2023 01:39
xrdp X session start script
#!/bin/sh
# xrdp X session start script (c) 2015, 2017 mirabilos
# published under The MirOS Licence
if test -r /etc/profile; then
. /etc/profile
fi
if test -r /etc/default/locale; then
. /etc/default/locale