screenFetch - The Bash Screenshot Information Tool

Talk about your projects for the community
Forum rules
No support questions here please

screenFetch - The Bash Screenshot Information Tool

Postby KittyKatt on Mon Apr 05, 2010 11:32 am

screenFetch

The title pretty much explains it. screenFetch is a screenshot information tool, similar to archinfo and archey, except in Bash instead of Perl or Python. ;)

Features:
- Detects Desktop Environment, Kernel, Uptime, Window Manager, Window Manager Theme, GTK Theme, GTK Icon Theme, and GTK Font. It also attempts to detect running distribution, but it's a little sketchy at the moment and needs a lot of testing.
- Supported distros: Arch Linux, Linux Mint, Ubuntu, Debian, Fedora (untested), Slackware, SUSE (untested), Mandriva/Mandrake (untested), Crunchbang (untested), Gentoo (untested), and Tiny Core.
- Supported Desktop Environments: KDE, GNOME, XFCE, LXDE, and "Not Present".
- Supported Window Managers: PekWM, OpenBox, FluxBox, BlackBox, Xfwm4m, Metacity, KWin, IceWM, FVWM, DWM, Awesome, and WindowMaker (if you can find files or syntaxes to detect the theme of more window managers, let me know!)
- Outputs ASCII logo with information, though you may specify to only output information and no ASCII art.
- Flag to execute a scrot command to take screenshot named 'screenFetch-(YEAR)-(MONTH)-(DAY).png'
- Ability to specify custom distribution name and custom screenshot command in execution on command-line.
- Verbose output

Screenshots:

My official screenshots
Current
Image
Image
Old
Image
Image Image

I made most of these ASCII logos myself, so don't be too critical. ;)


User Contributed Screenshots
Image


More to come!


And finally, the source code can be found at either github or code.google.com (github will be more up to date as I am personally maintaining that one):

http://git.silverirc.com/cgit.cgi/screenfetch-dev.git


Latest version can always be found in this folder: http://git.silverirc.com/cgit.cgi/scree ... .git/tree/
Latest raw source (wget/curl-able) can always be found here: http://git.silverirc.com/cgit.cgi/scree ... nfetch-dev
NEW! Debian package - http://served.kittykatt.us/projects/scr ... -2.4.0.deb

Current Latest Version: v2.4.0

Before you say it, yes I do realize some of this is horribly ugly coding. This is one of my first big projects, so I'm welcome to constructive criticism. I'd rather not get "Go home. Try again." types of responses, if you wouldn't mind. ^^;

Any suggestions will be welcome! email me at kittykattATkittykattDOTus or stop by my IRC network, SilverIRC, at irc://kittykatt.silverirc.com/randomz or irc://kittykatt.silverirc.com/me0wz
Last edited by KittyKatt on Fri Feb 10, 2012 8:49 am, edited 6 times in total.
Image
[ My Blog ] | [ screenFetch ] | [ SilverIRC ] | [ SilverIRC GIT ] -
User avatar
KittyKatt
Level 3
Level 3
 
Posts: 111
Joined: Sun Jun 14, 2009 12:12 pm

Linux Mint is funded by ads and donations.
 

Re: screenFetch - The Bash Screenshot Information Tool

Postby remoulder on Mon Apr 05, 2010 11:46 am

Hey that's pretty impressive, hate your ascii art though! :D
[Edit] your original post and add [SOLVED] once your question is resolved.

“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
User avatar
remoulder
Level 17
Level 17
 
Posts: 7667
Joined: Fri May 09, 2008 1:14 pm

Re: screenFetch - The Bash Screenshot Information Tool

Postby KittyKatt on Mon Apr 05, 2010 1:04 pm

remoulder wrote:Hey that's pretty impressive, hate your ascii art though! :D


Well, I'm ALWAYS welcome to new ideas. If you've got some better ones in mind, go ahead and post them and I'll have a look. :D
Image
[ My Blog ] | [ screenFetch ] | [ SilverIRC ] | [ SilverIRC GIT ] -
User avatar
KittyKatt
Level 3
Level 3
 
Posts: 111
Joined: Sun Jun 14, 2009 12:12 pm

Re: screenFetch - The Bash Screenshot Information Tool

Postby piratesmack on Mon Apr 12, 2010 9:55 am

KittyKatt wrote:Slackware (untested)

Tested and working,
Nice script! :)
piratesmack
Level 5
Level 5
 
Posts: 710
Joined: Mon May 26, 2008 3:08 pm

Re: screenFetch - The Bash Screenshot Information Tool

Postby KittyKatt on Tue Apr 13, 2010 11:08 am

piratesmack wrote:
KittyKatt wrote:Slackware (untested)

Tested and working,
Nice script! :)


Awesome! :D I'll mark it as working.
Image
[ My Blog ] | [ screenFetch ] | [ SilverIRC ] | [ SilverIRC GIT ] -
User avatar
KittyKatt
Level 3
Level 3
 
Posts: 111
Joined: Sun Jun 14, 2009 12:12 pm

Re: screenFetch - The Bash Screenshot Information Tool

Postby ShexNivis on Mon May 03, 2010 7:04 pm

awesome ascii art imo
best torrent client ever: http://www.tixati.com
User avatar
ShexNivis
Level 3
Level 3
 
Posts: 109
Joined: Mon Sep 21, 2009 10:25 pm

Re: screenFetch - The Bash Screenshot Information Tool

Postby KittyKatt on Wed May 05, 2010 10:31 am

ShexNivis wrote:awesome ascii art imo


Heh. Thanks. ^^;
Image
[ My Blog ] | [ screenFetch ] | [ SilverIRC ] | [ SilverIRC GIT ] -
User avatar
KittyKatt
Level 3
Level 3
 
Posts: 111
Joined: Sun Jun 14, 2009 12:12 pm

Re: screenFetch - The Bash Screenshot Information Tool

Postby KittyKatt on Wed Sep 29, 2010 4:18 pm

WELL! I haven't posted in this in awhile. screenFetch is up to version 2.1.5 now, so if you're using a version lower than that go ahead and check the GIT repo for a new release. Also, I've moved screenfetch to SilverIRC's own GIT repository and updated all of the links in the original post to reflect that.

One problem I've been running into involves the way gdm3 launches X, at least on LMDE. I'm running a default LMDE install on one of my partitions (GNOME DE w/ Metacity/Compiz) and there is no "gnome-session" process in the process tree like I expect there to be. So how does one detect GNOME? Right now I'm just checking for gnome-settings-daemon, but that will break as soon as someone uses a GNOME app outside of GNOME itself.

Any ideas?
Image
[ My Blog ] | [ screenFetch ] | [ SilverIRC ] | [ SilverIRC GIT ] -
User avatar
KittyKatt
Level 3
Level 3
 
Posts: 111
Joined: Sun Jun 14, 2009 12:12 pm

Re: screenFetch - The Bash Screenshot Information Tool

Postby KittyKatt on Mon Feb 06, 2012 3:55 am

I've made a lot of changes and forgotten to bump this thread with them.

Version is now 2.3.9 and there's support for a LOT more stuff now. Go check it out on my github or at http://git.silverirc.com

There's also now a DEB that I created myself. This is my first time with Debian packaging standards...EVER. So let me know what I did wrong. :) Here's the link: http://served.kittykatt.us/projects/scr ... -2.3.9.deb

Updated original post. :)
Image
[ My Blog ] | [ screenFetch ] | [ SilverIRC ] | [ SilverIRC GIT ] -
User avatar
KittyKatt
Level 3
Level 3
 
Posts: 111
Joined: Sun Jun 14, 2009 12:12 pm

Re: screenFetch - The Bash Screenshot Information Tool

Postby KittyKatt on Fri Feb 10, 2012 8:35 am

sF now displays total number of packages, CPU information, and RAM usage. :)

http://served.kittykatt.us/projects/scr ... -2.4.0.deb

Another couple of version changes!

Bump for a couple of version changes (v2.4.3 now) and a cool new feature for you all: you can now color the output as you wish!

Here's how: I've redone the flags a little bit so that -c now has a different functionality. When called, -c will take the argument it's given in the following format [0-9][0-9],[0-9][0-9]. Both arguments are optional (meaning you can specify one side of the comma and not the other). The first argument will control all of the colors of the ASCII logo and the label colors. The second argument will control the color of the result text. Want some screenshots? Sure, here ya go.


Image
Image
[ My Blog ] | [ screenFetch ] | [ SilverIRC ] | [ SilverIRC GIT ] -
User avatar
KittyKatt
Level 3
Level 3
 
Posts: 111
Joined: Sun Jun 14, 2009 12:12 pm

Re: screenFetch - The Bash Screenshot Information Tool

Postby Zorba on Sat Apr 13, 2013 5:24 am

How can I install it :roll: :roll: :roll:
Image
User avatar
Zorba
Level 8
Level 8
 
Posts: 2292
Joined: Tue May 29, 2012 10:12 pm
Location: Tunisia

Re: screenFetch - The Bash Screenshot Information Tool

Postby KittyKatt on Sat Apr 13, 2013 8:07 pm

All you have to do is download the screenfetch-dev file, make it executable, and run it in a terminal. :)
Image
[ My Blog ] | [ screenFetch ] | [ SilverIRC ] | [ SilverIRC GIT ] -
User avatar
KittyKatt
Level 3
Level 3
 
Posts: 111
Joined: Sun Jun 14, 2009 12:12 pm

Re: screenFetch - The Bash Screenshot Information Tool

Postby PatH57 on Sat Jul 05, 2014 2:32 am

Hi,

I was trying to get your files but couldn't ...Are they still online?
Would love to try it on mint 13 mate and 17 mate.
TA
Patrick
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.
User avatar
PatH57
Level 13
Level 13
 
Posts: 4597
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

Re: screenFetch - The Bash Screenshot Information Tool

Postby xenopeek on Sat Jul 05, 2014 2:48 am

screenFetch is in KittyKatt's github repo: https://github.com/KittyKatt/screenFetch. Follow the instructions there, though where it tells you to get screenfetch-dev file from "http://git.silverirc.com/cgit.cgi/screenfetch.git/plain/screenfetch-dev" ignore that and instead get if from that same page instead (in the list of files at the top).
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14890
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Linux Mint is funded by ads and donations.
 

Return to Ideas & Thoughts

Who is online

Users browsing this forum: No registered users and 1 guest

cron