Re: screenFetch - The Bash Screenshot Information Tool

kittykatt wrote:

Question to all users and non-uses of screenFetch:

Is there a demand for system information in your screenshot?

I've noticed that tools like Archey and screenfo are more in use than screenFetch and that they both output system info like memory, processor usage, packages installed, etc. I never went about integrating stats like that into screenFetch because I thought that theme information about the screenshot ITSELF would be more useful. Was I wrong and are the system stats more in demand than the actual theme information? This question's been dragging at my mind for a while now.

Personally I think just information about the screenshot is useful. Theres always programs like inxi if you want system information.

Re: screenFetch - The Bash Screenshot Information Tool

Thanks for all of the replies!

@Erus_Iluvatar: Actually, in the development version (of which there is only a single copy - mine ), I'm working with turning the display variable into a Bash array so that you won't have blank lines when you take out something in the middle (i.e. WM Theme). If you do come up with a working or even semi-working solution before I do, feel free to email me or post a patch here. I'll revise it the way I want to and throw it in the code.

I still need to apply the other patches you listed. I'll do so tonight and hopefully also have a Bash array solution by the end of the night as well.

@kmason: If lsb_release isn't installed, screenFetch looks for the file /etc/issue which usually contains some information on the system. In your average, everyday Arch Linux this file would contain the words "Arch Linux". You might be able to modify that file. Not sure. Let me look into it....Got it!

http://linux.die.net/man/1/lsb_release <<< Read up on this. Seems the /etc/lsb-release file is key to modifying you lsb_release output. That's only if you want to ship Afterglow with lsb_release. Other than that, I'd look into modifying /etc/issue. Or you could ship it with an extra file and I could write the code to detect Afterglow into screenFetch itself. But I'd prefer you just modify it yourself.

@Sector11: Ya know what? I bet your LSB Release binary is installed as 'lsb-release' and not 'lsb_release'. Can you confirm this? If it's true, I'll write another block identical to the lsb_release block, replacing _ with - for cases like that.

@igndenok:: You think this one was fast? I'll be trimming down a lot in the next release so that install is like *snap*.

@anonymous_user: See, that's what I've always thought. But there seems to be a large demand for system stats integrated into your screenshot tool as well. After the next couple of updates, screenFetch will be better than ever. If I'm not seeing more users by then, I'll see what I can do about integrating sys stats and still keeping the current ones.

Once again, thanks for all the feedback. I really appreciate hearing from the community about this project.

Re: screenFetch - The Bash Screenshot Information Tool

kittykatt wrote:

@Sector11: Ya know what? I bet your LSB Release binary is installed as 'lsb-release' and not 'lsb_release'. Can you confirm this? If it's true, I'll write another block identical to the lsb_release block, replacing _ with - for cases like that.

@anonymous_user: See, that's what I've always thought. But there seems to be a large demand for system stats integrated into your screenshot tool as well. After the next couple of updates, screenFetch will be better than ever. If I'm not seeing more users by then, I'll see what I can do about integrating sys stats and still keeping the current ones.

I suppose a flag can be used to show the system info. So by default it won't show, but if do you want it you can have it.

Re: screenFetch - The Bash Screenshot Information Tool

kittykatt wrote:

@kmason: If lsb_release isn't installed, screenFetch looks for the file /etc/issue which usually contains some information on the system. In your average, everyday Arch Linux this file would contain the words "Arch Linux". You might be able to modify that file. Not sure. Let me look into it....Got it!

http://linux.die.net/man/1/lsb_release <<< Read up on this. Seems the /etc/lsb-release file is key to modifying you lsb_release output. That's only if you want to ship Afterglow with lsb_release. Other than that, I'd look into modifying /etc/issue. Or you could ship it with an extra file and I could write the code to detect Afterglow into screenFetch itself. But I'd prefer you just modify it yourself.

Good to know, thanks. I figured it would be something like /etc/issue that I needed to modify, but I wasn't sure.

Re: screenFetch - The Bash Screenshot Information Tool

kmason wrote:

kittykatt wrote:

@kmason: If lsb_release isn't installed, screenFetch looks for the file /etc/issue which usually contains some information on the system. In your average, everyday Arch Linux this file would contain the words "Arch Linux". You might be able to modify that file. Not sure. Let me look into it....Got it!

http://linux.die.net/man/1/lsb_release <<< Read up on this. Seems the /etc/lsb-release file is key to modifying you lsb_release output. That's only if you want to ship Afterglow with lsb_release. Other than that, I'd look into modifying /etc/issue. Or you could ship it with an extra file and I could write the code to detect Afterglow into screenFetch itself. But I'd prefer you just modify it yourself.

Good to know, thanks. I figured it would be something like /etc/issue that I needed to modify, but I wasn't sure.

I would personally recommend shipping Afterglow with lsb_release and just modifying the /etc/arch-release file, as that seems the place to do it. I was playing around with stuff a few minutes ago and added "(Meow)" to the end of my /etc/arch-release file and it showed up in the lsb_release output. Here's some examples for further explanation...

Re: screenFetch - The Bash Screenshot Information Tool

not trying to jump in as I haven't browsed the recent code yet, but regarding a previous patch proposal; shouldn't the $HOME/.config -> $XDG_CONFIG_DIR be changed to ${XDG_CONFIG_DIR:-${HOME}/.config}Just in case XDG_CONFIG_DIR isn't set. If it's already patched like this, sorry for mentioning it as I'm at work right now. Other than that, I really like the script as it only displays info I need for other's asking question about my setup, etc, instead of basic system info. Thanks for this. :}

Re: screenFetch - The Bash Screenshot Information Tool

milomouse wrote:

not trying to jump in as I haven't browsed the recent code yet, but regarding a previous patch proposal; shouldn't the $HOME/.config -> $XDG_CONFIG_DIR be changed to ${XDG_CONFIG_DIR:-${HOME}/.config}Just in case XDG_CONFIG_DIR isn't set. If it's already patched like this, sorry for mentioning it as I'm at work right now. Other than that, I really like the script as it only displays info I need for other's asking question about my setup, etc, instead of basic system info. Thanks for this. :}

Sounds like a sound idea. Still don't have those previously mentioned patches done yet and I'm between classes at the moment, but I could probably implement them in my downtime during my next shift at work.

BIG FAT EDIT

Erus_Iluvatar: I tried implementing your uptime function into screenFetch which I suppose was designed to output seconds as well as what was output before, but it didn't manage to grab seconds for me. =\ Implemented all of your other patches.

I also managed to work out Bash arrays and got them working in my dev version of screenFetch. They're really ugly currently, but they get the job done. I'll push it later after I take a look and see if I can't clean it up some.

Re: screenFetch - The Bash Screenshot Information Tool

JokerBoy wrote:

1. freebsd doesn't have /proc/uptime. use the command uptime instead.. 2. on freebsd is better to use gsed (coreutils), not there own sed..

Thanks for the feedback. Yeah, my knowledge of FreeBSD is pretty limited, so a couple of other issues might pop up as well. I'll implement these changes sometime in the next couple of days and let you know.

Re: screenFetch - The Bash Screenshot Information Tool

Uploaded the package "screenfetch" to the AUR. There are now two screenfetch related packages in the AUR...

screenfetch - Pulls a tarball of the screenfetch latest commit from my webserver. Not guaranteed to be as up to date.screenfetch-git - Clones the screenfetch-dev git repository on my server. Pretty much guaranteed to be the most up to date release.

This is so that people that don't want to install git as a dependency of this won't have to and can just install the "screenfetch" package instead.

Re: screenFetch - The Bash Screenshot Information Tool

Yeah, I never tested the OpenSuSe detection myself as I've never had OpenSuSe installed on my system and no one I'm close to has, either. I'll correct the '/etc/SUSE-release' to '/etc/SuSe-release' ASAP and report back here. Thanks for the feedback!

EDIT:@penguin: Could you reinstall from the AUR or just clone my git repository here and test the new one for me? I just created a SuSe ASCII logo from scratch and added it in because I realized I never really finished writing the SuSe detection and display. Let me know what you think, please.

Re: screenFetch - The Bash Screenshot Information Tool

@penguin: Could you reinstall from the AUR or just clone my git repository here and test the new one for me? I just created a SuSe ASCII logo from scratch and added it in because I realized I never really finished writing the SuSe detection and display. Let me know what you think, please.

Update! Version 2.3.1!

Added SuSe detection and new ASCII logo

Fixed NoASCII output

Fixed displaying of "n/a" values for distro codename/release

Updated first post with screenshot of latest version and current information

Re: screenFetch - The Bash Screenshot Information Tool

kittykatt wrote:

Yeah, I never tested the OpenSuSe detection myself as I've never had OpenSuSe installed on my system and no one I'm close to has, either. I'll correct the '/etc/SUSE-release' to '/etc/SuSe-release' ASAP and report back here. Thanks for the feedback!

Re: screenFetch - The Bash Screenshot Information Tool

While I'm at it, I was playing around with the script the other day, and I could not see any help instruction on how to get the old Arch logo. Also, the text for the "-B" option in the help section is misaligned.

Oh, and I think it would be good if the use of -D was either case insensitive, or at least in a way so you don't have to write the various distributions with capital letter, but rather type them all with small case. But that is just my personal opinion.

Re: screenFetch - The Bash Screenshot Information Tool

I use E17, but it doesn't detect it"DE: Not PresentWM: Not Found"The second line is the point.

Anyway, nice work. Have a nice day!

PS:Yes, this is a screenshot utility after all... so, who cares about sys info, after all?For me, also uptime is 'useless' for the purpose of this nice program I prefer it far more than alsi, archey, archey3