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

Update INSTALL.md #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update INSTALL.md #16

wants to merge 1 commit into from

Conversation

m4rv33n
Copy link

@m4rv33n m4rv33n commented Sep 27, 2024

For EndeavourOS with the Budgie Desktop (I don't know if EOS or Budgie is the reason) that location never works.
I searched for all the possible locations. Finally found out it has to be in '/usr/share/libgedit-gtksourceview-300/styles/' for gedit to show it as a possible Color Scheme.

I am not sure if this is the right way to do it. Especially didn't know if I should have included sudo or su in another way or shouldn't even have mentioned it for security reasons. Also I'm not sure if a pull request was the correct way to bring up this issue. But I didn't want others to struggle like me with that issue. Sorry, if I bothered you and there was a better way to do this.

@richin13
Copy link
Member

richin13 commented Oct 2, 2024

Hello @m4rv33n , thanks for the contribution! May I suggest we try with the local user path? I saw this comment in a related issue a while back:

Change install path to $HOME/.local/share/libgedit-gtksourceview-300/styles

If it doesn't show up in the dialog:
In some distributions it has to be moved to a different place

cp $HOME/.local/share/gedit/styles/dracula.xml /usr/share/libgedit-gtksourceview-300/styles/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Following my PR comment, here's what'd need to change:

Suggested change
cp $HOME/.local/share/gedit/styles/dracula.xml /usr/share/libgedit-gtksourceview-300/styles/
cp $HOME/.local/share/gedit/styles/dracula.xml $HOME/.local/share/libgedit-gtksourceview-300/styles


cp $HOME/.local/share/gedit/styles/dracula.xml /usr/share/libgedit-gtksourceview-300/styles/

you'll need to to perform that action as root though (sudo)!
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We would no longer need to sudo it 👍🏼

@m4rv33n
Copy link
Author

m4rv33n commented Oct 2, 2024

okay cool. yes. makes sense. Later, when I'm back home, I'll try if it also works when it's (only) in the local user path.

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

Successfully merging this pull request may close these issues.

2 participants