Code Monkey home page Code Monkey logo

Comments (5)

marbu avatar marbu commented on August 16, 2024

First of all I have to admit that I no longer use xmonad with KDE 5. I was playing with this setup for some time when new plasma shell arrived in Fedora, updating my xmonad.hs file to work with new KDE, but new issues related to desktop pager and multi monitor setup (see README file for details) made me change my mind and now I'm using plain xmonad without KDE (my config file is still designed to work in both enviroments though).

That said, here are my comments of the issues you mentioned:

Krunner not getting focus: I have noticed this issue with KDE 4 already and solved it by reconfiguring it to use floating mode (on the KDE side). Unfortunatelly I no longer remember how well it worked with KDE 5 though.

Popup floating issues: in my xmonad.hs file I enforce floating mode for plasma popup windows, which solved most issues with those windows for me.

KDE panel not showing up as the windows go over it and cover it: yeah, I noticed this few times, but didn't try to solve it.

from xmonad.

sugry avatar sugry commented on August 16, 2024

These problems are resolved by adding the following lines to the ManageHook:

...
, [className  =? "krunner" --> doIgnore >> doFloat]
, [className  =? "plasmashell" --> doIgnore >> doFloat]
...

I took your configuration as a basis, supplemented it with my ideas, and this works great in Plasma 5.

from xmonad.

sugry avatar sugry commented on August 16, 2024

Another trifle. Krunner sometimes starts not from the first, but from the second time after loading the system. To fix this, you need to add a daemon to the startup, for example:

...
myStartupHook = do
    spawnOnce "krunner -d"
...

from xmonad.

sugry avatar sugry commented on August 16, 2024

p.s.
Now I have found a more correct design, when the plasmashell windows look natural, without frames. In addition, with this option, the windows do not fall on the panel when the "xmonad --restart" is performed.

...
, [className  =? "plasmashell" --> doIgnore <+> hasBorder False >> doFloat]
...

or

...
, [className  =? "plasmashell" --> doIgnore <+> doFloat >> hasBorder False]
...

depending on what works best.

from xmonad.

dalvescb avatar dalvescb commented on August 16, 2024

has anyone had any luck with this? the problem seems to be related to xinerama with me (when i'm switching between monitors plasmashell and krunner seem to have trouble keeping focus). Is there maybe a way to fix to a particular monitor?

from xmonad.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.