You are not logged in.

#1 2018-10-11 04:25:33

ASCII2
Member
Registered: 2018-10-08
Posts: 5

[SOLVED] dwm title bar empty

My dwm title bar is always empty, no matter which window is focused:
https://i.imgur.com/DRXXf0k.png?1
I tested dwm (aur) + dmenu, dwm-git(aur) + dmenu-git(aur) and dwm + dmenu built from the latest source on suckless.org.
I didn't changed anything in config.h.

Also, the tag section is always on 1, no matter which tag is onscreen.
And the layout symbol([]=) never changes.
The program calling (Alt-p) works.

Do i have to put something in config.h or in .xinitrc ?

Edit: See last post

Last edited by ASCII2 (2018-10-13 09:32:09)

Offline

#2 2018-10-11 04:39:18

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 26,241
Website

Re: [SOLVED] dwm title bar empty

Read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code

Please paste your config.h


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#3 2018-10-11 05:12:35

ASCII2
Member
Registered: 2018-10-08
Posts: 5

Re: [SOLVED] dwm title bar empty

Sorry for the image.
My config.h is here: https://ptpb.pw/24u5 and my .xinitrc:

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then

    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then

    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

redshift &
exec dwm

Offline

#4 2018-10-11 06:11:06

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 26,241
Website

Re: [SOLVED] dwm title bar empty

Your config and xinitrc look fine. The blue rectangle close to the right end of the bar looks very odd...

What happens when you change the layout from titling to floating? Do the windows actually float?


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#5 2018-10-11 15:44:54

ASCII2
Member
Registered: 2018-10-08
Posts: 5

Re: [SOLVED] dwm title bar empty

Yes, the windows do float, but the symbol only changes if i click it. ([]= to ><>)
If i use Alt-f, the symbol remains the same.

Offline

#6 2018-10-11 15:50:23

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 26,241
Website

Re: [SOLVED] dwm title bar empty

Please paste the full output of a compile and some details of your graphics stack/setup. An xorg log would probably be helpful, too.


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#7 2018-10-11 22:47:50

cirrus
Member
From: Glasgow Scotland
Registered: 2012-08-24
Posts: 239
Website

Re: [SOLVED] dwm title bar empty

Not sure if OP is merely missing this to have output on the dwm bar

conky | while read -r; do xsetroot -name "$REPLY"; done &

sorry for the noise if i'm mistaken

Last edited by cirrus (2018-10-11 22:51:05)


Registered Linux User #544546
   Time you enjoyed wasting was not wasted. --John Lennon.

Offline

#8 2018-10-11 22:55:22

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 26,241
Website

Re: [SOLVED] dwm title bar empty

The bar isn't printing the window titles (which it should in the case of apps that send them), nor is the layout glyph being updated.


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#9 2018-10-12 04:26:15

ASCII2
Member
Registered: 2018-10-08
Posts: 5

Re: [SOLVED] dwm title bar empty

About my graphics, i'm running on an i5 (gen 4) with intel hd graphics.
I have the following packages installed:

  • intel-ucode

  • mesa

  • vulkan-intel

  • xf86-video-intel

My log from dwm^aur:
dwm-6.1-3-x86_64-build.log

My Xorg log:
Xorg.0.log

Offline

#10 2018-10-12 04:46:13

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 26,241
Website

Re: [SOLVED] dwm title bar empty

Nothing leaps out at me. All I've got left is for you to build vanilla dwm from suckless source (with no changes to config.def.h) and see if that acts up.


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#11 2018-10-13 09:29:59

ASCII2
Member
Registered: 2018-10-08
Posts: 5

Re: [SOLVED] dwm title bar empty

Turns out it was the intel driver. I unninstalled xf86-video-intel and it started working perfectly.

Offline

Board footer

Powered by FluxBB