DSH Desktop Tweaks: Desktop F11 Fullscreen and Terminal Ctrl+C/V

Introduction

The DeepSeek Harness (DSH) desktop client comes with its own window and built-in terminal, but its default behavior does not perfectly align with common desktop conventions: in browsers, F11 is commonly used to toggle fullscreen, but the desktop client may not follow suit; pressing Ctrl+C or Ctrl+V in the terminal is often interpreted as sending ^C or literal input to the shell rather than performing copy-paste operations. If you spend long hours coding and running commands in the desktop client, these details can repeatedly disrupt your workflow.

Below is an introduction to the community plugin DSH Desktop Tweaks (repository name dsh-desktop-tweaks, maintained by GitHub user amstlkqp114514). It does not modify the DSH core; instead, it injects a small number of event listeners and styles via a client-side plugin to add two independently toggleable enhancements to the desktop client, managed centrally under Settings → General.

What is this

DSH Desktop Tweaks is categorized as a “Client” plugin in the DSH community directory. The current npm package version is 0.1.1, licensed under MIT, with an engine requirement of dsh >= 0.2.0-rc.2. The plugin works via Cordis patches and client-side scripts. Both features are enabled by default; when disabled, the behavior reverts to that of the unmodified client.

Core Features

F11 Toggle Window Fullscreen

When enabled, F11 can be used to enter and exit window fullscreen mode. Upon entering fullscreen, the “App / Edit” menu bar and the back/forward buttons are hidden, and the content area extends to the very top of the screen; interface elements are restored upon exiting fullscreen. Pressing Esc to exit fullscreen is native browser/Electron behavior and is not intercepted by the plugin.

Ctrl+C / Ctrl+V Copy/Paste in Terminal

Rebinds shortcut logic specifically for the built-in terminal:

  • If there is a selection, Ctrl+C performs a copy; if there is no selection, it follows convention and sends SIGINT to the process.
  • Ctrl+V pastes directly via xterm’s paste channel; multiline text will not trigger extra confirmation dialogs.

Both capabilities have independent toggles, and their state is saved locally in localStorage under the key dsh-desktop-tweaks/settings.

Installation and Activation

The profile used by the desktop client is named desktop; if you use a different profile, replace desktop in the commands below with your own profile name. A restart of the desktop client is required after installation.

  1. Open Settings → Plugins → Bundles and enable the experimental “Custom Plugin Market” (enabling this will reveal a “Discover” section on the Plugins page).
  2. On the “Discover” page, click “Add Index Source” and fill in:
https://amstlkqp114514.github.io/dsh-desktop-tweaks/index.json
  1. Search for “Desktop Tweaks” or “桌面增强”, verify the installation source, and install.

The index is a static JSON hosted on GitHub Pages; the market side only validates the format, not the declared content. Please refer to the source displayed in the installation confirmation dialog.

Method B: Command Line (Any Version)

dsh plugin --profile desktop add dsh-desktop-tweaks

This command installs the pre-built package from the npm registry via pnpm, following the same flow as installation via the market.

Method C: Local tarball, Directory, or Git Locked Commit

# tarball
npm pack
dsh plugin --profile desktop add ./dsh-desktop-tweaks-0.1.1.tgz

# Local directory (link, code changes take effect immediately, suitable for development)
dsh plugin --profile desktop add /path/to/dsh-desktop-tweaks

# Git (lock to specific commit, no build step required, no allowBuilds needed)
dsh plugin --profile desktop add "github:amstlkqp114514/dsh-desktop-tweaks#<commit sha>"
Method Actual Behavior Suitable For
Market / add dsh-desktop-tweaks pnpm installs pre-built package from npm General Users
Local Directory link:, symlink within profile Development & Debugging
tgz / git Copied into profile, decoupled from source directory Distribution, Version Locking

This plugin is pure ESM with no build step; allowBuilds configuration in pnpm-workspace.yaml is only required if the package contains build scripts such as prepare.

Typical Usage

After installation and restarting the desktop client, navigate to Settings → General to find the toggles for “F11 Toggle Window Fullscreen” and “Terminal Ctrl+C/V Copy/Paste”. Enable or disable them as needed.

In daily usage:

  1. Press F11 in the edit or preview interface to toggle fullscreen and focus on the content area.
  2. Use the mouse to select output in the built-in terminal and press Ctrl+C to copy; use Ctrl+V in the shell to paste multiline commands or text.

If you are using the browser version via dsh web, there is no concept of a separate window, so the F11-related toggle is naturally ineffective; the plugin only handles the desktop client’s main window and built-in terminal.

Use Cases and Notes

Who it is for: Developers who work long hours in the DSH desktop client and want fullscreen and terminal shortcuts to align more closely with common desktop habits.

Compatibility: F11 and built-in terminal capabilities require DSH Desktop 0.2.0-rc.2 or higher; the market “Discover” page requires 0.2.1-rc.1 or higher and is considered an experimental bundle feature.

Known Phenomenon: A “xxx px × xxx px” OSD (On-Screen Display) indicating window size may occasionally appear in the top right corner during the moment of entering fullscreen. This is Chromium’s behavior when DevTools is open. Closing the Developer Tools (Ctrl+Shift+I) resolves this; it is unrelated to the plugin.

Security and Trust: DSH plugins run with the permissions of the current dsh process. It is recommended to read the repository source code and the MIT license before installation, and to ensure the index URL matches the source shown in the installation confirmation dialog. Community directories (such as SkillHub) are independent sites and have no official affiliation with DeepSeek / High-Flyer; they should not be equated with official app stores.

Conclusion

DSH Desktop Tweaks fills the gaps in desktop F11 fullscreen and terminal Ctrl+C/V copy-paste with two toggleable switches. The changes are minimal and can be reverted to native behavior at any time. For further information or to submit Issues, please visit the plugin directory page and the GitHub repository:

  • Directory Page: https://www.skillhub.cn/plugins/amstlkqp114514/dsh-desktop-tweaks
  • GitHub: https://github.com/amstlkqp114514/dsh-desktop-tweaks
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye