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

Remove mimetype of libreoffice-calc #178

Merged
merged 1 commit into from
Apr 2, 2021

Conversation

bgstack15
Copy link
Contributor

This mimetype affects icon resolution for apps with identical name. Methodology:

cd /usr/share/icons/Chicago95
for word in $( find . -path '*apps*' ! -type d -printf '%f\n' | awk -F'.' '!x[$1]++{print $1}' | sort ) ; do find mimes -name "${word}.???" ; done | sort -t'/' -k3

And for affected dirs:

mv libreoffice-calc.png x-office-spreadsheet.png # which is one of its symlinks!
for word in $( find . -xtype l -printf '%l %f\n' | awk '$1 ~ /libreoffice-calc/{print $2}' ) ; do echo ln -sf x-office-spreadsheet.png ${word} ; done

There are more, but libreoffice-calc is the biggest bang for the buck.

   This mimetype affects icon resolution for apps with identical
   name. Methodology:

cd /usr/share/icons/Chicago95
for word in $( find . -path '*apps*' ! -type d -printf '%f\n' | awk -F'.' '!x[$1]++{print $1}' | sort ) ; do find mimes -name "${word}.???" ; done | sort -t'/' -k3

mv libreoffice-calc.png x-office-spreadsheet.png # which is one of its symlinks!
for word in $( find . -xtype l -printf '%l %f\n' | awk '$1 ~ /libreoffice-calc/{print $2}' ) ; do echo ln -sf x-office-spreadsheet.png ${word} ; done
@EMH-Mark-I EMH-Mark-I merged commit 68277a4 into grassmunk:xfce416-icons Apr 2, 2021
@bgstack15 bgstack15 deleted the xfce416-icons branch April 2, 2021 01:56
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

Successfully merging this pull request may close these issues.

2 participants