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
1
vote
0answers
13 views

dwm - Kill all windows for a tag

In dwm is there a way to kill all windows with a particular tag? Example would like to kill all windows tagged with 2. This would simulate the kill workspace feature that is available in many other ...
0
votes
1answer
40 views

Is it possible to display applets on dwm status bar?

Does dwm support displaying of applets on its status bar ? Applets like the nm-applet, pamac-tray or cbatticon ? On i3 you just run them and their icons just show up on the i3bar, but this is not ...
0
votes
2answers
91 views

How do I remap caps lock to esc key in dwm?

The question title pretty much says it all... I am trying to remap the CAPS LOCK key to ESC using the dwm window manager. I am using Ubuntu 19.04.
0
votes
1answer
49 views

How do you find what value a keyboard key has? (dwm keybinding)

I'm setting up key bindings in dwm for things like changing brightness and taking screenshots. In order to bind the appropriate key, I followed someone else's example and added #define XF86AudioMute ...
0
votes
0answers
185 views

System tray for Tiling window manager ( dwm )

I am a noob at the tiling window manager installed dwm and it isn't shipped with the system tray. How can I install those (battery, volume, network manager, etc.) and put it into the dwm bar or any ...
0
votes
0answers
14 views

Select an action with a key

I would like to have something like a dmenu. But I don't want to type and then press return to select an action but just select the action with a single key press. It should be a simple application ...
0
votes
1answer
54 views

screen placements on dwm

I recently started using dwm, which is really nice, but I have a problem with regards to my multi monitor setup. I have my monitors placed like the following: ----------------------------------------...
1
vote
0answers
28 views

How to write loop over complex expressions

I am trying to make a script that loops over grep "^\s*w" /proc/net/wireless | awk '{ print int($3 * 100 / 70) "%" }' and checks each output case in order to print a proper wifi signal icon like this ...
0
votes
0answers
35 views

Terminal problem DWM

I got as my first desktop environment gnome. As i go to DWM and wanna call the terminal by Alt+Shift+Enter, the terminal opens in gnome environment, but not in dwm.
1
vote
0answers
137 views

Change icon and cursor theme in dwm

I just installed my own dwm I patched in systray and I would like to change the icon theme it uses away from adiwaita to something else (Arch ,Faba, Moka or breeze). I tried changing to gnome, and ...
0
votes
1answer
499 views

script to show info in dwm status bar (e.g. on brightness/volume change)

I have a dwm status bar that has only few info piped into it (using a bash script): Volume, Battery, Free Disk Space and Time. Some things e.g. Volume and Brightness should only appear on change (vol ...
0
votes
0answers
30 views

DWM broken after dd on Arch Linux

I have been trying to take a backup/copy of my GPT disk on one computer and then restore it on another. When I start the new computer, it seems as though the Arch Linux part of it is running fine, ...
0
votes
0answers
88 views

Is there a tiling WM that allows to place a common background window for all workspaces persisting the ability to use tiling algorithms?

Recently, I came across the idea of placing a window with currently playing video behind transparent terminal, like this. At the moment, I am using dwm, and I can implement a simple case of this idea ...
0
votes
1answer
585 views

Using compton with Pywal causes background to be gray

I'm currently struggling to get Compton and Pywal to play nice on my DWM setup. Currently, whenever I run Compton after Pywal using startx, the wallpaper is gray, and opening windows makes them appear ...
0
votes
2answers
563 views

How do I bind apps to specific tags in dwm?

I am using dwm with tags labelled with font-awesome icons. I don't know how to bind applications to specific tags, e.g Sublime to tag 3. I've attached my tag setup in the image
1
vote
0answers
138 views

How to set the cursor position when dwm starts?

I’m trying to find out how dwm decides the initial position of the mouse cursor, after it started. I looked in dwm.c for a while, but my knowledge of C and X11 doesn’t cut it. What I want to do is to ...
1
vote
0answers
66 views

Is it possible to manage windows in batch mode in vanilla dwm?

I'd like to be able to execute the following workflow (that is now manual using both keyboard and mouse) by running a script with arguments in console: make currently focused window floating (Mod1-...
1
vote
1answer
279 views

DWM Unicode Support

I'm in the process of creating a nice looking statusbar with DWM and I want to implement unicode symbols with font awesome. Supposedly I can use the Pango patch but its out of date (for version 6.1) ...
0
votes
0answers
82 views

Sending mod key over VNC

I'm running dwm on my local machine and I'm trying to control a machine running xmonad over VNC. They both use the same mod key because they're both my machines. How can I send the mod key to the ...
-1
votes
1answer
158 views

dynamic window manager (dwm): number of columns [closed]

In dwm typically I use one window in the master area (left) and all the others stacked on the right side. Once I accidentally hit Meta+I all windows get stacked in one single column (spanning full ...
1
vote
1answer
194 views

dwm. How to switch between last two windows?

I find no way to switch between last two focused windows. How can I do that? There is Mod+Tab but for tags only.
1
vote
0answers
140 views

setxbmap in ~/.xinitrc doesn't work

Here's my ~/.xinitrc: setxkbmap -option terminate:ctrl_alt_bksp & setxkbmap -layout us,ru -option grp:ctrl_shift_toggle xrandr --output DP-1 --mode 1920x1080 --above LVDS-1 xset r rate 150 50 ...
1
vote
1answer
240 views

Firefox context menu placement under dwm

I've recently switched to using dwm and have been bumping up against a weird behaviour in Firefox, when clicking the right mouse button. Above is Firefox opening a context menu under most window ...
1
vote
1answer
2k views

using full-screen mode with feh in dwm

When I try to run feh -F <images> in dwm, I do not have the ability to interact with the full-screen window via the keyboard; e.g., if I try to exit (q), nothing happens and the following is ...
6
votes
2answers
2k views

Blank Android Studio window in DWM

I recently installed Android Studio on arch linux with DWM. But the initial dialog window, which prompts for starting a new project is blank. The links in this windows work though. I can start a new ...
1
vote
1answer
366 views

How can I have dwm start with a different view (i.e., a different tag)?

dwm starts with with the first tag in view. How can I modify dwm.c or config.h in order to start on another tag?
0
votes
1answer
860 views

Dwm status bar and web forms display weird fonts

I'm using Arch Linux with dwm desktop. I was trying to make some changes in my ~/.xinitrc, and now my dwm status bar displays weird characters. I reverted all the changes i made in /etc/X11/xconfig.d ...
1
vote
3answers
2k views

Trying to compile DWM on Centos 7.2 - missing freetype/config/ftheader.h

/usr/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: No such file or directory #include <freetype/config/ftheader.h> I have freetype-devel installed. There are no other ...
2
votes
1answer
882 views

Benefits of using vim buffers over tmux panes / dwm terminals [closed]

What are the benefits of using vim buffers over separate instances in several terminals? I've been using vim for quite some time, but at the same time I've been using tiled window manager (dwm/xmonad)...
1
vote
1answer
813 views

border on the bottom of terminal emulators even in monocle view [closed]

Edit: The border on the bottom is not set my me. i don't have it in my config.h file. To be honest wouldn't know how to set it. so, it doesn't happen with any other programs, just terminal emulators. ...
1
vote
2answers
2k views

dwm and screen lock

I recently made the switch to dwm as the default window-manager on my laptop. It being a no frills software, I had to configure a few things that I usually don't have to worry about. While I got most ...
0
votes
2answers
7k views

why is makepkg not working in Arch linux?

i'm trying to install this package https://github.com/w0ng/dwm to configure/customize dwm window manager. the thing is that I need to use "makepkg" to install it. but when I do this "# makepkg -efi", ...
1
vote
0answers
659 views

Changing dwm keyboard in linux [duplicate]

I can't get dwm to set the keyboard layout. I have tried changing the file /usr/share/xsessions/dwm.desktop. I have changed the line Exec=dwm by Exec=/home/atc/dwm-init with this /home/atc/dwm-...
3
votes
0answers
789 views

Custom key combinations in dwm

I have some custom key combinations in config.h, which work great. I just got a 60% keyboard, and would like to configure the arrow keys to work Vim-like ¨hjkl¨, instead of the combination with FN + ...
5
votes
1answer
562 views

Save windows state in DWM

I would like to be able to save state of windows opened in all the tags on system halt/logout. Not necessarily with their whole history, just the fact that there was terminal under third tag and ...
2
votes
1answer
932 views

How to print a bash variable that has an array as value

I wrote a script for my dwm statusbar. One part of it is finding the current cpu usage for every single core on my system. I figured out a way myself but I would need some help fixing a bug in this. ...
6
votes
4answers
23k views

How to get cpu usage for every core with a bash script using standard *nix tools

I'm writing a bash script to print system stats to my dwm status bar using xsetroot. Everything works as expected. What I'm currently missing is an easy way that just uses standard *nix tools to give ...
2
votes
0answers
221 views

How to prevent dwm from tag switching when launching Skype

I'm running dwm and Skype included in it's tag rules: static const Rule rules[] = { /* class instance title tags mask isfloating monitor */ <snip/> { "Skype", ...
2
votes
1answer
2k views

Terminal does not open under dwm — is there an error log file?

I am running DWM under Arch Linux in combination with the urxvt terminal. I have a urxvt daemon running but when I press the key combination for opening a terminal window, nothing happens. Is there ...
8
votes
1answer
5k views

Dmenu does not start some programms (e.g., emacs) — is there a log file?

I'm running dwm with dmenu under Arch Linux. While dmenu is working, it doesn't start some programs, e.g., emacs, although it shows the command with auto-completion. When I start them in the terminal, ...
2
votes
0answers
1k views

Shutdown doesn't work

I've installed the dwm window manager on Linux Mint 15, configured it and now shutdown doesn't work. I typed shutdown -P now in terminal. dwm closed successfully and now I'm seeing a black screen ...
4
votes
1answer
4k views

How do I configure multiple monitors to work with dwm's tag rules?

I have a laptop with an external monitor and I want to use the external monitor as the primary one. I'm also running Debian with dwm. xrandr -q gives me this: Screen 0: minimum 320 x 200, current ...
4
votes
1answer
983 views

Dwm - pertag patch - save state between restarts

I'm using Pertag patch As a Gentoo user I apply dwm patches using Portage. Basically there's a directory where user can put a patch for sourcecode and Portage will apply it during the compilation ...
3
votes
0answers
194 views

Alternate keyboard inputs: dwm on Debian

Currently my laptop's keyboard has some broken keys (z, x, c). When using my Windows partition I know I can just use Alt-codes to enter the keys or use alternate hotkeys for the respective keys (Alt- ...
1
vote
0answers
1k views

X keyboard layout unable to toggle

I don't understand why alt_shift_toggle is not triggers keyboard layout switch This is what I have localectl status System Locale: LANG=en_US.UTF-8 VC Keymap: us X11 Layout: us,ru X11 ...
4
votes
1answer
1k views

Is it possible to use xsetroot and dwm to set the top and bottom bars at different time intervals?

I'm using dwm with the dualstatus patch. This adds a status bar on the bottom of the screen, in addition to the standard bar at the top. The text in each bar is set in ~/.xinitrc (for example) like ...
6
votes
6answers
2k views

current spotify track in dwm status bar

I'm trying to get the current track playing in spotify into my dwm status bar. I got to the point where I get the information with this command. enter code heredbus-send --print-reply --session --...
3
votes
1answer
2k views

change fonts of applications in dwm

I'm currently using dwm 6.0 and I was wondering how I could change the font of programs like Firefox. I already changed the font given in the config.h and recompiled it but it didn't change anything. ...
3
votes
1answer
2k views

Remove GNOME and install dwm

I'm currently running Fedora 19 on my PC and I want to remove GNOME and then use dwm. Is it enough when I install dwm and remove GNOME completely?
1
vote
1answer
1k views

Cannot echo colored text when inserting in status bar in dwm

I'm using Fedora 18. I'm trying to create a custom status bar in dwm. Now what I'm thinking of is to check if the battery is under a certain level, the background of the battery region in the status ...