Xfce Forum

Sub domains
 

You are not logged in.

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

ineuw
Member
From: Canada
Registered: 2015-11-24
Posts: 73

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?


Dual boot Windows 10 and Linux Mint Cinnamon 20.2

Offline

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

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 8,817

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.

Offline

#3 2022-02-02 04:17:43

ineuw
Member
From: Canada
Registered: 2015-11-24
Posts: 73

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.


Dual boot Windows 10 and Linux Mint Cinnamon 20.2

Offline

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

ineuw
Member
From: Canada
Registered: 2015-11-24
Posts: 73

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.


Dual boot Windows 10 and Linux Mint Cinnamon 20.2

Offline

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

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 8,817

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.

Offline

#6 2022-02-03 09:54:27

ineuw
Member
From: Canada
Registered: 2015-11-24
Posts: 73

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.


Dual boot Windows 10 and Linux Mint Cinnamon 20.2

Offline

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

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

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
Member
Registered: 2021-11-05
Posts: 372

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 &
~ 

Xubuntu 20.04

Offline

Board footer

Powered by FluxBB