mirror of
https://github.com/Vencord/Vesktop.git
synced 2026-11-28 04:46:23 -08:00
86 lines
2.7 KiB
Markdown
86 lines
2.7 KiB
Markdown
# Vesktop
|
|
|
|
Vesktop is a custom Discord desktop app
|
|
|
|
**Main features**:
|
|
|
|
- Vencord preinstalled
|
|
- Much more lightweight and faster than the official Discord app
|
|
- Linux Screenshare with sound & wayland
|
|
- Much better privacy, since Discord has no access to your system
|
|
- Global keybinds, including push to talk (see [Global Keybinds](#global-keybinds))
|
|
|
|

|
|

|
|
|
|
## Installing
|
|
|
|
Visit https://vesktop.dev/install
|
|
|
|
## Global Keybinds
|
|
|
|
Configure them in the Vesktop settings, or from Discord's Keybinds and Voice & Video settings.
|
|
|
|
- **Windows, Linux (X11)**: Bind any keys or mouse buttons in the Vesktop keybind settings
|
|
- **macOS**: Same as above, but Vesktop needs the Accessibility permission
|
|
- **Linux (Wayland)**: Wayland doesn't let apps listen to global input. Enable global shortcuts in the Vesktop keybind settings and assign them in your system settings. This requires a desktop that supports the GlobalShortcuts portal, like GNOME or KDE
|
|
|
|
You can also trigger actions from other programs, for example your compositor's keybinds:
|
|
|
|
```sh
|
|
vesktop --run-shortcut toggleMute
|
|
# Append :down or :up to only press or release, e.g. for push to talk
|
|
vesktop --run-shortcut pushToTalk:down
|
|
vesktop --run-shortcut pushToTalk:up
|
|
```
|
|
|
|
For lower latency, send the same commands as lines to the socket at `$XDG_RUNTIME_DIR/vesktop.sock`:
|
|
|
|
```sh
|
|
echo "run-shortcut pushToTalk:down" | socat - UNIX-CONNECT:$XDG_RUNTIME_DIR/vesktop.sock
|
|
```
|
|
|
|
Run `vesktop --help` to see all actions.
|
|
|
|
## Building from Source
|
|
|
|
You need to have the following dependencies installed:
|
|
|
|
- [Git](https://git-scm.com/downloads)
|
|
- [Node.js](https://nodejs.org/en/download)
|
|
- pnpm: `npm install --global pnpm`
|
|
|
|
Packaging will create builds in the dist/ folder
|
|
|
|
```sh
|
|
git clone https://github.com/Vencord/Vesktop
|
|
cd Vesktop
|
|
|
|
# Install Dependencies
|
|
pnpm i
|
|
|
|
# Either run it without packaging
|
|
pnpm start
|
|
|
|
# Or package (will build packages for your OS)
|
|
pnpm package
|
|
|
|
# Or only build the Linux Pacman package
|
|
pnpm package --linux pacman
|
|
|
|
# Or package to a directory only
|
|
pnpm package:dir
|
|
```
|
|
|
|
## Building LibVesktop from Source
|
|
|
|
This is a small C++ helper library Vesktop uses on Linux to emit D-Bus events. By default, prebuilt binaries for x64 and arm64 are used.
|
|
|
|
If you want to build it from source:
|
|
|
|
1. Install build dependencies:
|
|
- Debian/Ubuntu: `apt install build-essential python3 curl pkg-config libglib2.0-dev`
|
|
- Fedora: `dnf install @c-development @development-tools python3 curl pkgconf-pkg-config glib2-devel`
|
|
2. Run `pnpm buildLibVesktop`
|
|
3. From now on, building Vesktop will use your own build
|