screenFetch icon indicating copy to clipboard operation
screenFetch copied to clipboard

Support OpenIndiana

Open gungwald opened this issue 3 years ago • 3 comments

I'm submitting a ... (check one with "x")

[ ] bug report
[X] new distro request

Bug report

=> search Github for a similar issue or PR before submitting
=> download the latest revision from Github and check if the bug is still present
   -> https://github.com/KittyKatt/screenFetch/raw/master/screenfetch-dev
=> Show us the output of: screenfetch -v

New distro request

Distro name: OpenIndiana Hipster - A distribution of OpenSolaris based on the [illumos](https://illumos.org/) kernel
Homepage: https://www.openindiana.org/
Distro logo: https://www.openindiana.org/wp-content/uploads/2016/05/oi_logo.png
Package manager: pkg

Show us the output of
 => lsb_release -sirc
bash: lsb_release: command not found

 => cat /etc/os-release
cat: cannot open /etc/os-release: No such file or directory

 => ls -1 /etc/*-release
/etc/*-release: No such file or directory

=> cat /etc/release
             OpenIndiana Hipster 2021.10 (powered by illumos)
        OpenIndiana Project, part of The Illumos Foundation (C) 2010-2021
                        Use is subject to license terms.
                           Assembled 30 October 2021

gungwald avatar Feb 07 '22 01:02 gungwald

Looks like your distro doesn't support lsb_release. You can't even check what is the distro name.

From apt: The Linux Standard Base (http://www.linuxbase.org/) is a standard core system that third-party applications written for Linux can depend upon. The lsb-release command is a simple tool to help identify the Linux distribution being used and its compliance with the Linux Standard Base.

If they are non-LSB compliant, then I don't see the point in supporting their distro in this tool. They can change more things in the future, breaking compatibility. Better to wait until they implement simple LSB support to query for distro name.

github12101 avatar May 06 '24 08:05 github12101

I didn't realize screenFetch was so dependent on LSB. I thought it was smart enough to figure out other systems like Windows and BSD. OpenIndiana is a derivative of Sun's Solaris & OpenSolaris. It's not Linux. Solaris is the UNIX system that probably most influenced the development of Linux. Illumos is the name of the kernel, taken from OpenSolaris, and OpenIndiana is a distribution of that kernel. It has different ways of getting the information, but those interfaces should be stable. I could give you the commands that provide the information you need to display the results. I can make it easy for you, if you'd reconsider. I think it would be very cool for screenFetch be everywhere.

gungwald avatar May 06 '24 18:05 gungwald

I am not the developer, just friendly user like you. Sorry that I did not realized OpenIndiana is UNIX based, "Distro name" in your text tricked me. Please provide all commands required to fetch information needed for screenfetch to work. If there is anything else apart from /etc/release you provided already. I am sure developer will look into it once he's got time.

github12101 avatar Aug 31 '24 22:08 github12101