Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing i3xrocks-rofication only removes it on flashback, not sway #1091

Open
2 tasks done
fjellvannet opened this issue Dec 18, 2024 · 3 comments
Open
2 tasks done
Labels
configuration Issue with custom configuration of Regolith

Comments

@fjellvannet
Copy link

fjellvannet commented Dec 18, 2024

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:
Install regolith on ubuntu following the official guide, and add regolith-session-sway

Remove regolith-rofication and add dunst or sway-notification-center

After another login on sway, the rofication bell turns into a red bell and indicates an error. On the flashback-session, the rofication-icon has been removed with the i3xrocks-rofication package, but the broken rofication bell stays in the sway-session

Expected behavior
A clear and concise description of what you expected to happen.

I would expect the bell to disappear also in sway when i3xrocks-rofication is removed.

Screenshots
If applicable, add screenshots to help explain your problem.

Configuration file(s)
Please attach or mention any customization you've done to configuration files which might have an impact on the bug you are describing. It'll help us determine the root cause of your issue.

It is a clean install, no further modifications were made. I already noticed this half a tear ago when I installed regolith at work, but there I ended up having to use the flashback session for other reasons. Now that I made another clear install at home using the sway session, the same issue returned.

Installation Details

  • Regolith Install Stage: stable
  • Regolith Version: 3.2
  • Host OS: [e.g. Ubuntu, Debian, etc] Linux Mint 22, which is based on Ubuntu 24.04, same issue on plain Ubuntu 24.04

Additional context
Add any other context about the problem here.

@fjellvannet fjellvannet added bug Something isn't working needs-triage Any bug that requires classification by a contributor labels Dec 18, 2024
@kgilmer kgilmer added configuration Issue with custom configuration of Regolith and removed bug Something isn't working needs-triage Any bug that requires classification by a contributor labels Dec 22, 2024
@kgilmer
Copy link
Member

kgilmer commented Dec 22, 2024

Hi @fjellvannet , if you have regolith-rofication installed, try removing that. Check to see if other rofication packages might be installed with apt list | grep rofication

@fjellvannet
Copy link
Author

I now did another clean install of ubuntu 24.04 and then added regolith in a vm, just like the guide here: https://regolith-desktop.com/docs/using-regolith/install/ suggests.

I then removed regolith-rofication, and logged out and back in.

Skjermbilde 2024-12-25 kl  19 07 20

The screenshot shows the not removed i3xrocks-icon (even though i3xrocks-rofication has been removed). When it is clicked, an error message is displayed, see here:

Skjermbilde 2024-12-25 kl  19 12 43

This error message appears after only removing all rofication packages, but also when the sway-notifcation-center is installed. The sway notification center works as inteded (see last screenshot). In the flashback-session rofication is gone, but it stays in the sway-session.

@kgilmer
Copy link
Member

kgilmer commented Dec 30, 2024

Oh, I think I understand what's going on now @fjellvannet . In sway we do not (yet) have the same level of integration w/ the bar widgets due to lack of conf.d support in i3status-rs. You'll need to manually edit your i3status-rs config file to remove the config snippet for rofication. The file is /etc/regolith/i3status-rust/config.toml and here is the lines you should remove: https://github.com/regolith-linux/i3status-rs_debian/blob/ubuntu/v0.22.0/config.toml#L32-L35

You need to reload your WM session for the change to take effect. More information about this configuration file is available here: https://github.com/greshake/i3status-rust

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
configuration Issue with custom configuration of Regolith
Projects
None yet
Development

No branches or pull requests

2 participants