Skip to content

icq4ever/manjaroSettingDocuments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 

Repository files navigation

manjaroSettingDocuments

아치리눅스 만자로 배포판 정리

배포판 선택

-> Manjaro XFCE Edition : lightweight desktop environment(개인적으로 깔끔하다 생각)

nvidia setting

bumblebee

$ yaourt -s virtualgl #optirun으로 앱 실행시 필요
$ gpasswd -a <user> bumblebee

프린터 세팅

-> https://wiki.manjaro.org/index.php?title=Printing

Brother HL-1210W

드라이버 설치 및 프린터 매니저 설치 (없을경우)

$ yaourt -s 1210w
$ yaourt -s print-manager

프린터 추가하기

  • 서비스 등록을 위해 사용자를 sys그룹에 추가
$ sudo gpasswd -a yourusername sys
  • Device URL : socket://[PRINTER_IP_ADDRESS:9100]
  • 드라이버 : 설치한 드라이버 선택
  • 테스트 인쇄 해보기

유용한 유틸리티

AUR (deprecated.. not recommand)

-> http://archlinux.fr/yaourt-en/

$ sudo pacman -S base-devel

git clone https://aur.archlinux.org/package-query.git
cd package-query
makepkg -si
cd ..
git clone https://aur.archlinux.org/yaourt.git
cd yaourt
makepkg -si
cd ..

yay (AUR alternative)

-> https://github.com/Jguer/yay

pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

마우스 휠클릭 붙여넣기 끄기

-> stackExchange.com

$ pacman -S xbindkeys xsel xdotool
$ vi ~/.xbindkeysrc
---
"echo -n | xsel -n -i; pkill xbindkeys; xdotool click 2; xbindkeys"
b:2 + Release
---

then reload xbindkeys -p
run xbindkeys on startup, pkill xbindkeys to stop

oh-my-zsh

$ sh -c "$(curl -fsSL https://github.com/raw/ohmyzsh/ohmyzsh/master/tools/install.sh)"

others

$ sudo pacman zsh vim terminator 
$ yay -s vscode  #visual studio code
$ yay -s iosevka-term #iosevka ttf font
$ yay -s minetime #google calendar
$ yay -s ncspot # spotify on terminal

스팟라이트/alfred와 같은 간단 런처

$ sudo pacman -S rofi
  • 테마 선택 : rofi-theme-selector 로 선택 후 alt+a
  • keyboard shortcut command : rofi -show drun
  • theme config

구 설정파일 세팅

$ vi ~/.config/rofi/config
==============

rofi.theme: Monokai
rofi.font:  Iosevka Term Medium 11
rofi.modi:  drun

2020/01/02 릴리즈 이후로 설정파일 포맷이 변경됨.
참고 : https://github.com/davatorium/rofi/wiki/Configuring-Rofi

아래 명령으로 새 설정파일로 변환후

$ rofi -upgrade-config

아래와 같이 새로 생성된 설정파일을 수정한다.

$ vi ~/.config/rofi/config.rasi
==============
configuration {
  font: "Iosevka Term Medium 11";
  modi: "drun";
}
  
@theme "/usr/share/rofi/themes/Monokai.rasi"                                                     

오프라인 도큐먼트 문서. dash for mac과 같다.
Qt관련 버그가 있는듯. 예전엔 HiDPI 관련 이슈로 아이콘등이 이상하게 크기가 이상하더니, 아에 구동이 안되기도 한다.\

github에서 직접 소스를 받아 빌드하여 실행하고, 쉘 스크립트를 만들어 QT옵션을 주며 실행토록 한다.

$ git clone https://github.com/zealdocs/zeal
$ cd zeal
$ mkdir build && cd build
$ cmake ..
$ make && sudo make install

$ sudo vi /usr/bin/launchZeal

---
#!/bin/sh
QT_AUTO_SCREEN_SCALE_FACTOR=0 zeal
---
// 저장 후 
$ sudo chmod+x /usr/bin/launchZeal
// 앞으로 launchZeal로 실행이 가능하다.

terminator color setting

  • pre-requirements
$ sudo pacman -S python2-pip
$ sudo pip2 install requests

-> terminator-themes

한글입력기 fcitx

Nimf는 더이상 설치도 안되고, telegram에서 입력이 안되므로 fcitx로 갈아탐

$ sudo pacman -S fcitx5 fcitx5-hangul fcitx5-gtk fcitx5-qt fcitx5-configtool 
vi ~/.xprofile

export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"

이후 재부팅한 뒤, fcitx configuration에서 한글 선택, 단축키 설정.

깔끔한 독.

$ sudo pacman -S plank

눌리고 있는 키보드를 화면에 보여줌

$ yay -s screenkey

alias setting

alias vi="vim"
alias oF="~/oF"
alias apps="~/oF/apps"
alias addons="~/oF/addons"
alias pg="projectGenerator"
alias pg.="projectGenerator -tvscode ."

NVIDIA CUDA setup

$ yaourt -s cuda
> select (cuda cudnn) with installed nvidia driver version (opencl-nvidia-XXXxx)

OF 0.11.0 setup

ALCdevice error

-> https://forum.openframeworks.cc/t/compilation-failing-due-to-confliting-definition-in-openal/33927/2

A fix for this which we should do on our end ( and should work with both old and new releases ) should be:

$ vi ~/oF/libs/openFrameworks/sound/ofOpenALSoundPlayer.h
typedef struct ALCdevice_struct ALCdevice;
/** Opaque context handle */
typedef struct ALCcontext_struct ALCcontext;

to:

struct ALCdevice;
struct ALCcontext;

known bug

notifyd service not running

$ systemctl --user start xfce4-notifyd
$ systemctl --user status xfce4-notifyd
$ systemctl --user enable xfce4-notifyd

About

아치리눅스 만자로 배포판 정리

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published