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

Limit the size of GUI icons #3730

Closed
arteze opened this issue Dec 28, 2023 · 11 comments
Closed

Limit the size of GUI icons #3730

arteze opened this issue Dec 28, 2023 · 11 comments

Comments

@arteze
Copy link

arteze commented Dec 28, 2023

I accidentally ran a command that messed up the icon system for me.

Now because of this, I would like Geany to have the ability to limit the size of GUI icons.

Screenshot(2)

@elextr
Copy link
Member

elextr commented Dec 28, 2023

The size of icons is determined by the GTK toolkit, not Geany, you could see what GTK CSS can do.

Since you didn't admit what you actually did to screw up your icons it might not be able to reduce the size.

@arteze
Copy link
Author

arteze commented Dec 28, 2023

Fortunately the command was saved in the bash history, what I did was this:

cd /usr/share/icons/flat-remix/places/small
ln -svr /usr/share/icons/Neu/128x128/actions/* .

I think that's what ruined it.

@arteze
Copy link
Author

arteze commented Dec 28, 2023

It looks better now, I think the problem is solved, or if something is going to be implemented I leave the topic open, otherwise I close it, as preferred.

Screenshot(3)

@elextr
Copy link
Member

elextr commented Dec 28, 2023

I think you have told the system that 128x128 icons are "small" so GTK uses them when told to use "small" icons

a. probably nothing can limit them, they are bitmap icons that can't be resized, no graphics toolkit has a whole bitmap image scaling tool (think Photoshop or Gimp) built in, only SVG icons are scalable (because they are Scalable Vector Graphics :-)

b. you should fix the problem, by removing those links, not try to keep a broken system

@elextr
Copy link
Member

elextr commented Dec 28, 2023

Closed as not Geany

@elextr elextr closed this as not planned Won't fix, can't repro, duplicate, stale Dec 28, 2023
@arteze
Copy link
Author

arteze commented Dec 28, 2023

Another problem I have is that when I touch the open file button, it shows me a window to choose folders, and it shows me the wifi icon of the sda1 sda2 drive, do you know which file the icon refers to?

@elextr
Copy link
Member

elextr commented Dec 28, 2023

Nobody can see your system, or knows its arrangement, when asking questions like that you need to provide enough information to be able to understand it.

"sda1" and "sda2" usually refer to the raw disk partitions on a Linux system, not a file.

@arteze
Copy link
Author

arteze commented Dec 29, 2023

I mean the part on the left.

Screenshot(2)

And the View (Ver in spanish) button I don't see your icon

Screenshot(3)

These are all the icons I have in flat-remix.

Files I had in /usr/share/icons/flat-remix

@arteze
Copy link
Author

arteze commented Dec 29, 2023

I already discovered it, it is:

/usr/share/icons/flat-remix/places/small/folder-remote-symbolic.svg

Screenshot(5)

It turns out that sda1 is a mounted volume and not a remote folder.

I already changed it for this one.

/usr/share/icons/flat-remix/places/small/drive-harddisk-symbolic.svg

Screenshot(6)

@elextr
Copy link
Member

elextr commented Dec 29, 2023

First, please do not spam all those watching this repository with massive listings, file contents, or other large content, place those in a Gist and put a link in the post here.

To emphasise, it is your GTK theme that specifies the icons on buttons, not Geany. My theme has no icons on "View", "Cancel", or "Open".

As "View" is an additional button in addition to the standard "Cancel" and "Open" buttons its likely that the icon theme does not have a suitable icon and/or the theme you use does not map it to the button. You can make tweaks to the GTK CSS by editing Tools->Configuration Files->geany.css, details here

@arteze
Copy link
Author

arteze commented Dec 29, 2023

I understand, I already added the gist.

I'll have to study the CSS thing.

My whole system just ruined, but I have a backup, if I repair it I'll look at the CSS.

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

2 participants