Horizontal Line Across the Screen on Xfce

Horizontal Line Across the Screen on Xfce

Last Friday, I finally installed the newest release of the Xfce desktop environment for Linux, Xfce 4.12. However, after logging in, I saw a horizontal line running on the lower part of my screen from one side to another.

At first I thought (and dreaded) that it’s a driver issue, or that my display is broken, but the line only appeared when I use Xfce; it doesn’t appear when I switch to other desktop vironments like Unity or use Windows.

I Googled and found no issues that resembled mine, but I got the idea to take a screenshot of my screen and see if the line appeared on the result. It was.

A closer look made me notice that the line appeared on top of Cairo Dock, and hovering over the file browser applet made similar lines appeared around it.

I finally found the fix: open Settings, then Window Manager Tweaks and untick the ‘Show shadows under dock windows’ checkbox on the Compositor tab. It would remove shadows from under docks and deskbars.

As a comparison, here’s my desktop with and without shadows under dock windows:

And that’s it! Turned out that the solution was as simple as removing the tick from a checkbox.

Did it work for you? Let me know in the comments!

62 thoughts on “Horizontal Line Across the Screen on Xfce

  1. I’ve seen the first issue you mentioned. It doesn’t only affect Docks like Cairo but also Xfce’s own panel when you set it to transparent.

    I haven’t seen the other issue but suspect it is a distro problem. You don’t mention which distro you are using but I suggest you raise a bug report there.

    Like

  2. You sir are a gentleman and a scholar. Was tearing my hair out looking for that exact setting for that exact problem.

    Like

  3. thanks for that helpful tip, it was bugging me all day.. even though I’ve worked with Xubuntu before I got tired of digging through the settings. My orginal instinct was to look through the cairo-dock settings

    Like

  4. Thanks nochkawtf. I was going crazy trying to find what caused this. Googled like mad, but obviously with the wrong keywords. I posted my problem over at Ubuntuforums, where I was pointed toward this article.

    Like

  5. Thank You! The line appeared the same day I installed plank but I didn’t put 2 and 2 together. When taking any application full screen the line went away but it was still driving me crazy. One simple checkbox, I dont think i would have stumbled upon the solution myself.

    Like

  6. Thanks so much, this helped me out alot. I had just installed mx-16 on GT 5636E desktop pc, dual boot mint 18.1 , I am really liking this OS and I am thankful for your fine instructions!

    Like

  7. Thank you so much! I booted into Xubuntu an hour or so ago, and there was the exact same bar. Funny thing is, it didn’t appear when I used it earlier today.

    Like

  8. Hi nochkawtf, in first place, thanks for the help with that line, and last, what Icon Theme are you using in this pictures, please? Thanks in advance

    Like

    1. Thanks, it’s great to know this helps you 🙂 Unfortunately, I can’t remember what icon theme I was using in the screenshots. I’ll update this comment as soon as I figure it out.

      UPDATE: Looks like it’s Evolvere, especially the “sunken” variant.

      Like

  9. Thanks! That worked like a charm, still trying to figure out how to prevent Docky from crashing when adding the “Session Manager” docklet…

    Like

  10. Thanks!!! I had the same problem and it was driving me up the wall! Just got XFCE, too, so I didn’t have the slighest clue on where to start fixing that problem.

    Like

  11. The horizontal just showed up for me and the setting had somehow become set. Thanks for the fix! (Xubuntu 16.04 here.)

    Like

  12. another one who owes you a beer! I’m on FreeBSD 12 with XFCE (making a transition from Nomad BSD because that was too fidgety to install in the current version . They had this one licked and it was driving me bonkers.

    Like

  13. I had this problem on PeppermintOS 11 installed on a Toshiba CB30-102 using Plank dock. Nice easy fix when I found this article!

    Like

Leave a reply to Johnson2772 Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.