Trisquel 8 - How Do I Change The Trisquel Logo On The UI Panel?

27 respostas [Última entrada]
davidpgil
Desconectado
Joined: 08/26/2015

I would like to change the Trisquel logo on the UI Panel into a solid white version. How can I do this? Where is the image or asset(s) I need to update?

calher

I am a member!

Desconectado
Joined: 06/19/2015

/usr/share/icons/trisquel/scalable/places/trisquel.svg

davidpgil
Desconectado
Joined: 08/26/2015

Works! Exactly what I needed.

I use the "Redmond" theme on Trisquel 8 so I am trying to change all my panel icons into a white and minimalist style.

redmond-icon.png
SuperTramp83

I am a translator!

Desconectado
Joined: 10/31/2014

I once did that :)

GrevenGull
Desconectado
Joined: 12/18/2017

I can't find the "Redmond" theme in the "Appearance Preferences".

GrevenGull
Desconectado
Joined: 12/18/2017

Where did u get the white Trisquel logo image file?

And did you just delete the "trisquel.svg" and then added the white Trisquel logo image file and called it "trisquel.svg"?

davidpgil
Desconectado
Joined: 08/26/2015

I created that white Trisquel logo. I backup the original file and used mine instead.

.................................................................
Microblog: https://floss.social/@davidpgil
.................................................................

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Sunday, September 30, 2018 9:52 PM, <name at domain> wrote:

> Where did u get the white Trisquel logo image file?
>

> And did you just delete the "trisquel.svg" and then added the white Trisquel
> logo image file and called it "trisquel.svg"?

GrevenGull
Desconectado
Joined: 12/18/2017

So u moved the trisquel.svg file to another location?

And then what? :)

davidpgil
Desconectado
Joined: 08/26/2015

opened the file in the default location in inkscape and made it white . saved the file and bobs ur uncle

GrevenGull
Desconectado
Joined: 12/18/2017

In the default location?

davidpgil
Desconectado
Joined: 08/26/2015

> In the default location?

/usr/share/icons/trisquel/scalable/places/trisquel.svg

GrevenGull
Desconectado
Joined: 12/18/2017

Ah" :)

GrevenGull
Desconectado
Joined: 12/18/2017

I tried to open it in Gimp and used the "fill" bucket thing to try to fill the blue with -in my case- yellow, but it would only fill small amounts. Most likely because it is made up of many different shades of blue.

I am very curious as to how how managed to make it white :)

GrevenGull
Desconectado
Joined: 12/18/2017

To follow up on my own question:

I tried the "Colorify..." option which is found under "Colors", but got an error message

Calling error for procedure 'gimp-drawable-merge-shadow':
Item 'trisquel.svg' (2) cannot be modified because its contents are locked

GrevenGull
Desconectado
Joined: 12/18/2017

This was "solved" by opening the file as admin (and be sure to go into proporties of the file and make it so that it opens in and image editor program by default).

However, I am no stuck as to what to do. Because if I try to "save" my newly made golden Trisquel logo, it doesn't just automatically replace the old file, it creates a new one.

davidpgil
Desconectado
Joined: 08/26/2015

In Inkscape I just deleted the elements that were providing shading and filled everything else with white.

.................................................................
Microblog: https://floss.social/@davidpgil
.................................................................

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, October 1, 2018 4:29 PM, <name at domain> wrote:

> I tried to open it in Gimp and used the "fill" bucket thing to try to fill
> the blue with -in my case- yellow, but it would only fill small amounts. Most
> likely because it is made up of many different shades of blue.
>

> I am very curious as to how how managed to make it white :)

GrevenGull
Desconectado
Joined: 12/18/2017

Right, I'll try Inkscape, maybe it works better :)

GrevenGull
Desconectado
Joined: 12/18/2017

May I ask why u prefer Inkscape over Gimp?

davidpgil
Desconectado
Joined: 08/26/2015

SVG files are vector based. As far as I know GIMP does not handle SVG files well. However, Inkscape handles them perfectly.

.................................................................
Microblog: https://floss.social/@davidpgil
.................................................................

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, October 1, 2018 4:25 PM, <name at domain> wrote:

> May I ask why u prefer Inkscape over Gimp?

GrevenGull
Desconectado
Joined: 12/18/2017

Oooh, that might explain why I struggled.

Thank you so much for making this thread, and for patiently answering my questions :)

GrevenGull
Desconectado
Joined: 12/18/2017

I tried to open the file as admin with Inkscape and got:

Failed to load the requested file file:///usr/share/icons/trisquel/scalable/places/trisquel.svg

:/

Have u experienced something similar?

GrevenGull
Desconectado
Joined: 12/18/2017

I tried to open the logo from the command line (with sudo), which actually gave me no error message, as opposed to the error message I got when try to open it as admin the "regular" way.

But when I clicked on "save" nothing happened, no error message no "success" message, no anything. I waited a little bit before I excited the program by clicking the x on the window, and I was given no message like "would you save" or something like that, it just exited the program, back to command-line like nothing happened. And the logo did not change color

davidpgil
Desconectado
Joined: 08/26/2015

The easy way to edit that file is to copy the file from that location into an area that you have write access. change the permissions on that file so you have write access. edit the file however you like, then use sudo to copy or move you file to the default location. of course make a backup of the original.

GrevenGull
Desconectado
Joined: 12/18/2017

Right!

Well, after I rebooted my computer the logo did infact change color! And the color change is also visible on the all the logos in the

/usr/share/icons/trisquel/scalable/places/ folder.

So it worked! Very neat :)

Now I just wonder if it was necessary to open it with sudo in command line or not, but that could easily be tested ! :)

Thanks anyway to you for created the post and patiently guiding me through, and to calher for bringing up the folder :)

GrevenGull
Desconectado
Joined: 12/18/2017

but but but, I can't find the "Redmond" theme, what/where is that?

Magic Banana

I am a member!

I am a translator!

Desconectado
Joined: 07/24/2010

/usr/share/icons/trisquel/scalable/places/trisquel.svg belongs to the "root" user (the so-called superuser) and other users can only *r*ead that file (what is obviously necessary to display the icon). Using 'ls -l' in a terminal, that is what "r--", at the end of "-rw-r--r--" tells (you can also right click on the file in the file manager to display the "Properties", including the "Permissions"):
$ ls -l /usr/share/icons/trisquel/scalable/places/trisquel.svg
-rw-r--r-- 1 root root 60536 juil. 18 2014 /usr/share/icons/trisquel/scalable/places/trisquel.svg

To know everything about file permissions:
$ info 'File permissions'

Modifying /usr/share/icons/trisquel/scalable/places/trisquel.svg therefore requires administrative permissions. With those permissions, that 'sudo' grants, you can directly edit the file. Or you can, with no special permission, copy the file (what only requires to read the file, not to write it) in your home directory, modify the copy, again with no special permission (because the copy belongs to you, not to root) and then move the modified file to /usr/share/icons/trisquel/scalable/places/, typically using that command (executed in a terminal opened in the folder where the modified trisquel.svg file is):
$ sudo mv trisquel.svg /usr/share/icons/trisquel/scalable/places/
Here you need administrative permissions because nobody but "root" is allowed to overwrite /usr/share/icons/trisquel/scalable/places/trisquel.svg. You do not even have the permission to write a new file in /usr/share/icons/trisquel/scalable/places/:
$ ls -l /usr/share/icons/trisquel/scalable/
total 28
drwxr-xr-x 2 root root 12288 mai 14 09:36 actions
drwxr-xr-x 2 root root 4096 mai 14 09:36 apps
drwxr-xr-x 2 root root 4096 mai 14 09:36 devices
drwxr-xr-x 2 root root 4096 mai 14 09:36 places
drwxr-xr-x 2 root root 4096 nov. 12 2012 status

(the line about "places" says this directory belongs to "root" and, in the first columns, "w" being only in the first triplet "rwx" means that only the owner can *w*rite in it)

GrevenGull
Desconectado
Joined: 12/18/2017

Anybody know if there is an easy way to change color/style of all the icons *except* the Trisquel logo.

I love to have the Trisquel logo in the bottom left corner, but I want to change the color/styling of all the other icons. Is that easily possible? Or do I need to manually change one and one icon?

GrevenGull
Desconectado
Joined: 12/18/2017

In hindsight I should probably have a new thread for this, bur here we are