Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Available as/for:
Description:
Guess distro is shell script from my SuperMonitor karamba theme. In script is link to files with basic infos about your distro. Script display right file. You can add to your superkaramba theme or other application.

Miha
Last changelog:

4. February 2006
version 0.3
- kanotix-version added
- add thanks-to list

6. January 2006
version 0.2
-etc/issue removed
-Fixed errors
-some changes in script

5. January 2006
verson 0.1


Ratings & Comments

8 Comments

goldenboy

Have you had a look at lsb-release? It does essentially the same and more... cheers

zolookas

If you want Arch Linux distibution support, just add to your script: test -r "/etc/arch-release" && DISTRO=`cat /etc/arch-release`

anmaster

Should it realy be: test -r "/etc/redhat-release" && DISTRO=`cat /etc/fedora-release` Shouldn't it be: test -r "/etc/fedora-release" && DISTRO=`cat /etc/fedora-release` And test -r "/etc/gentoo-relase" && DISTRO=`cat /etc/debian_version` is wrong too. It should be test -r "/etc/gentoo-relase" && DISTRO=`cat /etc/gentoo-release` And the file /etc/gentoo-release isn't of intrest. For gentoo check where the symlink /etc/make.profile points. Then get the profile from the path. In my case it points to /usr/portage/profiles/default-linux/x86/2005.1 That means I have a Gentoo Linux 2005.1 install. /etc/gentoo-release contains Gentoo Base System version 1.6.13 And that is not of intrest.

anmaster

I posted a fixed version at http://pastebin.com/492620 I'm not sure if the filenames for other distros are right. But now it works on Gentoo. I would be grateful if anyone could rewrite my Perl regular expression to an extended or basic regular expression. Perl regular expression support is not very common, I'm afraid.

anmaster

A updated fix is at http://pastebin.com/493439 I would like the original author to comment upon this and also to fix the original script.

smihael

Thanks for bug reporting. I will correct

anmaster

Is Guess distro posted at both KDE-Apps.org and KDE-Look.org? Your comment haven't appeared at KDE-Apps.org yet. Odd.

anmaster

I made a even better version at http://pastebin.com/493690 If you use my contribs: please mention AnMaster in a "thanks to"-list or something.

Pling
0 Affiliates
Details
license
version 0.3
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 4

More Various KDE 1.-4. Improvements from smihael:

plasmoid2deb
smihael
last update date: 16 years ago

Score 5.7

Internet tool
smihael
last update date: 19 years ago

Score 5.0

Other Various KDE 1.-4. Improvements:

Slicker Debian Package for Woody
cirrusgr
last update date: 22 years ago

Score 5.0

Konqueror/kdesktop suggestion
PovMan
last update date: 22 years ago

Score 5.0

Biiig buttons
dbojan
last update date: 20 years ago

Score 5.0

Yet Another KControl
Frans
last update date: 21 years ago

Score 5.0

Next window and next/previos window
dbojan
last update date: 20 years ago

Score 5.0

Fantasie Toolbar
katoe
last update date: 19 years ago

Score 5.0