[SOLVED] dwm Recompile Difficulty

I am currently running dwm. I followed the abs intall method from the ArchWiki, but have run into trouble when I attempt to make changes to the config.h and recompile. If I make a single simple change to config.h (ex. change the value of "static const char ...color" or "static unsigned int borderpx") I do not notice any change in dwm upon restarting it.
[filam@lotte dwm]$ makepkg -efi
==> Making package: dwm 5.3-1 i686 (Tue Dec 30 11:47:02 EST 2008)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> WARNING: Skipping source retrieval -- using existing src/ tree
==> WARNING: Skipping source integrity checks -- using existing src/ tree
==> WARNING: Skipping source extraction -- using existing src/ tree
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
dwm build options:
CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/include/X11 -DVERSION="5.3"
LDFLAGS = -s -L/usr/lib -lc -L/usr/lib/X11 -lX11
CC = cc
CC dwm.c
CC -o dwm
dwm build options:
CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/X11R6/include -DVERSION="5.3"
LDFLAGS = -s -L/usr/lib -lc -L/usr/X11R6/lib -lX11
CC = cc
installing executable file to /home/filam/dwm/pkg/usr/bin
installing manual page to /home/filam/dwm/pkg/usr/share/man/man1
==> Tidying install...
-> Compressing man pages...
-> Stripping debugging symbols from binaries and libraries...
==> Creating package...
-> Generating .PKGINFO file...
-> Adding install script...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: dwm 5.3-1 i686 (Tue Dec 30 11:47:04 EST 2008)
==> Installing package dwm with pacman -U...
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
Password:
filam is not in the sudoers file. This incident will be reported.
As a reletively new end-user I can imagine I have made some simple mistake, but just can't imagine what that might be.
Last edited by filam (2008-12-30 16:57:29)

Thanks for the help lake.
string wrote:You need root privs to install packages but you don't need them in order to create packages. You are running `makepkg -efi` which will try to install the package after its creation. The solution is simple, first create the package as a regular user via `makepkg -ef` (the `i` flag has been stripped), then, log in as root and run `pacman -U /full/path/to/your/newly/created/package`.
Thanks string. Perfect explanation. This solution was exactly what I was looking for. Worked like a charm.

Similar Messages

  • [solved]DWM apply systray patch

    [solved]I am trying to appply the systray6.1 patch to dwm. The "patch" goes fine but when I make I get the below errors:
        dwm build options:
        CFLAGS   = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/X11R6/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=2     -DVERSION="6.1" -DXINERAMA
        LDFLAGS  = -s -L/usr/X11R6/lib -lX11 -lXinerama -lfontconfig -lXft
        CC       = cc
        CC drw.c
        CC dwm.c
        dwm.c: In function ‘clientmessage’:
        dwm.c:589:26: error: incompatible types when assigning to type ‘long unsigned int’ from type ‘XftColor’
        swa.background_pixel  = scheme[SchemeNorm].bg->rgb;
                              ^
        dwm.c: In function ‘updatesystray’:
        dwm.c:2221:18: error: incompatible type for argument 9 of ‘XCreateSimpleWindow’
       systray->win = XCreateSimpleWindow(dpy, root, x, m->by, w, bh, 0, 0, scheme[SchemeSel].bg->rgb);
                      ^
        In file included from dwm.c:36:0:
        /usr/include/X11/Xlib.h:1621:15: note: expected ‘long unsigned int’ but argument is of type ‘XftColor’
        extern Window XCreateSimpleWindow(
                   ^
        dwm.c:2224:24: error: incompatible types when assigning to type ‘long unsigned int’ from type ‘XftColor’
        wa.background_pixel  = scheme[SchemeNorm].bg->rgb;
                            ^
        dwm.c:2244:24: error: incompatible types when assigning to type ‘long unsigned int’ from type ‘XftColor’
        wa.background_pixel  = scheme[SchemeNorm].bg->rgb;
                            ^
        dwm.c:2263:2: error: incompatible type for argument 3 of ‘XSetForeground’
        XSetForeground(dpy, drw->gc, scheme[SchemeNorm].bg->rgb);
        ^
        In file included from dwm.c:36:0:
        /usr/include/X11/Xlib.h:3227:12: note: expected ‘long unsigned int’ but argument is of type ‘XftColor’
         extern int XSetForeground(
                ^
        Makefile:18: recipe for target 'dwm.o' failed
        make: *** [dwm.o] Error 1
    I haven't applied any other patches. Any idea what I am doing wrong? I can go into dwm.c and see the lines the error is refering to but I am not sure what the problem is.
    Thanks
    Last edited by derrickcope (2015-05-01 02:30:45)

    I just got the latest one off of the repo at git.suckless.org/dwm. the page says 6.0 but my config.mk says version 6.1. I did try the 6.0 version but the patch had errors. I am a little confused. The other patches come back with errors too. I am using an unpatched version at the moment so I would think most patches should work.
    What should I do?

  • [SOLVED] DWM+pertag+bstack error

    hi
    i'm trying to compile dwm with pertag diff patch and bstack.c
    i get an error while compiling it:
    CC dwm.c
    In file included from config.h:42,
    from dwm.c:254:
    bstack.c: En la función 'bstack':
    bstack.c:7: error: puntero deferenciado a tipo de dato incompletoº
    bstack.c:11:error:puntero..
    make: *** [dwm.o] Error 1
    ==> ERROR: Falló la compilación.ª
    Abortando...
    º means: dereference pointer to incomplete data type
    ª means: Compilation failed.
    it sucks 'cos i want to read pdf on top of my 10" screen and write documents at bottom, without the problem of change to another desktop and have to move to another layout, i.e., floating for gimp
    another thing: for write this post i must to write the code manually, 'cos a don't know how to copy from urxvt and paste it to firefox.. yep, that's a newbie question
    Edit: solved here
    Last edited by kismet010 (2010-02-08 05:51:09)

    Looks like this workaround isn't enough to get it to compile on the latest hg clone.
    dwm build options:
    CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/include/X11 -DVERSION="5.8" -DXINERAMA
    LDFLAGS = -s -L/usr/lib -lc -L/usr/lib/X11 -lX11 -L/usr/lib/X11 -lXinerama
    CC = cc
    CC dwm.c
    dwm.c: In function 'gaplessgrid':
    dwm.c:262: error: dereferencing pointer to incomplete type
    dwm.c:276: error: dereferencing pointer to incomplete type
    dwm.c:276: error: dereferencing pointer to incomplete type
    dwm.c:279: error: dereferencing pointer to incomplete type
    dwm.c:282: error: dereferencing pointer to incomplete type
    dwm.c:282: error: dereferencing pointer to incomplete type
    dwm.c:283: error: dereferencing pointer to incomplete type
    dwm.c:284: error: dereferencing pointer to incomplete type
    make: *** [dwm.o] Error 1
    Line 262 for me is:
    for(n = 0, c = nexttiled(m->clients); c; c = nexttiled(c->next))
    I've tried many things and maybe i'm missing something very simple here.

  • [SOLVED] DWM - how do you apply patches with patch?

    I'm totally new to dwm (it's working great by the way) and patching. I'm having problems understanding how to use the patch program. The basic usage on dwm site says basically:
    patch -p1 < path/to/patch.diff
    Great, now I have the patch file ~/builds/dwn/patch/dwm-5.9-statuscolors.diff and my altered ~/builds/dwn/config.h. Here's what I did
    herman@sam ~/builds/dwm $ patch -p1 <patch/dwm-5.9-statuscolors.diff
    can't find file to patch at input line 4
    Perhaps you used the wrong -p or --strip option?
    The text leading up to this was:
    |diff -up dwm-5.9/config.def.h dwm-5.9-colors/config.def.h
    |--- dwm-5.9/config.def.h 2011-07-10 16:24:25.000000000 -0400
    |+++ dwm-5.9-colors/config.def.h 2011-08-18 02:02:47.033830823 -0400
    File to patch: config.def.h
    config.def.h: No such file or directory
    Skip this patch? [y]
    Skipping patch.
    2 out of 2 hunks ignored
    can't find file to patch at input line 41
    Perhaps you used the wrong -p or --strip option?
    The text leading up to this was:
    |Only in dwm-5.9: config.h
    |Only in dwm-5.9: dwm
    |diff -up dwm-5.9/dwm.c dwm-5.9-colors/dwm.c
    |--- dwm-5.9/dwm.c 2011-07-10 16:24:25.000000000 -0400
    |+++ dwm-5.9-colors/dwm.c 2011-08-18 02:07:20.788935100 -0400
    File to patch: dwm.c
    dwm.c: No such file or directory
    Skip this patch? [y]
    Skipping patch.
    12 out of 12 hunks ignored
    and it asks me for the filename it didn't find at line 4. Looking at the patch, I see it's a diff on config.def.h so I suppose this is the file to be patched and that I should supply this filename and the same with dwm.c? I'm not new to C coding but fresh out when it comes to diffing and patching, how do I actually go forward from here?
    Edit:
    More info  - I used the description using ABS to download the PKGBUILD for dwm and making dwm. My files
    herman@sam ~/builds/dwm $ ls -R
    PKGBUILD config.h dwm-5.9-2-x86_64.pkg.tar.xz dwm-5.9.tar.gz dwm.desktop dwm.install patch pkg src
    ./patch:
    dwm-5.9-statuscolors.diff
    ./pkg:
    usr
    ./pkg/usr:
    bin share
    ./pkg/usr/bin:
    dwm
    ./pkg/usr/share:
    doc licenses man xsessions
    ./pkg/usr/share/doc:
    dwm
    ./pkg/usr/share/doc/dwm:
    README
    ./pkg/usr/share/licenses:
    dwm
    ./pkg/usr/share/licenses/dwm:
    LICENSE
    ./pkg/usr/share/man:
    man1
    ./pkg/usr/share/man/man1:
    dwm.1.gz
    ./pkg/usr/share/xsessions:
    dwm.desktop
    ./src:
    config.h dwm-5.9 dwm-5.9.tar.gz dwm.desktop
    ./src/dwm-5.9:
    LICENSE Makefile README config.def.h config.def.h.orig config.def.h.rej config.h config.mk dwm dwm.1 dwm.c dwm.o
    Last edited by roygbiv (2011-12-06 20:37:40)

    Ok thanks but I'm confused again (I know..). I managed to patch the files config.def.h and dwm.c in the source dir and noticed there is yet another config.h file there as well. Now, the in the top level dir with the PKGBUILD I also have a config.h, which is the one I do my config changes. I'm confused because I now have these three header files (2x config.h + config.def.h) which are supposed to have the same source code? I've read around on the net, but haven't gotten any further answers yet. What are the purpose of each config and how should I use/update/manage them when recompiling? This is my situation:
    herman@sam ~/build/dwm $ tree .
    ├── PKGBUILD
    ├── config.h <----------------------------------------------------- this one
    ├── dwm-5.9-2-x86_64.pkg.tar.xz
    ├── dwm-5.9.tar.gz
    ├── dwm.desktop
    ├── dwm.install
    ├── pkg
    │   └── usr
    │   ├── bin
    │   │   └── dwm
    │   └── share
    │   ├── doc
    │   │   └── dwm
    │   │   └── README
    │   ├── licenses
    │   │   └── dwm
    │   │   └── LICENSE
    │   ├── man
    │   │   └── man1
    │   │   └── dwm.1.gz
    │   └── xsessions
    │   └── dwm.desktop
    └── src
    ├── config.h -> /home/herman/build/dwm/config.h
    ├── dwm-5.9
    │   ├── LICENSE
    │   ├── Makefile
    │   ├── README
    │   ├── config.def.h <-----------------------------------------------------this one
    │   ├── config.def.h.orig
    │   ├── config.h <----------------------------------------------------------this one
    │   ├── config.mk
    │   ├── dwm
    │   ├── dwm-5.9-statuscolors.diff
    │   ├── dwm.1
    │   ├── dwm.c
    │   ├── dwm.c.orig
    │   └── dwm.o
    ├── dwm-5.9.tar.gz -> /home/herman/build/dwm/dwm-5.9.tar.gz
    └── dwm.desktop -> /home/herman/build/dwm/dwm.desktop
    Thanks guys!
    Last edited by roygbiv (2011-12-06 20:06:10)

  • [SOLVED] dwm: cannot open mixer

    I've been setting up dwm through the last hours and I had an issue with sound playback. Firstly, I can play any sound from the console or any other wm. The problem appears when I start dwm by using xinit but loading it through gdm seems to solve the problem but still I'm not satisfied with that solution. I think that gdm do something in order to grant access to the sound card but on the other hand I still have another problem with multiple running applications that playback sound, only the first opened application can.
    After starting dwm with xinit I get "amixer: Mixer attach default error: No such file or directory" and by running alsamixer I get "cannot open mixer: No such file or directory".
    Thanks in advance
    Last edited by russo (2011-06-20 04:01:15)

    Well, I checked those posts.
    /dev/mixer exists
    I tried to load the snd-pcm-oss but nothing changed.
    However I noticed that I can run alsamixer as root. I'm not sure but maybe having to run gdm as root while running xinit as user made the difference but still it doesn't make sense since I can run openbox with xinit and everything works fine. I'll keep trying
    EDIT: Finally, I tried to load openbox through xinit and had the same problem. Next I tried to reboot removing gdm from the daemons and start dwm directly with the xinitrc options. Now it seems to work fine. Maybe gdm blocked the sound card once it opened.
    Last edited by russo (2011-06-20 04:00:56)

  • [Solved] dwm status bar

    I am learning about DWM...slowly...
    So, I have conky piped to dzen2 as per the screenshot;
    But how do I now remove the 'dwm-6.0' from the status bar?
    Thanks for your patience.
    Last edited by ancleessen4 (2013-04-13 11:05:17)

    dzconky;
    #!/bin/sh
    FG='#aaaaaa'
    BG='#333333'
    FONT='-*-inconsolata-*-r-normal-*-*-90-*-*-*-*-iso8859-*'
    conky | dzen2 -e - -h '14' -w '1100' -ta r -x '750' -fg $FG -bg $BG -fn $FONT &
    conky;
    out_to_console yes
    #out_to_x no
    background no
    update_interval 2
    total_run_times 0
    use_spacer none
    TEXT
    #Arch 64 :: $kernel :: $uptime_short :: ^fg(\#60B48A)$mpd_smart ^fg():: ${cpu cpu1}% / ${cpu cpu2}% :: cpu0 ${execi 5 sensors | grep "Core 0" | cut -d "+" -f2 | cut -c1-2}C cpu1 ${execi 5 sensors | grep "Core 1" | cut -d "+" -f2 | cut -c1-2}C :: ^fg(\#DC8CC3)$memperc% ($mem) ^fg():: ${downspeed enp0s20} ${upspeed enp0s20} :: ${time %a %b %d %H:%M}
    $kernel :: Updates: ${if_match ${execi 1800 (checkupdates | wc -l)} == 0}${color2}up to date${color}${else}${color3}${execi 1800 (checkupdates | wc -l)} new packages${color}${endif} :: ^fg(\#60B48A)$mpd_smart ^fg():: ^fg(\#DC8CC3)$memperc% = $mem ^fg():: ${time %H:%M} :: ^fg(\#8CD0D3)${execi 300 /home/neil/bin/weather.sh "EUR|LU|LU001|Luxembourg"}
    I have tried changing '-x' and '-w' but no change to the layout...
    Just tried to recompile with '-x=850'...to try and push dzen output to the right but no change...
    makepkg -efi --skipinteg
    I am sure this is a simple solution that I am missing...

  • [SOLVED] dwm react strangely - azerty keycodes error

    Hi,
    I'm trying dwm after some time on Spectrwm, but i'm facing a strange behaviour it is impossible at all to switch to n tag with ModKey + n or put client to desired tag.
    Also dmenu wont spawn with ModKey + p. It spawn perfectly with  "$: dmenu_run" in a terminal but not with dwm shortcut.
    Other things seems to works fine.
    is anyone already had the same behaviour ?
    here is my config.h the only things that have changed from the config.def.h template is the termcmd (st replaced with terminology) and the modkey which I have change from "Alt" to "WindowsKey"
    /* See LICENSE file for copyright and license details. */
    /* appearance */
    static const char font[] = "-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*";
    static const char normbordercolor[] = "#444444";
    static const char normbgcolor[] = "#222222";
    static const char normfgcolor[] = "#bbbbbb";
    static const char selbordercolor[] = "#005577";
    static const char selbgcolor[] = "#005577";
    static const char selfgcolor[] = "#eeeeee";
    static const unsigned int borderpx = 1; /* border pixel of windows */
    static const unsigned int snap = 32; /* snap pixel */
    static const Bool showbar = True; /* False means no bar */
    static const Bool topbar = True; /* False means bottom bar */
    /* tagging */
    static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
    static const Rule rules[] = {
    /* xprop(1):
    * WM_CLASS(STRING) = instance, class
    * WM_NAME(STRING) = title
    /* class instance title tags mask isfloating monitor */
    { "Gimp", NULL, NULL, 0, True, -1 },
    { "Firefox", NULL, NULL, 1 << 8, False, -1 },
    /* layout(s) */
    static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
    static const int nmaster = 1; /* number of clients in master area */
    static const Bool resizehints = True; /* True means respect size hints in tiled resizals */
    static const Layout layouts[] = {
    /* symbol arrange function */
    { "[]=", tile }, /* first entry is default */
    { "><>", NULL }, /* no layout function means floating behavior */
    { "[M]", monocle },
    /* key definitions */
    #define MODKEY Mod4Mask
    #define TAGKEYS(KEY,TAG) \
    { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
    { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
    { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
    { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
    /* helper for spawning shell commands in the pre dwm-5.0 fashion */
    #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
    /* commands */
    static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
    static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
    static const char *termcmd[] = { "terminology", NULL };
    static Key keys[] = {
    /* modifier key function argument */
    { MODKEY, XK_p, spawn, {.v = dmenucmd } },
    { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
    { MODKEY, XK_b, togglebar, {0} },
    { MODKEY, XK_j, focusstack, {.i = +1 } },
    { MODKEY, XK_k, focusstack, {.i = -1 } },
    { MODKEY, XK_i, incnmaster, {.i = +1 } },
    { MODKEY, XK_d, incnmaster, {.i = -1 } },
    { MODKEY, XK_h, setmfact, {.f = -0.05} },
    { MODKEY, XK_l, setmfact, {.f = +0.05} },
    { MODKEY, XK_Return, zoom, {0} },
    { MODKEY, XK_Tab, view, {0} },
    { MODKEY|ShiftMask, XK_c, killclient, {0} },
    { MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
    { MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
    { MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
    { MODKEY, XK_space, setlayout, {0} },
    { MODKEY|ShiftMask, XK_space, togglefloating, {0} },
    { MODKEY, XK_0, view, {.ui = ~0 } },
    { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
    { MODKEY, XK_comma, focusmon, {.i = -1 } },
    { MODKEY, XK_period, focusmon, {.i = +1 } },
    { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
    { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
    TAGKEYS( XK_1, 0)
    TAGKEYS( XK_2, 1)
    TAGKEYS( XK_3, 2)
    TAGKEYS( XK_4, 3)
    TAGKEYS( XK_5, 4)
    TAGKEYS( XK_6, 5)
    TAGKEYS( XK_7, 6)
    TAGKEYS( XK_8, 7)
    TAGKEYS( XK_9, 8)
    { MODKEY|ShiftMask, XK_q, quit, {0} },
    /* button definitions */
    /* click can be ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */
    static Button buttons[] = {
    /* click event mask button function argument */
    { ClkLtSymbol, 0, Button1, setlayout, {0} },
    { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} },
    { ClkWinTitle, 0, Button2, zoom, {0} },
    { ClkStatusText, 0, Button2, spawn, {.v = termcmd } },
    { ClkClientWin, MODKEY, Button1, movemouse, {0} },
    { ClkClientWin, MODKEY, Button2, togglefloating, {0} },
    { ClkClientWin, MODKEY, Button3, resizemouse, {0} },
    { ClkTagBar, 0, Button1, view, {0} },
    { ClkTagBar, 0, Button3, toggleview, {0} },
    { ClkTagBar, MODKEY, Button1, tag, {0} },
    { ClkTagBar, MODKEY, Button3, toggletag, {0} },
    Last edited by core_sum (2013-10-03 18:23:05)

    It was in fact the 6.0.1 so I presum this the 6.0 version.
    I have try to recompile with and without modification in config.h switching tags or sending clien to specified tag still not working.
    Also I have try with 
    #define MODKEY Mod4
    but it wont compile.
    All others keybiding works well like toggling the status bar with ModKey4 + b, increase client size, switching layout...but not the dmenu and tags functions.
    I have try on my laptop and on my workstation and it does the same behaviour so it should be an error from me
    Last edited by core_sum (2013-09-30 18:59:51)

  • [SOLVED]dwm-sprinkles: can't right click

    Just installed dwm-sprinkles (compiled from source grabbed using svn because there's nothing in AUR or ABS for it), and I can no longer right click in firefox or use the drop-down menus.  Drop downs on websites work fine, but I can't use anything in the firefox toolbar.  ie, File, Edit, address bar history, ABP menu, etc.  These things all work fine in gftp and goggles, which are the only other gui apps that I really use.
    It worked fine in vanilla dwm, which I built from the package in AUR.  Switched to dwm sprinkles because patching was a pain in the ass and sprinkles already has pretty much everything I need.  I'm guessing there is something in config.h that is causing this but I haven't changed anything except colors and terminal command. 
    Sorry if this has been posted/solved before, but there's just not much in-depth documentation on DWM out there (which is why I switched to a pre-patched version of it in the first place).
    Last edited by clutch (2010-06-04 22:08:28)

    ok, it works now after a reboot.  No idea. 

  • [Solved] DWM: lightdm loop

    Running dwm-personalized xsession reloads lightdm.
    $ cat /usr/share/xsessions/dwm-personalized.desktop
    [Desktop Entry]
    Encoding=UTF-8
    Name=Dwm-personalized
    Comment=Dynamic window manager
    Exec=dwm
    Icon=dwm
    Type=XSession
    ~/.dwm/config.h
    $ cat .xinitrc
    exec dwm
    Anything else what might help with diagnostics?
    Last edited by rollypolio (2015-02-19 21:12:24)

    Knute wrote:
    rollypolio wrote:
    Ok, I used method 1, and I've shown the files from the next section.  I'm a little confused by this section:
    The default /usr/share/xsessions/dwm.desktop does not allow for a customized start like can be done in ~/.xinitrc. A solution to this problem is to make a start script, for example /usr/bin/dwm-personalized and make an alternative xsession .desktop file (/usr/share/xsessions/dwm-personalized.desktop).
    Wiki
    Do I need to create the /usr/bin/dwm-personalized start script?  What would that look like?
    The easiest way to make the dwm-personalized.desktop is to simply copy the dwm.desktop file and modify it.
    From what little I read on the wiki about it, you would also need to make a dwm-personalized file in /usr/bin and make your personalized changes there; one of which is most likely the executable file.  The wiki seemed to explain that pretty well, but I just glanced at it.
    Does that help?
    Yes, Knute.  That helps.  I'm still unclear as to what this file would look like.  I was confused by the wiki.  I have compiled various programs with gcc (the apertium machine translator, for one) and am currently running i3wm.  Line 18 of PKGBUILD says dwm.desktop.  I edited it to say dwm-personalized.desktop and then cp'd from /usr/share/Xsessions the dwm-personalized desktop file after recompiling gave an error saying file not found. It's still giving the same error:
    Makefile:18: recipe for target 'dwm.o' failed
    make: *** [dwm.o] Error 1
    Here is the makefile.
    $ cat ~/.dwm/PKGBUILD
    # $Id: PKGBUILD 113973 2014-07-01 10:51:04Z spupykin $
    # Maintainer: Sergej Pupykin <[email protected]>
    # Contributor: Dag Odenhall <[email protected]>
    # Contributor: Grigorios Bouzakis <[email protected]>
    pkgname=dwm
    pkgver=6.0
    pkgrel=2
    pkgdesc="A dynamic window manager for X"
    url="http://dwm.suckless.org"
    arch=('i686' 'x86_64')
    license=('MIT')
    options=(zipman)
    depends=('libx11' 'libxinerama')
    install=dwm.install
    source=(http://dl.suckless.org/dwm/dwm-$pkgver.tar.gz
    config.h
    dwm-personalized.desktop)
    md5sums=('8bb00d4142259beb11e13473b81c0857'
    '8b5732a7b4d40d021fcb9b2c549a389a'
    '7d3152c4ad668bddefbaf54315b54a9b')
    build() {
    cd $srcdir/$pkgname-$pkgver
    cp $srcdir/config.h config.h
    sed -i 's/CPPFLAGS =/CPPFLAGS +=/g' config.mk
    sed -i 's/^CFLAGS = -g/#CFLAGS += -g/g' config.mk
    sed -i 's/^#CFLAGS = -std/CFLAGS += -std/g' config.mk
    sed -i 's/^LDFLAGS = -g/#LDFLAGS += -g/g' config.mk
    sed -i 's/^#LDFLAGS = -s/LDFLAGS += -s/g' config.mk
    make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
    package() {
    cd $srcdir/$pkgname-$pkgver
    make PREFIX=/usr DESTDIR=$pkgdir install
    install -m644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
    install -m644 -D README $pkgdir/usr/share/doc/$pkgname/README
    install -m644 -D $srcdir/dwm.desktop $pkgdir/usr/share/xsessions/dwm.desktop

  • [Solved] DWM with w0ng' config

    Hi everyone,
    Im using dwm on archlinux, and i try to install w0ng' config. But it is not working, i cant press anykey, i try shift+alt+q, shift+alt+p, alt+1, alt+2..... my screen no change, i must switch to tty2 and recompile dwm to default.
    I upload 4 images for more details. This is top-left and top-right of my screen:
    http://i.imgur.com/Em8286U.jpg
    http://i.imgur.com/zrxOtqC.jpg
    http://i.imgur.com/ObcOAKp.jpg
    http://i.imgur.com/hjd3KTH.jpg
    I installed font terminus2 and xbmicons:
    fc-list | grep termi
    /usr/share/fonts/local/terminus2.bdf: Terminus2:style=Regular
    /root/.fonts/terminus2.bdf: Terminus2:style=Regular
    fc-list | grep xb
    /root/.fonts/xbmicons.pcf: xbmicons:style=Regular
    /usr/share/fonts/local/xbmicons.pcf: xbmicons:style=Regular
    and here is how do i do:
    cd /home/user/Download/dwm-master/
    cp PKGBUILD /root/dwm/
    cp 0* config.h bstack.c gaplessgrid.c push.c /root/dwm/src/
    cd /root/dwm/
    makepkg -efi
    Tks for reading.
    -- mod edit: changed images to links - Trilby --
    Last edited by x3004 (2014-07-12 17:37:00)

    Here is my config, i change a bit on w0ng' config:
    /* See LICENSE file for copyright and license details. */
    /* appearance */
    static const char font[] = "-*-xbmicons-medium-r-*-*-12-*-*-*-*-*-*-*" ","
    /*"-*-terminus-medium-r-*-*-12-*-*-*-*-*-*-*";*/
    "-*-terminus2-medium-r-*-*-12-*-*-*-*-*-*-*";
    #define NUMCOLORS 12
    static const char colors[NUMCOLORS][ColLast][9] = {
    // border foreground background
    { "#282a2e", "#373b41", "#1d1f21" }, // 1 = normal (grey on black)
    { "#f0c674", "#c5c8c6", "#1d1f21" }, // 2 = selected (white on black)
    { "#dc322f", "#1d1f21", "#f0c674" }, // 3 = urgent (black on yellow)
    { "#282a2e", "#282a2e", "#1d1f21" }, // 4 = darkgrey on black (for glyphs)
    { "#282a2e", "#1d1f21", "#282a2e" }, // 5 = black on darkgrey (for glyphs)
    { "#282a2e", "#cc6666", "#1d1f21" }, // 6 = red on black
    { "#282a2e", "#b5bd68", "#1d1f21" }, // 7 = green on black
    { "#282a2e", "#de935f", "#1d1f21" }, // 8 = orange on black
    { "#282a2e", "#f0c674", "#282a2e" }, // 9 = yellow on darkgrey
    { "#282a2e", "#81a2be", "#282a2e" }, // A = blue on darkgrey
    { "#282a2e", "#b294bb", "#282a2e" }, // B = magenta on darkgrey
    { "#282a2e", "#8abeb7", "#282a2e" }, // C = cyan on darkgrey
    /* edit here */
    static const char normbordercolor[] = "#444444";
    static const char normbgcolor[] = "#222222";
    static const char normfgcolor[] = "#bbbbbb";
    static const char selbordercolor[] = "#005577";
    static const char selbgcolor[] = "#005577";
    static const char selfgcolor[] = "#eeeeee";
    static const unsigned int borderpx = 0; /* border pixel of windows */
    static const unsigned int snap = 8; /* snap pixel */
    static const Bool showbar = True; /* False means no bar */
    static const Bool topbar = True; /* False means bottom bar */
    /* tagging */
    static const char *tags[] = { "\uE000", "\uE001", "\uE002", "\uE003", "\uE008",
    "\uE004", "\uE005", "\uE006","\uE007 " };
    static const Rule rules[] = {
    /* class instance title tags mask isfloating iscentred monitor */
    { "feh", NULL, NULL, 0, True, True, -1 },
    { "Gcolor2", NULL, NULL, 0, True, True, -1 },
    { "XFontSel", NULL, NULL, 0, True, True, -1 },
    { "Xfd", NULL, NULL, 0, True, True, -1 },
    { "Firefox", NULL, NULL, 1, False, False, -1 },
    { "URxvt", "ircmailbt", NULL, 1 << 1, False, False, -1 },
    { "Gvim", NULL, NULL, 1 << 2, False, False, -1 },
    { "Zathura", NULL, NULL, 1 << 3, False, False, -1 },
    { "libreoffice-calc", NULL, NULL, 1 << 3, False, False, -1 },
    { "libreoffice-impress", NULL, NULL, 1 << 3, False, False, -1 },
    { "libreoffice-startcenter", NULL, NULL, 1 << 3, False, False, -1 },
    { "libreoffice-writer", NULL, NULL, 1 << 3, False, False, -1 },
    { "mpv", NULL, NULL, 1 << 4, False, False, -1 },
    { "TeamViewer.exe", NULL, NULL, 1 << 5, True, False, -1 },
    { "Wine", NULL, NULL, 1 << 5, True, False, -1 },
    { "Gimp", NULL, NULL, 1 << 5, True, False, -1 },
    { "URxvt", "filemgr", NULL, 1 << 6, False, False, -1 },
    { "Chromium", NULL, NULL, 1 << 7, False, False, -1 },
    /* layout(s) */
    static const float mfact = 0.50; /* factor of master area size [0.05..0.95] */
    static const int nmaster = 1; /* number of clients in master area */
    static const Bool resizehints = False; /* True means respect size hints in tiled resizals */
    #include "bstack.c"
    #include "gaplessgrid.c"
    static const Layout layouts[] = {
    /* symbol arrange function */
    { "\uE020 \uE009 \uE020", tile }, /* first entry is default */
    { "\uE020 \uE00A \uE020", NULL }, /* no layout function means floating behavior */
    { "\uE020 \uE00B \uE020", monocle },
    { "\uE020 \uE00C \uE020", bstack },
    { "\uE020 \uE00D \uE020", gaplessgrid },
    /* key definitions */
    #define MODKEY Mod4Mask
    #define TAGKEYS(KEY,TAG) \
    { MODKEY, KEY, toggleview, {.ui = 1 << TAG} }, \
    { MODKEY|ControlMask, KEY, view, {.ui = 1 << TAG} }, \
    { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
    { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
    /* helper for spawning shell commands in the pre dwm-5.0 fashion */
    #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
    /* commands */
    static const char *dmenucmd[] = { "dmenu_run", "-fn", font, "-nb", colors[0][ColBG], "-nf", colors[0][ColFG], "-sb", colors[1][ColBG], "-sf", colors[1][ColFG], NULL };
    static const char *termcmd[] = { "urxvtc", NULL };
    static const char scratchpadname[] = "scratchpad";
    static const char *scratchpadcmd[] = { "urxvtc", "-name", scratchpadname, "-geometry", "100x25", NULL };
    static const char *volupcmd[] = { "amixer", "-q", "set", "PCM", "5%+", NULL };
    static const char *voldncmd[] = { "amixer", "-q", "set", "PCM", "5%-", NULL };
    static const char *mpctog[] = { "ncmpcpp", "toggle", NULL };
    static const char *mpcprev[] = { "ncmpcpp", "prev", NULL };
    static const char *mpcnext[] = { "ncmpcpp", "next", NULL };
    #include "push.c"
    static Key keys[] = {
    /* modifier key function argument */
    /* edit here: change XK_o to XK_p
    { MODKEY, XK_o, spawn, {.v = dmenucmd } },
    { MODKEY, XK_p, spawn, {.v = dmenucmd } },
    { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
    /* edit here
    { MODKEY, XK_s, togglescratch, {.v = scratchpadcmd} },
    { MODKEY, XK_apostrophe, spawn, {.v = volupcmd } },
    { MODKEY, XK_semicolon, spawn, {.v = voldncmd } },
    { MODKEY, XK_slash, spawn, {.v = mpctog } },
    { MODKEY, XK_bracketleft, spawn, {.v = mpcprev } },
    { MODKEY, XK_bracketright, spawn, {.v = mpcnext } },
    { MODKEY|ControlMask, XK_b, togglebar, {0} },
    { MODKEY, XK_j, focusstack, {.i = +1 } },
    { MODKEY, XK_k, focusstack, {.i = -1 } },
    { MODKEY|ShiftMask, XK_j, pushdown, {0} },
    { MODKEY|ShiftMask, XK_k, pushup, {0} },
    { MODKEY, XK_i, incnmaster, {.i = +1 } },
    { MODKEY, XK_d, incnmaster, {.i = -1 } },
    { MODKEY, XK_h, setmfact, {.f = -0.05} },
    { MODKEY, XK_l, setmfact, {.f = +0.05} },
    { MODKEY, XK_Return, zoom, {0} },
    { MODKEY, XK_Tab, view, {0} },
    { MODKEY|ShiftMask, XK_c, killclient, {0} },
    { MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
    { MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
    { MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
    { MODKEY, XK_b, setlayout, {.v = &layouts[3]} },
    { MODKEY, XK_g, setlayout, {.v = &layouts[4]} },
    { MODKEY, XK_space, setlayout, {0} },
    { MODKEY|ShiftMask, XK_space, togglefloating, {0} },
    { MODKEY, XK_0, view, {.ui = ~0 } },
    { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
    { MODKEY, XK_comma, focusmon, {.i = -1 } },
    { MODKEY, XK_period, focusmon, {.i = +1 } },
    { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
    { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
    TAGKEYS( XK_1, 0)
    TAGKEYS( XK_2, 1)
    TAGKEYS( XK_3, 2)
    TAGKEYS( XK_4, 3)
    TAGKEYS( XK_5, 4)
    TAGKEYS( XK_6, 5)
    TAGKEYS( XK_7, 6)
    TAGKEYS( XK_8, 7)
    TAGKEYS( XK_9, 8)
    { MODKEY|ShiftMask, XK_q, quit, {0} },
    /* button definitions */
    /* click can be ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */
    static Button buttons[] = {
    /* click event mask button function argument */
    { ClkLtSymbol, 0, Button1, setlayout, {0} },
    { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} },
    { ClkWinTitle, 0, Button2, zoom, {0} },
    { ClkStatusText, 0, Button2, spawn, {.v = termcmd } },
    { ClkClientWin, MODKEY, Button1, movemouse, {0} },
    { ClkClientWin, MODKEY, Button2, togglefloating, {0} },
    { ClkClientWin, MODKEY, Button3, resizemouse, {0} },
    { ClkTagBar, 0, Button1, toggleview, {0} },
    { ClkTagBar, 0, Button3, view, {0} },
    { ClkTagBar, MODKEY, Button1, tag, {0} },
    { ClkTagBar, MODKEY, Button3, toggletag, {0} },
    And here is "makepkg -efi" output:
    => 01-statuscolours.diff
    patching file dwm.c
    => 02-monoclecount.diff
    patching file dwm.c
    => 03-noborder.diff
    patching file dwm.c
    => 04-centredfloating.diff
    patching file dwm.c
    => 05-scratchpad.diff
    patching file dwm.c
    => 06-attachaside.diff
    patching file dwm.c
    Hunk #1 succeeded at 161 with fuzz 2 (offset 8 lines).
    Hunk #2 succeeded at 426 (offset 28 lines).
    Hunk #3 succeeded at 1223 with fuzz 1 (offset 106 lines).
    => 07-nopaddedbar.diff
    patching file dwm.c
    dwm build options:
    CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/include/X11 -D_FORTIFY_SOURCE=2 -DVERSION="6.0" -DXINERAMA
    LDFLAGS = -s -L/usr/lib -lc -L/usr/lib/X11 -lX11 -L/usr/lib/X11 -lXinerama
    CC = cc
    CC dwm.c
    CC -o dwm
    dwm build options:
    CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/X11R6/include -D_FORTIFY_SOURCE=2 -DVERSION="6.0" -DXINERAMA
    LDFLAGS = -s -L/usr/lib -lc -L/usr/X11R6/lib -lX11 -L/usr/X11R6/lib -lXinerama
    CC = cc
    installing executable file to /root/dwm/pkg/dwm/usr/bin
    installing manual page to /root/dwm/pkg/dwm/usr/share/man/man1
    loading packages...
    resolving dependencies...
    looking for inter-conflicts...
    Packages (1): dwm-6.0-2
    Total Installed Size: 0.09 MiB
    Net Upgrade Size: 0.00 MiB
    checking keyring...
    checking package integrity...
    loading package files...
    checking for file conflicts...
    checking available disk space...
    reinstalling dwm...
    @jasonwryan: I saw your name in here, nice to meet you (statuscolors-6.0 patch is not exists).

  • [SOLVED] dwm config

    [SOLVED]
    Hi,
    I am asking for help with my dwm config. What I want it to do is, instead of snapping directly to the edge of the screen, I want it to snap a certain distance away from it (and maybe other windows). Can someone point me in the right direction?
    Also, this is less relevant, but I want to include the system time in the title bar of dwm. Any help there?
    Last edited by latenitekid (2013-03-12 00:43:30)

    The time is included in the example status bar on the wiki page: https://wiki.archlinux.org/index.php/Dw … _statusbar
    The snapping thing sounds like a variant of useless gaps...

  • [SOLVED] [dwm] Can't start dwm

    Hi!
    I've recently entered the world of tiling WM and started with dwm.
    Since I'm kinda insecure, and wanted to keep gnome as well, I've followed every single step in the wiki article and used the ~/.Xclients way, so I could start dwm from gdm (I've followed also the steps in the discussion page as well).
    Then, when I tried to startup dwm from gdm, it doesn't start, and goes back again to gdm.
    My ~/.Xclients file is the following:
    setxkbmap -layout pt
    #relogio
    while true; do
    xsetroot -name "$( date +"%F %R" )"
    sleep 1m # Update time every minute
    done &
    # #estado da bateria
    # while true; do
    # batt=$(LC_ALL=C acpi -b)
    # case $batt in
    # *Discharging*)
    # batt="${batt#* * * }"
    # batt="${batt%%, *} "
    # batt=""
    # esac
    # xsetroot -name "$batt$(date +%R)"
    # sleep 60
    # done &
    #conky bar
    conky | while read -r; do xsetroot -name "$REPLY"; done &
    #executar o dwm
    exec dwm
    It's all things copied from the wiki page, just for testing if everything was fine...
    My /usr/share/xsessions/dwm.desktop file is:
    [Desktop Entry]
    Encoding=UTF-8
    Name=Dwm
    Comment=Dynamic window manager
    Exec=/usr/local/bin/dwm
    Icon=dwm
    Type=XSession
    And I've created a /usr/share/xsessions/user.desktop file that looks like this:
    [Desktop Entry]
    Encoding=UTF-8
    Name=User XSession script
    Comment=Runs your ~./Xsession script
    Exec=/etc/X11/Xsession
    Type=Application
    Thanks in advance for any help, I've searched the forums and used google and couldn't find any answer to this problem :S
    Last edited by Aeriel (2011-09-01 17:19:02)

    haxit, thanks I've managed to solve the problem!
    I've installed SLiM and set up everything in .xinitrc.
    The dwm.desktop doesn't match with yours because I've changed somethings and because I didn't backup the file (I know, it's super dumb and stupid) I had to paste the defaults I found in the web.
    Thanks.
    Fellow gdm and dwm users, an advice, put everything in .xinitrc. It's easier.
    Last edited by Aeriel (2011-09-01 17:19:30)

  • [SOLVED] dwm tiling and monocle not work in virtualbox arch

    I installed arch in virtualbox on my office windows computer.
    I installed dwm from abs and configured by recompiling using config.h like this below:
    /* See LICENSE file for copyright and license details. */
    /* appearance */
    static const char font[] = "-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*";
    static const char normbordercolor[] = "#444444";
    static const char normbgcolor[] = "#222222";
    static const char normfgcolor[] = "#bbbbbb";
    static const char selbordercolor[] = "#005577";
    static const char selbgcolor[] = "#005577";
    static const char selfgcolor[] = "#eeeeee";
    static const unsigned int borderpx = 1; /* border pixel of windows */
    static const unsigned int snap = 32; /* snap pixel */
    static const Bool showbar = True; /* False means no bar */
    static const Bool topbar = True; /* False means bottom bar */
    /* tagging */
    static const char *tags[] = { " A ", " R ", " C ", " H " };
    static const Rule rules[] = {
    /* class instance title tags mask isfloating monitor */
    { NULL, NULL, NULL, 0, True, -1 },
    /* layout(s) */
    static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
    static const int nmaster = 1; /* number of clients in master area */
    static const Bool resizehints = False; /* True means respect size hints in tiled resizals */
    static const Layout layouts[] = {
    /* symbol arrange function */
    { "[]=", tile }, /* first entry is default */
    { "[M]", monocle },
    /* key definitions */
    #define MODKEY Mod1Mask
    #define TAGKEYS(KEY,TAG) \
    { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
    { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
    { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
    { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
    /* helper for spawning shell commands in the pre dwm-5.0 fashion */
    #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
    /* commands */
    static const char *dmenucmd[] = { "dmenu_run", "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
    static const char *termcmd[] = { "lxterminal", NULL };
    static Key keys[] = {
    /* modifier key function argument */
    { MODKEY, XK_p, spawn, {.v = dmenucmd } },
    { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
    { MODKEY, XK_b, togglebar, {0} },
    { MODKEY, XK_j, focusstack, {.i = +1 } },
    { MODKEY, XK_k, focusstack, {.i = -1 } },
    { MODKEY, XK_i, incnmaster, {.i = +1 } },
    { MODKEY, XK_d, incnmaster, {.i = -1 } },
    { MODKEY, XK_h, setmfact, {.f = -0.05} },
    { MODKEY, XK_l, setmfact, {.f = +0.05} },
    { MODKEY, XK_Return, zoom, {0} },
    { MODKEY, XK_Tab, view, {0} },
    { MODKEY|ShiftMask, XK_c, killclient, {0} },
    { MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
    { MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
    { MODKEY, XK_space, setlayout, {0} },
    { MODKEY|ShiftMask, XK_space, togglefloating, {0} },
    { MODKEY, XK_0, view, {.ui = ~0 } },
    { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
    { MODKEY, XK_comma, focusmon, {.i = -1 } },
    { MODKEY, XK_period, focusmon, {.i = +1 } },
    { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
    { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
    TAGKEYS( XK_1, 0)
    TAGKEYS( XK_2, 1)
    TAGKEYS( XK_3, 2)
    TAGKEYS( XK_4, 3)
    { MODKEY|ShiftMask, XK_q, quit, {0} },
    /* button definitions */
    /* click can be ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */
    static Button buttons[] = {
    /* click event mask button function argument */
    { ClkLtSymbol, 0, Button1, setlayout, {0} },
    { ClkWinTitle, 0, Button2, zoom, {0} },
    { ClkStatusText, 0, Button2, spawn, {.v = termcmd } },
    { ClkTagBar, 0, Button1, view, {0} },
    { ClkTagBar, 0, Button3, toggleview, {0} },
    now, I can switch tiling to monocle and monocle to tiling.
    but windows appears as floating or not tiling in tiling mod.
    Last edited by mshan (2015-03-09 06:16:31)

    Yes, I can switch, this means I can hit Alt+space or click on layout symbols:
    [ ]=
    and
    [2]
    the symbols toggle.
    but windows don't change their layout from tiling to monocle or monocle to tiling.
    they just open as floating. For example: my Lxterminal appears as in openbox except window title bar.
    sorry for my english.

  • [Solved] Dwm reconfigure after update.

    The problem is simple, after update to last version of Dwm i had to build and install it from scratch. I don't want to do that for any new version of Dwm. Is there a way to avoid that process?
    Cheers.
    Last edited by n0dix (2010-06-04 13:40:46)

    skanky wrote:
    I had this issue on my other machine (this one uses scrotwm). Trying to remember what I did to resolve it.
    There were no errors after makepkg -efi but the version kept reverting back to the previous one. I think it happened updating to that one, too. Anyway, I *think* what I did was to copy my config.h elsewhere, clear out the dir I used for building it, updated abs, copied the dwm-5.8.1 files in and rebuilt. Search for dwm-5.8.1 using grep to make sure you have the right files.
    There may be a step missing from that though.
    Exactly the same problem and the solution helps a lot. Indeed, this is the way i solved the issue. But the question is: exists any way to do automatically those steps? I know, i can make a shell script, but apart from that there is another?

  • [SOLVED] DWM - Blank menubar?

    Hello --
    I've just switched from Awesome to DWM after some performance issues -- and through it's great, my menu-bar does not display the titles of open applications, nor do the tags show the little box indicating that there are open windows in that tag. It is working perfectly though, and I've got my battery status and data and time and all such, configured through .xinitrc. I don't know what I have to configure to get that simple performance.
    Goofier yet,  I had it earlier -- after accidently hitting some key combination (I think), so I don't think anything needs to be recompiled. It's just a setting somewhere -- or a key combo.
    Thanks!
    Sam
    Last edited by sammermpc (2010-10-20 17:55:38)

    Got it. Idiotic problem. Noticed by how the gray color of the tag section extended way out to the right, and that a blue section inbetween would flash. This is on an external 1920x1080 monitor, which for whatever reason, seems to wreak havoc with the menubar display.
    xrandr --screen VGA1 --mode 1280x800
    That restored the menu bar to regular behaviour, though of course, I'll have to figure a work-around to get the proper resolution. Any thoughts? At least the straight dwm distribution is not at fault, just my dual-monitor set-up.

Maybe you are looking for

  • What's wrong with my procedure?

    I have written a stored procedure that takes a column name (or a partial column name) as a parameter, and lists of all the tables in the database that have a column name like that. It's not working. It doesn't return a list of tables and columns like

  • Error in application accurred please call support quoting error code 2907

    error in application accurred please call support quoting error code 2907

  • OS X freezes then won't boot up on restart

    Recently OS X keeps suddenly freezing for no apparent reason. I would restart my computer only to have it freeze again after a few minutes up to a few hours. However now when attempting to restart OS X won't boot up, it essentially freezes when tryin

  • Adjusting the page information in pdf presets?

    Hi, Is there a way to adjust the information in the "Page information" when creating pdf-files from Indesign (i.e. in the pdf presets)? As you know the defalt is file name and page number and date and time. I would like to include total page number,

  • Display long text of characteristic in Query name

    Hi All, I have implemented RRI between my sender and receiver query. When user will click on WBS Element in my sender query <b>the receiver query name will be the name of that WBS Element.</b> After execution,I am able to see the Short text associate