![Unity Launcher(Ubuntu 14.04에 있는 경우) 및/또는 xfce 패널(xubuntu의 경우)을 제거하는 쉘 스크립트](https://rvso.com/image/1127625/Unity%20Launcher(Ubuntu%2014.04%EC%97%90%20%EC%9E%88%EB%8A%94%20%EA%B2%BD%EC%9A%B0)%20%EB%B0%8F%2F%EB%98%90%EB%8A%94%20xfce%20%ED%8C%A8%EB%84%90(xubuntu%EC%9D%98%20%EA%B2%BD%EC%9A%B0)%EC%9D%84%20%EC%A0%9C%EA%B1%B0%ED%95%98%EB%8A%94%20%EC%89%98%20%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8.png)
Unity Launcher(Ubuntu 14.04에 있는 경우) 및/또는 xfce 패널(xubuntu의 경우)을 제거하는 쉘 스크립트가 필요합니다.
누구든지 같은 생각을 가지고 있다면 알려주십시오.
감사해요
답변1
업데이트:
스크립트 실행 시 런처를 완전히 제거하려면 unity compiz 플러그인을 비활성화하겠습니다.
우리는 그런 스크립트를 가지고 있습니다체크박스, 편의상 여기에 붙여넣습니다.
#!/usr/bin/env python3
# This file is part of Checkbox.
#
# Copyright 2014-2015 Canonical Ltd.
# Written by:
# Daniel Manrique <[email protected]>
# Sylvain Pineau <[email protected]>
#
# Checkbox is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 3,
# as published by the Free Software Foundation.
#
# Checkbox is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Checkbox. If not, see <http://www.gnu.org/licenses/>.
"""
manage_compiz_plugin
====================
This script allows enabling or disabling compiz plugins using
gsettings. Changes take effect on the fly.
"""
from gettext import gettext as _
import argparse
import gettext
import os
import sys
import subprocess
import time
PATH="org.compiz.core:/org/compiz/profiles/unity/plugins/core/"
KEY="active-plugins"
gettext.textdomain("2013.com.canonical.certification.checkbox")
gettext.bindtextdomain("2013.com.canonical.certification.checkbox",
os.getenv("CHECKBOX_PROVIDER_LOCALE_DIR", None))
plugins = eval(subprocess.check_output(["gsettings", "get", PATH, KEY]))
parser = argparse.ArgumentParser(description=_("enable/disable compiz plugins"),
epilog=_("Available plugins: {}").format(plugins))
parser.add_argument("plugin", type=str, help=_('Name of plugin to control'))
parser.add_argument("action", type=str, choices=['enable', 'disable'],
help=_("What to do with the plugin"))
args = parser.parse_args()
if args.action == 'enable':
if args.plugin in plugins:
raise SystemExit(_("Plugin {} already enabled").format(args.plugin))
plugins.append(args.plugin)
else:
if args.plugin not in plugins:
raise SystemExit(_("Plugin {} doesn't exist").format(args.plugin))
plugins.remove(args.plugin)
subprocess.call(["gsettings", "set", PATH, KEY, str(plugins)])
time.sleep(3)
Unity 플러그인을 비활성화하려면:
./manage_compiz_plugin unityshell disable
복원하려면:
./manage_compiz_plugin unityshell enable
첫 번째 버전(자동 숨기기 사용):
유니티 런처를 숨기려면 다음 명령을 사용하십시오.
dconf write /org/compiz/profiles/unity/plugins/unityshell/launcher-hide-mode 1
dconf write /org/compiz/profiles/unity/plugins/unityshell/edge-responsiveness 0
복원하려면 다음을 사용하세요.
dconf write /org/compiz/profiles/unity/plugins/unityshell/launcher-hide-mode 0
dconf write /org/compiz/profiles/unity/plugins/unityshell/edge-responsiveness 2
답변2
런처 없이 Unity를 다시 컴파일하는 스크립트를 찾고 있다면 이것이 바로 여러분이 원하는 것입니다: 런처 없이 Unity 컴파일