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
2 answers
94 views

How to bind the DAS keyboard volume knob in dwm / void linux?

My setup: Void Linux, xorg, dwm + dmenu + st, DAS keyboard. I can probably figure out how to bind some "normal" keys for volume control, but I really like this big round knob on my keyboard :...
badbishop's user avatar
  • 101
0 votes
0 answers
182 views

.xinitrc, .xsession don't work (commands not run)

A quick summary: I installed Ubuntu (Current LTS - 22.04) I wanted to change the window manager from the default one to "dwm" I installed dwm via apt, it works correctly, The problem is - ...
MTomys's user avatar
  • 1
0 votes
0 answers
80 views

URXVT bash script issue with spawn rules for DWM

I am running URXVT as my terminal on DWM. I have my config.h set to spawn new terminals in tag 2. I also have wrote a few scripts that I want to spawn in their own tags. For illustration purposes I am ...
VCPitcairn's user avatar
0 votes
1 answer
95 views

URxvt not pulling from .Xresources when starting X. Issue with .xinitrc?

I have my DWM Archbox configured to launch a URXVT terminal when X is started. I have URXVT configured just how I like through my .Xresources file. Below is my .xinitrc #! /bin/sh exec xrdb -merge ~/....
VCPitcairn's user avatar
0 votes
0 answers
42 views

Why are nerdfont icons differently sized in the same line?

I'm trying since quite a while to figure out, why these icons (see picture) are different in size. The status bar is dwmblocks by suckless (including simple bashscripts for the infos in the line) and ...
Algebruh's user avatar
  • 101
2 votes
0 answers
154 views

Switched from cinnamon to dwm, missing the way cinnamon unified the appearance of apps

I'm running linux mint's cinnamon desktop. In system settings I have Font Selection->Text Scaling Factor set to 1.2 and under Accessibility->Visual Aids->Large text toggled on. The reason is ...
user avatar
0 votes
0 answers
218 views

Installing DWM on gentoo

I was just trying to install dwm on my gentoo machine but I keep on encountering the same problem every time I make clean install. The error is... drw.c:5:10: fatal error: X11/Xlib.h: No such file or ...
sherbit fish's user avatar
0 votes
0 answers
196 views

automatic pywal keybinding implementation on dwm

so I'm new to linux, running arch, and ricing my dwm. and inspired by some people on the internet, thought of this really cool feature to my build: press a key on my keyboard, the wallpaper changes to ...
raxcha's user avatar
  • 1
-1 votes
1 answer
550 views

A program to draw on screen in X11

I'm using dwm on Arch Linux. Is there an existing program I can use to draw on the screen? For example, if I'm in a zoom meeting, sharing my screen, I'd like to scribble over the code I'm showing in ...
SU3's user avatar
  • 174
0 votes
1 answer
435 views

How to force an application to exit fullscreen in dwm?

I have an application that has no settings for fullscreen and is really annoying that it takes up all the screen. I am looking for a way that I can turn the application into a window.
Anonymous's user avatar
2 votes
1 answer
2k 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, ...
theboringkid's user avatar
0 votes
1 answer
485 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 ...
Duncan W's user avatar
  • 101
0 votes
1 answer
364 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[] ...
Dave Player's user avatar
0 votes
1 answer
73 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 ...
Benj's user avatar
  • 123
0 votes
0 answers
338 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 ...
BeastCoder's user avatar
1 vote
0 answers
194 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 ...
Tim's user avatar
  • 11
0 votes
1 answer
2k 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[] ...
Tim's user avatar
  • 11
1 vote
2 answers
47 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 ...
Kibartas's user avatar
  • 121
1 vote
1 answer
227 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 ...
marc.soda's user avatar
  • 183
3 votes
1 answer
2k 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 ...
dudelord70's user avatar
1 vote
0 answers
2k 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", &...
J H's user avatar
  • 21
3 votes
0 answers
48 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/...
sussy_baka's user avatar
1 vote
1 answer
6k 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
nextloop's user avatar
  • 146
0 votes
1 answer
950 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 ...
weisbrja's user avatar
  • 131
0 votes
1 answer
605 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)...
pineappleFrenzy's user avatar
-2 votes
1 answer
3k 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.
Co -Arch-'s user avatar
0 votes
1 answer
307 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 ...
weisbrja's user avatar
  • 131
2 votes
2 answers
2k 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 ...
weisbrja's user avatar
  • 131
0 votes
2 answers
3k 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
4k 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 ...
weisbrja's user avatar
  • 131
7 votes
2 answers
843 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 ...
Wojciech's user avatar
0 votes
1 answer
699 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 ...
alex's user avatar
  • 953
1 vote
1 answer
939 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 ...
alex's user avatar
  • 953
2 votes
0 answers
252 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, ...
preferred_anon's user avatar
0 votes
1 answer
170 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 + . ...
u_se_nb's user avatar
0 votes
1 answer
410 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 ...
Peter Arbeitsloser's user avatar
1 vote
0 answers
540 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 ...
Mark Scheck's user avatar
3 votes
1 answer
9k 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-...
JoelNash-Xuuki's user avatar
0 votes
2 answers
639 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. ...
deomanu01's user avatar
0 votes
1 answer
56 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 ...
alex's user avatar
  • 953
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 ...
qiuweikang's user avatar
0 votes
0 answers
536 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 ...
qiuweikang's user avatar
0 votes
1 answer
8k 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?
Timofey Pasichnik's user avatar
0 votes
1 answer
566 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?
Hilfsschueler's user avatar
0 votes
2 answers
496 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. ...
vng21092's user avatar
2 votes
2 answers
12k 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 ...
ali b's user avatar
  • 242
2 votes
1 answer
264 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 ...
gfe's user avatar
  • 191
1 vote
1 answer
1k 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 #!/...
apoorv569's user avatar
0 votes
1 answer
195 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 ...
apoorv569's 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....
T N's user avatar
  • 23