IT HOW

무엇이는 물어보세요

컨텐츠로 건너뛰기
  • 프로그래밍
  • 파이썬
  • 자바
  • 자바스크립트
  • 리눅스
  • c#

로그인 화면에서 애플리케이션 / 시스템 표시기를 추가하거나 조작하려면 어떻게합니까? 표시되는 여러 표시기를

일반적으로 로그인 화면의 오른쪽 상단에 표시되는 여러 표시기를 제거하고 싶습니다. 특히 접근성, 키보드 레이아웃, 전원 및 소리 표시기를 제거하고 싶지만 일반적으로 표시기를 추가하거나 제거하는 방법을 알고 있으면 좋을 것입니다. 어떻게해야합니까?



답변

다른 접근법으로 오기 :

$ pstree
init─┬─...
     ├─lightdm─┬─Xorg
     │         ├─lightdm─┬─lightdm-greeter───unity-greeter───4*[{unity-greeter}]
     ...

$ dpkg -L unity-greeter
...
/usr/share/glib-2.0/schemas/com.canonical.unity-greeter.gschema.xml
...

$ more /usr/share/glib-2.0/schemas/com.canonical.unity-greeter.gschema.xml

...
    <key name="indicators" type="as">
      <default>['ug-accessibility', 'com.canonical.indicator.keyboard', 'com.canonical.indicator.session', 'com.canonical.indicator.datetime', 'com.canonical.indicator.
power', 'com.canonical.indicator.sound', 'application']</default>
      <summary>Which indicators to load</summary>
    </key>
...

unity-greeterlightdm사용자 가 실행합니다 ! dconf해당 고스트 사용자 의 설정 을 변경하는 방법을 찾는 대신 . 나는 기본값을 무시합니다. Ubuntu 14.04 64 비트 (VirtualBox)에서 테스트되었습니다.

  1. 새 dconf재정의 파일 만들기

    sudo nano /usr/share/glib-2.0/schemas/90_unity-greeter.gschema.override
    

    유지하려는 표시기와 함께이 두 줄을 넣으십시오.

    [com.canonical.unity-greeter]
    indicators=['com.canonical.indicator.session']
    

    기본값은

    ['ug-accessibility', 'com.canonical.indicator.keyboard', 'com.canonical.indicator.session', 'com.canonical.indicator.datetime', 'com.canonical.indicator.power', 'com.canonical.indicator.sound', 'application']
    
  2. glib스키마 재 컴파일

    sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
    
  3. 디스플레이 관리자를 다시 시작하십시오.

    sudo service lightdm restart
    

답변

LightDM을 사용하여 Ubuntu 14.04에서 시도한 한 가지 방법 (기본값); 에 저장된 일부 구성 파일 사용/usr/share/unity/indicators/

키보드 표시기를 숨기고 싶다고 가정 해 봅시다.

  1. 편집을 위해 해당 파일 열기

    sudo nano /usr/share/unity/indicators/com.canonical.indicator.keyboard
    
  2. 숨길 모드에 대한 객체 경로 설명, 예를 들어 인사 화면에서 숨기고 화면 잠금

    [Indicator Service]
    Name=indicator-keyboard
    ObjectPath=/com/canonical/indicator/keyboard
    Position=80
    
    [desktop]
    ObjectPath=/com/canonical/indicator/keyboard/desktop
    
    #[desktop_greeter]
    #ObjectPath=/com/canonical/indicator/keyboard/desktop_greeter
    
    #[desktop_lockscreen]
    #ObjectPath=/com/canonical/indicator/keyboard/desktop_lockscreen
    
    [ubiquity]
    ObjectPath=/com/canonical/indicator/keyboard/desktop
    
  3. 디스플레이 관리자를 재부팅하거나 다시 시작하십시오.

    sudo service lightdm restart
    

답변


이 글은 우분투 카테고리에 분류되었고 indicator, login-screen 태그가 있으며 [호호] 야야님에 의해 2021년 12월 24일에 작성되었습니다.

글 네비게이션

← 스위프트의 정밀 문자열 형식 지정자 자른 방법입니다. NSLog(@” %.02f %.02f %.02f”, r, g, 간헐적 POP3 오류-재 인증 실패 며칠 동안이 오류가 반복해서 발생합니다. -ERR →

태그

  • android
  • apt
  • backup
  • bash
  • boot
  • c#
  • c++
  • command-line
  • css
  • debian
  • email
  • firefox
  • git
  • google-chrome
  • hard-drive
  • html
  • ios
  • iphone
  • java
  • javascript
  • keyboard
  • linux
  • mac
  • macbook
  • macos
  • microsoft-excel
  • mysql
  • networking
  • performance
  • php
  • python
  • security
  • shell
  • ssh
  • terminal
  • ubuntu
  • unix
  • usb
  • vim
  • virtualbox
  • windows
  • windows-7
  • windows-8
  • windows-10
  • wireless-networking

최신 글

  • 디스크 정리에 많은 시간과 CPU가 필요한 이유는 무엇입니까? 많은 시간을 소비하는 것 같습니다. 파일을
  • Vim에서 일반 모드와 삽입 모드 사이에서 커서를 어떻게 변경합니까? 모양 등)를 변경하는 방법을 알고
  • 집계 대 구성 무엇인지 이해하지만 집계가 무엇인지에 대한 명확한
  • Python 생성기 패턴에 해당하는 C ++
  • 소프트웨어 일반인의 경력 경로는 무엇입니까? [닫은] 전문에 대한 질문 이 질문에 영감을. 소프트웨어 전문가가

카테고리

  • c#
  • c++
  • git
  • html
  • 리눅스
  • 서버
  • 소프트웨어
  • 슈퍼유저
  • 안드로이드
  • 애플
  • 우분투
  • 자바
  • 자바스크립트
  • 파이썬
  • 프로그래밍
apthow.com powered by hoya
Go to mobile version