Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-02-02 02:08:00

ineuw
Member
From: Québec, Canada
Registered: 2015-11-24
Posts: 98

Xfce4-notes plugin 1.90 has multiple issues

I am using this plugin in Linux Mint Cinnamon, but it is lacking standard features, which indicate to me that it is no longer maintained/supported.

* It has no quit feature, One must use the System monitor to kill it.
* With each restart, the /home/ineuw/.config/xfce4/xfce4-notes.css is overwritten/recreated with the these two unchangeable lines,

@define-color notes_bg_color #f7eb96;
@import url("/usr/share/xfce4-notes-plugin/gtk-3.0/gtk-main.css");

* When changes made to the file, the above replaces it.
* The above color #f7eb96; should be yellow, but everything is white.
* When setting the Transarency = 0, this reverts to 9.

Is there a way I can tweak "/usr/share/xfce4-notes-plugin/gtk-3.0/gtk-main.css"? 

What else can I do to correct these issues?


Linux Mint Cinnamon 21.3

Offline

#2 2022-02-02 04:13:48

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

Re: Xfce4-notes plugin 1.90 has multiple issues

ineuw wrote:

* It has no quit feature, One must use the System monitor to kill it.

Right-click the tray icon and select remove.

* With each restart, the /home/ineuw/.config/xfce4/xfce4-notes.css is overwritten/recreated with the these two unchangeable lines,

After you make changes to the file, set it immutable flag:

sudo chattr +i xfce4-notes.css

...this will prevent any changes to the file. If you want to later edit the contents, you'll need to remove the immutable flag:

sudo chattr -i xfce4-notes.css

...and reset it again when finished editing the file

* The above color #f7eb96; should be yellow, but everything is white.

This is odd, I don't see this happening in Xfce. Is it possible that something in Cinnamon is doing this?

* When setting the Transarency = 0, this reverts to 9.

I don't believe transparency works any more.

Is there a way I can tweak "/usr/share/xfce4-notes-plugin/gtk-3.0/gtk-main.css"?

Probably the best way is to directly edit that file. Here is an example of someone who did just that.


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 2022-02-02 04:17:43

ineuw
Member
From: Québec, Canada
Registered: 2015-11-24
Posts: 98

Re: Xfce4-notes plugin 1.90 has multiple issues

Again, many thanks. To be honest, I tried others, all of which are mini text processors, which I don't want.


Linux Mint Cinnamon 21.3

Offline

#4 2022-02-02 04:34:11

ineuw
Member
From: Québec, Canada
Registered: 2015-11-24
Posts: 98

Re: Xfce4-notes plugin 1.90 has multiple issues

Locking the file worked, but removing it from the panel, does not. (It is not in the Startup). Monitoring the processes, when xfce4-notes is clicked, two processes identical are started. When the icon is removed from the panel, only one process is terminated. The other is still running.


Linux Mint Cinnamon 21.3

Offline

#5 2022-02-02 11:15:08

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

Re: Xfce4-notes plugin 1.90 has multiple issues

I'm sorry I'm not familiar with the inner workings of cinnamon. Does it have a sessions cache like Xfce that would need to be cleaned? If not in autostart, it must be starting from somewhere.


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 2022-02-03 09:54:27

ineuw
Member
From: Québec, Canada
Registered: 2015-11-24
Posts: 98

Re: Xfce4-notes plugin 1.90 has multiple issues

There must be a cleaner somewhere, (I will ask) because today there is only one process and when I removed the icon from panel it also terminated it. Many thanks again and all is well.


Linux Mint Cinnamon 21.3

Offline

#7 2022-03-06 17:27:26

him610
Member
Registered: 2022-02-19
Posts: 11

Re: Xfce4-notes plugin 1.90 has multiple issues

Here is a way - from xfce4-terminal with xfce4-notes running...

$ ps
    PID TTY          TIME CMD
 616232 pts/1    00:00:00 bash
2189879 pts/1    00:00:00 xfce4-notes
2189898 pts/1    00:00:00 ps

$ kill 2189879

$ ps
    PID TTY          TIME CMD
 616232 pts/1    00:00:00 bash
2190567 pts/1    00:00:00 ps

Offline

#8 2022-03-07 04:23:23

KBar
Moderator
Registered: 2021-11-05
Posts: 689

Re: Xfce4-notes plugin 1.90 has multiple issues

If job control is enabled (for interactive shells, it is), you can use its jobspec in place of pid:

09:21:06 ~ xfce4-notes &
[1] 5434
09:21:09 ~ xlogo &
[2] 5439
09:21:14 ~ ps
    PID TTY          TIME CMD
   4395 pts/0    00:00:00 bash
   5434 pts/0    00:00:00 xfce4-notes
   5439 pts/0    00:00:00 xlogo
   5513 pts/0    00:00:00 ps
09:21:17 ~ jobs
[1]-  Running                 xfce4-notes &
[2]+  Running                 xlogo &
09:21:25 ~ kill %1
09:21:28 ~ jobs
[1]-  Done                    xfce4-notes
[2]+  Running                 xlogo &
~ 

Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please! tongue

Offline

Board footer

Powered by FluxBB