https://bugs.kde.org/show_bug.cgi?id=522605

            Bug ID: 522605
           Summary: Missing text-x-shellscript icon alias (only
                    application-x-shellscript exists)
    Classification: Plasma
           Product: Breeze
      Version First unspecified
       Reported In:
          Platform: CachyOS
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Icons
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
  Target Milestone: ---

Created attachment 193999
  --> https://bugs.kde.org/attachment.cgi?id=193999&action=edit
A photo of the wrong (txt) icon for script.sh in Dolphin

The shared-mime-info database maps shell scripts to the mime type
"text/x-shellscript" (previously "application/x-shellscript"). Breeze
icon themes only ship application-x-shellscript.svg but no
text-x-shellscript.svg (or symlink/alias), so icon lookup falls back
to the generic text-x-generic icon for shell scripts.

STEPS TO REPRODUCE
1. Create an executable .sh file with a valid shebang, e.g. #!/usr/bin/env bash
2. Check its mime type: xdg-mime query filetype script.sh → returns
text/x-shellscript
3. View the file in Dolphin (or any app using the icon theme)

OBSERVED RESULT
Dolphin shows the generic text file icon, identical to .txt files.

EXPECTED RESULT
Dolphin should show the shell script icon (same as
application-x-shellscript.svg).

SOFTWARE/OS VERSIONS
Operating System: CachyOS (Arch-based)
KDE Plasma Version: 6.7.2
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1

ADDITIONAL INFORMATION
Icon theme: breeze-dark
breeze-icons version: 6.27.0-1.1

Workaround: Manually symlinking text-x-shellscript.svg ->
application-x-shellscript.svg
in each icon size directory
(/usr/share/icons/breeze-dark/mimetypes/{16,22,24,32,64}/)
fixes the issue.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to