2022 Developer Survey is open! Take survey.

Questions tagged [dwm]

dwm is a dynamic window manager for X. It manages windows in tiled, monocle and floating layouts.

Filter by
Sorted by
Tagged with
0 votes
1 answer
22 views

xorg-server and font loading

A .ttf (or more specificaly some characters from Unifont.ttf) fail to load directly for a script that runs on .xprofile,running fc-list > fc-list.log on .xprofile before the script in question ...
user avatar
2 votes
1 answer
121 views

xinitrc seems to not run some commands

I am new to Arch and did a fresh install. I have configured it to use dwm and I start it with startx. The problem is that some commands in xinitrc seem to not run. It clearly works to some extend, ...
user avatar
0 votes
1 answer
16 views

Xsetroot output truncation?

I've been working on a config for dwm 6.3 with a bunch of patches (on GuixSD, if it matters). Most of them haven't been updated to work on 6.3, so it's been a lot of effort to get everything sorted ...
user avatar
  • 101
0 votes
0 answers
40 views

DWM fails to start: Major opcode of failed request: 53 (X_CreatePixmap)

After installing a dwm it doesn't want to start. I don't know what causes it, but log output is dwm: fatal error: request code=53, error code=2 X Error of failed request: BadValue (integer ...
user avatar
0 votes
0 answers
37 views

Can't interact with DWM

I'm running gentoo and, as the title says, i can't interact with DWM. By this i mean that Alt+Shift+Return doesn't open a st, Alt+p doesn't open dmenu Weirdly Alt+Shift+q does exit DWM. I do have st ...
user avatar
0 votes
1 answer
82 views

pactl not working in DWM config file

After seting up shortcuts in config.h, pactl is not working at all. However when I run pactl in terminal, it works as intended config.h: #include <X11/XF86keysym.h> static const char *upvol[] ...
user avatar
0 votes
0 answers
57 views

DWM can't go beyond 60FPS

When running UFO test on Dynamic Window Manager it runs at 60 frames per second. Both in chromium and firefox. I have a 240Hz display. I use NVIDIA proprietary drivers. After setting refresh rate to ...
user avatar
  • 101
0 votes
1 answer
43 views

Why do some fonts appear zoomed in after system update?

Since the last system update, for various applications the font size has increased. Even one application for which I can be sure, that it has not been replaced, because I have a custom version and ...
user avatar
  • 123
0 votes
0 answers
110 views

Devilspie transparency not working (arch, dwm)

Trying to make it so certain windows I open will get set to 70% opacity via devilspie and transset-df. For now I'm trying to make it do this every time I run my Firefox window. I've also tried "...
user avatar
0 votes
0 answers
40 views

Playing with xrandr, now I can't start desktop environment (Arch Linux)

I was playing around with xrandr, trying to get my ideal dual monitor setup. I had switched my laptop resolution to match the second monitor display (1920x1080), then I switched it back to 4K, but dwm ...
user avatar
0 votes
0 answers
344 views

How to change dwm taskbar size

I am running DWM on Artix and I can not seem to change the bar at the top height. it is too small and I want it larger but do not know how. I have looked in config.h for dwmblocks and dwm but can not ...
user avatar
0 votes
0 answers
102 views

How to Reset Config.h

I've made a lot changes to my config files over time and I was wondering how I could revert them back to their default settings (with the current patches in mind)? I want to reset some changes I've ...
user avatar
1 vote
0 answers
103 views

xorg doesn't start (blackscreen when not root)

I'm running Arch Linux with dwm on my PC and everything was working fine until I played around with my bluetooth settings using bluetoothctl. I tried to restart dwm usung startx and the screen went ...
user avatar
  • 11
0 votes
1 answer
564 views

dwm doesn't load fontawesome

I want to set up icons for my tags in dwm. I have downloaded the ttf-font-awesome package with sudo pacman -S ttf-font-awesome and I changed this line in my config.h of dwm: static const char *fonts[] ...
user avatar
  • 11
0 votes
2 answers
35 views

Change what user writes anywhere on the screen to another string

So I'd like to understand this problem that I'm trying to solve and see if it's even possible to do it, realistically. I want to write a script, or something like that, that would change some string ...
user avatar
  • 111
0 votes
1 answer
105 views

Terminal emulators glitch when using two displays (DWM)

I am running Arch Linux on a Dell XPS-13 9380 with the DWM window manager (which uses X11). I recently started using an external monitor with my laptop. My issue is that when and only when the second ...
user avatar
  • 111
1 vote
0 answers
389 views

Fade in/out when switching workspaces (using picom compositor)

Upon enabling fade with the picom compositor, opening and closing windows will fade in and out. I would like to see the same effect upon switching workspaces. This works with i3wm, but not with the ...
user avatar
0 votes
0 answers
1k views

Brightness and volume key bindings not working in dwm

I'm trying to get my volume and brrightness keys to work using dwm. I put this into dwm/config.h: static const char *upvol[] = {"/usr/bin/pactl", "set-sink-volume", "0", &...
user avatar
  • 11
3 votes
0 answers
46 views

entr not working on some specific file [duplicate]

I was trying to customise my dwm status bar to react automatically on battery status change using entr but it doesn't seem to work. For testing that, I tried printf "/sys/class/power_supply/BAT1/...
user avatar
1 vote
1 answer
2k views

How to install dwm in void linux

What is it, the dependencies for comiple dwm from scratch for install dwm (suckless windows manager) in arch linux , i need to install xorg and make and other
user avatar
-1 votes
1 answer
357 views

Remove window border in dwm monocle layout

I was wondering whether there is some patch to remove the window border in dwm monocle layout, because I really don't want to use "real" fullscreen, but just want to hide the top bar and ...
user avatar
0 votes
1 answer
262 views

dwm: uneven window tiling

So I started using dwm recently and ran into an issue. When I'm in tiled mode(mod+t) with 1 master and 2 slaves, bottom of master window doesn't align with the bottom of the slave window. Master(left)...
user avatar
-1 votes
1 answer
904 views

How do I setup audio on arch linux?

How can I install audio on arch linux? If it helps any arch is on a usb, and my window manager is dwm. I'm willing to give any output needed.
user avatar
0 votes
1 answer
100 views

gpg does not prompt for password - dwm

I setup gpg with pass on a new computer and pass does not prompt me for the password of my gpg key, meaning I can't access my encrypted passwords on that computer. What can I do? when I run pass ...
user avatar
1 vote
1 answer
693 views

dwm - session polkit

I am really struggling to get the session polkit to work. I am not really familiar with how it works, but I have been using gnome before switching to dwm and in gnome it worked perfectly, so I wanted ...
user avatar
0 votes
1 answer
977 views

DWM: Switch two windows places | Move windows

I just got a quick question regarding DWM, how can I switch the places of two windows, so window A is switched with window B or is it even possible to move windows around? Because I just like to have ...
user avatar
0 votes
1 answer
2k views

How do I bring color to my dwm status bar?

I tried to introduce colors to the status bar with xsetroot, but that did not work (of course). I then found the status2d patch, but it did not use ansi color escape codes and it slows my statusbar ...
user avatar
4 votes
0 answers
423 views

"ssh-agent dwm" started from .xinitrc, but environment variables are not set

I got an .xinitrc file with the following line: # it will start my window manager ssh-agent dwm After that I got an ssh-agent process, but environment variables like $SSH_AGENT_PID and $SSH_AUTH_SOCK ...
user avatar
0 votes
1 answer
382 views

Environment variables are not loaded universally (e.g. NNN file-browser)

Using arch-linux with xorg and dwm, environment variables seem not available to the wohle system. E.g. when starting the NNN file-browser inside a manually started terminal emulator (st) all bookmarks ...
user avatar
  • 821
1 vote
1 answer
490 views

dwmblocks not reading $PATH

I'm using archlinux, dwm and dwmblocks. At startup dwmblocks shows only the icons of the blocks', without loading the scripts output. If I run $ killall dwmblocks and restart $ dwmblocks & it ...
user avatar
  • 821
2 votes
0 answers
130 views

Temporarily switch off display without moving windows with dwm

I have a dual monitor setup. Certain screensharing apps (slack in this case) do not let me choose which screen to display, and instead show absolutely everything when I share my screen (which is bad, ...
user avatar
0 votes
1 answer
80 views

Alt + . for last argument doesn't work

To recall the argument of a previous shell command, in the past, with several distros and terminals, I've used those shorcuts: Alt + . or Esc + _ Now that I'm using Artix with dwm and st, Alt + . ...
user avatar
0 votes
1 answer
228 views

How do I run Telegram Desktop as a background process in dwm?

I want to run Telegram Desktop as a background process on dwm, such that I receive notifications when I have a new message and such that I don't have to keep the GUI open the entire time. How would I ...
user avatar
1 vote
0 answers
314 views

Can't see dwm in sddm on opensuse Leap 15.2

I installed dwm on opensuse leap 15.2 and was expecting to see it in the desktop session list, though it's not there. I see IceWM Session, Plasma,TWM, Plasma(FullWayland) and Plasma(Wayland) Is there ...
user avatar
3 votes
1 answer
5k views

Compiling Dwm to Arch Linux. Xft.h missing?

Trying to compile the Dwm Tile Manager (that uses Xorg ) on Arch Linux currently produces the following error (original attached file): dwm build options: CFLAGS = -std=c99 -pedantic -Wall -Wno-...
user avatar
0 votes
2 answers
267 views

DWM Gaps not aligned

is there a way I can fix this? If you check it a little closely, you can see that firefox actually goes a little bit under the terminal and I really don't like it. I am using DWM with vanity-gaps. ...
user avatar
0 votes
1 answer
36 views

Strange keyboard behaviour "k" not available under dwm except dmenu

I'm using a german standard keyboard (Cherry KC 1000, qwertz, with ä, ö, ü, etc.) set to us layout and installed an artix linux (openrc) system from scratch manually and seemingly something very ...
user avatar
  • 821
0 votes
0 answers
2k views

Failed to start with picom vsync_opengl_swc_init error

When I start picom, which is picom command in my terminal, I got [ 07/30/2020 13:48:19.422 vsync_opengl_swc_init ERROR ] Failed to load a swap control extension. [ 07/30/2020 13:48:19.422 session_init ...
user avatar
0 votes
0 answers
195 views

Is there a way to change default chinese fonts in en_US lanugage system?

I'm using DWM as my window manager and my favorite font is Source Code Pro. So I set it as my DWM's font. However, I always have some Chinese characters to display. But the Chinese character is so ...
user avatar
-1 votes
1 answer
4k views

How to add keyboard layout in dwm

I want to add additional language input to my linux. I am using MX Linux and DWM desktop environment. How can I do this?
user avatar
0 votes
1 answer
358 views

Arch & DWM weird font

I'm a Arch and DWM newb and I can't figure out why text is displayed so weird on my screen (see screenshot). Can someone help me with this?
user avatar
0 votes
1 answer
296 views

DWM launching applications incorrectly

DWM (6.2) seems to be launching my commands with extra parameters and I'm not sure why. I pretty much have a stock config.h file, the only changes I've made are adding extra commands and keybindings. ...
user avatar
2 votes
2 answers
7k views

The default keybinding for opening a terminal in dwm does not work

I'm new to dwm (suckless.org) and also to GNU/Linux. I know a bit of the C language but don't really understand the config.h file. SYS-CONFIG I use Ubuntu 18.04 (installed with netinstaller + vanilla ...
user avatar
  • 122
2 votes
1 answer
205 views

Windows of the anki program are not correctly being displayed

The context I use dwm as my main windows manager and anki to create flashcards. The problem Some windows of the anki program are not correctly being displayed (see image or gif below) Gif Screenshot ...
user avatar
  • 171
1 vote
1 answer
710 views

dwmblocks bluetooth module. how to show connected device name?

im using DWM with dwmblocks for the statusbar, i have serveral modules/scritps running for the status including bluetooth script that wrote to show some info and status if a device is connected #!/...
user avatar
0 votes
1 answer
113 views

detecting when a usb drive is connected script not working as intended

im using DWM (Tiling Window Manager) with dwmblocks for the statusbar on my laptop. i have 3 usb ports on this laptop. im using this script to detect and show a block(icon) on the statusbar when i ...
user avatar
1 vote
1 answer
2k views

Suckless' DWM Swallow Patch + Tmux

Is it possible to swallow a terminal running Tmux? I can't seem to get the patch working unless Tmux is disabled. I've tried with "Screen" on st and there were no issues :/. Thanks! https://dwm....
user avatar
  • 23
0 votes
1 answer
1k views

Setting up DWM (Tiling Window Manager)

im trying to setup DWM, im able to successfully patch few patches, but there a couple things im not able figure out im using this on a laptop so i want to bind my volume, brightness, play pause keys ...
user avatar
0 votes
1 answer
513 views

Opening Terminal in Current Directory [closed]

I am attempting to set up the behavior described in the title. For reference, there is an answer which solve this for emacs. I however use DWM/ST and Zsh. The solutions I have clumsily tried to come ...
user avatar
  • 33
1 vote
1 answer
381 views

Swap mouse buttons?

I'm left handed, and on most linux distros (and desktop envs) it's really easy to just swap the buttons in the GUI settings manager. I just switched to dwm on manjaro, which is only a window manager, ...
user avatar
  • 749