From 1bafa4d820a528c3bea04aa221807bee9b811a1a Mon Sep 17 00:00:00 2001 From: B Stack Date: Thu, 1 Apr 2021 11:52:03 -0400 Subject: [PATCH] Remove mimetype of libreoffice-calc 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 --- .../mimes/16/application-vnd.ms-excel.png | 2 +- Icons/Chicago95/mimes/16/libreoffice-calc.png | Bin 256 -> 0 bytes .../mimes/16/libreoffice-spreadsheet.png | 2 +- .../mimes/16/x-office-spreadsheet.png | Bin 20 -> 256 bytes .../mimes/48/application-vnd.ms-excel.png | 2 +- Icons/Chicago95/mimes/48/libreoffice-calc.png | Bin 784 -> 0 bytes .../mimes/48/libreoffice-spreadsheet.png | 2 +- .../mimes/48/x-office-spreadsheet.png | Bin 20 -> 784 bytes .../scalable/application-vnd.ms-excel.svg | 2 +- .../mimes/scalable/libreoffice-calc.svg | 69 ----------------- .../scalable/libreoffice-spreadsheet.svg | 2 +- .../mimes/scalable/x-office-spreadsheet.svg | 70 +++++++++++++++++- 12 files changed, 75 insertions(+), 76 deletions(-) delete mode 100644 Icons/Chicago95/mimes/16/libreoffice-calc.png mode change 120000 => 100644 Icons/Chicago95/mimes/16/x-office-spreadsheet.png delete mode 100644 Icons/Chicago95/mimes/48/libreoffice-calc.png mode change 120000 => 100644 Icons/Chicago95/mimes/48/x-office-spreadsheet.png delete mode 100644 Icons/Chicago95/mimes/scalable/libreoffice-calc.svg mode change 120000 => 100644 Icons/Chicago95/mimes/scalable/x-office-spreadsheet.svg diff --git a/Icons/Chicago95/mimes/16/application-vnd.ms-excel.png b/Icons/Chicago95/mimes/16/application-vnd.ms-excel.png index 5fa0d28..7456edb 120000 --- a/Icons/Chicago95/mimes/16/application-vnd.ms-excel.png +++ b/Icons/Chicago95/mimes/16/application-vnd.ms-excel.png @@ -1 +1 @@ -libreoffice-calc.png \ No newline at end of file +x-office-spreadsheet.png \ No newline at end of file diff --git a/Icons/Chicago95/mimes/16/libreoffice-calc.png b/Icons/Chicago95/mimes/16/libreoffice-calc.png deleted file mode 100644 index 626802d2fcf2e66d0fa6a409b81006f376439aee..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 256 zcmV+b0ssDqP)7vB51GY6MO)}eW3n?!Xn=Q00007vB51GY6MO)}eW3n?!Xn=Q0000vHNYuNBn`lky^#h;AFwTO!dn3aP{!K>OO_anZQ>AC+L2I@ zG4UIF#?N*F{Nc4=rWNBjre_8s<8rwG7V&8j$1$yiIF2dLa{{34w13VRI>vs#N1o?^ zhQwwGc%ElOVzUH%-!~$$Spt9=iA@s#^d$bT70C5^MGyq2>stAFI-Mrp^?m<#pXWKw z=QH7ZinYoES(ZIW!wgB1XzTQOVzm*lL6&6@Ld@3rCU7UAhchi>^8-p`-UR1d`K%{b z6b0RlfS753Gln?{F~$JZ`|s~Sn$Co~976((Ge!^sczYXF6hvT*frwC+<=wL=in`!G zKgTV6d;n>Rq9{i1EkPKD+ByUw2t=bxbQ++dC~oT(0NryT##fq->JPEBysqop_fF*j z2F@pYlcO7nD2lp@y=-QBzOHMF{<44hBOsVBi1Ls1l~1`n7MAP@n)<~1ay zpvnQZfndq ze9{xZPo8j{59B;BWn#17fuE5uF!t0UtSn3Gav8FO%!8LnXx2`;4a!msB}5Oc+0#@j zCs#%uO6Z<|3(WO2=SC!CsmO9td0=*77soLjk4FGN+qT&4cB49N+al5g*PlS>NO+zH z0BD*9Ns=gcgI1gRzR|KQCj%(Ua&rBzBCP9a6D&TJP^J2|ZD-5nAWeH(g~bG1Op7kC zsiVci;b6Up+Z2JSs;o!Kxd(LRuBG(nfmh=thr2_WHBEE7ADVcod}jgHV| zR8=*~6N?DA(6g)G8h*V8emwyz2|a65@(67Hi?Hf{B}^c1XiQ$%9EmTuj)bpwk+f6* O0000vHNYuNBn`lky^#h;AFwTO!dn3aP{!K>OO_anZQ>AC+L2I@ zG4UIF#?N*F{Nc4=rWNBjre_8s<8rwG7V&8j$1$yiIF2dLa{{34w13VRI>vs#N1o?^ zhQwwGc%ElOVzUH%-!~$$Spt9=iA@s#^d$bT70C5^MGyq2>stAFI-Mrp^?m<#pXWKw z=QH7ZinYoES(ZIW!wgB1XzTQOVzm*lL6&6@Ld@3rCU7UAhchi>^8-p`-UR1d`K%{b z6b0RlfS753Gln?{F~$JZ`|s~Sn$Co~976((Ge!^sczYXF6hvT*frwC+<=wL=in`!G zKgTV6d;n>Rq9{i1EkPKD+ByUw2t=bxbQ++dC~oT(0NryT##fq->JPEBysqop_fF*j z2F@pYlcO7nD2lp@y=-QBzOHMF{<44hBOsVBi1Ls1l~1`n7MAP@n)<~1ay zpvnQZfndq ze9{xZPo8j{59B;BWn#17fuE5uF!t0UtSn3Gav8FO%!8LnXx2`;4a!msB}5Oc+0#@j zCs#%uO6Z<|3(WO2=SC!CsmO9td0=*77soLjk4FGN+qT&4cB49N+al5g*PlS>NO+zH z0BD*9Ns=gcgI1gRzR|KQCj%(Ua&rBzBCP9a6D&TJP^J2|ZD-5nAWeH(g~bG1Op7kC zsiVci;b6Up+Z2JSs;o!Kxd(LRuBG(nfmh=thr2_WHBEE7ADVcod}jgHV| zR8=*~6N?DA(6g)G8h*V8emwyz2|a65@(67Hi?Hf{B}^c1XiQ$%9EmTuj)bpwk+f6* O0000 - - - - - image/svg+xml - - - - - - - - - - - - - - - - - diff --git a/Icons/Chicago95/mimes/scalable/libreoffice-spreadsheet.svg b/Icons/Chicago95/mimes/scalable/libreoffice-spreadsheet.svg index 6c95c6e..b17ea28 120000 --- a/Icons/Chicago95/mimes/scalable/libreoffice-spreadsheet.svg +++ b/Icons/Chicago95/mimes/scalable/libreoffice-spreadsheet.svg @@ -1 +1 @@ -libreoffice-calc.svg \ No newline at end of file +x-office-spreadsheet.svg \ No newline at end of file diff --git a/Icons/Chicago95/mimes/scalable/x-office-spreadsheet.svg b/Icons/Chicago95/mimes/scalable/x-office-spreadsheet.svg deleted file mode 120000 index 6c95c6e..0000000 --- a/Icons/Chicago95/mimes/scalable/x-office-spreadsheet.svg +++ /dev/null @@ -1 +0,0 @@ -libreoffice-calc.svg \ No newline at end of file diff --git a/Icons/Chicago95/mimes/scalable/x-office-spreadsheet.svg b/Icons/Chicago95/mimes/scalable/x-office-spreadsheet.svg new file mode 100644 index 0000000..90e69e9 --- /dev/null +++ b/Icons/Chicago95/mimes/scalable/x-office-spreadsheet.svg @@ -0,0 +1,69 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + +