[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?

Similar Messages

  • [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 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)

  • [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?

  • The wrong name of the message sender appears. The phone also does not notify the receiver. This started after we purchased in iPad and attempted sending that phone an iMessage.

    When sending messages to one of our iPhones, the wrong name of the sender appears. The phone also does not notify the receiver. This started after we purchased in iPad and attempted sending that phone an iMessage.

    Hi buddy, I figured out what is wrong with that. I had the very same issue, while sending an sms via iMessage on Mountain Lion. I called the Apple guy at the Apple care support but without any luck.
    At the end--at least in my case, but it could also be yours--I think I have understood what was going on. This happens when you have your Apple ID registered on more than one device. In my case, we have two iPhones--one for me and one for my wife--but with the same App Store account. So, when I sent an sms via iMessage for the Mac, the receiver was shown my wife's iPhone number.
    I hope I have been clear enough, you know, explaining this in a foreing language is always painful...
    Ciao,
    Antonio
    P.S.: this could be true for similar issues (iMessage wrong sender) that I've read in the Mountain Lion, iPad and iPod forums.

  • [SOLVED] notify-send from a daemon

    Hi,
    I have configured halevt (a HAL device manager) to run notify-send so I get a notification every time I insert or remove a drive. The thing is, since halevt runs as a daemon at boot, every time it runs notify-send I get this error:
    libnotify-Message: Unable to get session bus: /usr/bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
    What I don't really understand is why if I restart de daemon from my Xorg session (with sudo) it works fine. Any ideas?
    Thanks
    UPDATE
    I resolved the issue with a different approach.
    The solution, for those interested, is in post #8.
    Last edited by johanbcn (2010-07-12 22:27:14)

    Berseker wrote:I've seen only now your post.. great job, this is very useful and pretty for those that doesn't use a complete DE.
    It would be great to translate your file in different languages (I'll try to translate this in italian if I find some spare time)
    Thank you
    If you are interested I have an updated version of the config file that more or less accomplishes what I wanted at the beginning.
    First, there is the daemon config (only mounts the filesystems): /etc/halevt/halevt.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE halevt:Configuration [
    <!ENTITY HAS-LABEL "hal.volume.label & !hal.volume.label = ">
    <!ENTITY DEVICE "hal.block.device & hal.volume.is_disc = false">
    <!ENTITY CDROM "hal.block.device & hal.volume.is_disc & hal.volume.disc.is_blank = false & hal.volume.disc.has_data & hal.volume.disc.is_videodvd = false">
    <!ENTITY CDROM.SIGNAL "hal.block.device & hal.storage.drive_type = cdrom">
    <!ENTITY DVD "hal.block.device & hal.volume.is_disc & hal.volume.disc.is_blank = false & hal.volume.disc.has_data & hal.volume.disc.is_videodvd = true">
    ]>
    <halevt:Configuration version="0.1" xmlns:halevt="http://www.environnement.ens.fr/perso/dumas/halevt.html">
    <!-- Mount CDRom devices -->
    <halevt:Device match="&CDROM; & hal.volume.is_mounted = false;">
    <halevt:OnInit exec="halevt-mount -u $hal.udi$ -p cdrom$hal.block.minor$"/>
    <halevt:Insertion exec="halevt-mount -u $hal.udi$ -p cdrom$hal.block.minor$"/>
    </halevt:Device>
    <!-- Mount non-CDRom labeled devices -->
    <halevt:Device match="&DEVICE; & &HAS-LABEL; & hal.volume.is_mounted = false;">
    <halevt:OnInit exec="halevt-mount -u $hal.udi$ -p $hal.volume.label$"/>
    <halevt:Insertion exec="halevt-mount -u $hal.udi$ -p $hal.volume.label$"/>
    </halevt:Device>
    <!-- Mount non-CDRom non-labeled devices -->
    <halevt:Device match="&DEVICE; & hal.volume.is_mounted = false; & hal.volume.label = ">
    <halevt:OnInit exec="halevt-mount -u $hal.udi$ -p disk$hal.block.minor$"/>
    <halevt:Insertion exec="halevt-mount -u $hal.udi$ -p disk$hal.block.minor$"/>
    </halevt:Device>
    <!-- Handle CDRom eject button signal -->
    <halevt:Device match="&CDROM.SIGNAL;">
    <halevt:Condition name="EjectPressed" exec="halevt-umount $hal.block.device$; eject $hal.block.device$"/>
    </halevt:Device>
    </halevt:Configuration>
    (Notice that I have removed the -o sync parameter from the mount commands. Writing operations in automounted devices were ridiculously slower)
    And then, there is the user config file (only manages the notify-send commands): $HOME/.halevt/halevt.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE halevt:Configuration [
    <!ENTITY HAS-LABEL "hal.volume.label & !hal.volume.label = ">
    <!ENTITY DEVICE "hal.block.device & hal.volume.is_disc = false">
    <!ENTITY CDROM "hal.block.device & hal.volume.is_disc & hal.volume.disc.is_blank = false & hal.volume.disc.has_data & hal.volume.disc.is_videodvd = false">
    <!ENTITY CDROM.SIGNAL "hal.block.device & hal.storage.drive_type = cdrom">
    <!ENTITY DVD "hal.block.device & hal.volume.is_disc & hal.volume.disc.is_blank = false & hal.volume.disc.has_data & hal.volume.disc.is_videodvd = true">
    ]>
    <halevt:Configuration version="0.1" xmlns:halevt="http://www.environnement.ens.fr/perso/dumas/halevt.html">
    <!-- Notify CDRom labeled mounts/umounts -->
    <halevt:Device match="hal.block.device & hal.volume.is_disc = true & !hal.volume.label = ">
    <halevt:Property name="hal.volume.is_mounted">
    <halevt:Action value="true" exec="notify-send --icon=gtk-cdrom --expire-time=3000 'Device mounted' '$hal.volume.label$ has been mounted in $hal.volume.mount_point$.'"/>
    <halevt:Action value="false" exec="notify-send --icon=gtk-cdrom --expire-time=3000 'Device unmounted' '$hal.volume.label$ has been unmounted.'"/>
    </halevt:Property>
    </halevt:Device>
    <!-- Notify non-CDRom labeled mounts/umounts -->
    <halevt:Device match="hal.block.device & hal.volume.is_disc = false & !hal.volume.label = ">
    <halevt:Property name="hal.volume.is_mounted">
    <halevt:Action value="true" exec="notify-send --icon=gtk-harddisk --expire-time=3000 'Device mounted' '$hal.volume.label$ has been mounted in $hal.volume.mount_point$.'"/>
    <halevt:Action value="false" exec="notify-send --icon=gtk-harddisk --expire-time=3000 'Device unmounted' '$hal.volume.label$ has been unmounted.'"/>
    </halevt:Property>
    </halevt:Device>
    <!-- Notify non-CDRom non-labeled mounts/umounts -->
    <halevt:Device match="hal.block.device & hal.volume.label = ">
    <halevt:Property name="hal.volume.is_mounted">
    <halevt:Action value="true" exec="notify-send --icon=gtk-harddisk --expire-time=3000 'Device mounted' '$hal.block.device$ has been mounted in $hal.volume.mount_point$.'"/>
    <halevt:Action value="false" exec="notify-send --icon=gtk-harddisk --expire-time=3000 'Device unmounted' '$hal.block.device$ has been unmounted.'"/>
    </halevt:Property>
    </halevt:Device>
    </halevt:Configuration>
    This way, you have the daemon automounting at boot, without needing an X session, and a second instance of the daemon that only executes the notify-send messages once you enter xorg
    Last edited by johanbcn (2010-07-12 22:37:43)

  • [SOLVED] Actions in notifications with notify-send

    Using notify-send, is there a way to associate a notification with some action (e.g. execution of a script) when clicking on it? Or is it possible to include a button within the notification? To better understand what I mean, please have a look the below image depicting a notification sent by Rhythmbox that contains some buttons.
    Last edited by ibes (2013-11-16 08:00:58)

    You might be interested in "dunstify" which is a part of the dunst daemon, but is not installed with the AUR package. It is a more fleshed out interface for libnotify than notify-send.
    dunstify -A yes,ACCEPT -A no,DECLINE "Call waiting"
    https://github.com/knopwob/dunst
    Last edited by progandy (2013-11-15 21:31:33)

  • Running notify-send via cron

    I've written a script, that monitors battery state and shuts down netbook when power is low to prevent hot power off. I've tested the script before running it in cron - everything works as it must: notification pops up, system shuts down. But when I'm trying to run it from cron - everything ok expect notify-send command.
    Config scripts:
    # crontab -e
    # root crontab
    # DO NOT EDIT THIS FILE MANUALLY! USE crontab -e INSTEAD
    # man 1 crontab for acceptable formats:
    # <minute> <hour> <day> <month> <dow> <tags and command>
    # <@freq> <tags and command>
    DISPLAY=:0.0
    SHELL=/bin/bash
    PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
    # SYSTEM DAILY/WEEKLY/... FOLDERS
    @hourly ID=sys-hourly /usr/sbin/run-cron /etc/cron.hourly
    @daily ID=sys-daily /usr/sbin/run-cron /etc/cron.daily
    @weekly ID=sys-weekly /usr/sbin/run-cron /etc/cron.weekly
    @monthly ID=sys-monthly /usr/sbin/run-cron /etc/cron.monthly
    * * * * * /etc/cron.hourly/powersave
    $ cat /etc/cron.hourly/powersave
    PasteBin
    $ cat /etc/X11/xorg.conf | head -n 6
    Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "LG_Touchpad" "CorePointer"
    InputDevice "LG_Keyboard" "CoreKeyboard"
    EndSection
    $ echo $DISPLAY
    I thought that running one more external script will solve the problem, but it didn't work.
    Tried also this command in cron:
    * * * * * DISPLAY=:0.0 /etc/cron.hourly/powersave
    But also without result.
    Anyone found a solution to this problem?

    You may also need to have the DBUS_SESSION_BUS_ADDRESS environment variable set.  I have a script that does something like this:
    PIDS=$(pgrep urxvtd)
    for p in $PIDS; do
    dbus=$(grep -z DBUS_SESSION_BUS_ADDRESS /proc/$p/environ | sed 's/DBUS_SESSION_BUS_ADDRESS=//')
    user=$(grep -z USER /proc/$p/environ | sed 's/USER=//')
    dply=$(grep -z DISPLAY /proc/$p/environ | sed 's/DISPLAY=//')
    sudo -u $user sh -c "DBUS_SESSION_BUS_ADDRESS=\"$dbus\" DISPLAY=\"$dply\" /usr/bin/notify-send -i \"$ICON\" \"$TITLE\" \"$BODY\""
    done
    I chose urxvtd, b/c it's guaranteed to be running... but you can choose another progam.
    Last edited by pnutzh4x0r (2011-07-02 02:32:16)

  • Prevent notify-send from grabbing focus in xmonad

    I just started using xmonad, and I've got most of the wrinkles ironed out, but this one still bugs me. I use pidgin + libnotify, and whenever a notification pops up, it grabs focus, meaning I can't type anything for a minute (unless I move my mouse and close it). This is particularly annoying when I'm having a chat back-and-forth, and I get notifications from that window/another chat window.
    (I know I can turn off the notifications when the window is currently open, but it doesn't solve the larger problem of notifications grabbing focus when I'm typing in a separate screen).

    That was not a conscious choice; I just switched from xfce, so that makes sense.
    I uninstalled xfce4-notifyd, installed notification-daemon, and reinstalled pidgin-libnotify (for good measure). The notifications still work, so I'm assuming notification-daemon is working properly, but the focus still gets grabbed.
    Do you use pidgin as well, or just notification-daemon? I still get the same issue when I do notify-send, which makes me believe it's not pidgin's problem, but maybe not.
    This website seems to imply that it's an xmonad configuration issue, but I'm not that familiar with Haskell/xmonad's configurations. Is it possible to alter this behavior *only* for notify-send events, but not anything else that might display an urgent window?

  • JDBC and FTP sender channels stop polling

    Hi,
    We have a great volume of sender JDBC and FTP sender channels.
    For this reason there is nothing unusual to have temporary error connections.
    Several months ago, with an XI 3.0 system, sender channels recover its functionality  automatically when temporary error connection is solved.
    But now, he have migrate to a  PI 7.1 sytem, and in the same scenario and configuration,  sender channel stop polling after a temporary error . In cc monitor this channels remains in  green status and there were no signs of stopped interfaces.
    Timeouts are correctly defined and there is no difference between channel configuration in our Xi and PI system.
    How to solve this problem?
    Thanks, in advance.
    Carme.

    Thanks for your fast response, Stefan.
    After writing this post, i ask the same question to our basis team and  we are in the latest sp.
    ¿do you know if there is any note or can you provide me some additional information?
    I'm not able to find any note about this issue...
    Regards,
    Carme.

  • Approve and Notify in Integrated Planning

    I am wanting to implement an Approve and Notify functionality in my planning application in Integrated Planning.
    i.e. When all assistants have submitted their yearly goals, I want to be able to notify the regional manager that they can begin reviewing the goals. Also, when the regional manager has approved them (and performed a few functions), I want to be able to email the assistants.
    I am wanting to avoid using BPS - STS if at all possible. Is there a way to have FOX Formula, or some other function, email the users when this has been performed?
    I was thinking about marking a submit flag when the assistants submit their hours, and when all flags have been marked for a region, it will notify their manager.
    Thoughts?

    Hi,
    It's quite difficult to track the status of the goal submission by all assistants if you are not using STS.
    But you can send mails to assistants when their goals are approved by writing ABAP. You can't achieve that via FOX.
    Try to use STS as that will fulfill all your requirements with minimal configuration efforts and no programming.  Also, you will not require additional characteristic and programming logic for FLAG.
    But if anyways you don't want to use STS let me know, I have the code for sending emails via planning function exit.
    Regards,
    Deepti

  • How can I read the active (plugged in) DAQs and then send that to the device name input on DAQ assist?

    I have a system property node for daqmx but it does not let me change it to read when i right click on it. I am trying to have my program detect the name of the daq that is plugged in to the PC and then send that to daq assistant so that it will run properly wiithout me manually having to change the device name every time i switch hardware.
    Solved!
    Go to Solution.

    labview12110 wrote:
    Im just frustrated that the only function I have is to get a list of things that I can't do anything with. MAX knows which is active can I call it up somehow?
    You have do do programming.  That is what LabVIEW is.  MAX gives you all the tools to do everything you want and much more just program it to do what you want.
    Attached is a VI that I think does what you want.  I looks at all of your devices and returns the first non simulated one.  Apparently this list already excludes devices not connected to the system.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.
    Attachments:
    Find Non Simulated Device.vi ‏6 KB

  • 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

  • Queues and notifiers - please help?!

    Can someone explain to me how to effectively utilize queues and notifiers? I understand the fundamental difference between the two but I am having a difficult time establishing when I should use one over the other or how to utilize both of them at the same time.
    Essentially what I currently have is a master loop that contains (among other things) an event structure. The event structure contains controls which dictate when notifiers are sent and destroyed. The notifiers “turn on” other loops (all within the same sequence frame as the master loop). These other loops are used for various controls, data logging, etc. Within some of these “sub-loops” I would like to step through a sequence of events – this is where I’m having trouble.
    Here is what I would like to happen: When the user clicks a certain button, a notifier is sent to sub-loop-A and it begins to run. The user then selects from a pull-down menu one of a few different options. Depending on the option selected, a specific set of events occur (whose progress is dictated by both user interaction (pressing buttons) and successful events (data being fed back). I would then like the sequence to “reset” and allow the user to select another option from the same menu – I don’t want to exit all the way back out to the main loop and force the user to re-select sub-loop-A again. However, if from the front panel the user selects sub-loop-B I would like sub-loop-A to exit and sub-loop-B to begin running. I have attached a sample of the basic layout I have so far (in LV 8.2) – I apologize in advance – I’m still learning labVIEW and I’m probably not going about this in the most efficient manner.
    A couple other things to note – I’m trying avoid polling because speed is important. Also, the template I’ve attached is far from complete – it will require additional sub-loops and additional sequence loops (which I have been advised to use que-based state machines - which I'm also not familiar with).
    Any assistance you guys can provide would be great – examples, web links, etc.
    Thanks again!
    -Erik
    Attachments:
    LayoutExample.vi ‏72 KB

    I do see a problem in the operation in that if I hit the stop button, the inner loop of auto starts running like crazy.  I think it is because if the wait for notifier returns an error due to it getting destroyed when the stop button is hit, it still sends out the notifier as the default, which starts the default case structure operating and thus its inner loops.  And they don't stop.
    You should probably get the loops out of the default case.  Any case structure should have a default case that does nothing. 
    A better practice would be in the stop button case, send out a notifier that is for a specific exit case that tells all outer loops to stop.  Then destroy the notifiers.
    In your 4 loops, you have the stop button NOR'ed with the other condition rather than OR'd.  So if you say stop = true, the OR results in a True, but the negation turns that into False and the loop does not stop.  In the top button, you had the enum compared to exit, then that was NOT so the loop would stop immediately if the enum was anything but Exit.  Because the Boolean logic in these loops was convoluted, I think the loops weren't behaving the way they should.
    I made some modifications to clean up the default case and the boolean stop loop logic in each of the loops.  See attached.
    Attachments:
    MultipleLoopsV82 MOD.vi ‏90 KB

Maybe you are looking for