[SOLVED] xmonad + panel logging applets

Until recently I used xmonad-log-applet, but after the last update, xmonad is unable to connect to dbus. I get the following error:
xmonad-x86_64-linux: D-Bus Error (org.freedesktop.DBus.Error.NoReply): Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
As this is quite a generic message, google wasn't of much help. and I know practically nothing about dbus, so I do not to know where to start looking for the problem. As an alternative I also tried this, which seems to take a simpler approach. But when I try to load it into my (xfce) panel (via XfApplet) I get this message:
An internal error occurred and the applet could not be loaded.
which is also quite informative... Starting a "real" gnome panel also doesn't help. Here I have the suspicion of some missing dependencies, although the program compiles just fine.
Does anyone have some clues?
Last edited by davvil (2011-04-28 09:19:15)

I deserve a big facepalm! For the gnome-socket-applet I didn't export the GNOME_SOCKET_APPLET_PORT variable, so the program didn't start. I should have RTFM in more detail. But the socket-applet works at my computer at home, but not on the one at work
I will mark this topic as solved, as I can use the dbus solution at work and the socket solution at home, but I am still intrigued why the difference arises. If I find the time, I will try to port the gnome-socket-applet to a native xfce panel applet and hopefully it will be more stable.
BTW I uploaded a PKGBUILD for gnome-socket-applet

Similar Messages

  • Xmonad log applet

    I'm running gnome and xmonad, using xmonad-log-applet to display the workspace and title. There are a couple of things I would like it to do.
    1. Can it display in UTF8? I've been trying to use System.IO.UTF8, but can't figure out the proper syntax.
    2. I'm also using XMonad.Layout.Minimize to minimize windows. Is it possible to display in the applet that a window is minimized on that workspace? I was thinking of making it display [1] when there's no minimized windows and [~1] when there is.

    I deserve a big facepalm! For the gnome-socket-applet I didn't export the GNOME_SOCKET_APPLET_PORT variable, so the program didn't start. I should have RTFM in more detail. But the socket-applet works at my computer at home, but not on the one at work
    I will mark this topic as solved, as I can use the dbus solution at work and the socket solution at home, but I am still intrigued why the difference arises. If I find the time, I will try to port the gnome-socket-applet to a native xfce panel applet and hopefully it will be more stable.
    BTW I uploaded a PKGBUILD for gnome-socket-applet

  • [SOLVED] Xmonad: trasparency doesn't work with compton intel

    Dear All,
    I am having a strange issue with Xmonad and I am not sure whether it is a problem of my Arch or Xmonad configuration. I decided to ask on Arch forum first, as my other computer running Arch has exactly the same Xmonad setup and it works fine. I would appreciate assistance from some Xmonad or Arch proficient users on this.
    Basically, I have this piece of code in my xmonad.hs:
    myLogHook :: Handle -> X ()
    , logHook = myLogHook dzenLeftBar >> fadeInactiveLogHook 0.8
    On the other computer this makes all the unfocused windowses slightly transparent. I find this feature very useful as it helps me focus on the window I am working with.
    For some reason this doesn't work on my laptop. My laptop is using xf86-video-intel since the lspci gave me
    %lspci | grep VGA
    00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 03)
    Also I am invoking compton-git from AUR but I have also tried with xcompmgr in my xinitrc and it gave exactly the same result - no transparency whatsoever.
    I looked through my log file, but couldn't find anything relevant (please let me know if you can think of anything). How do I proceed with this issue? Do I try different composite managers? Do I try different drivers? Is there anyhting in X setup that I should include? Please let me know if you have any ideas.
    Last edited by AlmostSurelyRob (2013-06-18 10:18:08)

    I am very sorry. I've just discovered that neither compton nor xcompmgr were installed. It's not only solved, it should be marked as [NOT RAISED]. I was migrating my configuration and overlooked some erm... details.

  • Outlook 2007/2010 & iCloud Control Panel log in on a Windows 7 64 PC.

    Keep getting the "This Apple ID is valid but is not an iCloud account" message when I try to log in via the
    iCloud Control Panel, Outlook 2007/2010 can not find the servers, but logging in via web using Apple ID
    [email protected] does work.
    I realise I am not alone in having this or similar problems with the migration to iCloud, but has an answer
    been found for the log in issue on a PC?

    hi,
    i have solved my issues with your answer on this page,thanks a lot.
    but what's the different between
    HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size = 1
    HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size = 2
    HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size = 3

  • [probably SOLVED] xmonad + gnome again

    Hi folks!
    After running 'plain' xmonad-darcs for a time i'd like to run gnome together with xmonad, so installed gnome today (haven't used it for years). gnome is up and running, but i can't get to get it run with xmonad as it's wm~
    Of course i've tried to follow xmonad's wiki... I used other people's xmonad.hs, that basic one or that other one; additionally, xmonad-contrib-darcs v20081207-1 is installed. For completeness, I actually just use
    -- xmonad.hs
    import XMonad
    import XMonad.Config.Gnome
    main = xmonad gnomeConfig
    It seems, that somehow xmonad can't be imported: a new created ~/.gnomerc makes no change, same with a copied  "export WINDOW_MANAGER=xmonad"  in ~/.profile (which is sourced by .xinitrc) or even in ~/.xinitrc itself. I added xmonad to the list of starting programs in gnome's session manager as well, I disabled nautilus and changed the position of the panel... Trying to start gnome with this:
    export WINDOW_MANAGER=xmonad
    exec gnome-session --purge-delay=3000
    it says that --purge-delay is an invalid option (so i guess that is meant to work with an older version of gnome).
    Then it comes up to gnome-session. But in my gnome there is no possibility to "select Metacity and change style to Trash"!? (Within the "sessions" I only can add starting programs or tell which applications to remember.)
    Nevertheless, I can start an xterm and run "killall metacity; xmonad &"; then metacity disappears, windows are indeed tiling, but in the xterm there's the following output:
    $ unknown ClientMessageEvent 269
    unknown ClientMessageEvent 269
    unknown ClientMessageEvent 269
    unknown ClientMessageEvent 269
    unknown ClientMessageEvent 269
    and the system becomes almost unusable. After killing the xterm metactiy reappears.
    I wonder how Phrodo_00 solved his problem, seemed to be trivial...
    Any ideas?
    Last edited by nexus7 (2009-01-11 14:07:52)

    Ugh!
    Because starting x takes always 5-10 minutes I liked to speed it up. I thought it still could be gnome fighting against xmonad, since here xmonad is added as starting program while at the same time you have the "/usr/share/applications/xmonad.desktop" (see above). So I liked to  see what happens after deselecting xmoand as starting program in the sessions manager... But from now on gnome wouldn't  start at all anymore! Neither
    gconftool-2 -s -t string /desktop/gnome/session/required_components/windowmanager metacity
    nor
    rm -rf ~/.gnome* ~/.gconf*
    helped (I don't have a ~/.gnome2/session)! X just hangs after showing its cursor, and there are heavy cooling but lesser disk activities -- so how to reactivate plain gnome??
    But also suddenly another problem seem to arise (but for heavens sake, why~ there weren't any before...):
    In the first time I crashed X that error was shown in the console:
    (EE) intel(0): underrun on pipe B!
    -- But how comes?, I disabled these in /etc/xorg.conf:
    Section "ServerFlags"
    Option "AutoAddDevices" "False"
    Option "AutoEnableDevices" "False"
    EndSection
    Now there's another one:
    error setting MTRR (base = 0xe8000000, size = 0x08000000, type = 1) Invalid argument (22)
    Disgusting~
    Nevertheless running plain xmonad works... ((edit: after exchanging the xmonad.hs of course))
    Last edited by nexus7 (2009-01-11 12:03:52)

  • [Solved] - Can't Log In After Upgrade

    Just upgraded and now can't log in. System hangs at 'Reached target Graphical Interace.'
    When I go to tty2 and try to log in, I get 'Log incorrect' error message when trying to log in as normal user or root.
    Re-booted to runlevel 3 and tried to su to normal user. Get 'su: module is unknown' error.
    Checked slim logs and see 'pam_setcred(): module is unknown' error.
    Have re-installed pam and pambase.
    Still can't log in. Appears to be a pam problem, but after many searches, can't find solution. Any ideas?
    Update: I re-installed libgssglue package and that solved the problem. Not certain why that wasn't updated during the pacman -Su command, but I can now log into my system and everything is normal.
    Last edited by twhayes (2013-10-19 19:49:21)

    Hello,
    If you are using SSH, I suspect you are hitting bug ID CSCuc03438:
    The first SSH login password will always fail
    Symptom:
    The first SSH login password will  fail.
    Conditions:
    This issue only applies to SSH logins  on MDS 9100 and 9200 platforms. This includes CLI and SNMP  logins.
    Further Information:
    Upgrading to defective code will  break working applications such as TACACS or  scripts.
    Workaround:
    Use Telnet
    The fix will be in 5.2.6b expected to be available within the next two weeks.
    Best regards,
    Jim

  • JLabel components not being displayed on the content Panel in Applet

    Hi everyone!!
    Plz give a solution to the following problem:
    I have an applet in which i have JPanel component and on that component i am adding a lot of JLabel components but the problem is that the JLabel components are not displayed on the applet unless i minimize or maximize the applet.
    kindly give solution to the problem.
    Thanks

    Howdy,
    code would be helpful. Here is a very simple JApplet that displays labels okay here in appletviewer. You talk of applets and JLabels. I assume you are using JApplets.
    import javax.swing.*;
    import java.applet.*;
    import java.awt.*;
    public class AppletPie extends JApplet {
         public void init() {
              Container cp = getContentPane();
              cp.setLayout(new FlowLayout());
              cp.add(new JLabel("Show"));
              cp.add(new JLabel("up"));
              cp.add(new JLabel("you"));
              cp.add(new JLabel("dumb"));
              cp.add(new JLabel("labels"));
    }Perhaps something in this code will help you to solve your problem.
    regards
    sjl

  • [Solved] Unable to log in (xdm), or access tty's (nVidia bug).

    Ok, this is kind of long winded, but I'm really stuck on this one.
    To start, I use xdm as my display manager, which I modified the appearance of (following this: https://wiki.archlinux.org/index.php/XDM) and then later installed xdm-archlinux.
    I also installed the nvidia drivers (via pacman), which resulted in me not being able to see any of my other tty's, however at the time it didn't really bother me and I presumed it would be fixed one day anyway.
    After updating (5th Feb); when I boot up I reach a black screen (presumably a broken xdm) and no way of getting into the system on an alternative tty.
    I've tried starting in runlevel 3, but nvidia modules presumably are still starting and I still can't see anything.
    Any ideas?
    Last edited by NixonInnes (2012-02-07 20:10:46)

    Thanks very much guys, i solved the problem.
    For reference, here's how:
    booted into a live disk
    modified inittab to not fire up a dm
    blacklisted nvidia and nvidia-utils
    removed nouveau from the blacklist
    rebooted
    removed xdm and all settings
    installed slim
    logged in with eye-candy
    switched nvidia and nouveau back around
    reboot
    job done.

  • [solved] SLiM - Cannot log in

    Hello folks,
    I'm having some trouble with SLiM, i.e I can't log into my XFCE4 session.
    I updated my system before it happened (I just remember there was a new version of pulseaudio) but I don't think it is related to my problem.
    It probably comes from the change I've made on my hardware clock...since I had not the right time displayed on my desktop I checked the time using timedatectl and noticed that my timezone was correctly set but that my localtime was set to CET instead  of UTC, thus causing the time displayed on my desktop to be 2 hours ahead.
    I should have used hwclock I guess to set my hardware clock to UTC time but since I needed to reboot for another reason I decided to set it directly into my BIOS. That's what I did : I set my BIOS time 2 hours before in order to synchronize it with UTC time.
    At boot I got some fsck error messages, probably because of my time jump backwards. But the real problem comes when I try to log into my xfce4 session through SLiM. It doesn't work and brings me back to the login screen.
    I've set the hardware clock back to its previous time but I still have the same problem. If I look into journalctl messages about SLiM for the last boot, here is what I think to be problem :
    slim[1222]: xfce4-session: error while loading shared libraries: /usr/lib/libicule.so.50: file too short
    slim[1222]: pam_unix(slim:session): session closed for user sclarckone
    slim[1222]: Server terminated successfully (0). Closing log file.
    Does anybody has an idea of what the problem is and how to solve it ?
    Thanks
    Last edited by sclarckone (2012-12-20 09:15:06)

    rchiang wrote:libicule.so is in icu package. not sure if re-install icu will fix it.
    It worked indeed...I should have tried this before posting here, my bad. Thank you !

  • [SOLVED] xmonad stopped working properly in mid-session

    I recently installed xmonad, and after using it for a few hours, Mod-Spacebar stopped working so I rebooted Arch. After rebooting and using startx, xmonad starts but does not open windows with Mod-Shift-Return and the only command that works is Mod-Shift-Q to quit. My xmonad.hs file looks like this:
    import XMonad
    main = xmonad defaultConfig
    { terminal = "xterm"
    , modMask = mod4Mask
    , borderWidth = 3
    I have no idea what I changed to make this stop working. If anyone could figure out what's going on, it would be much appreciated. If more information/logs are needed, please let me know. Thanks for your answers in advance!
    EDIT: I reinstalled xmonad and rewrote xmonad.hs, and it appears to be working correctly.
    Last edited by TheAtomicGoose (2014-07-13 13:30:54)

    none                   /dev/pts      devpts    defaults            0      0
    EDIT: This should mount it:
    mount devpts /dev/pts -t devpts

  • [solved] xfce4-panel plugins keep crashing after update

    I've been having problems with xfce4-panel after some recent updates. Several plugins for it, like the Action Buttons, CPU graph and Notification Area keep crashing right after being added to the panel. The error message isn't very helpful, just saying the plugin in question "unexpectedly left the panel". Any ideas on how to debug this?
    Last edited by vox.cogitatio (2012-06-12 15:36:38)

    I found the problem. I was running the panel without the rest of xfce4. I thought this was doable, but apparently some applets assume you have the base packages of xfce4 installed, as the problems ceased when I installed them.

  • Remove/add panel to applet speedy in 1.3.x; painfully slow in 1.4.1/2.beta

    The following code (which was working for years, including even 1.3.x) suddenly fails in 1.4.1 and 1.4.2beta on both win 2000 and win xp
    DESCRIPTION OF PROBLEM :
    An applet consists of 2 components: a contents panel and a button. The contents panel consists of one of several panels of components which are swapped at run-time. The first time a panel is added, the applet works fine, but subsequent additions of the "cached" panel cause 1.4.1 and 1.4.2beta to go to 100% utilization and take 10 seconds before properly displaying the panel.
    STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
    Load applet described above (and whose short complete example is reproduced below), then click on button "Swap Contents". Each click should swap the contents between 2 panels very quickly. 1.3.x releases did all swaps quickly as expected. Suddenly, in 1.4.1 and 1.4.2beta, the first click is fine, but subsequent clicks are painfully slow.
    ---------- BEGIN SOURCE ----------
    // Java code to reproduce bug followed by html file to load applet
    import java.awt.*;
    import java.awt.event.*;
    public class TestRemoveAddApplet extends java.applet.Applet {
    Container contentPanel = new Panel();
    Button button = new Button("Swap contents");
    Panel contents1 = new Panel();
    Panel contents2 = new Panel();
    Label contentsL1 = new Label("Contents #1");
    Label contentsL2 = new Label("Contents #2");
    Component current = contents2;
    public void init() {
    setLayout(new BorderLayout());
    add(contentPanel,"Center");
    add(button,"South");
    button.addActionListener(new Swap());
    contents1.add(contentsL1);
    contents2.add(contentsL2);
    // initialize contents
    swapContents();
    class Swap implements ActionListener {
    public void actionPerformed(ActionEvent e) {
    swapContents();
    void swapContents() {
    current = (current == contents1 ? contents2 : contents1);
    // remove contents of previous contents panel
    contentPanel.removeAll();
    // display new contents
    contentPanel.add(current);
    validate();
    HTML file follows:
    <HTML>
    <HEAD>
    <TITLE>Test Remove / Add in Applet</TITLE>
    </HEAD>
    <BODY>
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    WIDTH = 100% HEIGHT = 100% >
    <PARAM NAME = CODE VALUE = "TestRemoveAddApplet" >
    <PARAM TYPE = "application/x-java-applet;version=1.1" >
    </OBJECT>
    </BODY>
    </HTML>
    ---------- END SOURCE ----------

    Try hiding the panels first then adding them then show. I know its crazy but I have gotten better performance this way with 1.4.1x. Try it.
    current.setVisible(false);
    contentPanel.add(current);
    current.setVisible(false);

  • [SOLVED] hdapsd/gnome-hdaps-applet/kernel26/tp_smapi: Some issues

    Hej all,
    I posted some comments on the package hdapsd http://aur.archlinux.org/packages.php?ID=5401. At the moment, loading the modules from tp_smapi and starting hdaps works without problems, when enabling the unload_heads by executing as root
    echo -1 > /sys/block/sda/device/unload_heads
    Now shaking the laptop (only a bit;) results in the output of hdapsd
    Fri Mar 6 17:30:48 2009: Starting hdapsd
    Fri Mar 6 17:33:16 2009: parking
    Fri Mar 6 17:33:19 2009: Error! Not parked when we thought we were... (paged out and timer expired?)
    Fri Mar 6 17:33:19 2009: un-parking
    But a simultaneously played movie stops... So something is working, but also the new gnome-hdaps-applet (version 20081204-1) does not change the "play" sign into the "pause" sign while shaking... All this worked while using the bit outdated kernel26tp with old versions of hdapsd and gnome-hdaps-applet.
    So, does someone has ideas how to debug this further?
    Thanks,
    Andreas
    Edit: The problem is solved and had nothing to do with the software/kernel. I needed to update the firmware of my drive with the help of lenovos FWHD55.ISO...(in fact it was a bit harder since I own a non-IBM harddrive...see here http://www.thinkwiki.org/wiki/Talk:Prob … hard_disks and search for hfui15.exe, don't forget the -pm switch to tell the badly programmed software that your HD is Primary master...)
    Last edited by aneiser (2009-03-08 11:15:14)

    Hej all,
    I posted some comments on the package hdapsd http://aur.archlinux.org/packages.php?ID=5401. At the moment, loading the modules from tp_smapi and starting hdaps works without problems, when enabling the unload_heads by executing as root
    echo -1 > /sys/block/sda/device/unload_heads
    Now shaking the laptop (only a bit;) results in the output of hdapsd
    Fri Mar 6 17:30:48 2009: Starting hdapsd
    Fri Mar 6 17:33:16 2009: parking
    Fri Mar 6 17:33:19 2009: Error! Not parked when we thought we were... (paged out and timer expired?)
    Fri Mar 6 17:33:19 2009: un-parking
    But a simultaneously played movie stops... So something is working, but also the new gnome-hdaps-applet (version 20081204-1) does not change the "play" sign into the "pause" sign while shaking... All this worked while using the bit outdated kernel26tp with old versions of hdapsd and gnome-hdaps-applet.
    So, does someone has ideas how to debug this further?
    Thanks,
    Andreas
    Edit: The problem is solved and had nothing to do with the software/kernel. I needed to update the firmware of my drive with the help of lenovos FWHD55.ISO...(in fact it was a bit harder since I own a non-IBM harddrive...see here http://www.thinkwiki.org/wiki/Talk:Prob … hard_disks and search for hfui15.exe, don't forget the -pm switch to tell the badly programmed software that your HD is Primary master...)
    Last edited by aneiser (2009-03-08 11:15:14)

  • [Solved]Problem with deskbar-applet

    Hi to all, i'm having  annoying problems with the deskbar-applet in gnome. I've installed it with pacman and no error occurred during installation but I can't perform any search on the web through the search-engine of firefox. They don't appear in action's list at all. And i don't manage to use the deksbar-applet with tracker. I compiled tracker from abs with the option --enable-deskbar-applet=auto. and copied tracker-handler.py and tracker-handler-static.py  in the .gnome2/deskbar-applet/modules-2.20-compatible/ directory. Any advice??
    Thanks
    Solved. I had to copy tracker-module.py in that directory. Bye
    Last edited by oportec (2007-12-14 16:35:28)

    Thank you, headkase, you were right about it! Removing "ck-launch-session" solved my problems. I also removed "dbus-launch" because I didn't have it there originally, I had added "dbus-launch" to exec line just today as I had read somewhere that it might help (it didn't)...
    So, I'm going with "exec gnome-session" and everything works, thanks.
    //Edit: Admin can mark this as "[SOLVED]"
    Last edited by mino.sk (2012-06-22 20:22:39)

  • [SOLVED] XFCE Panel Icons

    Does anyone know why my panel icons are black?
    Like such: http://i.imgur.com/rhaLd.png
    I haven't migrated from any other DE, this started happening after I enabled Compiz on startup(https://wiki.archlinux.org/index.php/Co … icon.22.29).
    Any ideas on how to set them to white, or use the icon set from the Xubuntu panel?
    Thanks in advance.
    SOLVED: Elementary Xubuntu icon theme installed, needed to specify "Elementary Xubuntu Dark" vs "Elementary Xubuntu".
    Last edited by hakoda (2012-08-07 03:34:40)

    You can't actually move stuff freely in XFCE panels; moving only changes the order of things.  You have to use separators (which can be invisible and have the option to expand) to get stuff in particular places.  I have eight invisible separators on my panel, and the 'Window Buttons' item expands to fill all free space, allowing me to place things on the 'end' of my panel.

Maybe you are looking for