DanielBorgesOliveira / onedrive_tray

OneDrive system tray program
GNU General Public License v3.0
113 stars 21 forks source link

Set/persist icon color? #24

Open ttntm opened 2 years ago

ttntm commented 2 years ago

Hi, thanks for this cool piece of software first of all.

Got it running on Fedora 35 today, now I'm wondering if there's any way to persist the chosen icon color; it's a little less convenient that it changes back to blue whenever a new login is performed.

A switch for the launch script would be most welcome if you're maybe planning for a future version.

julianfairfax commented 2 years ago

This would be nice

bforest76 commented 2 years ago

@ttntm @julianfairfax You can try the new version published last week-end. It includes some new features and I think that what you expect is in.

julianfairfax commented 2 years ago

@ttntm @julianfairfax You can try the new version published last week-end. It includes some new features and I think that what you expect is in.

It doesn't seem to persist the icon colour though. Maybe I'm using it wrong?

ttntm commented 2 years ago

@ttntm @julianfairfax You can try the new version published last week-end. It includes some new features and I think that what you expect is in.

It doesn't seem to persist the icon colour though. Maybe I'm using it wrong?

Same here unfortunately, defaults to blue and does not persist any other selection across sessions.

adrianinsaval commented 2 years ago

the icon color selection is persistent now

ttntm commented 2 years ago

I don't know what changed (or when), but one of the more recent Fedora dnf upgrade calls must have improved something: the icon now defaults to white (which I usually selected manually after booting).

NB: I did not update onedrive_tray since June 9th.

Unless there's any more info you need, I suppose we can close this issue.

tmode-1960 commented 2 years ago

I've installed here from Github a few days ago. Every start the icon is blue, changes are not persistent. Btw works not under Wayland for me.

Morikko commented 1 year ago

Same for me, the icon starts with blue and is not persistent after restart. (on Ubuntu 22.04/Gnome)

bforest76 commented 1 year ago

Same for me, the icon starts with blue and is not persistent after restart. (on Ubuntu 22.04/Gnome)

I don't understand. My distro is Ubuntu 22.04.1 LTS / GNOME 42.2 and it works perfectly.

bforest76 commented 1 year ago

I've installed here from Github a few days ago. Every start the icon is blue, changes are not persistent. Btw works not under Wayland for me.

Can you give details about your distro ?

bforest76 commented 1 year ago

@Morikko I found what's wrong ! But I need to study how to change this. The good news is that I found a workaround too ! After changing the color, quit the application by the menu. Normally this action will save the settings (icon color, size and position of the recent events window).

@tmode-1960 Can you try this workaround too ?

Morikko commented 1 year ago

Yes, quitting the application by the menu saves the color icon. Previously, I was doing my test with systemctl restart --user onedrive_tray.service.

DanielBorgesOliveira commented 1 year ago

@Morikko update your code with the last commit, compile the program and try the instructions below.

Open a terminal and call the command below: tail ~/.config/onedrive_tray/onedrive_tray.conf

The variable IconColor should change when you change de icon color. If the IconColor variable is not changing, maybe you have a permission problem.

Morikko commented 1 year ago

@DanielBorgesOliveira Yes, I confirm, update is immediate.