You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
Users can reference an icon by it's filename only. No extension, or path is needed because JWM searches the IconPaths defined in jwmrc.
For example with the iconpath "$HOME/.local/share/icons/" declared in jwmrc we can reference the file $HOME/.local/share/icons/utilities-terminal.svg in a menu item or traybutton with the icon attribute like this: icon="utilities-terminal"
Unexpected behavior (The Problem)
Images with a filename containing a dot (.) are not found unless you specify the the extension.
To demonstrate rename the file by changing the dash to a dot in the file so we now have this:
$HOME/.local/share/icons/utilities.terminal.svg
You would expect the same behavior for this file, but apparently the dot (.) in the filename confuses it. So you must add the file extension .svg for JWM to find it. Like this:
icon="utilities.terminal.svg"
The text was updated successfully, but these errors were encountered:
Summary : JWM does not find images with a dot (.) in the filename when searching the iconpaths unless the file extension is specified.
Version: jwm v2.4.0
compiled options: confirm icons jpeg nls pango png shape svg xbm xft xinerama xpm xrender
Expected behavior
Users can reference an icon by it's filename only. No extension, or path is needed because JWM searches the IconPaths defined in jwmrc.
For example with the iconpath "$HOME/.local/share/icons/" declared in jwmrc we can reference the file $HOME/.local/share/icons/utilities-terminal.svg in a menu item or traybutton with the icon attribute like this: icon="utilities-terminal"
Unexpected behavior (The Problem)
Images with a filename containing a dot (.) are not found unless you specify the the extension.
To demonstrate rename the file by changing the dash to a dot in the file so we now have this:
$HOME/.local/share/icons/utilities.terminal.svg
You would expect the same behavior for this file, but apparently the dot (.) in the filename confuses it. So you must add the file extension .svg for JWM to find it. Like this:
icon="utilities.terminal.svg"
The text was updated successfully, but these errors were encountered: