dde-dock-graphics-plugin (forked from mywhat/DDESwitchCard)
Original BBS Post:切换显卡插件
This dde-dock plugin is originally written by chanforever, designed for quick access from dde-dock to switch between different graphics cards to run X11 server.
For now only support Intel IGPU + NVIDIA DGPU laptops with internal display connected to IGPU.
Laptops with internal display connected to DGPU, or those with DDG(Dual-Direct GFX) technology won't need this plugin.
-
AMD APU + NVIDIA DGPU laptops are theortically supported(?)
Ofcourse it only shows
Intel graphics
in dde-dock, but since usingmodesetting
module in xorg.conf, APU should work......If you switch to
Intel graphics
and xserver failed to start, you can run/opt/apps/dde-dock-graphics-plugin/files/bin/Rescue.sh
in tty2 to revert modifications in/etc/X11/xorg.conf
and/etc/lightdm/lightdm.conf
.
- cmake
- debhelper
- qtchooser
- qtbase5-dev
- qttools5-dev
- libqt5svg5-dev
- libdtkcore-dev
- libdtkwidget-dev
- dde-tray-loader-dev
Use the following command to install required dependencies:
$ sudo apt build-dep .
- libqt5svg5
- dde-tray-loader
- dde-application-manager
- mesa-utils
- pkexec
- zenity
Make sure you have installed all dependencies.
Use the following command to build binary package:
$ dpkg-buildpackage -Zxz -rfakeroot -uc -us -b -j$(nproc)
The binary package will be generated in parent directory.
- mywhat/DDESwitchCard -> 切换显卡插件
- deepin-espanol/dde-dock-graphics-plugin
- Dziban-dev/dde-appknitter
- q77190858/dde-sys-monitor-plugin
- Qt 项目(Cmake)设置国际化支持