How to get conky to stay on the desktopIs there a keyboard shortcut for minimizing all windows except the...

How can I make my BBEG immortal short of making them a Lich or Vampire?

Why can't we play rap on piano?

Maximum likelihood parameters deviate from posterior distributions

Languages that we cannot (dis)prove to be Context-Free

Do I have a twin with permutated remainders?

Was any UN Security Council vote triple-vetoed?

Modeling an IP Address

Codimension of non-flat locus

What does "Puller Prush Person" mean?

Could an aircraft fly or hover using only jets of compressed air?

What are these boxed doors outside store fronts in New York?

Why are electrically insulating heatsinks so rare? Is it just cost?

RSA: Danger of using p to create q

LaTeX: Why are digits allowed in environments, but forbidden in commands?

Perform and show arithmetic with LuaLaTeX

dbcc cleantable batch size explanation

Why can't I see bouncing of a switch on an oscilloscope?

What is the word for reserving something for yourself before others do?

Has there ever been an airliner design involving reducing generator load by installing solar panels?

Cross compiling for RPi - error while loading shared libraries

When a company launches a new product do they "come out" with a new product or do they "come up" with a new product?

Is it unprofessional to ask if a job posting on GlassDoor is real?

Why does Kotter return in Welcome Back Kotter?

Can a vampire attack twice with their claws using Multiattack?



How to get conky to stay on the desktop


Is there a keyboard shortcut for minimizing all windows except the active one?How to fix: conky disappears after click on desktop or other window?Is there a way to make Openbox behave like the Compiz Grid plugin?How to make Conky text semitransparent?How do you uninstall openbox/gnome?strange conky background behaviorWhy isn't conky working right in Unity desktop?Conky transparancy and refresh issueLXDE/Lubuntu sees Java .jar files as zip archives instead of java archives when Webupd8 Oracle Java 8 is usedAfter the upgrade to 15.10 Conky disappears when I click desktopConky either has title bar, dissapears or over writes itselfHow to switch desktop manager from LXDE?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







14















I have a conky setup that I've used on a number of desktops (here's the conkyrc). It works fine in Ubuntu Unity, XFCE, Gnome and Openbox, but not Lubuntu (LXDE). The problem is that I cannot get it to stay on the Lubuntu LXDE desktop reliably. Either the conky window disappears if I click the desktop or if I minimize all windows (show desktop).



I've tried all variations in the configuration file for "own_window", "own_window_colour", "own_window_transparent" and "own_window_type" and have Googled quite a bit to resolve this. If it edit the conkyrc file and set the own_window_type to "normal", conky disappears if I minimize all windows. If I set it to "desktop" it disappears if I click anywhere on the desktop. If I use "override" it doesn't display at all. And the other options don't work well for obvious reasons.



On another Ubuntu Unity install I had a similar problem, but got around it by using Compiz Config Settings Manager to ignore my conky window. On my netbook Lubuntu install I don't have compiz installed.



How can I get conky to stay on my desktop.










share|improve this question


















  • 1





    Conky doesn't seem to play well with Openbox.

    – Uri Herrera
    Aug 29 '12 at 8:06











  • Did you try the "panel" mode?.. BTW I also have similar problems with conky under Unity; can you please tell me how you used Compiz Config Settings Manager to ignore conky window?

    – Sadi
    Mar 7 '13 at 6:35






  • 1





    Sadi: The following conky setting should normally work for Unity: own_window yes own_window_transparent yes own_window_type normal own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager If you have problems with compiz (and weird shadows), use Compiz Config settings manager to set the following: * Under "Window Decoration" area, set the "Shadow windows" field to any & !(name=Conky) Note that panel mode is intended to let conky behave like a panel. This means that normally windows won't cover it and it should only be docked to the side of your screen. This isn't what I wanted.

    – aspersieman
    Mar 8 '13 at 8:25




















14















I have a conky setup that I've used on a number of desktops (here's the conkyrc). It works fine in Ubuntu Unity, XFCE, Gnome and Openbox, but not Lubuntu (LXDE). The problem is that I cannot get it to stay on the Lubuntu LXDE desktop reliably. Either the conky window disappears if I click the desktop or if I minimize all windows (show desktop).



I've tried all variations in the configuration file for "own_window", "own_window_colour", "own_window_transparent" and "own_window_type" and have Googled quite a bit to resolve this. If it edit the conkyrc file and set the own_window_type to "normal", conky disappears if I minimize all windows. If I set it to "desktop" it disappears if I click anywhere on the desktop. If I use "override" it doesn't display at all. And the other options don't work well for obvious reasons.



On another Ubuntu Unity install I had a similar problem, but got around it by using Compiz Config Settings Manager to ignore my conky window. On my netbook Lubuntu install I don't have compiz installed.



How can I get conky to stay on my desktop.










share|improve this question


















  • 1





    Conky doesn't seem to play well with Openbox.

    – Uri Herrera
    Aug 29 '12 at 8:06











  • Did you try the "panel" mode?.. BTW I also have similar problems with conky under Unity; can you please tell me how you used Compiz Config Settings Manager to ignore conky window?

    – Sadi
    Mar 7 '13 at 6:35






  • 1





    Sadi: The following conky setting should normally work for Unity: own_window yes own_window_transparent yes own_window_type normal own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager If you have problems with compiz (and weird shadows), use Compiz Config settings manager to set the following: * Under "Window Decoration" area, set the "Shadow windows" field to any & !(name=Conky) Note that panel mode is intended to let conky behave like a panel. This means that normally windows won't cover it and it should only be docked to the side of your screen. This isn't what I wanted.

    – aspersieman
    Mar 8 '13 at 8:25
















14












14








14


6






I have a conky setup that I've used on a number of desktops (here's the conkyrc). It works fine in Ubuntu Unity, XFCE, Gnome and Openbox, but not Lubuntu (LXDE). The problem is that I cannot get it to stay on the Lubuntu LXDE desktop reliably. Either the conky window disappears if I click the desktop or if I minimize all windows (show desktop).



I've tried all variations in the configuration file for "own_window", "own_window_colour", "own_window_transparent" and "own_window_type" and have Googled quite a bit to resolve this. If it edit the conkyrc file and set the own_window_type to "normal", conky disappears if I minimize all windows. If I set it to "desktop" it disappears if I click anywhere on the desktop. If I use "override" it doesn't display at all. And the other options don't work well for obvious reasons.



On another Ubuntu Unity install I had a similar problem, but got around it by using Compiz Config Settings Manager to ignore my conky window. On my netbook Lubuntu install I don't have compiz installed.



How can I get conky to stay on my desktop.










share|improve this question














I have a conky setup that I've used on a number of desktops (here's the conkyrc). It works fine in Ubuntu Unity, XFCE, Gnome and Openbox, but not Lubuntu (LXDE). The problem is that I cannot get it to stay on the Lubuntu LXDE desktop reliably. Either the conky window disappears if I click the desktop or if I minimize all windows (show desktop).



I've tried all variations in the configuration file for "own_window", "own_window_colour", "own_window_transparent" and "own_window_type" and have Googled quite a bit to resolve this. If it edit the conkyrc file and set the own_window_type to "normal", conky disappears if I minimize all windows. If I set it to "desktop" it disappears if I click anywhere on the desktop. If I use "override" it doesn't display at all. And the other options don't work well for obvious reasons.



On another Ubuntu Unity install I had a similar problem, but got around it by using Compiz Config Settings Manager to ignore my conky window. On my netbook Lubuntu install I don't have compiz installed.



How can I get conky to stay on my desktop.







lubuntu lxde conky






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Aug 29 '12 at 6:55









aspersiemanaspersieman

120118




120118








  • 1





    Conky doesn't seem to play well with Openbox.

    – Uri Herrera
    Aug 29 '12 at 8:06











  • Did you try the "panel" mode?.. BTW I also have similar problems with conky under Unity; can you please tell me how you used Compiz Config Settings Manager to ignore conky window?

    – Sadi
    Mar 7 '13 at 6:35






  • 1





    Sadi: The following conky setting should normally work for Unity: own_window yes own_window_transparent yes own_window_type normal own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager If you have problems with compiz (and weird shadows), use Compiz Config settings manager to set the following: * Under "Window Decoration" area, set the "Shadow windows" field to any & !(name=Conky) Note that panel mode is intended to let conky behave like a panel. This means that normally windows won't cover it and it should only be docked to the side of your screen. This isn't what I wanted.

    – aspersieman
    Mar 8 '13 at 8:25
















  • 1





    Conky doesn't seem to play well with Openbox.

    – Uri Herrera
    Aug 29 '12 at 8:06











  • Did you try the "panel" mode?.. BTW I also have similar problems with conky under Unity; can you please tell me how you used Compiz Config Settings Manager to ignore conky window?

    – Sadi
    Mar 7 '13 at 6:35






  • 1





    Sadi: The following conky setting should normally work for Unity: own_window yes own_window_transparent yes own_window_type normal own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager If you have problems with compiz (and weird shadows), use Compiz Config settings manager to set the following: * Under "Window Decoration" area, set the "Shadow windows" field to any & !(name=Conky) Note that panel mode is intended to let conky behave like a panel. This means that normally windows won't cover it and it should only be docked to the side of your screen. This isn't what I wanted.

    – aspersieman
    Mar 8 '13 at 8:25










1




1





Conky doesn't seem to play well with Openbox.

– Uri Herrera
Aug 29 '12 at 8:06





Conky doesn't seem to play well with Openbox.

– Uri Herrera
Aug 29 '12 at 8:06













Did you try the "panel" mode?.. BTW I also have similar problems with conky under Unity; can you please tell me how you used Compiz Config Settings Manager to ignore conky window?

– Sadi
Mar 7 '13 at 6:35





Did you try the "panel" mode?.. BTW I also have similar problems with conky under Unity; can you please tell me how you used Compiz Config Settings Manager to ignore conky window?

– Sadi
Mar 7 '13 at 6:35




1




1





Sadi: The following conky setting should normally work for Unity: own_window yes own_window_transparent yes own_window_type normal own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager If you have problems with compiz (and weird shadows), use Compiz Config settings manager to set the following: * Under "Window Decoration" area, set the "Shadow windows" field to any & !(name=Conky) Note that panel mode is intended to let conky behave like a panel. This means that normally windows won't cover it and it should only be docked to the side of your screen. This isn't what I wanted.

– aspersieman
Mar 8 '13 at 8:25







Sadi: The following conky setting should normally work for Unity: own_window yes own_window_transparent yes own_window_type normal own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager If you have problems with compiz (and weird shadows), use Compiz Config settings manager to set the following: * Under "Window Decoration" area, set the "Shadow windows" field to any & !(name=Conky) Note that panel mode is intended to let conky behave like a panel. This means that normally windows won't cover it and it should only be docked to the side of your screen. This isn't what I wanted.

– aspersieman
Mar 8 '13 at 8:25












18 Answers
18






active

oldest

votes


















19














Seems like setting window type to desktop is not enough sometimes.



Try:



own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager


Got it from here.



Works for me in XFCE. I'm guessing it'll be fine for lxde/openbox as well.






share|improve this answer





















  • 5





    How is this answer accepted? In LXDE, clicking the desktop makes conky disappear.

    – Redsandro
    Jun 23 '13 at 15:29











  • I also have no idea why that is. The question (not its title though) explicitly states that the issue is present ONLY in LXDE and the author ask for help to resolve that particular issue. The reply marked as "Answer" does not answer the question. I landed here while looking for an answer to the exact same problem but with Debian (latest stable), running LXDE.

    – rbaleksandar
    Oct 22 '13 at 19:38











  • this doesn't help. it keep disappearing

    – nazar_art
    Dec 29 '13 at 10:03











  • For simple Ubuntu with Unity own_window_type override works just fine

    – MInner
    Jun 19 '14 at 1:10






  • 2





    No, it doesn't. Not for me anyway. It stops the disappearing widgets but then there's something wrong with the screen refresh for the characters that are getting drawn. They get fuzzy after a while and then you can tell it's because there are characters overlaying characters.

    – user447607
    Apr 16 '15 at 15:51



















8














This config works, on Gnome and Cinnamon and is the way to do it.



own_window yes
own_window_transparent yes
own_window_type dock
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_argb_visual yes
own_window_argb_value 100
gap_x 940
gap_y 20


The last 2 attributes absolutely position it on screen and need to be changed for your configuration.
A working complete configuration file can be found here on Github.



Edit:
From the comments: If own_window_type set to "dock" doesn't work well for you, try "override" and "normal" as well.






share|improve this answer


























  • own_window_type dock isn't always optimal as the conky window will be treated like a dock.

    – aspersieman
    Mar 8 '13 at 8:12






  • 1





    @aspersieman I found nothing different with it so far. It is the only setting which prevented it going off when clicking the desktop or super+windows+D.

    – Anirudh Ramanathan
    Mar 8 '13 at 8:40











  • Try own_window_type override and changing the setting in Compiz Config Settings Manager I described to Sadi above.

    – aspersieman
    Mar 10 '13 at 14:32











  • dock to me makes it a permanent part of my screen, like panel, i.e full screen windows cant cover it

    – Karthik T
    Apr 26 '14 at 6:20



















1














The above did not work for me. What did work was to set the "own_window_type" to "normal" in /etc/conky/conky.conf.



own_window_type normal


As per this thread:
http://ubuntuforums.org/showthread.php?t=2039399






share|improve this answer
























  • I also needed "own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager` on LXDE.

    – Motiejus Jakštys
    Nov 14 '13 at 12:55













  • This causes the "minimize all windows (show desktop)" case as in the OP, even with the addition of @MotiejusJakštys 's line

    – Karthik T
    Apr 26 '14 at 6:19



















1














The accepted answer does not account for "Show Desktop".



You can use the hack I explained in this answer to show conky after Win+D for Show Desktop is pressed:



#!/usr/bin/env bash
zenity --info --text "Remapping Conky..." &
pid=$!
sleep 0.3
kill $pid
xdotool windowmap `xdotool search --classname 'conky'`





share|improve this answer

































    1














    The problem with using conky with LXDE is that PCManFM handles the desktop in a way unlike any other desktop. LXDE is essentially Openbox with a desktop layered on by the file manager (pcmanfm) if you removed pcmanfm in favor of another file manager, you would no longer have LXDE, you'd essentially have Openbox with the LXDE panel. How is this relevant? Well, LXDE's desktop is handled more like a window by the window manager, meaning just like when you have several windows open, and you click on one of them, it brings it into focus. This is exactly what's happening with Conky. When you click on the desktop, it places conky beneith the desktop, which is as I explained, handled more like a window. In my case, this is the fix:



    own_window_class Conky
    own_window yes
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below


    Now, if you use the panel plugin to minimize all windows, it will still minimize conky, but this fix keeps conky from disappearing under normal circumstances.






    share|improve this answer

































      1














      I've done tons of research on this myself and it seems there are very few workarounds and even fewer that work well:




      • You could set conky to a dock or panel window.

      • You can set it to a normal window and just avoid using the show desktop plugin/keybind.

      • I even tried using the -w argument for conky to get it to draw to the fake desktop/PCManFM window, but that will cause your desktop to redraw as often as conky updates = messy.

      • If you can live without desktop icons, you can set conky to a desktop window and then simply turn PCManFM off by typing pcmanfm --desktop-off at the terminal.

      • You could let feh or some other program manage the desktop


      I didn't like any of the above options. So, like Redsandro, the workaround I settled on was to have conky as a normal window (skip_pager,skip_taskbar,below,undecorated of course) and write a simple bash script and make a .desktop file for it so I could include in my panel to take the place of the Show Desktop plugin. It uses wmctrl so you'd have to download it. Also it unfortunately doesn't minimize all windows, it only shades them. But for my needs, it suffices:



      #!/bin/bash
      var=($(wmctrl -l | grep -o "0x[[:alnum:]]+"))
      for v in ${var[@]}
      do wmctrl -i -r $v -b toggle,shaded
      done
      exit 0





      share|improve this answer

































        1














        EDIT:



        better: as of 12.04 Precise and all later versions of Ubuntu (confirmed till 16.04 xenial), you can achieve the same as devilspie (below) with compiz -> Windows Rules. I used the class match there, its self-explanatory. Works with my linked Super+Home-script, too.



        Here is my little contribution after wasting a couple of hours with this for anyone who couldn't sort it out with all the above (tested with Ubuntu 16.04):



        Quick Solution:




        1. Add a 'own_window_type dock' line in the conkyrc.txt in the respective directory in ~/.conky/ (to not have it disappear on desktop-click)

        2. Install devilspie

        3. Create a rule in devilspie with the 'match' pattern
          window_name 'contains' conky (no capital c - it matters). Actually, with the provided "Get" Button there you can use any match pattern that works.

        4. as actions, select 'skip_tasklist','unminimize' and if you want to have it on all workspaces, also 'stick'.

        5. Thats it.


        Do check 'Run devilspie at startup' obviously.



        sideeffect: the Conky Manager Window will behave similiar when open depending on the match pattern, shouldn't be any problem, though.



        My problem was this:



        'own_window_type override' created the problem that the changing items of the conky wouldn't substitute but rather be drawn on top of older values - ugly and also illegible within seconds.



        'own_window_type desktop' just didn't do the trick.



        'own_window_type dock' in conjunction with devilspie solved the original problem, but wouldn't play nice with this nifty little script to add a 'show desktop but keep active window stay up' - hot-key like Windows Win +
        Home. EDIT: the lastmentioned somehow stopped working.. I'm out :-|



        Hope I helped someone, gimme a thumbs up, I'm new here ;-)



        My sytem: UBUNTU Xenial Xerus 64 bit.






        share|improve this answer

































          0














          You could try to add a script that executes on startup.



          For example:



          #!/bin/bash
          conky ;


          (don't forget to chmod +x it ;)






          share|improve this answer
























          • Thanks for your answer. Unfortunately though, I've already tried this and it doesn't change anything. I've even tried to make it sleep for a few seconds. Any other suggestions?

            – aspersieman
            Aug 29 '12 at 8:21













          • sorry dude no other suggestion. i have solved mine this way but if i remember correctly i was using gnome.

            – user981916
            Aug 29 '12 at 9:18











          • No worries. Thanks for your help though.

            – aspersieman
            Aug 29 '12 at 9:22



















          0














          For Unity my problem was solved by using



          own_window_type override





          share|improve this answer
























          • Correct! This does allow you to keep the widgets on the desktop when the desktop is clicked or show desktop (Ctrl+Super+D) is tried. HOWEVER after show desktop, I see I now have duplicates of my conky widgets where the old one has a fixed time stamp and the new overlay has changing time stamps. In other words, its a layered mess! Am I forgetting to add something else?

            – Brad Horn
            May 17 '15 at 4:14





















          0














          For Lubuntu with LXDE:



          own_window yes
          own_window_class Conky
          own_window_transparent yes
          own_window_type desktop
          double_buffer yes


          If the conky window disappears when press button minimize all windows (show desktop) go in Settings->Default applications for LXsession->Running applications->Desktop and select "feh" instead "filemanager"



          Work for me in Lubuntu 13.10.






          share|improve this answer

































            0














            I've done tons of research on this myself and it seems there are very few workarounds and even fewer that work well.




            • You could set conky to a dock or panel window.

            • You can set it to a normal window and just avoid using the show desktop plugin/keybind.
              I even used the -w argument for conky to get it to draw to the fake desktop/PCManFM window, but that wil cause your desktop to redraw as often as conky updates = messy. If you don't mind have no icons, you can simply turn PCManFM off by typing pcmanfm --desktop-off at the terminal.


            Like Redsandro, the way got around this was to write a simple bash script and make a .desktop file for it so I could include in my panel to take the place of the Show Desktop plugin. It uses wmctrl so you'd have to download it. Also it unfortunately doesn't minimize all windows, it only shades them. But for my needs, it suffices:



            #!/bin/bash
            var="($(wmctrl -l | grep -o "0x[[:alnum:]]+"))"
            for v in ${var[@]}
            do wmctrl -i -r $v -b toggle,shaded
            done





            share|improve this answer

































              0














              This works in Lubuntu 14.10



              own_window yes
              own_window_hints undecorated,below,skip_taskbar
              background no
              own_window_transparent yes





              share|improve this answer































                0














                I know this thread is old, but for anyone else still struggling with this issue I just wanted to add that grims' answer works for me, with a small caveat.



                In /etc/conky/conky.conf



                own_window_type normal


                and in .conkyrc or the theme file:



                own_window_type desktop
                own_window_hints undecorate,sticky,skip_taskbar,skip_pager


                After some trial and error, this was the only combination that I could get to work (I am using compton for transparency). Note, there is no "below" setting in own_window_hints, as although that still works it causes conky to disappear and reappear (flicker) after a few seconds when showing the desktop. At least that was my experience.



                HTH






                share|improve this answer































                  0














                  Linux with Mate/Gnome2 GUI Ubuntish ;)



                  use_xft yes
                  ..............
                  .........
                  .....
                  ..........
                  own_window_type dock


                  Will dock on top screen, disaffecting any desktop actions.



                  Put to position setting:



                  gap_x ...
                  gap_y ...


                  Depending from your resolution.






                  share|improve this answer

































                    0














                    Set background=false in .conkyrc and be sure you're not autostarting Conky with the -d flag. I tried every other suggestion I could find, and sometimes they would work and sometimes not, and even if they worked it was only for a little while.



                    Note: if you accidentally minimize all windows, use Super+D to get Conky back.






                    share|improve this answer

































                      0














                      I experienced the same problem in LXDE when clicking on LXPanel's "Iconify All Windows" hides the Conky's window as well. I fixed it with wmctrl.



                      Install wmctrl



                      sudo apt install wmctrl


                      Find the name of the Conky's window



                      wmctrl -l
                      0x03200001 -1 Host conky (Host)


                      To bring it back run:



                      wmctrl -a 'conky (Host)'


                      I wrote in Python a simple script that every 50 milliseconds unhides Conky and put it at LXDE startup:



                      bring_conky_back.py



                      #!/usr/bin/python

                      import time, os

                      while True:
                      os.system("wmctrl -a 'conky (Host)'")
                      time.sleep(0.05)


                      It works awesome.






                      share|improve this answer










                      New contributor




                      alex ivanov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                      Check out our Code of Conduct.




























                        -1














                        My solution to this problem is add these two lines in your bash script



                        conky -c /home/ajay/.conkycolors/conkyrc >/dev/null 2>&1 &
                        conky -c /home/ajay/.conkycolors/conkyrc >/dev/null 2>&1 &






                        share|improve this answer
























                        • The question includes 3 different problems: 1) conky disappearing when desktop is clicked in "desktop" mode, 2) same when all windows are minimized (using Show Desktop command) in "normal" and "conky" modes, 3) conky not displayed in "override" mode... Which problem does this solve? What does it do really?

                          – Sadi
                          Mar 7 '13 at 6:25



















                        -1














                        In Unity don't change anything, just paste in terminal:



                        gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ hide-skip-taskbar-windows false





                        share|improve this answer


























                          Your Answer








                          StackExchange.ready(function() {
                          var channelOptions = {
                          tags: "".split(" "),
                          id: "89"
                          };
                          initTagRenderer("".split(" "), "".split(" "), channelOptions);

                          StackExchange.using("externalEditor", function() {
                          // Have to fire editor after snippets, if snippets enabled
                          if (StackExchange.settings.snippets.snippetsEnabled) {
                          StackExchange.using("snippets", function() {
                          createEditor();
                          });
                          }
                          else {
                          createEditor();
                          }
                          });

                          function createEditor() {
                          StackExchange.prepareEditor({
                          heartbeatType: 'answer',
                          autoActivateHeartbeat: false,
                          convertImagesToLinks: true,
                          noModals: true,
                          showLowRepImageUploadWarning: true,
                          reputationToPostImages: 10,
                          bindNavPrevention: true,
                          postfix: "",
                          imageUploader: {
                          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                          allowUrls: true
                          },
                          onDemand: true,
                          discardSelector: ".discard-answer"
                          ,immediatelyShowMarkdownHelp:true
                          });


                          }
                          });














                          draft saved

                          draft discarded


















                          StackExchange.ready(
                          function () {
                          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f181663%2fhow-to-get-conky-to-stay-on-the-desktop%23new-answer', 'question_page');
                          }
                          );

                          Post as a guest















                          Required, but never shown

























                          18 Answers
                          18






                          active

                          oldest

                          votes








                          18 Answers
                          18






                          active

                          oldest

                          votes









                          active

                          oldest

                          votes






                          active

                          oldest

                          votes









                          19














                          Seems like setting window type to desktop is not enough sometimes.



                          Try:



                          own_window_type desktop
                          own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager


                          Got it from here.



                          Works for me in XFCE. I'm guessing it'll be fine for lxde/openbox as well.






                          share|improve this answer





















                          • 5





                            How is this answer accepted? In LXDE, clicking the desktop makes conky disappear.

                            – Redsandro
                            Jun 23 '13 at 15:29











                          • I also have no idea why that is. The question (not its title though) explicitly states that the issue is present ONLY in LXDE and the author ask for help to resolve that particular issue. The reply marked as "Answer" does not answer the question. I landed here while looking for an answer to the exact same problem but with Debian (latest stable), running LXDE.

                            – rbaleksandar
                            Oct 22 '13 at 19:38











                          • this doesn't help. it keep disappearing

                            – nazar_art
                            Dec 29 '13 at 10:03











                          • For simple Ubuntu with Unity own_window_type override works just fine

                            – MInner
                            Jun 19 '14 at 1:10






                          • 2





                            No, it doesn't. Not for me anyway. It stops the disappearing widgets but then there's something wrong with the screen refresh for the characters that are getting drawn. They get fuzzy after a while and then you can tell it's because there are characters overlaying characters.

                            – user447607
                            Apr 16 '15 at 15:51
















                          19














                          Seems like setting window type to desktop is not enough sometimes.



                          Try:



                          own_window_type desktop
                          own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager


                          Got it from here.



                          Works for me in XFCE. I'm guessing it'll be fine for lxde/openbox as well.






                          share|improve this answer





















                          • 5





                            How is this answer accepted? In LXDE, clicking the desktop makes conky disappear.

                            – Redsandro
                            Jun 23 '13 at 15:29











                          • I also have no idea why that is. The question (not its title though) explicitly states that the issue is present ONLY in LXDE and the author ask for help to resolve that particular issue. The reply marked as "Answer" does not answer the question. I landed here while looking for an answer to the exact same problem but with Debian (latest stable), running LXDE.

                            – rbaleksandar
                            Oct 22 '13 at 19:38











                          • this doesn't help. it keep disappearing

                            – nazar_art
                            Dec 29 '13 at 10:03











                          • For simple Ubuntu with Unity own_window_type override works just fine

                            – MInner
                            Jun 19 '14 at 1:10






                          • 2





                            No, it doesn't. Not for me anyway. It stops the disappearing widgets but then there's something wrong with the screen refresh for the characters that are getting drawn. They get fuzzy after a while and then you can tell it's because there are characters overlaying characters.

                            – user447607
                            Apr 16 '15 at 15:51














                          19












                          19








                          19







                          Seems like setting window type to desktop is not enough sometimes.



                          Try:



                          own_window_type desktop
                          own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager


                          Got it from here.



                          Works for me in XFCE. I'm guessing it'll be fine for lxde/openbox as well.






                          share|improve this answer















                          Seems like setting window type to desktop is not enough sometimes.



                          Try:



                          own_window_type desktop
                          own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager


                          Got it from here.



                          Works for me in XFCE. I'm guessing it'll be fine for lxde/openbox as well.







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Oct 31 '12 at 17:14









                          Evandro Silva

                          6,58852944




                          6,58852944










                          answered Oct 31 '12 at 15:19









                          llaenllaen

                          31424




                          31424








                          • 5





                            How is this answer accepted? In LXDE, clicking the desktop makes conky disappear.

                            – Redsandro
                            Jun 23 '13 at 15:29











                          • I also have no idea why that is. The question (not its title though) explicitly states that the issue is present ONLY in LXDE and the author ask for help to resolve that particular issue. The reply marked as "Answer" does not answer the question. I landed here while looking for an answer to the exact same problem but with Debian (latest stable), running LXDE.

                            – rbaleksandar
                            Oct 22 '13 at 19:38











                          • this doesn't help. it keep disappearing

                            – nazar_art
                            Dec 29 '13 at 10:03











                          • For simple Ubuntu with Unity own_window_type override works just fine

                            – MInner
                            Jun 19 '14 at 1:10






                          • 2





                            No, it doesn't. Not for me anyway. It stops the disappearing widgets but then there's something wrong with the screen refresh for the characters that are getting drawn. They get fuzzy after a while and then you can tell it's because there are characters overlaying characters.

                            – user447607
                            Apr 16 '15 at 15:51














                          • 5





                            How is this answer accepted? In LXDE, clicking the desktop makes conky disappear.

                            – Redsandro
                            Jun 23 '13 at 15:29











                          • I also have no idea why that is. The question (not its title though) explicitly states that the issue is present ONLY in LXDE and the author ask for help to resolve that particular issue. The reply marked as "Answer" does not answer the question. I landed here while looking for an answer to the exact same problem but with Debian (latest stable), running LXDE.

                            – rbaleksandar
                            Oct 22 '13 at 19:38











                          • this doesn't help. it keep disappearing

                            – nazar_art
                            Dec 29 '13 at 10:03











                          • For simple Ubuntu with Unity own_window_type override works just fine

                            – MInner
                            Jun 19 '14 at 1:10






                          • 2





                            No, it doesn't. Not for me anyway. It stops the disappearing widgets but then there's something wrong with the screen refresh for the characters that are getting drawn. They get fuzzy after a while and then you can tell it's because there are characters overlaying characters.

                            – user447607
                            Apr 16 '15 at 15:51








                          5




                          5





                          How is this answer accepted? In LXDE, clicking the desktop makes conky disappear.

                          – Redsandro
                          Jun 23 '13 at 15:29





                          How is this answer accepted? In LXDE, clicking the desktop makes conky disappear.

                          – Redsandro
                          Jun 23 '13 at 15:29













                          I also have no idea why that is. The question (not its title though) explicitly states that the issue is present ONLY in LXDE and the author ask for help to resolve that particular issue. The reply marked as "Answer" does not answer the question. I landed here while looking for an answer to the exact same problem but with Debian (latest stable), running LXDE.

                          – rbaleksandar
                          Oct 22 '13 at 19:38





                          I also have no idea why that is. The question (not its title though) explicitly states that the issue is present ONLY in LXDE and the author ask for help to resolve that particular issue. The reply marked as "Answer" does not answer the question. I landed here while looking for an answer to the exact same problem but with Debian (latest stable), running LXDE.

                          – rbaleksandar
                          Oct 22 '13 at 19:38













                          this doesn't help. it keep disappearing

                          – nazar_art
                          Dec 29 '13 at 10:03





                          this doesn't help. it keep disappearing

                          – nazar_art
                          Dec 29 '13 at 10:03













                          For simple Ubuntu with Unity own_window_type override works just fine

                          – MInner
                          Jun 19 '14 at 1:10





                          For simple Ubuntu with Unity own_window_type override works just fine

                          – MInner
                          Jun 19 '14 at 1:10




                          2




                          2





                          No, it doesn't. Not for me anyway. It stops the disappearing widgets but then there's something wrong with the screen refresh for the characters that are getting drawn. They get fuzzy after a while and then you can tell it's because there are characters overlaying characters.

                          – user447607
                          Apr 16 '15 at 15:51





                          No, it doesn't. Not for me anyway. It stops the disappearing widgets but then there's something wrong with the screen refresh for the characters that are getting drawn. They get fuzzy after a while and then you can tell it's because there are characters overlaying characters.

                          – user447607
                          Apr 16 '15 at 15:51













                          8














                          This config works, on Gnome and Cinnamon and is the way to do it.



                          own_window yes
                          own_window_transparent yes
                          own_window_type dock
                          own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
                          own_window_argb_visual yes
                          own_window_argb_value 100
                          gap_x 940
                          gap_y 20


                          The last 2 attributes absolutely position it on screen and need to be changed for your configuration.
                          A working complete configuration file can be found here on Github.



                          Edit:
                          From the comments: If own_window_type set to "dock" doesn't work well for you, try "override" and "normal" as well.






                          share|improve this answer


























                          • own_window_type dock isn't always optimal as the conky window will be treated like a dock.

                            – aspersieman
                            Mar 8 '13 at 8:12






                          • 1





                            @aspersieman I found nothing different with it so far. It is the only setting which prevented it going off when clicking the desktop or super+windows+D.

                            – Anirudh Ramanathan
                            Mar 8 '13 at 8:40











                          • Try own_window_type override and changing the setting in Compiz Config Settings Manager I described to Sadi above.

                            – aspersieman
                            Mar 10 '13 at 14:32











                          • dock to me makes it a permanent part of my screen, like panel, i.e full screen windows cant cover it

                            – Karthik T
                            Apr 26 '14 at 6:20
















                          8














                          This config works, on Gnome and Cinnamon and is the way to do it.



                          own_window yes
                          own_window_transparent yes
                          own_window_type dock
                          own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
                          own_window_argb_visual yes
                          own_window_argb_value 100
                          gap_x 940
                          gap_y 20


                          The last 2 attributes absolutely position it on screen and need to be changed for your configuration.
                          A working complete configuration file can be found here on Github.



                          Edit:
                          From the comments: If own_window_type set to "dock" doesn't work well for you, try "override" and "normal" as well.






                          share|improve this answer


























                          • own_window_type dock isn't always optimal as the conky window will be treated like a dock.

                            – aspersieman
                            Mar 8 '13 at 8:12






                          • 1





                            @aspersieman I found nothing different with it so far. It is the only setting which prevented it going off when clicking the desktop or super+windows+D.

                            – Anirudh Ramanathan
                            Mar 8 '13 at 8:40











                          • Try own_window_type override and changing the setting in Compiz Config Settings Manager I described to Sadi above.

                            – aspersieman
                            Mar 10 '13 at 14:32











                          • dock to me makes it a permanent part of my screen, like panel, i.e full screen windows cant cover it

                            – Karthik T
                            Apr 26 '14 at 6:20














                          8












                          8








                          8







                          This config works, on Gnome and Cinnamon and is the way to do it.



                          own_window yes
                          own_window_transparent yes
                          own_window_type dock
                          own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
                          own_window_argb_visual yes
                          own_window_argb_value 100
                          gap_x 940
                          gap_y 20


                          The last 2 attributes absolutely position it on screen and need to be changed for your configuration.
                          A working complete configuration file can be found here on Github.



                          Edit:
                          From the comments: If own_window_type set to "dock" doesn't work well for you, try "override" and "normal" as well.






                          share|improve this answer















                          This config works, on Gnome and Cinnamon and is the way to do it.



                          own_window yes
                          own_window_transparent yes
                          own_window_type dock
                          own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
                          own_window_argb_visual yes
                          own_window_argb_value 100
                          gap_x 940
                          gap_y 20


                          The last 2 attributes absolutely position it on screen and need to be changed for your configuration.
                          A working complete configuration file can be found here on Github.



                          Edit:
                          From the comments: If own_window_type set to "dock" doesn't work well for you, try "override" and "normal" as well.







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Apr 26 '14 at 6:25

























                          answered Mar 3 '13 at 22:49









                          Anirudh RamanathanAnirudh Ramanathan

                          13327




                          13327













                          • own_window_type dock isn't always optimal as the conky window will be treated like a dock.

                            – aspersieman
                            Mar 8 '13 at 8:12






                          • 1





                            @aspersieman I found nothing different with it so far. It is the only setting which prevented it going off when clicking the desktop or super+windows+D.

                            – Anirudh Ramanathan
                            Mar 8 '13 at 8:40











                          • Try own_window_type override and changing the setting in Compiz Config Settings Manager I described to Sadi above.

                            – aspersieman
                            Mar 10 '13 at 14:32











                          • dock to me makes it a permanent part of my screen, like panel, i.e full screen windows cant cover it

                            – Karthik T
                            Apr 26 '14 at 6:20



















                          • own_window_type dock isn't always optimal as the conky window will be treated like a dock.

                            – aspersieman
                            Mar 8 '13 at 8:12






                          • 1





                            @aspersieman I found nothing different with it so far. It is the only setting which prevented it going off when clicking the desktop or super+windows+D.

                            – Anirudh Ramanathan
                            Mar 8 '13 at 8:40











                          • Try own_window_type override and changing the setting in Compiz Config Settings Manager I described to Sadi above.

                            – aspersieman
                            Mar 10 '13 at 14:32











                          • dock to me makes it a permanent part of my screen, like panel, i.e full screen windows cant cover it

                            – Karthik T
                            Apr 26 '14 at 6:20

















                          own_window_type dock isn't always optimal as the conky window will be treated like a dock.

                          – aspersieman
                          Mar 8 '13 at 8:12





                          own_window_type dock isn't always optimal as the conky window will be treated like a dock.

                          – aspersieman
                          Mar 8 '13 at 8:12




                          1




                          1





                          @aspersieman I found nothing different with it so far. It is the only setting which prevented it going off when clicking the desktop or super+windows+D.

                          – Anirudh Ramanathan
                          Mar 8 '13 at 8:40





                          @aspersieman I found nothing different with it so far. It is the only setting which prevented it going off when clicking the desktop or super+windows+D.

                          – Anirudh Ramanathan
                          Mar 8 '13 at 8:40













                          Try own_window_type override and changing the setting in Compiz Config Settings Manager I described to Sadi above.

                          – aspersieman
                          Mar 10 '13 at 14:32





                          Try own_window_type override and changing the setting in Compiz Config Settings Manager I described to Sadi above.

                          – aspersieman
                          Mar 10 '13 at 14:32













                          dock to me makes it a permanent part of my screen, like panel, i.e full screen windows cant cover it

                          – Karthik T
                          Apr 26 '14 at 6:20





                          dock to me makes it a permanent part of my screen, like panel, i.e full screen windows cant cover it

                          – Karthik T
                          Apr 26 '14 at 6:20











                          1














                          The above did not work for me. What did work was to set the "own_window_type" to "normal" in /etc/conky/conky.conf.



                          own_window_type normal


                          As per this thread:
                          http://ubuntuforums.org/showthread.php?t=2039399






                          share|improve this answer
























                          • I also needed "own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager` on LXDE.

                            – Motiejus Jakštys
                            Nov 14 '13 at 12:55













                          • This causes the "minimize all windows (show desktop)" case as in the OP, even with the addition of @MotiejusJakštys 's line

                            – Karthik T
                            Apr 26 '14 at 6:19
















                          1














                          The above did not work for me. What did work was to set the "own_window_type" to "normal" in /etc/conky/conky.conf.



                          own_window_type normal


                          As per this thread:
                          http://ubuntuforums.org/showthread.php?t=2039399






                          share|improve this answer
























                          • I also needed "own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager` on LXDE.

                            – Motiejus Jakštys
                            Nov 14 '13 at 12:55













                          • This causes the "minimize all windows (show desktop)" case as in the OP, even with the addition of @MotiejusJakštys 's line

                            – Karthik T
                            Apr 26 '14 at 6:19














                          1












                          1








                          1







                          The above did not work for me. What did work was to set the "own_window_type" to "normal" in /etc/conky/conky.conf.



                          own_window_type normal


                          As per this thread:
                          http://ubuntuforums.org/showthread.php?t=2039399






                          share|improve this answer













                          The above did not work for me. What did work was to set the "own_window_type" to "normal" in /etc/conky/conky.conf.



                          own_window_type normal


                          As per this thread:
                          http://ubuntuforums.org/showthread.php?t=2039399







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Apr 15 '13 at 20:34









                          GrimGrim

                          111




                          111













                          • I also needed "own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager` on LXDE.

                            – Motiejus Jakštys
                            Nov 14 '13 at 12:55













                          • This causes the "minimize all windows (show desktop)" case as in the OP, even with the addition of @MotiejusJakštys 's line

                            – Karthik T
                            Apr 26 '14 at 6:19



















                          • I also needed "own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager` on LXDE.

                            – Motiejus Jakštys
                            Nov 14 '13 at 12:55













                          • This causes the "minimize all windows (show desktop)" case as in the OP, even with the addition of @MotiejusJakštys 's line

                            – Karthik T
                            Apr 26 '14 at 6:19

















                          I also needed "own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager` on LXDE.

                          – Motiejus Jakštys
                          Nov 14 '13 at 12:55







                          I also needed "own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager` on LXDE.

                          – Motiejus Jakštys
                          Nov 14 '13 at 12:55















                          This causes the "minimize all windows (show desktop)" case as in the OP, even with the addition of @MotiejusJakštys 's line

                          – Karthik T
                          Apr 26 '14 at 6:19





                          This causes the "minimize all windows (show desktop)" case as in the OP, even with the addition of @MotiejusJakštys 's line

                          – Karthik T
                          Apr 26 '14 at 6:19











                          1














                          The accepted answer does not account for "Show Desktop".



                          You can use the hack I explained in this answer to show conky after Win+D for Show Desktop is pressed:



                          #!/usr/bin/env bash
                          zenity --info --text "Remapping Conky..." &
                          pid=$!
                          sleep 0.3
                          kill $pid
                          xdotool windowmap `xdotool search --classname 'conky'`





                          share|improve this answer






























                            1














                            The accepted answer does not account for "Show Desktop".



                            You can use the hack I explained in this answer to show conky after Win+D for Show Desktop is pressed:



                            #!/usr/bin/env bash
                            zenity --info --text "Remapping Conky..." &
                            pid=$!
                            sleep 0.3
                            kill $pid
                            xdotool windowmap `xdotool search --classname 'conky'`





                            share|improve this answer




























                              1












                              1








                              1







                              The accepted answer does not account for "Show Desktop".



                              You can use the hack I explained in this answer to show conky after Win+D for Show Desktop is pressed:



                              #!/usr/bin/env bash
                              zenity --info --text "Remapping Conky..." &
                              pid=$!
                              sleep 0.3
                              kill $pid
                              xdotool windowmap `xdotool search --classname 'conky'`





                              share|improve this answer















                              The accepted answer does not account for "Show Desktop".



                              You can use the hack I explained in this answer to show conky after Win+D for Show Desktop is pressed:



                              #!/usr/bin/env bash
                              zenity --info --text "Remapping Conky..." &
                              pid=$!
                              sleep 0.3
                              kill $pid
                              xdotool windowmap `xdotool search --classname 'conky'`






                              share|improve this answer














                              share|improve this answer



                              share|improve this answer








                              edited May 23 '17 at 12:39









                              Community

                              1




                              1










                              answered Jun 23 '13 at 15:53









                              RedsandroRedsandro

                              1,76252034




                              1,76252034























                                  1














                                  The problem with using conky with LXDE is that PCManFM handles the desktop in a way unlike any other desktop. LXDE is essentially Openbox with a desktop layered on by the file manager (pcmanfm) if you removed pcmanfm in favor of another file manager, you would no longer have LXDE, you'd essentially have Openbox with the LXDE panel. How is this relevant? Well, LXDE's desktop is handled more like a window by the window manager, meaning just like when you have several windows open, and you click on one of them, it brings it into focus. This is exactly what's happening with Conky. When you click on the desktop, it places conky beneith the desktop, which is as I explained, handled more like a window. In my case, this is the fix:



                                  own_window_class Conky
                                  own_window yes
                                  own_window_type normal
                                  own_window_transparent yes
                                  own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below


                                  Now, if you use the panel plugin to minimize all windows, it will still minimize conky, but this fix keeps conky from disappearing under normal circumstances.






                                  share|improve this answer






























                                    1














                                    The problem with using conky with LXDE is that PCManFM handles the desktop in a way unlike any other desktop. LXDE is essentially Openbox with a desktop layered on by the file manager (pcmanfm) if you removed pcmanfm in favor of another file manager, you would no longer have LXDE, you'd essentially have Openbox with the LXDE panel. How is this relevant? Well, LXDE's desktop is handled more like a window by the window manager, meaning just like when you have several windows open, and you click on one of them, it brings it into focus. This is exactly what's happening with Conky. When you click on the desktop, it places conky beneith the desktop, which is as I explained, handled more like a window. In my case, this is the fix:



                                    own_window_class Conky
                                    own_window yes
                                    own_window_type normal
                                    own_window_transparent yes
                                    own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below


                                    Now, if you use the panel plugin to minimize all windows, it will still minimize conky, but this fix keeps conky from disappearing under normal circumstances.






                                    share|improve this answer




























                                      1












                                      1








                                      1







                                      The problem with using conky with LXDE is that PCManFM handles the desktop in a way unlike any other desktop. LXDE is essentially Openbox with a desktop layered on by the file manager (pcmanfm) if you removed pcmanfm in favor of another file manager, you would no longer have LXDE, you'd essentially have Openbox with the LXDE panel. How is this relevant? Well, LXDE's desktop is handled more like a window by the window manager, meaning just like when you have several windows open, and you click on one of them, it brings it into focus. This is exactly what's happening with Conky. When you click on the desktop, it places conky beneith the desktop, which is as I explained, handled more like a window. In my case, this is the fix:



                                      own_window_class Conky
                                      own_window yes
                                      own_window_type normal
                                      own_window_transparent yes
                                      own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below


                                      Now, if you use the panel plugin to minimize all windows, it will still minimize conky, but this fix keeps conky from disappearing under normal circumstances.






                                      share|improve this answer















                                      The problem with using conky with LXDE is that PCManFM handles the desktop in a way unlike any other desktop. LXDE is essentially Openbox with a desktop layered on by the file manager (pcmanfm) if you removed pcmanfm in favor of another file manager, you would no longer have LXDE, you'd essentially have Openbox with the LXDE panel. How is this relevant? Well, LXDE's desktop is handled more like a window by the window manager, meaning just like when you have several windows open, and you click on one of them, it brings it into focus. This is exactly what's happening with Conky. When you click on the desktop, it places conky beneith the desktop, which is as I explained, handled more like a window. In my case, this is the fix:



                                      own_window_class Conky
                                      own_window yes
                                      own_window_type normal
                                      own_window_transparent yes
                                      own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below


                                      Now, if you use the panel plugin to minimize all windows, it will still minimize conky, but this fix keeps conky from disappearing under normal circumstances.







                                      share|improve this answer














                                      share|improve this answer



                                      share|improve this answer








                                      edited Jan 15 '15 at 23:37









                                      Volker Siegel

                                      9,19043550




                                      9,19043550










                                      answered Jan 15 '15 at 19:39









                                      William Curtis Houser IIIWilliam Curtis Houser III

                                      111




                                      111























                                          1














                                          I've done tons of research on this myself and it seems there are very few workarounds and even fewer that work well:




                                          • You could set conky to a dock or panel window.

                                          • You can set it to a normal window and just avoid using the show desktop plugin/keybind.

                                          • I even tried using the -w argument for conky to get it to draw to the fake desktop/PCManFM window, but that will cause your desktop to redraw as often as conky updates = messy.

                                          • If you can live without desktop icons, you can set conky to a desktop window and then simply turn PCManFM off by typing pcmanfm --desktop-off at the terminal.

                                          • You could let feh or some other program manage the desktop


                                          I didn't like any of the above options. So, like Redsandro, the workaround I settled on was to have conky as a normal window (skip_pager,skip_taskbar,below,undecorated of course) and write a simple bash script and make a .desktop file for it so I could include in my panel to take the place of the Show Desktop plugin. It uses wmctrl so you'd have to download it. Also it unfortunately doesn't minimize all windows, it only shades them. But for my needs, it suffices:



                                          #!/bin/bash
                                          var=($(wmctrl -l | grep -o "0x[[:alnum:]]+"))
                                          for v in ${var[@]}
                                          do wmctrl -i -r $v -b toggle,shaded
                                          done
                                          exit 0





                                          share|improve this answer






























                                            1














                                            I've done tons of research on this myself and it seems there are very few workarounds and even fewer that work well:




                                            • You could set conky to a dock or panel window.

                                            • You can set it to a normal window and just avoid using the show desktop plugin/keybind.

                                            • I even tried using the -w argument for conky to get it to draw to the fake desktop/PCManFM window, but that will cause your desktop to redraw as often as conky updates = messy.

                                            • If you can live without desktop icons, you can set conky to a desktop window and then simply turn PCManFM off by typing pcmanfm --desktop-off at the terminal.

                                            • You could let feh or some other program manage the desktop


                                            I didn't like any of the above options. So, like Redsandro, the workaround I settled on was to have conky as a normal window (skip_pager,skip_taskbar,below,undecorated of course) and write a simple bash script and make a .desktop file for it so I could include in my panel to take the place of the Show Desktop plugin. It uses wmctrl so you'd have to download it. Also it unfortunately doesn't minimize all windows, it only shades them. But for my needs, it suffices:



                                            #!/bin/bash
                                            var=($(wmctrl -l | grep -o "0x[[:alnum:]]+"))
                                            for v in ${var[@]}
                                            do wmctrl -i -r $v -b toggle,shaded
                                            done
                                            exit 0





                                            share|improve this answer




























                                              1












                                              1








                                              1







                                              I've done tons of research on this myself and it seems there are very few workarounds and even fewer that work well:




                                              • You could set conky to a dock or panel window.

                                              • You can set it to a normal window and just avoid using the show desktop plugin/keybind.

                                              • I even tried using the -w argument for conky to get it to draw to the fake desktop/PCManFM window, but that will cause your desktop to redraw as often as conky updates = messy.

                                              • If you can live without desktop icons, you can set conky to a desktop window and then simply turn PCManFM off by typing pcmanfm --desktop-off at the terminal.

                                              • You could let feh or some other program manage the desktop


                                              I didn't like any of the above options. So, like Redsandro, the workaround I settled on was to have conky as a normal window (skip_pager,skip_taskbar,below,undecorated of course) and write a simple bash script and make a .desktop file for it so I could include in my panel to take the place of the Show Desktop plugin. It uses wmctrl so you'd have to download it. Also it unfortunately doesn't minimize all windows, it only shades them. But for my needs, it suffices:



                                              #!/bin/bash
                                              var=($(wmctrl -l | grep -o "0x[[:alnum:]]+"))
                                              for v in ${var[@]}
                                              do wmctrl -i -r $v -b toggle,shaded
                                              done
                                              exit 0





                                              share|improve this answer















                                              I've done tons of research on this myself and it seems there are very few workarounds and even fewer that work well:




                                              • You could set conky to a dock or panel window.

                                              • You can set it to a normal window and just avoid using the show desktop plugin/keybind.

                                              • I even tried using the -w argument for conky to get it to draw to the fake desktop/PCManFM window, but that will cause your desktop to redraw as often as conky updates = messy.

                                              • If you can live without desktop icons, you can set conky to a desktop window and then simply turn PCManFM off by typing pcmanfm --desktop-off at the terminal.

                                              • You could let feh or some other program manage the desktop


                                              I didn't like any of the above options. So, like Redsandro, the workaround I settled on was to have conky as a normal window (skip_pager,skip_taskbar,below,undecorated of course) and write a simple bash script and make a .desktop file for it so I could include in my panel to take the place of the Show Desktop plugin. It uses wmctrl so you'd have to download it. Also it unfortunately doesn't minimize all windows, it only shades them. But for my needs, it suffices:



                                              #!/bin/bash
                                              var=($(wmctrl -l | grep -o "0x[[:alnum:]]+"))
                                              for v in ${var[@]}
                                              do wmctrl -i -r $v -b toggle,shaded
                                              done
                                              exit 0






                                              share|improve this answer














                                              share|improve this answer



                                              share|improve this answer








                                              edited Jan 25 '15 at 23:50

























                                              answered Jan 25 '15 at 22:53









                                              ToniToni

                                              363




                                              363























                                                  1














                                                  EDIT:



                                                  better: as of 12.04 Precise and all later versions of Ubuntu (confirmed till 16.04 xenial), you can achieve the same as devilspie (below) with compiz -> Windows Rules. I used the class match there, its self-explanatory. Works with my linked Super+Home-script, too.



                                                  Here is my little contribution after wasting a couple of hours with this for anyone who couldn't sort it out with all the above (tested with Ubuntu 16.04):



                                                  Quick Solution:




                                                  1. Add a 'own_window_type dock' line in the conkyrc.txt in the respective directory in ~/.conky/ (to not have it disappear on desktop-click)

                                                  2. Install devilspie

                                                  3. Create a rule in devilspie with the 'match' pattern
                                                    window_name 'contains' conky (no capital c - it matters). Actually, with the provided "Get" Button there you can use any match pattern that works.

                                                  4. as actions, select 'skip_tasklist','unminimize' and if you want to have it on all workspaces, also 'stick'.

                                                  5. Thats it.


                                                  Do check 'Run devilspie at startup' obviously.



                                                  sideeffect: the Conky Manager Window will behave similiar when open depending on the match pattern, shouldn't be any problem, though.



                                                  My problem was this:



                                                  'own_window_type override' created the problem that the changing items of the conky wouldn't substitute but rather be drawn on top of older values - ugly and also illegible within seconds.



                                                  'own_window_type desktop' just didn't do the trick.



                                                  'own_window_type dock' in conjunction with devilspie solved the original problem, but wouldn't play nice with this nifty little script to add a 'show desktop but keep active window stay up' - hot-key like Windows Win +
                                                  Home. EDIT: the lastmentioned somehow stopped working.. I'm out :-|



                                                  Hope I helped someone, gimme a thumbs up, I'm new here ;-)



                                                  My sytem: UBUNTU Xenial Xerus 64 bit.






                                                  share|improve this answer






























                                                    1














                                                    EDIT:



                                                    better: as of 12.04 Precise and all later versions of Ubuntu (confirmed till 16.04 xenial), you can achieve the same as devilspie (below) with compiz -> Windows Rules. I used the class match there, its self-explanatory. Works with my linked Super+Home-script, too.



                                                    Here is my little contribution after wasting a couple of hours with this for anyone who couldn't sort it out with all the above (tested with Ubuntu 16.04):



                                                    Quick Solution:




                                                    1. Add a 'own_window_type dock' line in the conkyrc.txt in the respective directory in ~/.conky/ (to not have it disappear on desktop-click)

                                                    2. Install devilspie

                                                    3. Create a rule in devilspie with the 'match' pattern
                                                      window_name 'contains' conky (no capital c - it matters). Actually, with the provided "Get" Button there you can use any match pattern that works.

                                                    4. as actions, select 'skip_tasklist','unminimize' and if you want to have it on all workspaces, also 'stick'.

                                                    5. Thats it.


                                                    Do check 'Run devilspie at startup' obviously.



                                                    sideeffect: the Conky Manager Window will behave similiar when open depending on the match pattern, shouldn't be any problem, though.



                                                    My problem was this:



                                                    'own_window_type override' created the problem that the changing items of the conky wouldn't substitute but rather be drawn on top of older values - ugly and also illegible within seconds.



                                                    'own_window_type desktop' just didn't do the trick.



                                                    'own_window_type dock' in conjunction with devilspie solved the original problem, but wouldn't play nice with this nifty little script to add a 'show desktop but keep active window stay up' - hot-key like Windows Win +
                                                    Home. EDIT: the lastmentioned somehow stopped working.. I'm out :-|



                                                    Hope I helped someone, gimme a thumbs up, I'm new here ;-)



                                                    My sytem: UBUNTU Xenial Xerus 64 bit.






                                                    share|improve this answer




























                                                      1












                                                      1








                                                      1







                                                      EDIT:



                                                      better: as of 12.04 Precise and all later versions of Ubuntu (confirmed till 16.04 xenial), you can achieve the same as devilspie (below) with compiz -> Windows Rules. I used the class match there, its self-explanatory. Works with my linked Super+Home-script, too.



                                                      Here is my little contribution after wasting a couple of hours with this for anyone who couldn't sort it out with all the above (tested with Ubuntu 16.04):



                                                      Quick Solution:




                                                      1. Add a 'own_window_type dock' line in the conkyrc.txt in the respective directory in ~/.conky/ (to not have it disappear on desktop-click)

                                                      2. Install devilspie

                                                      3. Create a rule in devilspie with the 'match' pattern
                                                        window_name 'contains' conky (no capital c - it matters). Actually, with the provided "Get" Button there you can use any match pattern that works.

                                                      4. as actions, select 'skip_tasklist','unminimize' and if you want to have it on all workspaces, also 'stick'.

                                                      5. Thats it.


                                                      Do check 'Run devilspie at startup' obviously.



                                                      sideeffect: the Conky Manager Window will behave similiar when open depending on the match pattern, shouldn't be any problem, though.



                                                      My problem was this:



                                                      'own_window_type override' created the problem that the changing items of the conky wouldn't substitute but rather be drawn on top of older values - ugly and also illegible within seconds.



                                                      'own_window_type desktop' just didn't do the trick.



                                                      'own_window_type dock' in conjunction with devilspie solved the original problem, but wouldn't play nice with this nifty little script to add a 'show desktop but keep active window stay up' - hot-key like Windows Win +
                                                      Home. EDIT: the lastmentioned somehow stopped working.. I'm out :-|



                                                      Hope I helped someone, gimme a thumbs up, I'm new here ;-)



                                                      My sytem: UBUNTU Xenial Xerus 64 bit.






                                                      share|improve this answer















                                                      EDIT:



                                                      better: as of 12.04 Precise and all later versions of Ubuntu (confirmed till 16.04 xenial), you can achieve the same as devilspie (below) with compiz -> Windows Rules. I used the class match there, its self-explanatory. Works with my linked Super+Home-script, too.



                                                      Here is my little contribution after wasting a couple of hours with this for anyone who couldn't sort it out with all the above (tested with Ubuntu 16.04):



                                                      Quick Solution:




                                                      1. Add a 'own_window_type dock' line in the conkyrc.txt in the respective directory in ~/.conky/ (to not have it disappear on desktop-click)

                                                      2. Install devilspie

                                                      3. Create a rule in devilspie with the 'match' pattern
                                                        window_name 'contains' conky (no capital c - it matters). Actually, with the provided "Get" Button there you can use any match pattern that works.

                                                      4. as actions, select 'skip_tasklist','unminimize' and if you want to have it on all workspaces, also 'stick'.

                                                      5. Thats it.


                                                      Do check 'Run devilspie at startup' obviously.



                                                      sideeffect: the Conky Manager Window will behave similiar when open depending on the match pattern, shouldn't be any problem, though.



                                                      My problem was this:



                                                      'own_window_type override' created the problem that the changing items of the conky wouldn't substitute but rather be drawn on top of older values - ugly and also illegible within seconds.



                                                      'own_window_type desktop' just didn't do the trick.



                                                      'own_window_type dock' in conjunction with devilspie solved the original problem, but wouldn't play nice with this nifty little script to add a 'show desktop but keep active window stay up' - hot-key like Windows Win +
                                                      Home. EDIT: the lastmentioned somehow stopped working.. I'm out :-|



                                                      Hope I helped someone, gimme a thumbs up, I'm new here ;-)



                                                      My sytem: UBUNTU Xenial Xerus 64 bit.







                                                      share|improve this answer














                                                      share|improve this answer



                                                      share|improve this answer








                                                      edited Dec 12 '17 at 22:36

























                                                      answered Aug 5 '16 at 2:45









                                                      MaximoMaximo

                                                      113




                                                      113























                                                          0














                                                          You could try to add a script that executes on startup.



                                                          For example:



                                                          #!/bin/bash
                                                          conky ;


                                                          (don't forget to chmod +x it ;)






                                                          share|improve this answer
























                                                          • Thanks for your answer. Unfortunately though, I've already tried this and it doesn't change anything. I've even tried to make it sleep for a few seconds. Any other suggestions?

                                                            – aspersieman
                                                            Aug 29 '12 at 8:21













                                                          • sorry dude no other suggestion. i have solved mine this way but if i remember correctly i was using gnome.

                                                            – user981916
                                                            Aug 29 '12 at 9:18











                                                          • No worries. Thanks for your help though.

                                                            – aspersieman
                                                            Aug 29 '12 at 9:22
















                                                          0














                                                          You could try to add a script that executes on startup.



                                                          For example:



                                                          #!/bin/bash
                                                          conky ;


                                                          (don't forget to chmod +x it ;)






                                                          share|improve this answer
























                                                          • Thanks for your answer. Unfortunately though, I've already tried this and it doesn't change anything. I've even tried to make it sleep for a few seconds. Any other suggestions?

                                                            – aspersieman
                                                            Aug 29 '12 at 8:21













                                                          • sorry dude no other suggestion. i have solved mine this way but if i remember correctly i was using gnome.

                                                            – user981916
                                                            Aug 29 '12 at 9:18











                                                          • No worries. Thanks for your help though.

                                                            – aspersieman
                                                            Aug 29 '12 at 9:22














                                                          0












                                                          0








                                                          0







                                                          You could try to add a script that executes on startup.



                                                          For example:



                                                          #!/bin/bash
                                                          conky ;


                                                          (don't forget to chmod +x it ;)






                                                          share|improve this answer













                                                          You could try to add a script that executes on startup.



                                                          For example:



                                                          #!/bin/bash
                                                          conky ;


                                                          (don't forget to chmod +x it ;)







                                                          share|improve this answer












                                                          share|improve this answer



                                                          share|improve this answer










                                                          answered Aug 29 '12 at 7:57









                                                          user981916user981916

                                                          17112




                                                          17112













                                                          • Thanks for your answer. Unfortunately though, I've already tried this and it doesn't change anything. I've even tried to make it sleep for a few seconds. Any other suggestions?

                                                            – aspersieman
                                                            Aug 29 '12 at 8:21













                                                          • sorry dude no other suggestion. i have solved mine this way but if i remember correctly i was using gnome.

                                                            – user981916
                                                            Aug 29 '12 at 9:18











                                                          • No worries. Thanks for your help though.

                                                            – aspersieman
                                                            Aug 29 '12 at 9:22



















                                                          • Thanks for your answer. Unfortunately though, I've already tried this and it doesn't change anything. I've even tried to make it sleep for a few seconds. Any other suggestions?

                                                            – aspersieman
                                                            Aug 29 '12 at 8:21













                                                          • sorry dude no other suggestion. i have solved mine this way but if i remember correctly i was using gnome.

                                                            – user981916
                                                            Aug 29 '12 at 9:18











                                                          • No worries. Thanks for your help though.

                                                            – aspersieman
                                                            Aug 29 '12 at 9:22

















                                                          Thanks for your answer. Unfortunately though, I've already tried this and it doesn't change anything. I've even tried to make it sleep for a few seconds. Any other suggestions?

                                                          – aspersieman
                                                          Aug 29 '12 at 8:21







                                                          Thanks for your answer. Unfortunately though, I've already tried this and it doesn't change anything. I've even tried to make it sleep for a few seconds. Any other suggestions?

                                                          – aspersieman
                                                          Aug 29 '12 at 8:21















                                                          sorry dude no other suggestion. i have solved mine this way but if i remember correctly i was using gnome.

                                                          – user981916
                                                          Aug 29 '12 at 9:18





                                                          sorry dude no other suggestion. i have solved mine this way but if i remember correctly i was using gnome.

                                                          – user981916
                                                          Aug 29 '12 at 9:18













                                                          No worries. Thanks for your help though.

                                                          – aspersieman
                                                          Aug 29 '12 at 9:22





                                                          No worries. Thanks for your help though.

                                                          – aspersieman
                                                          Aug 29 '12 at 9:22











                                                          0














                                                          For Unity my problem was solved by using



                                                          own_window_type override





                                                          share|improve this answer
























                                                          • Correct! This does allow you to keep the widgets on the desktop when the desktop is clicked or show desktop (Ctrl+Super+D) is tried. HOWEVER after show desktop, I see I now have duplicates of my conky widgets where the old one has a fixed time stamp and the new overlay has changing time stamps. In other words, its a layered mess! Am I forgetting to add something else?

                                                            – Brad Horn
                                                            May 17 '15 at 4:14


















                                                          0














                                                          For Unity my problem was solved by using



                                                          own_window_type override





                                                          share|improve this answer
























                                                          • Correct! This does allow you to keep the widgets on the desktop when the desktop is clicked or show desktop (Ctrl+Super+D) is tried. HOWEVER after show desktop, I see I now have duplicates of my conky widgets where the old one has a fixed time stamp and the new overlay has changing time stamps. In other words, its a layered mess! Am I forgetting to add something else?

                                                            – Brad Horn
                                                            May 17 '15 at 4:14
















                                                          0












                                                          0








                                                          0







                                                          For Unity my problem was solved by using



                                                          own_window_type override





                                                          share|improve this answer













                                                          For Unity my problem was solved by using



                                                          own_window_type override






                                                          share|improve this answer












                                                          share|improve this answer



                                                          share|improve this answer










                                                          answered Aug 10 '13 at 8:56









                                                          Gerhard BurgerGerhard Burger

                                                          7,35333256




                                                          7,35333256













                                                          • Correct! This does allow you to keep the widgets on the desktop when the desktop is clicked or show desktop (Ctrl+Super+D) is tried. HOWEVER after show desktop, I see I now have duplicates of my conky widgets where the old one has a fixed time stamp and the new overlay has changing time stamps. In other words, its a layered mess! Am I forgetting to add something else?

                                                            – Brad Horn
                                                            May 17 '15 at 4:14





















                                                          • Correct! This does allow you to keep the widgets on the desktop when the desktop is clicked or show desktop (Ctrl+Super+D) is tried. HOWEVER after show desktop, I see I now have duplicates of my conky widgets where the old one has a fixed time stamp and the new overlay has changing time stamps. In other words, its a layered mess! Am I forgetting to add something else?

                                                            – Brad Horn
                                                            May 17 '15 at 4:14



















                                                          Correct! This does allow you to keep the widgets on the desktop when the desktop is clicked or show desktop (Ctrl+Super+D) is tried. HOWEVER after show desktop, I see I now have duplicates of my conky widgets where the old one has a fixed time stamp and the new overlay has changing time stamps. In other words, its a layered mess! Am I forgetting to add something else?

                                                          – Brad Horn
                                                          May 17 '15 at 4:14







                                                          Correct! This does allow you to keep the widgets on the desktop when the desktop is clicked or show desktop (Ctrl+Super+D) is tried. HOWEVER after show desktop, I see I now have duplicates of my conky widgets where the old one has a fixed time stamp and the new overlay has changing time stamps. In other words, its a layered mess! Am I forgetting to add something else?

                                                          – Brad Horn
                                                          May 17 '15 at 4:14













                                                          0














                                                          For Lubuntu with LXDE:



                                                          own_window yes
                                                          own_window_class Conky
                                                          own_window_transparent yes
                                                          own_window_type desktop
                                                          double_buffer yes


                                                          If the conky window disappears when press button minimize all windows (show desktop) go in Settings->Default applications for LXsession->Running applications->Desktop and select "feh" instead "filemanager"



                                                          Work for me in Lubuntu 13.10.






                                                          share|improve this answer






























                                                            0














                                                            For Lubuntu with LXDE:



                                                            own_window yes
                                                            own_window_class Conky
                                                            own_window_transparent yes
                                                            own_window_type desktop
                                                            double_buffer yes


                                                            If the conky window disappears when press button minimize all windows (show desktop) go in Settings->Default applications for LXsession->Running applications->Desktop and select "feh" instead "filemanager"



                                                            Work for me in Lubuntu 13.10.






                                                            share|improve this answer




























                                                              0












                                                              0








                                                              0







                                                              For Lubuntu with LXDE:



                                                              own_window yes
                                                              own_window_class Conky
                                                              own_window_transparent yes
                                                              own_window_type desktop
                                                              double_buffer yes


                                                              If the conky window disappears when press button minimize all windows (show desktop) go in Settings->Default applications for LXsession->Running applications->Desktop and select "feh" instead "filemanager"



                                                              Work for me in Lubuntu 13.10.






                                                              share|improve this answer















                                                              For Lubuntu with LXDE:



                                                              own_window yes
                                                              own_window_class Conky
                                                              own_window_transparent yes
                                                              own_window_type desktop
                                                              double_buffer yes


                                                              If the conky window disappears when press button minimize all windows (show desktop) go in Settings->Default applications for LXsession->Running applications->Desktop and select "feh" instead "filemanager"



                                                              Work for me in Lubuntu 13.10.







                                                              share|improve this answer














                                                              share|improve this answer



                                                              share|improve this answer








                                                              edited Nov 29 '13 at 14:08









                                                              Eric Carvalho

                                                              42.4k17117148




                                                              42.4k17117148










                                                              answered Nov 29 '13 at 13:43









                                                              user220494user220494

                                                              1




                                                              1























                                                                  0














                                                                  I've done tons of research on this myself and it seems there are very few workarounds and even fewer that work well.




                                                                  • You could set conky to a dock or panel window.

                                                                  • You can set it to a normal window and just avoid using the show desktop plugin/keybind.
                                                                    I even used the -w argument for conky to get it to draw to the fake desktop/PCManFM window, but that wil cause your desktop to redraw as often as conky updates = messy. If you don't mind have no icons, you can simply turn PCManFM off by typing pcmanfm --desktop-off at the terminal.


                                                                  Like Redsandro, the way got around this was to write a simple bash script and make a .desktop file for it so I could include in my panel to take the place of the Show Desktop plugin. It uses wmctrl so you'd have to download it. Also it unfortunately doesn't minimize all windows, it only shades them. But for my needs, it suffices:



                                                                  #!/bin/bash
                                                                  var="($(wmctrl -l | grep -o "0x[[:alnum:]]+"))"
                                                                  for v in ${var[@]}
                                                                  do wmctrl -i -r $v -b toggle,shaded
                                                                  done





                                                                  share|improve this answer






























                                                                    0














                                                                    I've done tons of research on this myself and it seems there are very few workarounds and even fewer that work well.




                                                                    • You could set conky to a dock or panel window.

                                                                    • You can set it to a normal window and just avoid using the show desktop plugin/keybind.
                                                                      I even used the -w argument for conky to get it to draw to the fake desktop/PCManFM window, but that wil cause your desktop to redraw as often as conky updates = messy. If you don't mind have no icons, you can simply turn PCManFM off by typing pcmanfm --desktop-off at the terminal.


                                                                    Like Redsandro, the way got around this was to write a simple bash script and make a .desktop file for it so I could include in my panel to take the place of the Show Desktop plugin. It uses wmctrl so you'd have to download it. Also it unfortunately doesn't minimize all windows, it only shades them. But for my needs, it suffices:



                                                                    #!/bin/bash
                                                                    var="($(wmctrl -l | grep -o "0x[[:alnum:]]+"))"
                                                                    for v in ${var[@]}
                                                                    do wmctrl -i -r $v -b toggle,shaded
                                                                    done





                                                                    share|improve this answer




























                                                                      0












                                                                      0








                                                                      0







                                                                      I've done tons of research on this myself and it seems there are very few workarounds and even fewer that work well.




                                                                      • You could set conky to a dock or panel window.

                                                                      • You can set it to a normal window and just avoid using the show desktop plugin/keybind.
                                                                        I even used the -w argument for conky to get it to draw to the fake desktop/PCManFM window, but that wil cause your desktop to redraw as often as conky updates = messy. If you don't mind have no icons, you can simply turn PCManFM off by typing pcmanfm --desktop-off at the terminal.


                                                                      Like Redsandro, the way got around this was to write a simple bash script and make a .desktop file for it so I could include in my panel to take the place of the Show Desktop plugin. It uses wmctrl so you'd have to download it. Also it unfortunately doesn't minimize all windows, it only shades them. But for my needs, it suffices:



                                                                      #!/bin/bash
                                                                      var="($(wmctrl -l | grep -o "0x[[:alnum:]]+"))"
                                                                      for v in ${var[@]}
                                                                      do wmctrl -i -r $v -b toggle,shaded
                                                                      done





                                                                      share|improve this answer















                                                                      I've done tons of research on this myself and it seems there are very few workarounds and even fewer that work well.




                                                                      • You could set conky to a dock or panel window.

                                                                      • You can set it to a normal window and just avoid using the show desktop plugin/keybind.
                                                                        I even used the -w argument for conky to get it to draw to the fake desktop/PCManFM window, but that wil cause your desktop to redraw as often as conky updates = messy. If you don't mind have no icons, you can simply turn PCManFM off by typing pcmanfm --desktop-off at the terminal.


                                                                      Like Redsandro, the way got around this was to write a simple bash script and make a .desktop file for it so I could include in my panel to take the place of the Show Desktop plugin. It uses wmctrl so you'd have to download it. Also it unfortunately doesn't minimize all windows, it only shades them. But for my needs, it suffices:



                                                                      #!/bin/bash
                                                                      var="($(wmctrl -l | grep -o "0x[[:alnum:]]+"))"
                                                                      for v in ${var[@]}
                                                                      do wmctrl -i -r $v -b toggle,shaded
                                                                      done






                                                                      share|improve this answer














                                                                      share|improve this answer



                                                                      share|improve this answer








                                                                      edited Apr 13 '17 at 12:24









                                                                      Community

                                                                      1




                                                                      1










                                                                      answered Jan 25 '15 at 22:42









                                                                      ToniToni

                                                                      363




                                                                      363























                                                                          0














                                                                          This works in Lubuntu 14.10



                                                                          own_window yes
                                                                          own_window_hints undecorated,below,skip_taskbar
                                                                          background no
                                                                          own_window_transparent yes





                                                                          share|improve this answer




























                                                                            0














                                                                            This works in Lubuntu 14.10



                                                                            own_window yes
                                                                            own_window_hints undecorated,below,skip_taskbar
                                                                            background no
                                                                            own_window_transparent yes





                                                                            share|improve this answer


























                                                                              0












                                                                              0








                                                                              0







                                                                              This works in Lubuntu 14.10



                                                                              own_window yes
                                                                              own_window_hints undecorated,below,skip_taskbar
                                                                              background no
                                                                              own_window_transparent yes





                                                                              share|improve this answer













                                                                              This works in Lubuntu 14.10



                                                                              own_window yes
                                                                              own_window_hints undecorated,below,skip_taskbar
                                                                              background no
                                                                              own_window_transparent yes






                                                                              share|improve this answer












                                                                              share|improve this answer



                                                                              share|improve this answer










                                                                              answered Jan 26 '15 at 0:02









                                                                              Organic MarbleOrganic Marble

                                                                              11.6k63459




                                                                              11.6k63459























                                                                                  0














                                                                                  I know this thread is old, but for anyone else still struggling with this issue I just wanted to add that grims' answer works for me, with a small caveat.



                                                                                  In /etc/conky/conky.conf



                                                                                  own_window_type normal


                                                                                  and in .conkyrc or the theme file:



                                                                                  own_window_type desktop
                                                                                  own_window_hints undecorate,sticky,skip_taskbar,skip_pager


                                                                                  After some trial and error, this was the only combination that I could get to work (I am using compton for transparency). Note, there is no "below" setting in own_window_hints, as although that still works it causes conky to disappear and reappear (flicker) after a few seconds when showing the desktop. At least that was my experience.



                                                                                  HTH






                                                                                  share|improve this answer




























                                                                                    0














                                                                                    I know this thread is old, but for anyone else still struggling with this issue I just wanted to add that grims' answer works for me, with a small caveat.



                                                                                    In /etc/conky/conky.conf



                                                                                    own_window_type normal


                                                                                    and in .conkyrc or the theme file:



                                                                                    own_window_type desktop
                                                                                    own_window_hints undecorate,sticky,skip_taskbar,skip_pager


                                                                                    After some trial and error, this was the only combination that I could get to work (I am using compton for transparency). Note, there is no "below" setting in own_window_hints, as although that still works it causes conky to disappear and reappear (flicker) after a few seconds when showing the desktop. At least that was my experience.



                                                                                    HTH






                                                                                    share|improve this answer


























                                                                                      0












                                                                                      0








                                                                                      0







                                                                                      I know this thread is old, but for anyone else still struggling with this issue I just wanted to add that grims' answer works for me, with a small caveat.



                                                                                      In /etc/conky/conky.conf



                                                                                      own_window_type normal


                                                                                      and in .conkyrc or the theme file:



                                                                                      own_window_type desktop
                                                                                      own_window_hints undecorate,sticky,skip_taskbar,skip_pager


                                                                                      After some trial and error, this was the only combination that I could get to work (I am using compton for transparency). Note, there is no "below" setting in own_window_hints, as although that still works it causes conky to disappear and reappear (flicker) after a few seconds when showing the desktop. At least that was my experience.



                                                                                      HTH






                                                                                      share|improve this answer













                                                                                      I know this thread is old, but for anyone else still struggling with this issue I just wanted to add that grims' answer works for me, with a small caveat.



                                                                                      In /etc/conky/conky.conf



                                                                                      own_window_type normal


                                                                                      and in .conkyrc or the theme file:



                                                                                      own_window_type desktop
                                                                                      own_window_hints undecorate,sticky,skip_taskbar,skip_pager


                                                                                      After some trial and error, this was the only combination that I could get to work (I am using compton for transparency). Note, there is no "below" setting in own_window_hints, as although that still works it causes conky to disappear and reappear (flicker) after a few seconds when showing the desktop. At least that was my experience.



                                                                                      HTH







                                                                                      share|improve this answer












                                                                                      share|improve this answer



                                                                                      share|improve this answer










                                                                                      answered Jul 24 '15 at 13:26









                                                                                      Mark HendersonMark Henderson

                                                                                      113




                                                                                      113























                                                                                          0














                                                                                          Linux with Mate/Gnome2 GUI Ubuntish ;)



                                                                                          use_xft yes
                                                                                          ..............
                                                                                          .........
                                                                                          .....
                                                                                          ..........
                                                                                          own_window_type dock


                                                                                          Will dock on top screen, disaffecting any desktop actions.



                                                                                          Put to position setting:



                                                                                          gap_x ...
                                                                                          gap_y ...


                                                                                          Depending from your resolution.






                                                                                          share|improve this answer






























                                                                                            0














                                                                                            Linux with Mate/Gnome2 GUI Ubuntish ;)



                                                                                            use_xft yes
                                                                                            ..............
                                                                                            .........
                                                                                            .....
                                                                                            ..........
                                                                                            own_window_type dock


                                                                                            Will dock on top screen, disaffecting any desktop actions.



                                                                                            Put to position setting:



                                                                                            gap_x ...
                                                                                            gap_y ...


                                                                                            Depending from your resolution.






                                                                                            share|improve this answer




























                                                                                              0












                                                                                              0








                                                                                              0







                                                                                              Linux with Mate/Gnome2 GUI Ubuntish ;)



                                                                                              use_xft yes
                                                                                              ..............
                                                                                              .........
                                                                                              .....
                                                                                              ..........
                                                                                              own_window_type dock


                                                                                              Will dock on top screen, disaffecting any desktop actions.



                                                                                              Put to position setting:



                                                                                              gap_x ...
                                                                                              gap_y ...


                                                                                              Depending from your resolution.






                                                                                              share|improve this answer















                                                                                              Linux with Mate/Gnome2 GUI Ubuntish ;)



                                                                                              use_xft yes
                                                                                              ..............
                                                                                              .........
                                                                                              .....
                                                                                              ..........
                                                                                              own_window_type dock


                                                                                              Will dock on top screen, disaffecting any desktop actions.



                                                                                              Put to position setting:



                                                                                              gap_x ...
                                                                                              gap_y ...


                                                                                              Depending from your resolution.







                                                                                              share|improve this answer














                                                                                              share|improve this answer



                                                                                              share|improve this answer








                                                                                              edited Oct 8 '15 at 21:58









                                                                                              muru

                                                                                              1




                                                                                              1










                                                                                              answered Aug 25 '14 at 20:20









                                                                                              Bartosz Szulu SzulcBartosz Szulu Szulc

                                                                                              92




                                                                                              92























                                                                                                  0














                                                                                                  Set background=false in .conkyrc and be sure you're not autostarting Conky with the -d flag. I tried every other suggestion I could find, and sometimes they would work and sometimes not, and even if they worked it was only for a little while.



                                                                                                  Note: if you accidentally minimize all windows, use Super+D to get Conky back.






                                                                                                  share|improve this answer






























                                                                                                    0














                                                                                                    Set background=false in .conkyrc and be sure you're not autostarting Conky with the -d flag. I tried every other suggestion I could find, and sometimes they would work and sometimes not, and even if they worked it was only for a little while.



                                                                                                    Note: if you accidentally minimize all windows, use Super+D to get Conky back.






                                                                                                    share|improve this answer




























                                                                                                      0












                                                                                                      0








                                                                                                      0







                                                                                                      Set background=false in .conkyrc and be sure you're not autostarting Conky with the -d flag. I tried every other suggestion I could find, and sometimes they would work and sometimes not, and even if they worked it was only for a little while.



                                                                                                      Note: if you accidentally minimize all windows, use Super+D to get Conky back.






                                                                                                      share|improve this answer















                                                                                                      Set background=false in .conkyrc and be sure you're not autostarting Conky with the -d flag. I tried every other suggestion I could find, and sometimes they would work and sometimes not, and even if they worked it was only for a little while.



                                                                                                      Note: if you accidentally minimize all windows, use Super+D to get Conky back.







                                                                                                      share|improve this answer














                                                                                                      share|improve this answer



                                                                                                      share|improve this answer








                                                                                                      edited Oct 9 '16 at 5:18









                                                                                                      Owen Hines

                                                                                                      2,44111034




                                                                                                      2,44111034










                                                                                                      answered Oct 9 '16 at 3:08









                                                                                                      ClintClint

                                                                                                      64




                                                                                                      64























                                                                                                          0














                                                                                                          I experienced the same problem in LXDE when clicking on LXPanel's "Iconify All Windows" hides the Conky's window as well. I fixed it with wmctrl.



                                                                                                          Install wmctrl



                                                                                                          sudo apt install wmctrl


                                                                                                          Find the name of the Conky's window



                                                                                                          wmctrl -l
                                                                                                          0x03200001 -1 Host conky (Host)


                                                                                                          To bring it back run:



                                                                                                          wmctrl -a 'conky (Host)'


                                                                                                          I wrote in Python a simple script that every 50 milliseconds unhides Conky and put it at LXDE startup:



                                                                                                          bring_conky_back.py



                                                                                                          #!/usr/bin/python

                                                                                                          import time, os

                                                                                                          while True:
                                                                                                          os.system("wmctrl -a 'conky (Host)'")
                                                                                                          time.sleep(0.05)


                                                                                                          It works awesome.






                                                                                                          share|improve this answer










                                                                                                          New contributor




                                                                                                          alex ivanov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                                                          Check out our Code of Conduct.

























                                                                                                            0














                                                                                                            I experienced the same problem in LXDE when clicking on LXPanel's "Iconify All Windows" hides the Conky's window as well. I fixed it with wmctrl.



                                                                                                            Install wmctrl



                                                                                                            sudo apt install wmctrl


                                                                                                            Find the name of the Conky's window



                                                                                                            wmctrl -l
                                                                                                            0x03200001 -1 Host conky (Host)


                                                                                                            To bring it back run:



                                                                                                            wmctrl -a 'conky (Host)'


                                                                                                            I wrote in Python a simple script that every 50 milliseconds unhides Conky and put it at LXDE startup:



                                                                                                            bring_conky_back.py



                                                                                                            #!/usr/bin/python

                                                                                                            import time, os

                                                                                                            while True:
                                                                                                            os.system("wmctrl -a 'conky (Host)'")
                                                                                                            time.sleep(0.05)


                                                                                                            It works awesome.






                                                                                                            share|improve this answer










                                                                                                            New contributor




                                                                                                            alex ivanov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                                                            Check out our Code of Conduct.























                                                                                                              0












                                                                                                              0








                                                                                                              0







                                                                                                              I experienced the same problem in LXDE when clicking on LXPanel's "Iconify All Windows" hides the Conky's window as well. I fixed it with wmctrl.



                                                                                                              Install wmctrl



                                                                                                              sudo apt install wmctrl


                                                                                                              Find the name of the Conky's window



                                                                                                              wmctrl -l
                                                                                                              0x03200001 -1 Host conky (Host)


                                                                                                              To bring it back run:



                                                                                                              wmctrl -a 'conky (Host)'


                                                                                                              I wrote in Python a simple script that every 50 milliseconds unhides Conky and put it at LXDE startup:



                                                                                                              bring_conky_back.py



                                                                                                              #!/usr/bin/python

                                                                                                              import time, os

                                                                                                              while True:
                                                                                                              os.system("wmctrl -a 'conky (Host)'")
                                                                                                              time.sleep(0.05)


                                                                                                              It works awesome.






                                                                                                              share|improve this answer










                                                                                                              New contributor




                                                                                                              alex ivanov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                                                              Check out our Code of Conduct.










                                                                                                              I experienced the same problem in LXDE when clicking on LXPanel's "Iconify All Windows" hides the Conky's window as well. I fixed it with wmctrl.



                                                                                                              Install wmctrl



                                                                                                              sudo apt install wmctrl


                                                                                                              Find the name of the Conky's window



                                                                                                              wmctrl -l
                                                                                                              0x03200001 -1 Host conky (Host)


                                                                                                              To bring it back run:



                                                                                                              wmctrl -a 'conky (Host)'


                                                                                                              I wrote in Python a simple script that every 50 milliseconds unhides Conky and put it at LXDE startup:



                                                                                                              bring_conky_back.py



                                                                                                              #!/usr/bin/python

                                                                                                              import time, os

                                                                                                              while True:
                                                                                                              os.system("wmctrl -a 'conky (Host)'")
                                                                                                              time.sleep(0.05)


                                                                                                              It works awesome.







                                                                                                              share|improve this answer










                                                                                                              New contributor




                                                                                                              alex ivanov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                                                              Check out our Code of Conduct.









                                                                                                              share|improve this answer



                                                                                                              share|improve this answer








                                                                                                              edited 16 mins ago





















                                                                                                              New contributor




                                                                                                              alex ivanov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                                                              Check out our Code of Conduct.









                                                                                                              answered 24 mins ago









                                                                                                              alex ivanovalex ivanov

                                                                                                              11




                                                                                                              11




                                                                                                              New contributor




                                                                                                              alex ivanov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                                                              Check out our Code of Conduct.





                                                                                                              New contributor





                                                                                                              alex ivanov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                                                              Check out our Code of Conduct.






                                                                                                              alex ivanov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                                                              Check out our Code of Conduct.























                                                                                                                  -1














                                                                                                                  My solution to this problem is add these two lines in your bash script



                                                                                                                  conky -c /home/ajay/.conkycolors/conkyrc >/dev/null 2>&1 &
                                                                                                                  conky -c /home/ajay/.conkycolors/conkyrc >/dev/null 2>&1 &






                                                                                                                  share|improve this answer
























                                                                                                                  • The question includes 3 different problems: 1) conky disappearing when desktop is clicked in "desktop" mode, 2) same when all windows are minimized (using Show Desktop command) in "normal" and "conky" modes, 3) conky not displayed in "override" mode... Which problem does this solve? What does it do really?

                                                                                                                    – Sadi
                                                                                                                    Mar 7 '13 at 6:25
















                                                                                                                  -1














                                                                                                                  My solution to this problem is add these two lines in your bash script



                                                                                                                  conky -c /home/ajay/.conkycolors/conkyrc >/dev/null 2>&1 &
                                                                                                                  conky -c /home/ajay/.conkycolors/conkyrc >/dev/null 2>&1 &






                                                                                                                  share|improve this answer
























                                                                                                                  • The question includes 3 different problems: 1) conky disappearing when desktop is clicked in "desktop" mode, 2) same when all windows are minimized (using Show Desktop command) in "normal" and "conky" modes, 3) conky not displayed in "override" mode... Which problem does this solve? What does it do really?

                                                                                                                    – Sadi
                                                                                                                    Mar 7 '13 at 6:25














                                                                                                                  -1












                                                                                                                  -1








                                                                                                                  -1







                                                                                                                  My solution to this problem is add these two lines in your bash script



                                                                                                                  conky -c /home/ajay/.conkycolors/conkyrc >/dev/null 2>&1 &
                                                                                                                  conky -c /home/ajay/.conkycolors/conkyrc >/dev/null 2>&1 &






                                                                                                                  share|improve this answer













                                                                                                                  My solution to this problem is add these two lines in your bash script



                                                                                                                  conky -c /home/ajay/.conkycolors/conkyrc >/dev/null 2>&1 &
                                                                                                                  conky -c /home/ajay/.conkycolors/conkyrc >/dev/null 2>&1 &







                                                                                                                  share|improve this answer












                                                                                                                  share|improve this answer



                                                                                                                  share|improve this answer










                                                                                                                  answered Mar 7 '13 at 6:14









                                                                                                                  renormalizedQuantarenormalizedQuanta

                                                                                                                  1111




                                                                                                                  1111













                                                                                                                  • The question includes 3 different problems: 1) conky disappearing when desktop is clicked in "desktop" mode, 2) same when all windows are minimized (using Show Desktop command) in "normal" and "conky" modes, 3) conky not displayed in "override" mode... Which problem does this solve? What does it do really?

                                                                                                                    – Sadi
                                                                                                                    Mar 7 '13 at 6:25



















                                                                                                                  • The question includes 3 different problems: 1) conky disappearing when desktop is clicked in "desktop" mode, 2) same when all windows are minimized (using Show Desktop command) in "normal" and "conky" modes, 3) conky not displayed in "override" mode... Which problem does this solve? What does it do really?

                                                                                                                    – Sadi
                                                                                                                    Mar 7 '13 at 6:25

















                                                                                                                  The question includes 3 different problems: 1) conky disappearing when desktop is clicked in "desktop" mode, 2) same when all windows are minimized (using Show Desktop command) in "normal" and "conky" modes, 3) conky not displayed in "override" mode... Which problem does this solve? What does it do really?

                                                                                                                  – Sadi
                                                                                                                  Mar 7 '13 at 6:25





                                                                                                                  The question includes 3 different problems: 1) conky disappearing when desktop is clicked in "desktop" mode, 2) same when all windows are minimized (using Show Desktop command) in "normal" and "conky" modes, 3) conky not displayed in "override" mode... Which problem does this solve? What does it do really?

                                                                                                                  – Sadi
                                                                                                                  Mar 7 '13 at 6:25











                                                                                                                  -1














                                                                                                                  In Unity don't change anything, just paste in terminal:



                                                                                                                  gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ hide-skip-taskbar-windows false





                                                                                                                  share|improve this answer






























                                                                                                                    -1














                                                                                                                    In Unity don't change anything, just paste in terminal:



                                                                                                                    gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ hide-skip-taskbar-windows false





                                                                                                                    share|improve this answer




























                                                                                                                      -1












                                                                                                                      -1








                                                                                                                      -1







                                                                                                                      In Unity don't change anything, just paste in terminal:



                                                                                                                      gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ hide-skip-taskbar-windows false





                                                                                                                      share|improve this answer















                                                                                                                      In Unity don't change anything, just paste in terminal:



                                                                                                                      gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ hide-skip-taskbar-windows false






                                                                                                                      share|improve this answer














                                                                                                                      share|improve this answer



                                                                                                                      share|improve this answer








                                                                                                                      edited Sep 29 '15 at 7:57









                                                                                                                      hg8

                                                                                                                      9,949125591




                                                                                                                      9,949125591










                                                                                                                      answered Sep 29 '15 at 4:47









                                                                                                                      Luis AguilarLuis Aguilar

                                                                                                                      1




                                                                                                                      1






























                                                                                                                          draft saved

                                                                                                                          draft discarded




















































                                                                                                                          Thanks for contributing an answer to Ask Ubuntu!


                                                                                                                          • Please be sure to answer the question. Provide details and share your research!

                                                                                                                          But avoid



                                                                                                                          • Asking for help, clarification, or responding to other answers.

                                                                                                                          • Making statements based on opinion; back them up with references or personal experience.


                                                                                                                          To learn more, see our tips on writing great answers.




                                                                                                                          draft saved


                                                                                                                          draft discarded














                                                                                                                          StackExchange.ready(
                                                                                                                          function () {
                                                                                                                          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f181663%2fhow-to-get-conky-to-stay-on-the-desktop%23new-answer', 'question_page');
                                                                                                                          }
                                                                                                                          );

                                                                                                                          Post as a guest















                                                                                                                          Required, but never shown





















































                                                                                                                          Required, but never shown














                                                                                                                          Required, but never shown












                                                                                                                          Required, but never shown







                                                                                                                          Required, but never shown

































                                                                                                                          Required, but never shown














                                                                                                                          Required, but never shown












                                                                                                                          Required, but never shown







                                                                                                                          Required, but never shown







                                                                                                                          Popular posts from this blog

                                                                                                                          Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

                                                                                                                          Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

                                                                                                                          Simple Scan not detecting my scanner (Brother DCP-7055W)Brother MFC-L2700DW printer can print, can't...