Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set/persist icon color? #24

Open
ttntm opened this issue Apr 28, 2022 · 14 comments
Open

Set/persist icon color? #24

ttntm opened this issue Apr 28, 2022 · 14 comments

Comments

@ttntm
Copy link

ttntm commented Apr 28, 2022

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
Copy link

This would be nice

@bforest76
Copy link
Contributor

@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
Copy link

@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
Copy link
Author

ttntm commented Jun 9, 2022

@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
Copy link
Contributor

the icon color selection is persistent now

@ttntm
Copy link
Author

ttntm commented Jul 20, 2022

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
Copy link

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
Copy link

Morikko commented Aug 29, 2022

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

@bforest76
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

@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
Copy link

Morikko commented Aug 31, 2022

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
Copy link
Owner

@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
Copy link

Morikko commented Sep 1, 2022

@DanielBorgesOliveira Yes, I confirm, update is immediate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants