debian 설정

- sudo 추가

su
adduser mono sudo

또는
su
nano /etc/sudoers

추가
username  ALL=(ALL) ALL:ALL


- 자동 로그인

아래 파일 수정

sudo vi /etc/lightdm/lightdm.conf


autologin-user=<your_username>
autologin-user-timeout=0

apt-get install fonts-nanum

소스 리스트수정 (중요)
sudo vi /etc/apt/sources.list

deb http://ftp.kr.debian.org/debian/ buster main contrib non-free

#deb-src http://ftp.kr.debian.org/debian/ buster main contrib non-free

deb http://security.debian.org/debian-security buster/updates main contrib non-free

#deb-src http://security.debian.org/debian-security buster/updates main contrib non-free

deb http://ftp.kr.debian.org/debian/ buster-updates main contrib non-free

#deb-src http://ftp.kr.debian.org/debian/ buster-updates main contrib non-free


----------------------------------------

sublime
vlc
vim
zsh
zim
cherrytree

블루투스 설치
blueman
bluemon

----------------------------------------

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential linux-headers-`uname -r`

-----------------------------------------


sudo apt-get install build-essential gnome-devel libgtk-3-dev libgtk2.0-dev

./configure --includedir=/usr/include --libdir=/usr/lib


----------------------------------------------

vim 시스템 붙여넣기

vim-gtk 설치

vim ~/.vimrc
set clipboard=unnamedplus

----------------------------------------------

크롬 부드러운 스크롤 끄기

chrome://flags/#smooth-scrolling

Tab Hover Cards 끄기


크롬 다크모드

--force-dark-mode
--enable-features=WebUIDarkMode

------------------------------------------------

디아블로2
d2char
d2sfx

vmware 강제 3D 기능 활성

mks.gl.allowBlacklistedDrivers = "TRUE"

-----------------------------------------------------------------------------------------------

sudo apt-get install openbox obmenu obconf tilda tint2 nitrogen compton

               
https://sourceforge.net/projects/menumaker/

cd ~/menumaker-0.99.7/
./mmaker OpenBox3


sudo apt install openbox obconf obmenu lightdm pcmanfm iceweasel leafpad lxterminal nitrogen tint2 menu lxappearance compton synaptic gnome-backgrounds mate-backgrounds

---------------------------------------------------

debian 8 wine 설치

sudo apt-get install apt-transport-https
dpkg --print-architecture
dpkg --print-foreign-architectures
sudo dpkg --add-architecture i386
pkg --print-foreign-architectures

wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key

echo 'deb https://dl.winehq.org/wine-builds/debian/ jessie main' > /tmp/winehq.list

sudo cp /tmp/winehq.list /etc/apt/sources.list.d/

rm /tmp/winehq.list

sudo apt update

sudo apt install --install-recommends winehq-stable
wine --version



debian 10.05 wine 설치

sudo apt-get install apt-transport-https
sudo dpkg --add-architecture i386


일부 소프트웨어 최신설치 
http://ftp.kr.debian.org/debian/ buster-backports main 

불필요 패키지 제거
sudo apt autoremove

관련파일 자동 삭제
sudo apt remove --autoremove 파일이름


Chrome에서 autologin 및 비밀번호 저장기능 사용시 계속해서 비밀번호를 묻는 것 해결
부팅 후 최초 크롬 실행시 "Enter password for keyring 'default' to unlock" 이라고 하면서 매번 비밀번호를 묻는다. 다음과 같이 해제할 수 있다. 
검색창(win key) > Passwords and Kesy > Default Keyring 우클릭 > change password 클릭후 기존 비밀번호 입력하고, 새로운 비밀번호에 아무것도 입력하지 않고 완료.

https://askubuntu.com/questions/31786/chrome-asks-for-password-to-unlock-keyring-on-startup


vmware 공유 폴더 설정
mkdir ~/testshare
sudo mount -t fuse.vmhgfs-fuse -o allow_other .host:/testshare ~/testshare

sudo vi /etc/fstab
.host:/testshare        /home/shovon/testshare  fuse.vmhgfs-fuse    allow_other,uid=1000,gid=1000   0       0


notepad-plus-plus 설치
sudo snap install notepad-plus-plus
sudo snap connect notepad-plus-plus:process-control
sudo snap connect notepad-plus-plus:removable-media
sudo snap connect notepad-plus-plus:hardware-observe
sudo snap connect notepad-plus-plus:cups-control
reboot


시계옵션 서체 크기 칼라 변경
<span font="빙그레 16" color="#52BE80">%m-%d %a %H:%M</span>



블루투스 5.0 설치
rtl8761b 호환 모든 동글 가능

파일 다운로드
rtl8761b_fw.bin
rtl8761b_config.bin

경로로 복사
/lib/firmware/rtl_bt

재부팅



데비안 최적화

modemmanager 삭제
sudo apt-get purge modemmanager

BleachBit 설치

자주사용하는 라이브러리 로드
sudo apt-get install preload


ntfs 외장하드 superblock 오류 해결
sudo ntfsfix -b -d /dev/sda2




댓글

이 블로그의 인기 게시물

디아2 창모드 및 명령어

vmware 최적화