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

Shell scripts do not use batch file icons #60

Closed
debounce2 opened this issue Mar 29, 2019 · 3 comments
Closed

Shell scripts do not use batch file icons #60

debounce2 opened this issue Mar 29, 2019 · 3 comments

Comments

@debounce2
Copy link

Shell script .sh files use the Windows 95 .sys file icon instead of the icon for .bat batch files.

@grassmunk
Copy link
Owner

Could you post a screenshot of what you're seeing?

@debounce2
Copy link
Author

Shell script icon in theme:
text-x-script

Batch file icon in Windows 95:
batch

@NullNoname
Copy link
Contributor

NullNoname commented May 18, 2019

You're probably using Thunar File Manager with the default icon size (48), but Chicago95 theme is not designed for that.
You'll need to use the "Zoom Out" command once (Ctrl+-) to change the icon size to 32. This will change the Shell Script icon to the Windows Scripting Host icon.

To change the shell scripts to use the Batch Script icon, delete the existing "Chicago95/mimes/32/application-x-shellscript.png" (which is a simlink to text-x-script.png)
and copy the batch script icon from "Chicago95/apps/32/application-default-icon.png".

If you have the Chicago95 icons installed in the ~/.icons/, the following commands will do the trick:

rm ~/.icons/Chicago95/mimes/32/application-x-shellscript.png
cp ~/.icons/Chicago95/apps/32/application-default-icon.png ~/.icons/Chicago95/mimes/32/application-x-shellscript.png

EDIT:
I recommend replacing icons of other sizes too:

rm ~/.icons/Chicago95/mimes/16/application-x-shellscript.png
cp ~/.icons/Chicago95/apps/16/application-default-icon.png ~/.icons/Chicago95/mimes/16/application-x-shellscript.png

rm ~/.icons/Chicago95/mimes/24/application-x-shellscript.png
cp ~/.icons/Chicago95/apps/24/application-default-icon.png ~/.icons/Chicago95/mimes/24/application-x-shellscript.png

rm ~/.icons/Chicago95/mimes/48/application-x-shellscript.png
cp ~/.icons/Chicago95/apps/48/application-default-icon.png ~/.icons/Chicago95/mimes/48/application-x-shellscript.png

rm ~/.icons/Chicago95/mimes/scalable/application-x-shellscript.svg
cp ~/.icons/Chicago95/apps/scalable/application-default-icon.svg ~/.icons/Chicago95/mimes/scalable/application-x-shellscript.svg

grassmunk added a commit that referenced this issue Jun 26, 2019
Replace Shell Script icon to Batch File icon. Fixes #60
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

3 participants