如何通过命令行启动 Configure Kde 控制模块?

Ale*_*dro 10 kde window-manager kubuntu kwin

通过“配置窗口行为”,右键单击窗口的顶部栏可以进入窗口管理器设置。在这里您可以学习和配置 KWin 的高级功能。

但是有没有办法使用命令行启动窗口管理器设置?

use*_*687 19

KDE 控制模块

命令:

kcmshell4 --help
Run Code Online (Sandbox Code Playgroud)

会告诉:

Usage: kcmshell4 [Qt-options] [KDE-options] [options] module 

A tool to start single KDE control modules

Generic options:
  --help                    Show help about options
  --help-qt                 Show Qt specific options
  --help-kde                Show KDE specific options
  --help-all                Show all options
  --author                  Show author information
  -v, --version             Show version information
  --license                 Show license information
  --                        End of options

Options:
  --list                    List all possible modules

Arguments:
  module                    Configuration module to open
  --lang <language>         Specify a particular language
  --silent                  Do not display main window
  --args <arguments>        Arguments for the module
Run Code Online (Sandbox Code Playgroud)

您可以使用 list 命令:

kcmshell4 --list

The following modules are available:
kwincompositing           - Configure desktop effects
display                   - Display Settings
autostart                 - A configuration tool for managing which programs start up.
ebrowsing                 - Configure enhanced browsing
kcm_phonon                - Sound and Video Configuration
.... cut....
Run Code Online (Sandbox Code Playgroud)

您可以选择多个模块,即。命令:

kcmshell4 kwincompositing kwindecoration kwinoptions kwinrules kwinscreenedges kwintabbox
Run Code Online (Sandbox Code Playgroud)

将启动模块

在此处输入图片说明

kwincompositing           - Configure desktop effects
kwindecoration            - Configure the look and feel of window titles
kwinoptions               - Configure the window behavior
kwinrules                 - Configure settings specifically for a window
kwinscreenedges           - Configure active screen edges
kwintabbox                - Configure the behavior for navigating through windows
Run Code Online (Sandbox Code Playgroud)

  • 它适用于带有 `kcmshell5` 的 kde5。 (5认同)