You are not logged in.
Interesting stuff. I've been meaning to do some work on screenfetch recently and I'll take your suggestions to mind when I start working on it again.
Thanks for the feedback.
- [ My Blog ] | [ AUR Packages ] | [ My deviantART ] | [ screenFetch ] | [ SilverIRC ] -
Offline
Interesting stuff. I've been meaning to do some work on screenfetch recently and I'll take your suggestions to mind when I start working on it again.
Thanks for the feedback.
my pleasure
Offline
PKGBUILD seems messed up
==> Installing screenfetch-git package group with pacman -U...
error: '/home/veel/dl/screenfetch-git/screenfetch-git-20110331-1-any.pkg.tar.xz': cannot open package file
==> WARNING: Failed to install built package(s).
easy to fix by renaming the package after cloning it but it's still annoying
I have no clue about pkgbuild though
Offline
I like the new version
'Font:' still shows the wrong font on Sakura, but hey, I don't care about it: what a lovely bashy program!
Last edited by metre (2011-04-27 17:54:17)
Offline
Interesting stuff. I've been meaning to do some work on screenfetch recently and I'll take your suggestions to mind when I start working on it again.
Thanks for the feedback.
Hi kittykatt
Long time ....... just grabbed the latest and don't "see" any difference but I do so like this batch file.
Shown is screenfetch 2.3.2 (sf) and 2.3.4 (sf-dev)
Wish I had the knowledge to help, but my bash skills on a scale of 1 to 10 would probably reach: 1.3
S11
Offline
With the recent depreciation of net-tools, some people may have uninstalled it and are left sans hostname. Perhaps have screenfetch do a check and use /proc/sys/kernel/hostname as an alternative.
Offline
e36freak in #awk/freenode told me how to get urxvt font from Xdefaults.
awk -F ':[[:blank:]]*' '!/^[[:blank:]]*!/ && tolower($0) ~ /urxvt.*font/ {last = $NF} END {print last}' ~/.Xdefaults
Maybe you add this.
Offline
not everyone is using the default location. i think this would be better
xrdb -query | awk -F ':[[:blank:]]*' '!/^[[:blank:]]*!/ && tolower($0) ~ /urxvt.*font/ {last = $NF} END {print last}'
Arch64/DWM || My Dropbox referral link
Offline
When I launch it, it says:
/usr/bin/screenfetch: line 193: hostname: command not found
Version 2.3.6 (git)
Offline
^ I had that too. Replaced the original line with the hostname with this:
myHost=$HOSTNAME
Error is gone now
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
Using Version 2.3.7 (git). Screen fetch does not automatically detect my OS on Arch. Here is the output of the verbose command:
:: Finding hostname and user...found as 'hk47@Reclaimer'
:: Finding distro...found as 'Unknown '
:: Finding kernel version...found as '3.1.8-1-ARCH'
:: Finding current uptime...found as '1h 10m'
:: Finding current shell...found as 'bash'
:: Finding current resolution(s)...found as '1680x1050'
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
:: Finding desktop environment...found as 'KDE'
:: Finding window manager...found as 'KWin'
:: Finding window manager theme...found as 'Not Present'
:: Finding GTK theme...found as 'Not Found'
:: Finding icon theme...found as 'Not Found'
:: Finding user font...found as 'Not Found'
hk47@Reclaimer
##### OS: Unknown x86_64
####### Kernel: 3.1.8-1-ARCH
##O#O## Uptime: 1h 10m
####### Shell: bash
########### Resolution: 1680x1050
############# DE: KDE
############### WM: KWin
################ WM Theme: Not Present
################# GTK Theme: Not Found
##################### Icon Theme: Not Found
##################### Font: Not Found
#################
uncommenting "distro="Arch Linux" seemed to fix it though. Don't know if thats what I was supposed to do or not.
Last edited by piratebill (2012-01-12 02:53:50)
Offline
WOW. Haven't been getting notifications for this thread. WELP, here goes...
With the recent depreciation of net-tools, some people may have uninstalled it and are left sans hostname. Perhaps have screenfetch do a check and use /proc/sys/kernel/hostname as an alternative.
When I launch it, it says:
/usr/bin/screenfetch: line 193: hostname: command not found
Version 2.3.6 (git)
^ I had that too. Replaced the original line with the hostname with this:
myHost=$HOSTNAME
Error is gone now
I even knew about the deprecation of net-tools and I didn't think it would affect me. Anyways, I'll look into that and possibly integrate what anonymous_user mentioned into sF.
e36freak in #awk/freenode told me how to get urxvt font from Xdefaults.
awk -F ':[[:blank:]]*' '!/^[[:blank:]]*!/ && tolower($0) ~ /urxvt.*font/ {last = $NF} END {print last}' ~/.Xdefaults
Maybe you add this.
not everyone is using the default location. i think this would be better
xrdb -query | awk -F ':[[:blank:]]*' '!/^[[:blank:]]*!/ && tolower($0) ~ /urxvt.*font/ {last = $NF} END {print last}'
Neither of these commands turned up a result for a font for me. The first returned 'antialias=true' and the second a newline.
Using Version 2.3.7 (git). Screen fetch does not automatically detect my OS on Arch. Here is the output of the verbose command:
:: Finding hostname and user...found as 'hk47@Reclaimer' :: Finding distro...found as 'Unknown ' :: Finding kernel version...found as '3.1.8-1-ARCH' :: Finding current uptime...found as '1h 10m' :: Finding current shell...found as 'bash' :: Finding current resolution(s)...found as '1680x1050' QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave. :: Finding desktop environment...found as 'KDE' :: Finding window manager...found as 'KWin' :: Finding window manager theme...found as 'Not Present' :: Finding GTK theme...found as 'Not Found' :: Finding icon theme...found as 'Not Found' :: Finding user font...found as 'Not Found' hk47@Reclaimer ##### OS: Unknown x86_64 ####### Kernel: 3.1.8-1-ARCH ##O#O## Uptime: 1h 10m ####### Shell: bash ########### Resolution: 1680x1050 ############# DE: KDE ############### WM: KWin ################ WM Theme: Not Present ################# GTK Theme: Not Found ##################### Icon Theme: Not Found ##################### Font: Not Found #################
uncommenting "distro="Arch Linux" seemed to fix it though. Don't know if thats what I was supposed to do or not.
Yeah, this is something that's frustrating and that I've been meaning to look into. I've found that re-installing lsb_release fixes this when it happens. Which is absolute shit. Shouldn't have to do that. I'll look more into this and get it out in the next version.
I guess I should ask, first, do you have lsb_release on your system?
I'll post here when I release again.
Last edited by kittykatt (2012-01-31 09:24:15)
- [ My Blog ] | [ AUR Packages ] | [ My deviantART ] | [ screenFetch ] | [ SilverIRC ] -
Offline
Changes (v2.3.8):
Commit 31185f7 - Changed to relying on /proc/sys/kernel/hostname for hostname now instead of the `hostname`.
Commit c0e2f86 and Commit 3cb7feb - Added tentative support for monsterwm and dminiwm, which I've seen pop up in the Community Contribution sections.
That's all for now. The lsb_release issue is one of the issues at the top of my list. As soon as I encounter the error again, I'm going to do some testing. I can't reliably reproduce the error on demand, though I have encountered the error before.
Bumped the version up to 2.3.8.
On my TODO list:
ANY kind of GTK3 detection.
Proper GNOME3 handling.
EDIT: MOAR CHANGES.
Changes (v2.3.9):
Commit 041fa85 - Added MATE detection, theme detection possibly not working yet. Fixed WindowMaker detection.
Commit 27eaae3 - Fixed SolusOS detection.
WOO! - I know Arch users may not care too much, but I've had a lot of requests to get a .DEB package out. And I do believe I've succeeded. I'll post it up on .DEB related distro sites. Or here, if wanted.
Last edited by kittykatt (2012-02-02 22:55:12)
- [ My Blog ] | [ AUR Packages ] | [ My deviantART ] | [ screenFetch ] | [ SilverIRC ] -
Offline
I feel like I'm really clogging up this thread with multi-posts, but I thought this merited a new post.
screenFetch now supports fetching total number of packages installed (multi-distro), CPU model and speed, and RAM usage.
v2.4.0 is out!
Updating the AUR packages now.
- [ My Blog ] | [ AUR Packages ] | [ My deviantART ] | [ screenFetch ] | [ SilverIRC ] -
Offline
Can you please add/replace cpu, whit cpu usage? like RAM have.ty
Offline
Alright, so I encountered the "Unknown" on my laptop again due to lsb_release being fudged. My lsb_release file on this machine now contains...
└─| >>> cat /etc/lsb-release
DISTRIB_DESCRIPTION="Arch Linux"
But, lsb-release -a reports....
└─| (master) >>> lsb_release -a
LSB Version: n/a
Distributor ID: n/a
Description: (none)
Release: n/a
Codename: n/a
Which is all kinds of odd. I don't know what causes this, but I'm working on a workaround for when this happens. Also working on color options for you guys.
- [ My Blog ] | [ AUR Packages ] | [ My deviantART ] | [ screenFetch ] | [ SilverIRC ] -
Offline
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.
- [ My Blog ] | [ AUR Packages ] | [ My deviantART ] | [ screenFetch ] | [ SilverIRC ] -
Offline
- [ My Blog ] | [ AUR Packages ] | [ My deviantART ] | [ screenFetch ] | [ SilverIRC ] -
Offline
Warning: I've switched repository names on SilverIRC's git. Now screenfetch.git instead of screenfetch-dev.git.
- [ My Blog ] | [ AUR Packages ] | [ My deviantART ] | [ screenFetch ] | [ SilverIRC ] -
Offline
Hi kittykatt,
Today Installed your screenfetch tool from AUR, did this with packer.
I had to manually rename;
/tmp/packerbuild-1000/screenfetch/screenfetch/src/screenfetch-2.5.5
to
/tmp/packerbuild-1000/screenfetch/screenfetch/src/-2.5.5
Just to let you know;)
Offline
@kittykatt
Please, insert option to read "gtk-fallback-icon-theme" from gtkrc. Here is info (?) about that setting:
http://developer.gnome.org/gtk2/2.24/Gt … icon-theme
It can be used to setup fallback icon theme in case that "gtk-icon-theme-name" is broken/missing/incomplete.
Offline
@kittykatt
Please, insert option to read "gtk-fallback-icon-theme" from gtkrc. Here is info (?) about that setting:
http://developer.gnome.org/gtk2/2.24/Gt … icon-themeIt can be used to setup fallback icon theme in case that "gtk-icon-theme-name" is broken/missing/incomplete.
Thanks. Will look into it.
- [ My Blog ] | [ AUR Packages ] | [ My deviantART ] | [ screenFetch ] | [ SilverIRC ] -
Offline
Sorry for silly question, but how can you change that pengiun logo to Arch one?
EDIT: modified /usr/bin/screenfetch and replaced ("Arch Linux") to the recognized OS.
Last edited by White girl (2012-12-25 13:43:42)
Offline
Sorry for silly question, but how can you change that pengiun logo to Arch one?
EDIT: modified /usr/bin/screenfetch and replaced ("Arch Linux") to the recognized OS.
screenfetch.sh -D MyDistro
Examples:
screenfetch.sh -D debian /* it shows debian logo */
screenfetch.sh -D archlinux /* it shows arch logo */
screenfetch.sh -D linux /* it shows tux logo */
p.s. screenfetch.sh is the name on my computer but it can be anything you want
Offline
Using screenfetch-git, when you have E17 as wm and xprop installed, the resulting $WM in line 950 is Enlightenment (with capital E), so on line 1064 you won't be called, as it only accepts the "E17" result from line 967.
Anyway, to read the .cfg files that e uses, you can use eet. If E17 is the wm, eet will be available, so it's not a dependency for screenfetch-git but it's still good to check I suppose. To find the theme, use this on line 1064ff:
'E17'|'Enlightenment') if [ "$(which eet 2>/dev/null)" ]; then
econfig="$(eet -d $HOME/.e/e/config/standard/e.cfg config | awk '/value \"file\" string.*.edj/{ print $4 }')"
econfigend="${econfig##*/}"
Win_theme=${econfigend%.*}
fi;;
Last edited by VCoolio (2012-12-29 16:12:36)
Offline