Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Another package of Walls - This time 100 of them!

Show us how you are setting up MX-14!
Message
Author
linwinux

Another package of Walls - This time 100 of them!

#1 Post by linwinux » Wed May 02, 2018 10:35 am

I've seen a few people asking about wallpapers, so I placed a pack of 40 of them under MX 17 themes. They can be downloaded from my own server right here:
http://www.drachenbeere.de/40_wallpapers.tar.gz

Someone then expressed that the resolutions were too low, even though they look great on our 50" screen.
Well then, how about another pack of 100 wallpapers, this time at an avg. width of 1800 pixels.
Here's the link for that. I'll leave the files there indefinitely ...

http://www.drachenbeere.de/100walls_1800.tar.gz

Enjoy! :party5:

User avatar
oops
Forum Regular
Forum Regular
Posts: 295
Joined: Tue Apr 10, 2018 5:07 pm

Re: Another package of Walls - This time 100 of them!

#2 Post by oops » Wed May 02, 2018 11:29 am

linwinux wrote:I've seen a few people asking about wallpapers, so I placed a pack of ...
Thanks again ... For information, you can also use jpegoptim, for example, to have the same 1800 pixels resolution but the MB size divided by almost 3 or 4 for each jpg file.
Sample for 1 jpg:

Code: Select all

mkdir compressed-jpegoptim
jpegoptim -d ./compressed-jpegoptim -p -m80 MyFile.jpg
By this way, the 100walls_1800.tar.gz file 72MB go to ... 26MB with the same perceptual aspect.
$ inxi -S : System: Host:XEON Kernel: 4.16.0-xeon-01.efi x86_64 bits: 64 Desktop: Xfce 4.12.3 - Distro: MX-17.1_x64 Horizon


linwinux

Re: Another package of Walls - This time 100 of them!

#3 Post by linwinux » Wed May 02, 2018 11:48 am

Thanks for the tip. Storage used to mean a lot to me in the old days, but nowadays we have servers with up to 320 GB of SSD storage, so another 50 MB more or less don't really matter anymore. I tested the download speed too and it took less than 10 seconds for the file to download onto my system ... with a true 100mbps connection. ;)
I'll definitely keep the suggestion under consideration though.

Am I understanding that correctly? Each file has to be done individually? I prefer batch conversions in order to save time ...

User avatar
oops
Forum Regular
Forum Regular
Posts: 295
Joined: Tue Apr 10, 2018 5:07 pm

Re: Another package of Walls - This time 100 of them!

#4 Post by oops » Wed May 02, 2018 12:41 pm

linwinux wrote:...
Am I understanding that correctly? Each file has to be done individually? I prefer batch conversions in order to save time ...
Re:
Here is my nemo (or nautilus or Caja) script (with mouse multiple select files / batch - ex: xargs -P 2 for 2 cores)

Code: Select all

#!/bin/bash
# Installation:
    # Nautilus: copy this file in ~/.local/share/nautilus/scripts/ and chmod +x it
    # Nemo:     copy this file in ~/.local/share/nemo/scripts/ and chmod +x it
    # Caja:     copy this file in ~/.config/caja/scripts/          and chmod +x it


#  jpg
IFS="
"
################################################
#        notification depends of system        #
################################################
function notif { 
    # the script is running in a term
    if [ $(env | grep '^TERM') ]; then printf "\n#### $(basename -- "$0") notification ####\n  ⇒  $1\n\n"
    else # in x, notifications
		if   hash notify-send 2>/dev/null; then notify-send "$1"
		elif hash zenity 2>/dev/null; then { echo "message:$1" | zenity --notification --listen & }
		elif hash kdialog 2>/dev/null; then { kdialog --title "$1" --passivepopup "This popup will disappear in 5 seconds" 5 & }
		elif hash xmessage 2>/dev/null; then xmessage "$1" -timeout 5
        else echo "$1" > "$(basename -- $0)_notif.txt"
        fi
    fi
}
################################################
#               dependency check               #
################################################
function depend_check {
    for arg; do
		hash "$arg" 2>/dev/null || { notif >&2 "Error: Could not find \"$arg\" application."; exit 1; }
    done    
}
################################################
#         do not overwrite with output         #
################################################
function do_not_overwrite {
    out="$1"
    while [[ -a "$out" ]]; do
        when=$(date +%Y%m%d-%H:%M:%S)
        [[ -f "$out" ]] && out="${out%.*}#$when.${out##*.}" || out="$out#$when"
    done
    echo "$out"
}
################################################
#          check if input files > min          #
################################################
function nb_files_check {
    nb_files="$1"
    min_nb_files="$2"
    if (( $1 < $2 )); then 
        [[ $2 == 1 ]] && notif "$1 file selected, \"$(basename -- $0)\" needs at least one input file" || notif "$1 file selected, \"$(basename -- $0)\" needs at least $2 input files" 
        exit 1
    fi 
}
################################################
#              error notifications             #
################################################
function error_check {
    nb_files="$1"
    error_message="Error: $2"
    nb_error="$3"
    name_error_files="$4"

    if [[ $nb_error != 0 ]]; then
        [[ $nb_error == 1 ]] && error_message="$error_message:$name_error_files"
        [[ $nb_error > 1 ]] && [[ $nb_error < $nb_files ]] && error_message="$error_message ($nb_error/$nb_files files: $name_error_files)"
        [[ $nb_error > 1 ]] && [[ $nb_error = $nb_files ]] && error_message="$error_message (All selected files)"
    notif "$error_message"
    fi
}
################################################
#      error write rights notifications        #
################################################
function writeout_right_check {
    out=$(readlink -f -- "$1")
    outdir="${out%/*}"
    [[ ! -w "$outdir" ]] && echo "1" || echo "0"
}

################################################
#                    script                    #
################################################
nb_files_check $# 1

depend_check convert

directory="$(pwd)"
mime_error=0; mime_error_file=""
writeout_error=0; writeout_error_file=""
for arg
do
    # input/output
    input=$(readlink -f -- "$arg")
    input_filename=$(basename -- "$input")
    output=$(do_not_overwrite "$directory/${input_filename%.*}_p.jpg")

    if [[ $(writeout_right_check "$output") == "1" ]]; then
        ((writeout_error++))
        writeout_error_file="$writeout_error_file \"$input_filename\""
        continue
    fi
  
    type=$(file --mime-type -b -- "$input" | cut -d "/" -f2)
    
    case $type in
        "jpeg") # input mimetype is supported
#            convert -strip -interlace Plane -quality 90 "$input" "$output" ;;

# pour tout le repertoire, recursif :
#            ladon "*.jpg" -- jpeg-recompress DIRNAME/BASENAME.EXT DIRNAME/BASENAME_jpeg-recompress001.EXT ;;


# que pour les fichier selectionner dans nautilus vers autre nom.jpg:
#            ladon "$input" -- jpeg-recompress DIRNAME/BASENAME.EXT DIRNAME/BASENAME_jpeg-recompress001.EXT ;;
#            ladon "$input" -- jpeg-recompress DIRNAME/BASENAME.EXT DIRNAME/BASENAME_jpeg-recompress001.EXT ;;



mkdir compressed-jpegoptim

#jpegoptim -d ./compressed-jpegoptim -p -m80 "$input" | xargs -P 4 ;;
jpegoptim -d ./compressed-jpegoptim -p -m80 "$input" | xargs -P 2 ;;


        *) # input mimetype is not supported
            ((mime_error++)); mime_error_file="$mime_error_file \"$input_filename\"" ;;
    esac
done

error_check "$#" "Mimetype not supported" "$mime_error" "$mime_error_file"
error_check "$#" "Can't write in output directory" "$writeout_error" "$writeout_error_file"
$ inxi -S : System: Host:XEON Kernel: 4.16.0-xeon-01.efi x86_64 bits: 64 Desktop: Xfce 4.12.3 - Distro: MX-17.1_x64 Horizon


User avatar
MX<3
Forum Regular
Forum Regular
Posts: 146
Joined: Mon Oct 23, 2017 10:06 am

Re: Another package of Walls - This time 100 of them!

#5 Post by MX<3 » Sat May 05, 2018 4:29 pm

linwinux wrote:I've seen a few people asking about wallpapers, so I placed a pack of 40 of them under MX 17 themes. They can be downloaded from my own server right here:
http://www.drachenbeere.de/40_wallpapers.tar.gz

Someone then expressed that the resolutions were too low, even though they look great on our 50" screen.
Well then, how about another pack of 100 wallpapers, this time at an avg. width of 1800 pixels.
Here's the link for that. I'll leave the files there indefinitely ...

http://www.drachenbeere.de/100walls_1800.tar.gz

Enjoy! :party5:

Yay! I found them. Thanks.
My Computer
Gigabyte B360M-DS3H Motherboard
Intel Core i3-8100 3.6GHz Quad Core CPU
2x 4GB DDR4 2400 Memory Modules
NVidia GeForce GTX 1050 Ti Grfx Card
HDD x2 @ 1TB

User avatar
Krissharm
Forum Novice
Forum  Novice
Posts: 92
Joined: Mon Feb 26, 2018 7:53 pm

Re: Another package of Walls - This time 100 of them!

#6 Post by Krissharm » Tue Jul 10, 2018 10:03 am

thanks for sharing
Primary HP Omen 15-ax009na, i5-6300HQ+NVIDIA GTX 950 Running MX17 64 bit.
Secondary Thinkpad x220 12GB ssd msata & ssd sata drive MX17 64 bit
Light child duties Thinkpad R51 MX17/Windows XP 32bit with forcepae and IDE to SATA + Kingston SSD.

User avatar
colin_b
Forum Regular
Forum Regular
Posts: 312
Joined: Sun Mar 19, 2017 7:21 pm

Re: Another package of Walls - This time 100 of them!

#7 Post by colin_b » Tue Jul 10, 2018 11:27 am

oops wrote:
Wed May 02, 2018 11:29 am
For information, you can also use jpegoptim, for example, to have the same 1800 pixels resolution but the MB size divided by almost 3 or 4 for each jpg file.
Trimage https://trimage.org/ is in the stable repo. It's a drag and drop gui for jpegoptim & optipng. It works great - JPGs are processed near instantly, but 1080 PNG images take a few minutes to process.

User avatar
oops
Forum Regular
Forum Regular
Posts: 295
Joined: Tue Apr 10, 2018 5:07 pm

Re: Another package of Walls - This time 100 of them!

#8 Post by oops » Tue Jul 10, 2018 5:22 pm

colin_b wrote:
Tue Jul 10, 2018 11:27 am
...
Trimage https://trimage.org/ is in the stable repo. It's a drag and drop gui for jpegoptim & optipng. It works great - JPGs are processed near instantly, but 1080 PNG images take a few minutes to process.
Thanks for sharing the info.
$ inxi -S : System: Host:XEON Kernel: 4.16.0-xeon-01.efi x86_64 bits: 64 Desktop: Xfce 4.12.3 - Distro: MX-17.1_x64 Horizon


User avatar
colin_b
Forum Regular
Forum Regular
Posts: 312
Joined: Sun Mar 19, 2017 7:21 pm

Re: Another package of Walls - This time 100 of them!

#9 Post by colin_b » Tue Jul 10, 2018 6:35 pm

Glad to help.

If Trimage were a part of the distro then people who upload images to the forum could optimize them first to reduce bandwidth.

Nudge, nudge, ;) ;)

:happy:

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 1449
Joined: Wed Apr 11, 2018 5:09 pm

Re: Another package of Walls - This time 100 of them!

#10 Post by fehlix » Tue Jul 10, 2018 6:53 pm

colin_b wrote:
Tue Jul 10, 2018 6:35 pm
If Trimage were a part of the distro then people who upload images to the forum could optimize them first to reduce bandwidth.
Have you scaling ratios in size with not too much visual detectable differences?
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

Post Reply

Return to “Themes and Screenshots”