The officially official Devuan Forum!

You are not logged in.

#1 Documentation » Installation and Setup: Hyprshot, a screenshot tool for Hyprland » 2026-04-23 04:36:52

wolfchar
Replies: 0

Hyprshot is a specialized screenshot utility designed specifically for the Hyprland Wayland compositor. It functions as a shell script that serves as a wrapper around core tools like grim (for capturing), slurp (for region selection), and wl-clipboard (for copying to clipboard).

Navigate to the upstream repository

Navigate to the Hyprshot GitHub repository for the source files and installation instructions. This guide is based on that repository, customized for Devuan.

Install dependencies

Install the dependencies mentioned in the Hyprshot repository, alongside the dunst notification daemon.

ℹ️IMPORTANT
On Devuan, libnotify-bin by itself is not enough as a notification daemon for Hyprshot to operate.

$ su -
# apt install jq grim slurp wl-clipboard libnotify-bin dunst
# exit
Creating the optimal directory for manually installed user scripts

For a manual installation (downloading the script directly), place it in a directory that is in your user's $PATH. The most common and recommended location is ~/.local/bin.

$ mkdir -p ~/.local/bin

If this directory does not exist or is not in your PATH, you will need to create it and add it to your shell's configuration file (e.g., ~/.bashrc or ~/.zshrc).

💡TIP
Devuan, by default, should have the ~/.local/bin directory added by default via /etc/bash.bashrc.

Clone Hyprshot source code into created directory
$ git clone https://github.com/Gustash/hyprshot.git ~/.local/bin/Hyprshot
Symbolically make the script executable

Create a symbolic link to make the script executable from anywhere.

$ cd ~/.local/bin
$ ln -s $(pwd)/Hyprshot/hyprshot $HOME/.local/bin
$ chmod +x Hyprshot/hyprshot
Restarting your system and testing the command

After completing the installation, restart your system to ensure all changes, environment variables, and the PATH are properly loaded.

$ su -
# reboot

To test Hyprshot, log in, open a terminal and run a command to capture a specific element, such as:

$ hyprshot -m window

This command will change your cursor, allowing you to click on any window to take a screenshot. If successful, the screenshot will be saved to your XDG_PICTURES_DIR (typically ~/Pictures) and copied to the clipboard. You can test other modes like -m region for a custom area or -m output for a full monitor.

#2 Documentation » Installation and Setup: Steam on Devuan for Hyprland » 2026-04-12 01:03:17

wolfchar
Replies: 0

Steam is a popular game distribution platform by Valve. Since Hyprland is a Wayland compositor, Steam requires additional setup to run on a Wayland session because the Steam client itself is an X11-only application and lacks native Wayland support.

Login as a root user

su - cleanly resets all environment variables, changes the working directory to the target user's home directory, and sources the target user's profile scripts, simulating a fresh login as root:

su -
Enable 32-bit architecture support

Steam requires 32-bit architecture support libraries and proprietary components, so enable it:

dpkg --add-architecture i386
Enable non-free & contrib repository sources

The Steam installer package resides in the contrib repository, and the non-free repository provides the essential 32-bit (i386) graphics drivers, Mesa libraries, and other hardware-specific components required for Steam to function and for games to run correctly. Ensure that both repositories are active in your sources list for your release. Depending on which source list is currently active on your PC, fill in the following information on one of these files:

⚠️WARNING
Having the same repository defined in both /etc/apt/sources.list and /etc/apt/sources.list.d/devuan.sources can lead to duplicate downloads of package metadata (like Packages and Sources files) during apt update. While APT is designed to de-duplicate packages and won't install the same package twice, it will still download the same repository metadata multiple times if the source is listed redundantly in different files or formats. This results in wasted bandwidth, longer update times, and warning messages like Target Packages is configured multiple times. To avoid this, ensure each repository is defined only once, preferably using a single format.

❗IMPORTANT
The following commands use the ceres (Devuan Unstable) release. It might be necessary to have the unstable release repos enabled, instead of stable, to ensure the proper Hyprland packages are installed. If your current release is Devuan Stable (such as excalibur in 2026), and unstable is not required, it would be best to keep the stable release keyword in the file.

1. Within /etc/apt/sources.list:

deb http://deb.devuan.org/merged ceres main non-free non-free-firmware contrib

2. Within /etc/apt/sources.list.d/devuan.sources:

# Modernized from /etc/apt/sources.list
Types: deb
URIs: http://deb.devuan.org/merged/
Suites: ceres
Components: main non-free non-free-firmware contrib
Signed-By: /usr/share/keyrings/devuan-archive-keyring.gpg
Update repositories and install Steam

After enabling the required repositories, update your package lists:

sudo apt update

Install the steam-installer package using:

sudo apt install steam-installer
Install and set up xwayland

The Steam client requires xwayland to run on a Wayland session because the Steam client itself is an X11-only application and lacks native Wayland support. If you're experiencing a display crash or the "Could not open connection to X" error, it's likely because Steam cannot connect to an X server. Currently, under a Wayland session, this is handled by xwayland, which acts as a compatibility layer allowing X11 applications like Steam to run.

Install xwayland via:

sudo apt install xwayland

Verify xwayland is active by running by printing the value of the $DISPLAY enviroment variable. This should return :0:

echo $DISPLAY

If the DISPLAY variable is not set, you can set it manually. The command export DISPLAY=:0 sets the DISPLAY environment variable to :0, telling graphical (a la X11) applications to render their graphical interface on the first local display (screen 0) of the local X server:

export DISPLAY=:0
Restart Wayland session

Restart your Wayland session to ensure xwayland starts with the compositor; an easy way to do that for Hyprland specifically would be:

hyprctl dispatch exit
dbus-run-session start-hyprland
Launch Steam

Finally, launch Steam from the application menu or via the terminal:

steam

By following these steps, you should be able to install and run Steam on your Devuan system using a Wayland-based desktop environment like Hyprland.

#3 Re: Installation » How to Switch to the Devuan OpenRC Setup Post-Desktop Live Install? » 2026-04-11 20:46:10

fsmithred wrote:

If you already installed or are about to install, the simplest solution is to install with sysvinit, reboot into the new system and install openrc, then reboot again. Watch the screen for instructions when you install openrc. I haven't done it in a long time, so I don't know the current state. There might be some commands to run.

Ah okay, I'll have to investigate sometime and check if this is the case. I'll try to update this thread when that happens. Since we don't really know (and won't until someone tries it and records the results) if there is more post-setup required to get OpenRC working from the desktop-live install, I'll leave it open until someone tries and replies to confirm.

#4 Re: Desktop and Multimedia » [SOLVED] Attempting screenshare in Hyprland » 2026-04-11 08:28:19

EDX-0 wrote:

Ya know, instead of managing the pipewire services as exec inside hyprland why not use shed, it provides an implementation of user services and can handle Wayland sessions.

https://github.com/eylles/shed

OP from the org account here, it's because I've yet to have heard of it. I've never had to deal with manually managing Pipewire before, so I'm a bit green & lost in that department. Might look into it sometime.

ralph.ronnquist wrote:

didn't you move off github yet?

Real; I myself am doing that, finally.

#5 Re: Desktop and Multimedia » Unusual startup logs after removing X11 on Devuan SysVInit » 2026-04-11 08:08:05

Update: on x11-common
Troubleshooting x11-common as a dependency for certain applications

So, after updating my system and attempting to install the Vesktop .deb using dkpg -i, it refused due to a dependency failure. After using sudo apt install -f to resolve broken package dependencies to allow me to install, x11-common was one of the listed dependencies.

What is x11-common?

I found that strange considering I do not have xwayland or similar compatibility layers at the time. After installing it, I looked up the x11-common package listing from upstream gives me the following description:

Debian Packages wrote:

x11-common contains the filesystem infrastructure required for further installation of the X Window System in any configuration; it does not provide a full installation of clients, servers, libraries, and utilities required to run the X Window System.

From what I can derive in layman's terms is that x11-common provides only some files and directories necessary to what a system needs to eventually run a graphical interface (like the windows, icons, and menus you see on screen), but doesn't actually provide the tools to create the windows or GUI from it -- which would make sense if the user would be installing an X11 application.

Result

The result, if not immediately obvious, is that startpar can now find x11-common, so it doesn't display this anymore:

startpar: service(s) refused failure: x11-common ... failed! # no longer displays as a result of installing x11-common

Still investigating what deal is with pulseaudio-enable-autospawn, and why it is holding cups hostage.

#6 Desktop and Multimedia » Unusual startup logs after removing X11 on Devuan SysVInit » 2026-04-11 06:42:50

wolfchar
Replies: 1
Context

You might have seen this post series from my organization related setting up Pipewire and Hyprland on Devuan. Another potentially important piece of the puzzle is my earlier post related to asking about the possibility of switching to the Devuan OpenRC Setup Post-Desktop Live Install.

Essentially, at the time I created the guide, I was memed into using the default OpenRC configuration offered on some of the .iso installation options for Devuan. I'm new to init freedom altogether, so I'm playing around with what init system would be optimal and friction-least for a computer user. For an unrelated reason, my installation borked after an attempt at cleaning up unnecessary packages on my system (the exact cause to me is a mystery). This post, after reading a little bit about how Devuan approaches init ("enhanced" SysVInit being apparently more performant, and how the default OpenRC apparently uses SysVInit for certain things anyway), is about exploring as another "branch" of experimentation of how this can cleanly be done using Devuan's default init system.

What is happening?

Essentially, when I boot up into the tty on the SysVInit computer, I'm getting logs similar but not limited to:

startpar: service(s) refused failure: x11-common ... failed!
startpar: service(s) refused failure: pulseaudio-enable-autospawn cups cups-browsed ... failed!

I'm not sure how to exactly extract the logs that pop on a tty on startup, upon learning how, I'll edit/add a post to include them.

My assumption would be that this would essentially be a game of whack-a-mole of telling SysVInit scripts to not call certain applications to allow applications to function properly. For example, in the first snippet above, I'm curious if having pulseaudio-enable-autospawn fail would cause me problems later in regard to being able to use printers with cups. Conversely, I'm curious if this could not be the case and it is simply a matter of flipping off configuration files or hiding the messages in come way in the case that, generally speaking, the ... Failed! messages are inconsequential (an example being that pulseaudio-enable-autospawn failing doesn't appear to be affecting my ability to use audio devices with Pipewire).

Any pointers appreciated.

Best,

#7 Installation » How to Switch to the Devuan OpenRC Setup Post-Desktop Live Install? » 2026-04-11 05:31:59

wolfchar
Replies: 3

I'm wondering if there is a method to convert a desktop-live.iso to the default Devuan OpenRC setup without the need for a complete re-installation. From my recall/understanding, this is a feature accessible with the other .isos distributed.

I recently performed a new installation using the desktop-live install .iso with the Refracta installer. This process, as I understand it, simply copies the current state of the live OS onto the partitions designated by the user during the installation. Unfortunately, there didn't seem to be an option to select the init system to be used.

Board footer

Forum Software