Xfce Forum

Sub domains
 

You are not logged in.

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

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

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
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,949

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.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

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

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

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: 47

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
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,949

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.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

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

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

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

#7 2021-07-20 08:49:36

MrSojek
Member
Registered: 2021-07-06
Posts: 4

Re: I made a new style for Notes

How did you make the notes detached from each other? All I can do is place them in tabs.

Offline

#8 2021-07-20 16:32:24

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,949

Re: I made a new style for Notes

MrSojek wrote:

How did you make the notes detached from each other? All I can do is place them in tabs.

In the Notes properties (click on the top left icon and select Properties), there is an option for tab position. Select "none" if you want free floating windows instead of tabs.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#9 2021-07-21 05:59:24

MrSojek
Member
Registered: 2021-07-06
Posts: 4

Re: I made a new style for Notes

Thank you for your reply.
Is the version of Notes you're using 1.9 or 1.8.1?
This is what's happening with 1.8.1

https://streamable.com/26xdn6

Last edited by MrSojek (2021-07-21 07:19:00)

Offline

#10 2021-07-21 10:36:14

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,949

Re: I made a new style for Notes

I have version 1.9. If you go to Groups > Add a new Group, it creates a new window for me. Sorry, but the tabs position doesn't seem to be related to this at all.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#11 2021-07-21 10:55:08

MrSojek
Member
Registered: 2021-07-06
Posts: 4

Re: I made a new style for Notes

That explains everything. I couldn't create separate notes as I always added new notes to an existing group instead of creating a new group each time. Much appreciated.

Offline

Board footer

Powered by FluxBB