Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-04-07 20:51:03

Sadfa
Member
Registered: 2021-03-27
Posts: 27

I made a new style for Notes

Hi,

I made a new style for xfce4-notes-plugin. It works if I change the information in the /usr/share/xfce4-notes-plugin/ folder but to make the change persist after updates I need to supersede the files in a local directory, yes?

This is where I'm drawing a blank. I tried creating a ~/.local/share/xfce4-notes-plugin/ folder but that didn't do anything.

Offline

#2 2021-04-07 22:40:16

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 7,553

Re: I made a new style for Notes

For individual user use, you should place the theming contents in the ~/.config/xfce4/xfce4-notes.css file.

Offline

#3 2021-04-08 04:37:35

Sadfa
Member
Registered: 2021-03-27
Posts: 27

Re: I made a new style for Notes

Thanks ToZ but I made a mistake, I'd like to made this change for all users. Is there a way to override the entire /usr/share/xfce4-notes-plugin/ folder for all users?

I'll be poking around in the next little while so we have a race on our hands smile

Last edited by Sadfa (2021-04-08 04:40:50)

Offline

#4 2021-04-08 06:16:27

Sadfa
Member
Registered: 2021-03-27
Posts: 27

Re: I made a new style for Notes

Unfortunately, editing the ~/.config/xfce4/xfce4-notes.css file, as you've suggested is no good. It gets overwritten every time a person changes the desktop theme (ie. Appearance > Style tab).

Last edited by Sadfa (2021-04-08 09:34:12)

Offline

#5 2021-04-08 10:36:54

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 7,553

Re: I made a new style for Notes

Hmm. It looks like it only saves the background colour in that file (ref: https://git.xfce.org/panel-plugins/xfce … tkcss.vala).

Looking at the code, it appears that the only way to do so, is to change the main file.

Offline

#6 2021-04-08 20:09:30

Sadfa
Member
Registered: 2021-03-27
Posts: 27

Re: I made a new style for Notes

Thats a bit odd.

So yes my solution was to hack the files mentioned above. For anyone who is interested and I put instructions up on the Manjaro Forum here.

AFTER:

220e8b48b2ab9358b698b5c84ff25c492d21a3fd_2_690x478.png

The BEFORE:

dd312bb13e98c5740ada275e84daf8e197028113_2_690x478.png

Offline

Board footer

Powered by FluxBB