Coder Social home page Coder Social logo

Comments (6)

mreishus avatar mreishus commented on May 20, 2024 1

For me, it's like a race condition. When I log in, it's about 50/50 if the notifications appear in the center or in the top right. I'm not sure of the cause, but my current workaround is to log out and in again until they appear in the top right.

from dotfiles.

DuongTyler avatar DuongTyler commented on May 20, 2024 1

Alright. I think I fixed it :)
Add this line to the end of your i3 config file:
exec "sleep 5;wmctrl -c Plasma"
and remove the for_window[...] kill line
This should kill the desktop 5 seconds after you log on. You can adjust this to however short you can get it. You can set a wallpaper so it looks like a proper splash screen.

from dotfiles.

thursenfuerst avatar thursenfuerst commented on May 20, 2024

Were you able to resolve this? I'm also running this on arch.
I have a little workaround, although this may not be the best way, maybe avivace has an idea for a better solution.
for_window [class="plasmashell"] floating enable, border none, move right 320px, move down 180px, no_focus

from dotfiles.

subdavis avatar subdavis commented on May 20, 2024

I've found the default notification server to be pretty wonky, so I replaced it with twmnd to much more reliable effect.

Obviously this doesn't help you debug your issue, but there are alternatives if you aren't especially attached to the KDE default.

from dotfiles.

DuongTyler avatar DuongTyler commented on May 20, 2024

I think I've figured it out. It has to do with the for_window [title="Plasma -- Desktop"] kill line.
What it seems like is that when the notification server or whatever fails to load before the desktop window is killed, the notifications default to the center of the screen.

If I don't kill the desktop and I make it float, the notifications follow the top right corner of the desktop window.

Now we have to figure out how to delay the killing of the desktop, which should be easy.
Is there a way to kill a window by title? If so then we could just write a script with a delay and append it to the i3 config.

I'll update this thread with more information once I find a fix

from dotfiles.

matejdro avatar matejdro commented on May 20, 2024

Just a note because I spent way too long on figuring this out:

If you have multiple monitors, you have to kill plasma multiple times, for every monitor. For example, my command for two monitors: exec "sleep 5;wmctrl -c Plasma;wmctrl -c Plasma"

from dotfiles.

Related Issues (20)

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.