사용자 도구

사이트 도구


linux:gnome

문서의 이전 판입니다!


Gnome

3.36~ 현재 문제점

  • ibus 가 아니면 gnome search 등에서 한글 입력이 불가하고, ibus를 깔아도 한글 입력하면 매우 버벅인다.

입력기 Input Method 설정

Gnome Tweaks

Settings

  • gnome-control-center --list 설정 목록 확인
  • gnome-control-center display : Display Settings 열기

Animation 끄기

  • Gnome shell 에서 lag 이 느껴진다면 애니메이션을 끄는게 나아 보인다.
  • Ubuntu 20.04, Gnome 3.36.3 에서 나는 심하게 lag 을 느끼고 있음.
  • gnome-tweaks → 일반 → 애니메이션을 끈다.

Display 설정 변경

  • Ubuntu – Changing UI scaling from command line – iTecTec : mutter 등이 xrandr' 설정 변경을 올바로 반영 못함. ===== App Grid 초기화 ===== * Gnome 3.38 부터 Application Grid 를 마음대로 그루핑할 수 있게 되었음. * 이를 초기화 하는 방법 <code sh> gsettings reset org.gnome.shell app-picker-layout # 이후 Alt+F2 누르고, r 로 Gnome Shell reload </code> ===== Battery % 보여주기 ===== <code sh> gsettings set org.gnome.desktop.interface show-battery-percentage true </code> ===== Gnome shell reload ===== * Alt-F2 로 명령실행창을 띄운뒤에 r 실행하면 Gnome Shell 을 reload 한다. * 다음 명령 한 줄이 3.38 현재 가장 잘 됨.<code sh> busctl –user call org.gnome.Shell /org/gnome/Shell org.gnome.Shell Eval s 'Meta.restart(“Restarting…”)'</code> * 위 명령이 안되면<code sh> killall -HUP gnome-shell </code> * gnome-shell --repace 명령을 실행한다. * Gnome 3.30부터, 이 명령 실행시 Gnome 이 죽고로그인을 다시해야 했음. 확장도 모두 비활성화 상태가 되어서 다시 활성화 해야함. * 확장을 설치하고나서 즉시 실행해보고자 할 때 등에 사용한다. * How To Restart GNOME Shell From Command Line Without Closing Any Applications (X11 Only) - Linux Uprising Blog ===== 작업공간 조정 ===== * gnome-tweaks로 작업공간을 고정 갯수로 변경한다. 동적 갯수로 할 경우에 내가 원하는 작업 공간에 원하는 애플리케이션들을 고정시켜 두지 못한다. * 현재 작업공간에서만 애플리케이션 스위칭을 하려면 dconf-editor에서 다음 값을 true로 변경해준다. * /org/gnome/shell/app-switcher/current-workspace-only * /org/gnome/shell/window-switcher/current-workspace-only * dash-to-dock, ubuntu-dock, dash-to-panel 등의 플러그인에서는 각각의 플러그인 설정을 따른다. <code sh> # workspace 갯수 고정 gsettings set org.gnome.mutter dynamic-workspaces false gsettings set org.gnome.desktop.wm.preferences num-workspaces 4 # 현재 작업공간에서만 애플리케이션 스위칭 gsettings set org.gnome.shell.app-switcher current-workspace-only true gsettings set org.gnome.shell.window-switcher current-workspace-only true </code> ===== 창 끌어 옮기기 키 ===== * gnome-tweaks → 창 → 창 동작키Alt로 바꾸면 Alt+마우스 좌클릭으로 창을 이동할 수 있다. ===== gnome-shell-extension-prefs ===== * gnome 확장 설정(Gnome Tweaks 없이도 가능) ===== gnome-session-properties ===== * 시작 프로그램을 설정할 수 있다. * 메뉴에 있는 애플리케이션 뿐만 아니라, 자유롭게 명령을 추가 삭제 가능하다. ===== ~/.config/autostart ===== * 시작 프로그램을 설정하면, 이 디렉토리에 *.desktop 파일로 들어간다. * 시작 프로그램을 수동등록하려면, /usr/share/applications 에 있는 *.desktop 파일을 복사해둬도 된다. * X-GNOME-Autostart-Delay=10 항목을 넣으면 지정된 초(seconds)만큼 지연돼서 프로그램을 시작한다. * QT 애플리케이션에 HiDPI Scaling 이 잘 안먹은 상태로 자동 시작되면 지연을 시켜주면 됐다. * 기본적인 형태를 갖춰 직접 파일을 만들어 넣어주면 된다. <code> [Desktop Entry] Name=ApplicationName Exec=/path/to/application Type=Application Terminal=false Type=Application X-GNOME-Autostart-enabled=true # 기타 참고 정보 X-GNOME-Autostart-Delay=10 X-KDE-autostart-after=panel </code> * gnome-shell-run-script-after-login • Ye Xing ===== *.desktop 파일 실행 ===== * Gnome 3 의 Nautlius 파일 관리자는 기본적으로 올바른 경로(/usr/share/applications, ~.local/share/applications 에 있는 *.desktop 파일만 실행한다. * 바탕화면등에 있는 것을 실행하려면 Desktop Icons 확장을 설치하고 * 해당 파일 아이콘에서 마우스 우클릭하고 Allow Launching 설정을 해줘야 한다. ===== ~/.gnomerc ===== * Ubuntu Linux 계열 Gnome 환경에서는 로그인할 때 ~/.gnomerc를 읽어서 환경변수 등을 등록해줄 수 있다. * GUI 애플리케이션에 필요한 환경변수를 지정해주면 좋다. * 참조: Linux X Window / X11 * Ubuntu Gnome, Pop! OS Gnome 등에서는 작동하지 않았다. 아마도 Ubuntu Vanila Gnome 에서만 작동할 것으로 보인다. * Ubuntu 에서는 .xprofile 을 사용해야 했다. ===== 핫 코너(hot corner, Activities) 비활성화 ===== * 마우스 커서가 좌상단 코너로 이동하면 Activities 목록이 나오는 것을 Activities Hot Corner 라고 함. * gnome-tweaks최상위 표시줄 → 활동 개요 핫 코너를 off 해주면 된다. ===== Panel button margin / padding ===== * gnome3 - Change (reduce) Gnome 3 horizontal icon padding in notification area (Debian Wheezy) - Unix & Linux Stack Exchange * ~/.themes/kwon37xi-custom/gnome-shell/gnome-shell.css 를 다음과 같이 만들고(혹은 /usr/share/themes에서 복를 한 뒤에) .panel-button 항목의 hpadding값을 작게 변경한다.<code> .panel-button { -natural-hpadding: 1px; -minimum-hpadding: 1px; } </code> * gnome-tweaks 에서 gnome-shell 테마를 선택해준다. 나머지 설정은 기본값을 자동 임포트한다. * dash-to-panel 플러그인 사용시에는 테마 설정은 불필요하고, 위 값과 동일하게 Fine-Tune → Tray Icon Padding/Status Icon Padding 등을 조정해준다. * gnome - How to change GNOME3 panel padding on Linux Mint 12? - Stack Overflow * ===== Command Line 명령 ===== * https://askubuntu.com/questions/1095553/invoking-gnome-activities-overview-from-command-line<code> # Overview/Activities Main.overview.show() 는 보여주기 hide() 는 숨기기 # Main.overview.toggle() dbus-send –session –type=method_call –dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval string:'Main.overview.show();' </code> * Invoking GNOME “Show applications” from command line : gnome<code sh> dbus-send –session –type=method_call –dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval string:'Main.shellDBusService.ShowApplications();' </code> * WMCtrl : 각종 창, 작업공관 관련 명령 ===== System Tray Icon ===== * Legacy Tray Icon 은 https://extensions.gnome.org/extension/2890/tray-icons-reloaded/ 설치. * ubuntu-appindicators를 설치는 off 해준다. * Gnome Shell Extension에서 Tray Icon 관련 항목 참조. ===== 참조 ===== * Gnome3CheatSheet - GNOME Wiki! * Gnome Shell Tutorial : Desktop Workflow Explained - YouTube * What's new in GNOME Shell 3.36? | GNOME 3.35.90 beta release - YouTube * Turn GNOME To Heaven With These 23 GNOME Extensions * [Tutorial] Stripping the Ubuntu Desktop into Vanilla Gnome : gnome : Ubuntu 에서 순수 Gnome vanilla-gnome-desktop 설치하기. 원래 우분투는 ubuntu-gnome-desktop'' 을 설치함.
linux/gnome.1606276564.txt.gz · 마지막으로 수정됨: 2020/11/25 12:56 저자 kwon37xi