SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2015-03-05 21:37:51

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Setting wallpaper during installation

If we want a background with graphics instead of a plain tile, for the default installation, wouldn't there be a need for a script to detect screen resolution and number of screens so the appropriate size image(s) can be set?

Presumably this also needs to happen if a new user is added.


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

Help fund CrunchBang, donate to the project!

#2 2015-03-05 22:53:50

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: Setting wallpaper during installation

Have nitrogen autostart with "--restore --set-zoom-fill" options?


bunsenlabs     8)     forum mod squad

Offline

#3 2015-03-05 23:26:26

brontosaurusrex
#! Red Menace
Registered: 2012-06-15
Posts: 1,643

Re: Setting wallpaper during installation

or tile for background and centered conky to draw a logo. < kinda resolution independent approach.

Offline

#4 2015-03-05 23:35:51

twoion
Moderator
Registered: 2012-05-11
Posts: 1,648

Re: Setting wallpaper during installation

brontosaurusrex wrote:

or tile for background and centered conky to draw a logo. < kinda resolution independent approach.

That's a good point; but since damo's velvet-noisy ellipsis-flame-wallpapers are made so that just centering a high-res paper should also produce good result on low-res monitors (maybe not 320x240), I don't think that added complexity is necessary.

hhh wrote:

nitrogen --restore --set-zoom-fill

Why should we prefer nitrogen over feh? feh looks much more leaner, and provides a full solution for the problem at hand.

% apt-cache depends feh
feh
  Depends: libc6
  Depends: libcurl3
  Depends: libexif12
  Depends: libimlib2
  Depends: libpng12-0
  Depends: libx11-6
  Depends: libxinerama1
  Recommends: libjpeg-progs
    libjpeg-turbo-progs
  Conflicts: feh:i386
% apt-cache depends nitrogen
nitrogen
  Depends: libatk1.0-0
  Depends: libatkmm-1.6-1
  Depends: libc6
  Depends: libcairo2
  Depends: libcairomm-1.0-1
  Depends: libfontconfig1
  Depends: libfreetype6
  Depends: libgcc1
  Depends: libgdk-pixbuf2.0-0
  Depends: libglib2.0-0
  Depends: libglibmm-2.4-1c2a
  Depends: libgtk2.0-0
  Depends: libgtkmm-2.4-1c2a
  Depends: libpango-1.0-0
  Depends: libpangocairo-1.0-0
  Depends: libpangoft2-1.0-0
  Depends: libpangomm-1.4-1
  Depends: libsigc++-2.0-0c2a
  Depends: libstdc++6
  Depends: libx11-6
  Depends: libxinerama1
  Conflicts: nitrogen:i386

feh --bg-center would work just as well, and feh does also have a feature equivalent to --restore (~/.fehbg).


Tannhäuser ~ {www,pkg,ddl}.bunsenlabs.org/{gitlog,repoidx}

Offline

#5 2015-03-05 23:48:04

brontosaurusrex
#! Red Menace
Registered: 2012-06-15
Posts: 1,643

Re: Setting wallpaper during installation

@twoion; you can still combine velvet in fit mode and logo in native resolution.

p.s. conky relevant code for the logo, example;

alignment middle_middle
minimum_size 260 392

Under text

${image ~/logo.png -p 0,0 -s 260x392}

scrot
conkylogo.jpg
(Note: gap_x would have to be 0 and gap_y 40, to really center...)

That would also allow users to remove/replace logo and/or wallpaper as they see fit.

p.s. Another option would be svg combo of bitmap and vector logo, which is then rasterized based on screen res. < untested.

Last edited by brontosaurusrex (2015-03-06 00:17:52)

Offline

#6 2015-03-06 00:42:38

spacex
ew
From: Norway
Registered: 2015-01-17
Posts: 385
Website

Re: Setting wallpaper during installation

Why use either? If going minimal, then hsetroot can set the background, and conky can do the rest.


Regards,
spacex/ew
http://tweaklinux.org

Offline

#7 2015-03-06 01:42:22

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: Setting wallpaper during installation

twoion wrote:
hhh wrote:

nitrogen --restore --set-zoom-fill

Why should we prefer nitrogen over feh? feh looks much more leaner, and provides a full solution for the problem at hand...

It was a suggestion. feh is good, I've used feh. feh can set a random wallpaper, not a feature I use though. I thought nitrogen was in Waldorf, and nitrogen is easier for the user. You can preview "on the fly" as it were, it loads a whole directory and you can quickly apply walls in different styles (centered, scaled, etc...) So it pulls a few more libraries, installed space is under 500kB on amd64, and the difference in size between it and nitrogen on i386 is minimal...
https://packages.debian.org/jessie/nitrogen
https://packages.debian.org/jessie/feh


bunsenlabs     8)     forum mod squad

Offline

#8 2015-03-06 04:26:06

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: Setting wallpaper during installation

It's been said several times lately - CrunchBang wasn't a minimalistic setup really. Does BunsenLabs have to be squeezing every last megabyte of install size?

No-one's talking about installing the whole KDE library set just to get an image viewer of course...


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
#! forum moderator    BunsenLabs

Offline

#9 2015-03-06 07:26:31

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Setting wallpaper during installation

As already said, feh is a good tool, but we are also catering for new users as well so a light gui application is needed imo. Nitrogen does the job fine.


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo