[SOLVED] Solarized notifications, unable to reset theme

Everything about X, Gnome, KDE, ... and everything running on it

[SOLVED] Solarized notifications, unable to reset theme

Postby bissim » 2020-09-27 22:00

Hello,
in a desperate attempt to apply Solarized theme to my terminal, several months ago I edited some system files (which ones, unfortunately, I do not recall).
Now, my notifications appear with an ugly terminal-style Solarized theme and I cannot restore them from their settings menu.
Could you address me to the files I may have changed in order to revert that damned edit or to some other solution to my problem?
Thank you.
Last edited by bissim on 2020-09-29 13:24, edited 1 time in total.
bissim
 
Posts: 6
Joined: 2020-09-27 21:52

Re: Solarized notifications, unable to reset theme

Postby stevepusser » 2020-09-28 01:30

I doubt it, especially when you don't even let us know what terminal program you were trying to change!
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12083
Joined: 2009-10-06 05:53

Re: Solarized notifications, unable to reset theme

Postby bissim » 2020-09-28 07:42

stevepusser wrote:I doubt it, especially when you don't even let us know what terminal program you were trying to change!

Hello, I was trying to apply a style to XFCE Terminal,; however, during the process, I changed by mistake notification style without using the Notifications option in Debian Settings.
bissim
 
Posts: 6
Joined: 2020-09-27 21:52

Re: Solarized notifications, unable to reset theme

Postby stevepusser » 2020-09-29 02:58

Did you mean the xfce settings program instead of "Debian Settings"?

XFCE terminal settings are usually in your home folder in a hidden .config folder in a .config/xfce4/terminal/terminalrc file.
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12083
Joined: 2009-10-06 05:53

Re: Solarized notifications, unable to reset theme

Postby bissim » 2020-09-29 09:00

stevepusser wrote:Did you mean the xfce settings program instead of "Debian Settings"?

XFCE terminal settings are usually in your home folder in a hidden .config folder in a .config/xfce4/terminal/terminalrc file.

Well, I changed something else that affected notifications layout too, which I cannot reset from Debian settings.
bissim
 
Posts: 6
Joined: 2020-09-27 21:52

Re: Solarized notifications, unable to reset theme

Postby sickpig » 2020-09-29 11:21

check your notification daemon's config files and/or your theme.
User avatar
sickpig
 
Posts: 575
Joined: 2019-01-23 10:34

Re: Solarized notifications, unable to reset theme

Postby bissim » 2020-09-29 11:44

sickpig wrote:check your notification daemon's config files and/or your theme.

Hello, thank you for your answer.
Where do I find those files?
bissim
 
Posts: 6
Joined: 2020-09-27 21:52

Re: Solarized notifications, unable to reset theme

Postby sickpig » 2020-09-29 11:51

Code: Select all
dpkg -L xfce4-notifyd

for the list of all the files relating to xfce4-notifyd (the notification daemon). You can see which one(s) are config files. I do not use that so not sure.
Themes are in ~/.themes and you can change using appearance of xfce4-settings. Or manually edit the appropriate files
https://wiki.archlinux.org/index.php/GTK#Themes
User avatar
sickpig
 
Posts: 575
Joined: 2019-01-23 10:34

[SOLVED] Solarized notifications, unable to reset theme

Postby bissim » 2020-09-29 12:57

Since I had absolutely no idea of which of listed files could be responsible for improper notification theming and after some searches, I ended up running the following command:

Code: Select all
sudo apt remove notification-daemon dunst xfce4-notifyd --purge && sudo apt autoremove && sudo apt install notification-daemon xfce4-notifyd && sudo apt remove notify-osd --purge


At last, the problem was solved, though in an ugly way; however, in the process, a lot of other packages (mainly XFCE plugins) were removed. :(
Is there any way I can check terminal output from previous sessions or some other log about uninstalled packages?

Edit: ok, I found the
Code: Select all
/var/log/apt/history.log
file reporting all the packages removed by autoremove.
bissim
 
Posts: 6
Joined: 2020-09-27 21:52

Re: [SOLVED] Solarized notifications, unable to reset theme

Postby sickpig » 2020-09-29 17:20

For future reference, if you are tempted to fire random commands off of the internet without fully understanding their ramifications then do that in a vm or a chroot first to avoid grief.
User avatar
sickpig
 
Posts: 575
Joined: 2019-01-23 10:34

Re: [SOLVED] Solarized notifications, unable to reset theme

Postby bissim » 2020-09-29 17:24

sickpig wrote:For future reference, if you are tempted to fire random commands off of the internet without fully understanding their ramifications then do that in a vm or a chroot first to avoid grief.

Actually I didn't expect that, uninstalling XFCE notification plugin, a bunch of other plugins would come off.
Nonetheless, I was careless when I rebooted without taking prior note of removed packages, this I must admit.
bissim
 
Posts: 6
Joined: 2020-09-27 21:52

Re: [SOLVED] Solarized notifications, unable to reset theme

Postby stevepusser » 2020-09-29 21:00

How is this solved at all?

All XFCE settings are in that same folder I pointed you toward above. Why didn't you explore it? If you couldn't find a file related to the xfce notications or that rang a bell, other XFCE settings can be addressed via the xconf tool.

If I had the same issue and couldn't solve it, I'd go straight to the XFCE forums instead of asking here, though.
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12083
Joined: 2009-10-06 05:53

Re: [SOLVED] Solarized notifications, unable to reset theme

Postby sickpig » 2020-09-29 21:26

xfce4-notifyd is a stand alone package decoupled with xfce4 DE. And has its own config gtk utility and a service

Code: Select all
/usr/lib/systemd/user/xfce4-notifyd.service
/usr/bin/xfce4-notifyd-config


Changes can be made to it directly and persist independent of xfce4 session manager.

stevepusser wrote:If I had the same issue and couldn't solve it, I'd go straight to the XFCE forums instead of asking here, though.


How is this an xfce issue? By that logic folks should go to xfce forum for thunar mount dismount issues, lightdm forum for display manager issue, gnome forums for gnome issues and so on.

edit - code boxes
User avatar
sickpig
 
Posts: 575
Joined: 2019-01-23 10:34


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 16 guests

fashionable