Playing with hsetroot

Forum rules
Share your brain ;)
User avatar
ChefIronBelly
Approved BBQer
Posts: 1044
Joined: Mon Jan 13, 2014 6:01 am
Location: Michigan

Playing with hsetroot

Unread post by ChefIronBelly » Fri Feb 14, 2014 6:59 pm

This is something I wanted to do instead of using a graphic program, smaller image size, less video memory lets say. YMMV

So I started with a google search to grab and clip.
results
bbq_desktop.png
Using hsetroot to stick smaller image in the center and add some ambience to feather it in.

Code: Select all

hsetroot -add "#000000" -add "#200000" -gradient 0 -center ~/Pictures/Wallpapers/bbq_desktop.png &
results
2014-02-14-174725_1440x900_scrot.png
Not perfect but you get the idea. Solid black worked just as well with that clip, bottom line I will doing this with my own stuff in the future.

Edit: typos and a little insight.

The IIRC the fist number #200000 was the bottom and #00000 was the top the gradient was in degrees 0 = 12 O'clock position.
Last edited by ChefIronBelly on Fri Feb 14, 2014 8:41 pm, edited 2 times in total.
(1/1) Installing: LinuxBBQ...................................[69%]==============[/]

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

Re: Playing with hsetroot

Unread post by dkeg » Fri Feb 14, 2014 7:07 pm

That's really quite fantastic. Yeah, hsetroot has some nifty options

Work hard; Complain less

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

Re: Playing with hsetroot

Unread post by wuxmedia » Fri Feb 14, 2014 8:32 pm

clever, thanks Chef!
"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: Playing with hsetroot

Unread post by DebianJoe » Fri Feb 14, 2014 9:27 pm

Wonderfully useful. Thanks for sharing.
|>>BBQ Roaster, Alpha Branch<< | >> clinky << | >> X11 must die << |
Thanks BASIC

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

Re: Playing with hsetroot

Unread post by machinebacon » Sat Feb 15, 2014 1:42 am

Thanks for this! Probably you can make the original picture transparent for specific colours (black in this case, using imagemagick because GIMP is bloat) and then overlay it. This would blend then.
..gnutella..

User avatar
ChefIronBelly
Approved BBQer
Posts: 1044
Joined: Mon Jan 13, 2014 6:01 am
Location: Michigan

Re: Playing with hsetroot

Unread post by ChefIronBelly » Sat Feb 15, 2014 7:23 pm

right on I sould have mentioned you want a transparent background on your image. I tried imagemagick on that one didnt have much luck I have a bloat box with inkscape that I fire up about once a year.

Here is a better example using bacons avatar and the sites colors.
2014-02-15-132019_1440x900_scrot.png
(1/1) Installing: LinuxBBQ...................................[69%]==============[/]

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

Re: Playing with hsetroot

Unread post by machinebacon » Sun Feb 16, 2014 4:52 am

Right on, this was the old wallpaper around 1 year ago :)
Attachments
live-installer.png
live-installer.png (37.6 KiB) Viewed 2902 times
..gnutella..

Post Reply