-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
55 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,68 @@ | ||
' Gambas module file | ||
|
||
Public Sub _init() | ||
|
||
Select Case File.Load("" & User.Home & "/.i-nex/DistributionVendor.conf") | ||
Case Like "*LinuxMint*" | ||
Case Like "*Mint*" | ||
Finfosys.PictureBox2.Picture = Picture["Database/Distlogos/mint.png"] | ||
Case Like "*Ubuntu*" | ||
Finfosys.PictureBox2.Picture = Picture["Database/Distlogos/ubuntu.png"] | ||
Case Like "*xUbuntu*" | ||
Finfosys.PictureBox2.Picture = Picture["Database/Distlogos/xubuntu.png"] | ||
Case Like "*openSUSE*" | ||
Finfosys.PictureBox2.Picture = Picture["Database/Distlogos/opensuse.png"] | ||
Case Like "*ManjaroLinux*" | ||
Case Like "*Manjaro*" | ||
Finfosys.PictureBox2.Picture = Picture["Database/Distlogos/manjaro.png"] | ||
Case Like "*Fedora*" | ||
Finfosys.PictureBox2.Picture = Picture["Database/Distlogos/fedora.png"] | ||
Case Like "*Debian*" | ||
Finfosys.PictureBox2.Picture = Picture["Database/Distlogos/debian.png"] | ||
Case Like "*Arch Linux*" | ||
Finfosys.PictureBox2.Picture = Picture["Database/Distlogos/archlinux.png"] | ||
Case Like "*Sabayon*" | ||
Finfosys.PictureBox2.Picture = Picture["Database/Distlogos/sabayon.png"] | ||
Case Like "*Gentoo*" | ||
Finfosys.PictureBox2.Picture = Picture["Database/Distlogos/gentoo.png"] | ||
Case Like "*Red Hat Linux*" | ||
Finfosys.PictureBox2.Picture = Picture["Database/Distlogos/redhat.png"] | ||
Case Like "*Slackware*" | ||
Finfosys.PictureBox2.Picture = Picture["Database/Distlogos/slackware.png"] | ||
End Select | ||
If Application.Env["KDE_FULL_SESSION"] = "true" And File.Load("" & User.Home & "/.i-nex/DistributionVendor.conf") Like "*Ubuntu*" Then | ||
Finfosys.PictureBox2.Picture = Picture["Database/Distlogos/kubuntu.png"] | ||
Endif | ||
'echo "[System] \ | ||
'DistributionVendor = $vendor \ | ||
'DistributionRelease = $release " > ~/.i-nex/dist.conf" | ||
|
||
|
||
' elementary OS | ||
' | ||
' Mageia | ||
' Mandriva | ||
' Mandrake | ||
' | ||
' Kali Linux | ||
' LMDE | ||
|
||
|
||
' Kubuntu | ||
' | ||
' Raspbian | ||
' FreeBSD | ||
' OpenBSD | ||
' DragonFlyBSD | ||
' NetBSD | ||
|
||
' CrunchBang | ||
' | ||
' Funtoo | ||
' Slackware | ||
' Frugalware | ||
' Peppermint | ||
' SolusOS | ||
' ParabolaGNU / Linux - libre | ||
' Viperr | ||
' LinuxDeepin | ||
' Chakra | ||
' CentOS | ||
' Mac OS X | ||
' Fuduntu | ||
' | ||
' Cygwin | ||
End | ||
|
Binary file not shown.
Binary file not shown.