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

Write desktop file only if doesn't exist #2248

Conversation

geekosaurusR3x
Copy link

Since i'm under a dark theme i have read #1011

The fix

I have found a much better solution meanwhile. Just start ckan with a bright GTK theme. Example:
env GTK2_RC_FILES=/usr/share/themes/Adwaita/gtk-2.0/gtkrc mono ckan.exe

works well but each time the app start my desktop file is rewriten.
But imo the desktop file must be handle by package manager (apt / pacman / other) or manually but not by the app itself.

So this is my humble contribution.

:)

@HebaruSan HebaruSan added GUI Issues affecting the interactive GUI Linux Issues specific for Linux labels Jan 13, 2018
@HebaruSan
Copy link
Member

Code does what it says, but overwriting the file has advantages as well. If we want to make changes to it, overwriting ensures that those changes will be made for upgrading users.

Maybe we could come up with a more direct solution to the underlying problem. @Skad, would you mind sharing before/after screenshots for the visual problems you're having?

@geekosaurusR3x
Copy link
Author

Well this is the dark theme bug where the ui is unreadable.

I will try latter to post screen.

But with the lattest version the fix won't work anymore.
But my patch is still revelent i think.

@politas
Copy link
Member

politas commented Jan 20, 2018

@Skad, there is an alternative for making your changes to the desktop file persistent, which is to save them as a renamed "CKAN.desktop" file, rather than "CKAN Launcher.desktop". Then you could use the menu editor to hide the original CKAN Launcher and just see your own.

@HebaruSan HebaruSan changed the title Write desktop file only if doen't exist Write desktop file only if doesn't exist Apr 22, 2019
@HebaruSan
Copy link
Member

Well this is the dark theme bug where the ui is unreadable.

@Skad, we did several fixes subsequent to this to make dark themes work better, see #2529, #2540, #2541, and #2594.

Are you still having those problems with recent versions of CKAN?

@geekosaurusR3x
Copy link
Author

@HebaruSan thank for the update.
I'm not using ckan under dark theme on linux (i'm not using linux for now :'( ) so i can't answer you.
Sorry

@politas
Copy link
Member

politas commented Aug 16, 2019

Given the person who had an issue with this doesn't have the issue any more, and the standard is for apps to re-write their desktop file, I'm closing this PR.

@politas politas closed this Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GUI Issues affecting the interactive GUI Linux Issues specific for Linux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants