Mixed bag

Forum rules
Post your scrot in the appropriate section. If the section does not exist yet - open a new thread ;)
machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Screenshots

Unread post by machinebacon » Mon Sep 16, 2013 12:33 pm

wux, actually you could run yeahconsole. try it ;)
..gnutella..

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: Screenshots

Unread post by wuxmedia » Mon Sep 16, 2013 1:29 pm

will have a look. need something to get the skype windows to stay on one desktop.
there's always a fullscreen (max CxR's) terminal window (or two) open - should be fbterm on tty3 really.
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
DebianJoe
Frame Buffer
Posts: 1915
Joined: Mon Jul 01, 2013 5:41 am
Location: emacs.d

Re: Screenshots

Unread post by DebianJoe » Mon Sep 16, 2013 4:01 pm

Let's start off Monday right!
Image
Me trying to write my own bash script for info in killx. ;) {bash gurus, please just PM me with your script hate}
|>>BBQ Roaster, Alpha Branch<< | >> clinky << | >> X11 must die << |
Thanks BASIC

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: Screenshots

Unread post by GekkoP » Mon Sep 16, 2013 4:29 pm

I need a script like that too. I'm bad at script writing, so far I just fixed screenfetch-dev to my own taste (basically removing ASCII logo and adding info about disk usage). But scripting is another thing I need to learn.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Screenshots

Unread post by machinebacon » Mon Sep 16, 2013 6:48 pm

Joe,
instead of printf "killX Info" simply get the release name/version from /etc/os-release or /etc/lsb-release (because this makes your script work across distros), or even /etc/issue (though this is not always working fine)
..gnutella..

User avatar
DebianJoe
Frame Buffer
Posts: 1915
Joined: Mon Jul 01, 2013 5:41 am
Location: emacs.d

Re: Screenshots

Unread post by DebianJoe » Tue Sep 17, 2013 6:54 am

I was also reminded "don't grep the cat" from a Pidsley discussion on wasting processes with extra pipes.
Image
Made my baby's first scripting a bit better. ;)
|>>BBQ Roaster, Alpha Branch<< | >> clinky << | >> X11 must die << |
Thanks BASIC

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: Screenshots

Unread post by GekkoP » Tue Sep 17, 2013 2:48 pm

BBQ Elektra
Image

Still working on it, but so far so good.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Screenshots

Unread post by machinebacon » Tue Sep 17, 2013 3:27 pm

^ Absolutely.
Attachments
kowloon.png
..gnutella..

User avatar
DebianJoe
Frame Buffer
Posts: 1915
Joined: Mon Jul 01, 2013 5:41 am
Location: emacs.d

Re: Screenshots

Unread post by DebianJoe » Tue Sep 17, 2013 3:41 pm

@Gekko, nice Elektra. Still one of my favorite spins.
@Bacon, BB...nice.
|>>BBQ Roaster, Alpha Branch<< | >> clinky << | >> X11 must die << |
Thanks BASIC

User avatar
ivanovnegro
Minister of Truth
Posts: 5449
Joined: Wed Oct 17, 2012 11:12 pm

Re: Screenshots

Unread post by ivanovnegro » Tue Sep 17, 2013 3:50 pm

@GekkoP: Yep, nice.

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: Screenshots

Unread post by dkeg » Tue Sep 17, 2013 3:55 pm

@GekkoP - nice. Like the wall.

try this in your .xinitrc for i3 to reduce memory consumption. Check the usage first to see the difference

replace

Code: Select all

exec i3
with

Code: Select all

exec i3 --shmlog-size 0

Work hard; Complain less

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: Screenshots

Unread post by GekkoP » Tue Sep 17, 2013 4:04 pm

Edit: ok, thanks. RAM usage drops now.
The only thing left is make my network printer work and that's it: Elektra is awesome.

User avatar
DebianJoe
Frame Buffer
Posts: 1915
Joined: Mon Jul 01, 2013 5:41 am
Location: emacs.d

Re: Screenshots

Unread post by DebianJoe » Wed Sep 18, 2013 5:54 am

Image

Beginning a very big project...
|>>BBQ Roaster, Alpha Branch<< | >> clinky << | >> X11 must die << |
Thanks BASIC

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: Screenshots

Unread post by GekkoP » Wed Sep 18, 2013 12:53 pm

@DebianJoe hope you won't mind, I took the info script you posted before and added this:

Code: Select all

freedisk=$(df -H | grep /home | awk '{printf $4}')
totaldisk=$(df -H | grep /home | awk '{printf $2}')
disk="${freedisk}B / ${totaldisk}B"
I deleted my screenfetch-fix, cause yours is lighter and I like it. I'm no bash script expert, so there may be a better way to do what I did with df above.

User avatar
bones
Clooney
Posts: 2385
Joined: Fri Jun 28, 2013 11:47 pm
Location: Cascadia

Re: Screenshots

Unread post by bones » Wed Sep 18, 2013 1:06 pm

Not really a system screenie, but always good news when this one pops up over at peniswatch:
Attachments
Screen shot 2013-09-18 at 4.58.24 AM.png

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: Screenshots

Unread post by wuxmedia » Wed Sep 18, 2013 1:39 pm

I'm not much of a coder, but;
you could lose the grep df lets you specify the FS required.

Code: Select all

freedisk=$(df /home -H  | awk '{if ($1 != "Filesystem") print $4;}')
OR
if you put the df output into a variable

Code: Select all

disk=`df /home -h`
then you could df once and awk the same variable twice.

Code: Select all

free=`echo $disk` | awk '{print $11}'
total=`echo $disk` | awk '{print $9}'
but really, nit-picking this doubles the calls to echo... and fills a bunch of variables...
wow i'm getting into this.
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: Screenshots

Unread post by GekkoP » Wed Sep 18, 2013 2:00 pm

Yes, I was just going through df man page and I noticed that. Schoolboy error, I know :)

Thanks for the advice, I'll fix the script.

User avatar
ivanovnegro
Minister of Truth
Posts: 5449
Joined: Wed Oct 17, 2012 11:12 pm

Re: Screenshots

Unread post by ivanovnegro » Wed Sep 18, 2013 5:20 pm

bones wrote:Not really a system screenie, but always good news when this one pops up over at peniswatch:
Who says, Slackware is outdated? :) Welcome Grub and Linux 3.10!

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: Screenshots

Unread post by dkeg » Thu Sep 19, 2013 12:43 am

same different
Image

Work hard; Complain less

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: Screenshots

Unread post by wuxmedia » Fri Sep 20, 2013 2:36 pm

Image
going for the burn, with a sleazy el_k style wall
"Seek, and Ye shall find"
"Github | Chooons | Site"

Locked