DWM and xwinwrap

Hello there.
I am using xwinwrap to run a video as my wallpaper, but dwm keep showing it in the pager and the video only runs on one desktop.
I have no idea how to show the same  video on all desktops.
Any help?

Ah, the desktop-tag-thing.
So i must edit this?
static const Rule rules[] = {
/* class instance title tags mask isfloating monitor */
{ "Gimp", NULL, NULL, 0, True, -1 },
{ "Firefox", NULL, NULL, 1 << 8, False, -1 },
I moved to dwm recently, so i am dont know exactly how it works.
xwinwrap puts a window as wallpaper, something like that, or just leave the specified window borderless, sticky, unmovable, something like that. I use mplayer to run the video and xwinwrap puts it as wallpaper.
@ Off topic.
Do you solve rubiks cube?
Last edited by granada (2013-02-01 19:10:43)

Similar Messages

  • Another DWM and Multiple Monitors Thread

    I'm still relatively new to tiling window managers and have been playing mostly with Awesome and Xmonad.  Recently, however, I decided to give DWM and try and am absolutely loving it!  But one of the things that I like about Awesome and Xmonad is how they support dual monitors--each monitor shares a set of 9 tags/workspaces which can be loaded on any monitor.  Is there a way to emulate this behavior in DWM?

    As in:
    Send focused window to next screen, if any.
    Please don't necrobump https://wiki.archlinux.org/index.php/Fo … Bumping.27
    Closing

  • [Solved] DWM and extra key's.

    Hello.
    I'm using DWM and now I have new keyboard with extra kyes Audio Mute, Raise or Lower volume you know
    I tried:
    showkey
    And I have my key in .Xmodmap , I typed:
    /path/to/.Xmodmap
    and all was ok
    And typed xmodmap and my keys was in mod4 section , this is the output of xmodmap:
    xmodmap: up to 4 keys per modifier, (keycodes in parentheses):
    shift Shift_L (0x32), Shift_R (0x3e)
    lock Caps_Lock (0x42)
    control Control_L (0x25), Control_R (0x6d)
    mod1 Alt_L (0x40), Meta_L (0x9c)
    mod2 Num_Lock (0x4d)
    mod3
    mod4 XF86AudioRaiseVolume (0x73), XF86AudioRaiseVolume (0x74), Super_L (0x7f), Hyper_L (0x80)
    mod5 Mode_switch (0x5d), ISO_Level3_Shift (0x71), ISO_Level3_Shift (0x7c)
    Now I care to play with config.h of my DWM.
    Here is part of it:
    { MODKEY, XF86AudioRaiseVolume, spawn, SHCMD("exec mpc volume -5")}
    And when I tried to compile it with that config I got following errors:
    In file included from dwm.c:271:
    config.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Key'
    config.h:65: warning: ISO C does not allow extra ';' outside of a function
    config.h:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Button'
    config.h:80: warning: ISO C does not allow extra ';' outside of a function
    dwm.c: In function 'buttonpress':
    dwm.c:440: error: 'buttons' undeclared (first use in this function)
    dwm.c:440: error: (Each undeclared identifier is reported only once
    dwm.c:440: error: for each function it appears in.)
    dwm.c: In function 'grabbuttons':
    dwm.c:929: error: 'buttons' undeclared (first use in this function)
    dwm.c: In function 'grabkeys':
    dwm.c:952: error: 'keys' undeclared (first use in this function)
    dwm.c: In function 'keypress':
    dwm.c:1020: error: 'keys' undeclared (first use in this function)
    make: *** [dwm.o] Errpr 1
    And building stop's :(
    Is someone use extra keys with DWM.
    Thanks for any help
    Last edited by SpeedVin (2009-08-12 18:33:25)

    SpeedVin wrote:
    Tillotson wrote:/* See LICENSE file for copyright and license details. */
    /* appearance */
    static const char font[] = "-*-fixed-medium-r-*-*-18-*-*-*-*-*-iso8859-*";
    static const char normbordercolor[] = "#C7C7C7";
    static const char normbgcolor[] = "#000000";
    static const char normfgcolor[] = "#888888";
    static const char selbordercolor[] = "#1793D1";
    static const char selbgcolor[] = "#000000";
    static const char selfgcolor[] = "#FFFFFF";
    static unsigned int borderpx = 1; /* border pixel of windows */
    static unsigned int snap = 32; /* snap pixel */
    static Bool showbar = True; /* False means no bar */
    static Bool topbar = True; /* False means bottom bar */
    /* tagging */
    static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
    static Rule rules[] = {
    /* class instance title tags mask isfloating */
    { "Thunar", NULL, NULL, 0, True },
    { "VirtualBox", NULL, NULL, 0, True },
    { "MPlayer", NULL, NULL, 0, True },
    { "Vlc", NULL, NULL, 0, True },
    { "XCalc", NULL, NULL, 0, True },
    /* layout(s) */
    static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
    static const Bool resizehints = True; /* False 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 const char *dmenucmd[] = { "dmenu_run", "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
    static const char *termcmd[] = { "urxvtc", NULL };
    static const char *browsercmd[] = { "firefox", NULL };
    static const char *musiccmd[] = { "urxvtc", "-e", "ncmpcpp", NULL };
    static const char *talkcmd[] = { "urxvtc", "-e", "weechat-curses", NULL };
    static const char *shutcmd[] = { "sudo", "shutdown", "-h", "now", NULL };
    static const char *filebrowse[] = { "thunar", NULL };
    static const char *mutecmd[] = { "amixer", "-q", "sset", "Master", "toggle", NULL };
    static const char *volupcmd[] = { "amixer", "-q", "sset", "PCM", "5-", "unmute", NULL };
    static const char *voldowncmd[] = { "amixer", "-q", "sset", "PCM", "5+", "unmute", NULL };
    static const char *calccmd[] = { "xcalc", NULL };
    static Key keys[] = {
    /* modifier key function argument */
    { 0, 0x1008ff12, spawn, {.v = mutecmd } },
    { 0, 0x1008ff11, spawn, {.v = volupcmd } },
    { 0, 0x1008ff13, spawn, {.v = voldowncmd } },
    { 0, 0x1008ff1d, spawn, {.v = calccmd } },
    { MODKEY, XK_p, spawn, {.v = dmenucmd } },
    { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
    { MODKEY|ShiftMask, XK_b, spawn, {.v = browsercmd } },
    { MODKEY|ShiftMask, XK_m, spawn, {.v = musiccmd } },
    { MODKEY|ShiftMask, XK_f, spawn, {.v = filebrowse } },
    { MODKEY|ShiftMask, XK_t, spawn, {.v = talkcmd } },
    { MODKEY|ShiftMask, XK_Delete, spawn, {.v = shutcmd } },
    { MODKEY, XK_b, togglebar, {0} },
    { MODKEY, XK_j, focusstack, {.i = +1 } },
    { MODKEY, XK_k, focusstack, {.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 a tag number (starting at 0),
    * 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} },
    Thank you very much I will see what I can do .
    Sadly still no reaction

  • [SOLVED] Dwm and slim problem.

    i installed dwm and slim in my arch and now i cant go back to the terminal to do changes, it puts me on the log in (slim) and i cant close it, i want to do changes in ~/xinitrc.
    Please help me.
    Thanks.
    Last edited by Iason (2010-09-13 07:47:02)

    Alt-F2
    If that doesn't work, Alt-F3
    If that doesn't work, Alt-F4
    If that doesn't work try again but with Ctrl-Alt-F2, etc.
    If that doesn't work come back here.
    edit: *shakes fist at jasonwryan* *sticks out tongue at thayer*
    Last edited by fsckd (2010-09-12 21:47:51)

  • [Solved] Dwm and notify-send

    Hello. I've recently changed my WM from Awesome to DWM and I have a problem with it. Namely, notify-send doesn't work. It doesn't show any popup  or error message. It worked well in Awesome. How to fix it?
    Last edited by changs (2009-05-25 16:53:21)

    I believe awesome uses it's own notification library, "naughty". I haven't used dwm to know how notify-send works, but maybe that's the problem?

  • DWM and PCManFM --desktop

    Has anybody had any success trying to use pcmanfm as a desktop manager with DWM? I'm having a go now but no luck Is it possible, or should I just stick to plain dwm and feh for a background.

    DWM doesn't support the hints that pcmanfm needs to draw the desktop window. If you're looking for an easier way to set the wallpaper (and don't want icons), I'd suggest nitrogen. If you want icons and the wallpaper, I'd actually recommend a different window manager - I don't think that DWM will work with icons on the root window at all.

  • Dwm and youtube fullscreen

    When I press the fullscreen button on videos on youtube.com, nothing happens apart from my screen flashing. My window manager is dwm and browser firefox. Thanks for any help.
    PS: just to clarify, I am not talking about the fullscreen function of the browser (hotkey F11), but the button on the video itself.

    Found it in my email:
    Date: Tue, 8 Dec 2009 08:29:01
    From: Anselm R Garbe
    To: dev mail list
    Subject: Re: [dev] flash fullscreen issue (dwm-5.7.2)
    2009/12/7 Alexandr Krylovskiy:
    >  Fullscreen mode with flash applications (youtube, for example) doesn't
    > work properly neither in tiled nor in floating mode.
    >  Fullscreen window closes immediately after opening.
    This is a known bug (for some curiosity I received the same report via privmail from 2 other people within one week, really strange).
    The quick fix is commenting out the code in lines 817/818 in hg tip dwm. I cannot confirm this has no side effects (I think it does) and will address this issue shortly with a real fix.
    Kind regards,
    Anselm
    Last edited by thayer (2009-12-22 16:08:59)

  • Dwm and non-english keyboard layouts problem

    Hi all,
    I am using dwm 5.5. I'm Greek so I change between keyboard layouts all the time,
    see the relevant xorg.conf section:
    Section "InputDevice"
    Identifier "Generic Keyboard"
    Driver "kbd"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us,gr"
    Option "XkbVariant" ","
    Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
    EndSection
    Now the thing is that whenever I switch to Greek (by pressing Alt+Shift) the
    dwm tags (1,2,...,9) are not clickable (keyboard shortcuts do work
    though, so it's not a very big problem).
    Do you have any ideas about how to fix that behavior? I'd go to the dwm irc
    channel and ask them, but I'll be a "newbie asking stupid questions" so I
    preferred to ask here
    Thanks in advance
    Last edited by geo909 (2010-01-08 17:23:29)

    thayer wrote:Your best bet would be to post your problem to the dwm mailing list:
    [email protected]
    Will do...
    Thanks!

  • [SOLVED]dwm and Diablo II?

    Hi all,
    Quick question--well maybe?
    Decided to plunge into the world of tiling wm's and have so far decided on dwm.  So far really like it and it helps out my old T21 Thinkpad.  I do play some games on the laptop when I'm out of town but Diablo II in wine doesn't seem to work properly.  I've searched and googled to death and haven't really found a definitive answer.  It just seems to resize the screen and then freezes.
    Edit: To tell the truth, it doesn't really freeze.  I can still bring up another terminal or something else but the resolution is all messed up.
    Last edited by bgc1954 (2008-11-19 05:50:25)

    1)  Yes, I run both e17 and pekwm on this laptop.  It works in both other wm's.
    2)  Haven't tried running it from terminal yet.  I'll try that and see what happens, though.
    3)  No changes made other than installing dwm.
    Edit: well, here's what spits out when run from terminal:
    [brian@archlaptop ~]$ wine 'c:\\Program Files\\Diablo II\\Diablo II.exe'
    [brian@archlaptop ~]$ fixme:win:EnumDisplayDevicesW ((null),0,0x33ebfc,0x00000000), stub!
    fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 16 to 8
    fixme:d3d:IWineD3DDeviceImpl_CreateSwapChain The app requests more than one back buffer, this can't be supported properly. Please configure the application to use double buffering(=1 back buffer) if possible
    fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 16 to 8
    fixme:d3d:IWineD3DDeviceImpl_CreateSwapChain The app requests more than one back buffer, this can't be supported properly. Please configure the application to use double buffering(=1 back buffer) if possible
    err:d3d:IWineD3DDeviceImpl_SetupFullscreenWindow (0x132200): Want to change the window parameters of HWND 0x20028, but another style is stored for restoration afterwards
    err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 640x480x32 @0! (XRandR)
    And,  I'll try what thayer suggests, thanks.   Yeh, I tried setting float before running the script I use and didn't help.  I'll try the config.h route next.
    Last edited by bgc1954 (2008-11-19 05:13:51)

  • DWM and multiple monitors

    Who has any tips for running DWM with multiple monitors?

    Not exactly.  I mean that if your Xorg video configuration and/or xrandr is set up properly than dwm should Just Work.  Different video card vendors require different methods of setting up dual-head.  Check the wiki for your vendor info and go from there.

  • [solved] DWM and Volti tray icon problem....

    I have a problem with the tray icon of dwm.
    I set up Faenza dark as icon theme, and all the tray appear white (correctly). Only the volti icons appear black and  I not understand why.
    Everyone can help me?
    Thanks.
    Last edited by monotiz (2011-03-03 11:53:49)

    monotiz wrote:
    I have a problem with the tray icon of dwm.
    I set up Faenza dark as icon theme, and all the tray appear white (correctly). Only the volti icons appear black and  I not understand why.
    Everyone can help me?
    Thanks.
    What you use for system tray in dwm?

  • A Noobs Quest to Understanding dwm [and window managers in general]

    Hello,
    I've just switched to dwm. I would like to begin patching and contribute patches to it.
    To do this i need to understand dwm, that is... read the source code.
    I know a bit of C, will be learning more in the coming days. Looking at the dwm.c, i find it really overwhleming. I feel as though there are lots of fundamental concepts [to windowmanagers, to linux in general] that i don't know enough about, or don't know about at all that gets in the way of my understanding. I've only been with linux/arch for 4 months now.
    So i'm looking for some tips!
    What concepts do i need to understand in order to understand dwm.c?
    Any advice on actually reading dwm.c (general advice also welcome)
    Any helpfull resources that helped you?
    Thank you for your time!

    TheCrownedFox wrote:I too have undertaken the same quest and run into the same roadblocks you have.
    Isn't it nice to know your not alone
    Don't try to solve non-existing problems. Start using plain dwm (only editing config.h), familiarize yourself with it → with time you'll get to know it and therefore digging into the code will be a lot easier.
    If you just read the code without understanding the program at all, you'll only see a mess. You need to "feel" the program you want to hack — to know what it's doing, so that when you see some part of its code you'll be like "this code does <bla>".
    Use it, and when you are comfortable with it, then start asking such question — they'll be a lot easier to answer, and a lot more to the point.
    I know what you mean! Thanks for putting it into words!
    I know my question is general and vague, I just don't know
    what else to do when I feel this way. Are these types of questions
    welcome on the arch forums?
    Last edited by fawkes5 (2013-04-19 07:30:48)

  • Tmux, DWM and Conky together

    I want to put the conky output (like dwm do) on tmux when I'm not on a X session.
    Now i have this in my .xinitrc for dwm
    conky -d | while read -r; do xsetroot -name "$REPLY"; done &
    The only way a think it's possible is to put this on a init script
    conky -d | while read -r; do xsetroot -name "$REPLY" && echo "$REPLY" > conky.out; done &
    And set this statusbar on tmux:
    set-option -g status-interval 5
    set-option -g status-right "#(cat ~/.conky.out)"
    This way it works, but I don't think writing/reading from de HDD every 5 second is a good idea...
    Any suggestions?

    kismet010 wrote:
    I want to put the conky output (like dwm do) on tmux when I'm not on a X session.
    Now i have this in my .xinitrc for dwm
    conky -d | while read -r; do xsetroot -name "$REPLY"; done &
    The only way a think it's possible is to put this on a init script
    conky -d | while read -r; do xsetroot -name "$REPLY" && echo "$REPLY" > conky.out; done &
    And set this statusbar on tmux:
    set-option -g status-interval 5
    set-option -g status-right "#(cat ~/.conky.out)"
    This way it works, but I don't think writing/reading from de HDD every 5 second is a good idea...
    Any suggestions?
    Have you considered using the "-i" option? Something like this might work in your .tmux.conf:
    set-option -g status-right "#(conky -i 1)"

  • Dwm and sauerbraten

    opening sauerbraten in dwm, I find that the resolution changes and I'm unable to control the game.
    I also cannot see the game, but rather an off-resolution blank dwm screen.

    With urxvt you can use the -title flag, and then create a rule in dwm for that instance. I launch mutt, for example, like so:
    static const Rule rules[] = {
    { NULL, NULL, "mutt", 1 << 3, False, -1 },
    static const char *mailcmd[] = { "urxvtc", "-title", "mutt", "-e", "mutt", NULL };

  • Dwm and tabbed layouts.

    Hey. I've been using Xmonad quite a bit lately, but i'm looking to use dwm because Haskell looks a bit complicated, and dwm seem to be VERY lightweight.
    But one thing i've been using for web browsing in Xmonad is its quite good tabbed layout, what i wanted to ask is if dwm is able to manage this kind of layout without any external program (a patch maybe ?), as i would like to have a *web* tag running only uzbl and using a tabbed layout like i'm used to do it in Xmonad ?
    Thanks.

    Im not sure what features the tabbed layout in xmonad provide, but there is a dwm patch that provides some tab like feature:
    http://dwm.suckless.org/patches/fancyco … rclickable
    It just shows a clickable list of Clients in the titlebar. With the Monocle mode its pretty much tabbed.

Maybe you are looking for

  • ITunes cannot locates music files

    I recently purchased a new Asus with Windows 8 and successfully (or so I thought) transferred music from my i phone 4. The computer is authorised. My phone recently became full as I have a lot of music, so I unticked some music and attempted to re-sy

  • Music suddenly not showing up in ipod touch

    My ipod touch battery died and after I recharged it my music is not there.  I've tried re-synching and restoring and nothing is working.  Everything else on my ipod works except the music.  When I click on the icon it open to a blank screen.  Any hel

  • Output for Group Deliveries

    Dear Consultants, I want to take a print out from Group Deliveries I did the output determination, created the output condition record and created the group delivery when am trying to take the print out system giving the message that No output has be

  • How do you Configure Coldfusion MX7 Developer Version Step by Step to an Apache Server?

    Please provide exact steps as to how to Configure Coldfusion MX7 Developer Version Step by Step to an Apache Server Step by Step. I would be using the latest Apache Server download, which would be: apache_2.2.4-win32-x86-no_ssl.msi Please provide thi

  • Something went terribly wrong

    My mom bought a new silver i pod nano and synced it to the computer and all my songs went on it and she didnt want all my songs so someone tried to help her and now her ipod will only allow 30-40 songs and no more. and it only reads as having about 1