Comments (4)
At line 431 starts a loop that, by line 443 should indeed mark the distro as "openSUSE", as $OSTYPE is "linux" and /etc/SuSE-release, as @mark-stewart points out, does indeed exists. Not a shell expert, so no idea why it does not work either.
But taking the result from lsb-release -sirc
.
In openSUSE 12.2, the output is "SUSE LINUX 12.2 Mantis". This passes the distro detection, at line 347.
In openSUSE 12.3, the latest version, lsb_release -sirc
outputs "openSUSE project 12.3 Dartmouth".
So, line 347 "should be" similar to line 354, the one with RedHat
elif [[ "${distro_detect}" == "SUSE LINUX" || "${distro_detect}" =~ "openSUSE" ]]; then
Now we get that lovely gecko in 12.3:
.;ldkO0000Okdl;.
.;d00xl:,'....';:ok00d;. extrilldi@satya
.d00l' ,o00d. OS: openSUSE 12.3 Dartmouth
.d0Kd. :Okxol:;'. :O0d. Kernel: x86_64 Linux 3.7.10-1.1-desktop
'OKKKK0kOKKKKKKKKKKOxo:' lKO' Uptime: 5d 9h 37m
,0KKKKKKKKKKKKKKKK0d:,,,:dx: ;00, Packages: 3181
.OKKKKKKKKKKKKKKKKk..oOkdl.'0k. cKO. Shell: bash 4.2.42
:KKKKKKKKKKKKKKKKK: kKx..od lKd .OK: Resolution: 1280x800
dKKKKKKKKKKKOx0KKKd ;0KKKO, kKKc dKd DE: KDE 4.10.00
dKKKKKKKKKKKK;.;oOKx,..'..;kKKK0. dKd WM: KWin
:KKKKKKKKKKKK0o;...;cdxxOK0Oxc,. .0K: WM Theme: Not Found
kKKKKKKKKKKKKKKK0xl;'......,cdo lKk GTK2 Theme: oxygen-gtk
'0KKKKKKKKKKKKKKKKKKKKK00KKOo; c00' GTK3 Theme: Adwaita
.kKKKOxddxkOO00000Okxoc;'. .dKk. Icon Theme: oxygen
l0Ko. .c00l. Font: Droid Sans
.l0Kk:. .;xK0l. CPU: Genuine Intel CPU U7300 @ 1.30GHz
,lkK0xl:;,,,,;:ldO0kl, RAM: 1740MB / 2946MB
.':ldxkkkkxdl:'.
from screenfetch.
I believe this is fixed by b390d4d. Please test and report back.
from screenfetch.
Indeed it works now :
extrilldi@satya:~/src/github/KittyKatt/screenFetch> ./screenfetch-dev
.;ldkO0000Okdl;.
.;d00xl:,'....';:ok00d;. extrilldi@satya
.d00l' ,o00d. OS: openSUSE 12.3 Dartmouth
.d0Kd. :Okxol:;'. :O0d. Kernel: x86_64 Linux 3.7.10-1.1-desktop
'OKKKK0kOKKKKKKKKKKOxo:' lKO' Uptime: 2d 16h 40m
,0KKKKKKKKKKKKKKKK0d:,,,:dx: ;00, Packages: 3276
.OKKKKKKKKKKKKKKKKk..oOkdl.'0k. cKO. Shell: bash 4.2.42
:KKKKKKKKKKKKKKKKK: kKx..od lKd .OK: Resolution: 1280x800
dKKKKKKKKKKKOx0KKKd ;0KKKO, kKKc dKd DE: KDE 4.10.00
dKKKKKKKKKKKK;.;oOKx,..'..;kKKK0. dKd WM: KWin
:KKKKKKKKKKKK0o;...;cdxxOK0Oxc,. .0K: WM Theme: Oxygen
kKKKKKKKKKKKKKKK0xl;'......,cdo lKk GTK2 Theme: Clearlooks
'0KKKKKKKKKKKKKKKKKKKKK00KKOo; c00' GTK3 Theme: Adwaita
.kKKKOxddxkOO00000Okxoc;'. .dKk. Icon Theme: Faenza
l0Ko. .c00l. Font: Droid Sans
.l0Kk:. .;xK0l. CPU: Genuine Intel CPU U7300 @ 1.30GHz
,lkK0xl:;,,,,;:ldO0kl, RAM: 1664MB / 7905MB
.':ldxkkkkxdl:'.
from screenfetch.
Great! Marking closed. Thanks for reporting this!
from screenfetch.
Related Issues (20)
- Feature request: Add graphics driver version to output
- Can't display the correct info and art on KylinSec linux
- awk: can't open file /proc/cpuinfo HOT 2
- Crash - shell level (1000) too high
- BUG: screenfetch -w reports "[[ ! ]] Error: You're missing an argument somewhere. Exiting."
- Invocation causes a warning about stray \ before " in grep
- please support Xubuntu HOT 1
- Proxmox Ram issue/bug
- Bad name: Project does not do what name implies. It implies that it, itself, takes the screenshot. HOT 1
- os shows abnormal in mac osx HOT 2
- Apple Silicon Homebrew Packages location
- macOS 13.3.1 version number not shown
- extra line before RAM HOT 2
- Please create a new release HOT 3
- [Cosmetic] Missing space before the added Windows Subsystem for Linux
- NVIDIA GeForce 210 and Intel HD Graphics 2500 aren't detected
- Screen Resolution is not correct when I attach another screen via HDMI
- Linux Mint 21.2 Cinnamon DE HOT 4
- screenfetch remains locked after "Finding current CPU"
- xprop: unable to open display '172.27.16.69:0.0'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from screenfetch.