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

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

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

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

答案1

KDE 控制模块

命令:

kcmshell4 --help

会告诉:

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

您可以使用 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....

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

kcmshell4 kwincompositing kwindecoration kwinoptions kwinrules kwinscreenedges kwintabbox

将启动模块

在此处输入图片描述

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

相关内容