Bug ID | 940275 |
---|---|
Summary | two errors in screenfetch |
Classification | openSUSE |
Product | openSUSE Factory |
Version | 201505* |
Hardware | Other |
OS | openSUSE 13.2 |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Other |
Assignee | mpluskal@suse.com |
Reporter | bwiedemann@suse.com |
QA Contact | qa-bugs@suse.de |
Found By | Development |
Blocker | --- |
I got two errors in screenfetch
# screenfetch
[[ ! ]] Property "/Gtk/FontName" does not exist on channel "xsettings".
[[ ! ]] /usr/bin/screenfetch: line 817: [: 2582.3: integer expression expected
+normal output
using bash -x I got some more insights:
> xfconf-query -c xsettings -p /Gtk/FontName
Property "/Gtk/FontName" does not exist on channel "xsettings".
++ printf '\033[1;37m[[ \033[1;31m! \033[1;37m]] \033[0m+ '\''['\'' 2582.3 -gt
999 '\'']'\''\n'
[[ ! ]] + '[' 2582.3 -gt 999 ']'
++ IFS=
++ read -r line
++ printf '\033[1;37m[[ \033[1;31m! \033[1;37m]] \033[0m/usr/bin/screenfetch:
line 817: [: 2582.3: integer expression expected\n'
[[ ! ]] /usr/bin/screenfetch: line 817: [: 2582.3: integer expression expected
it seems, it does not handle fractional MHz values properly