wallpaper manager

So, I have been looking for a wallpaper manager with some features like:

1) automatically change wallpaper from my directory list

2) Get wallpapers from internet

Possibly display time and a quote.

 

Variety does all of that. From variety website :

Variety is a wallpaper manager for Linux systems. It supports numerous desktops and wallpaper sources, including local files and online services: Flickr, Wallhaven, Unsplash, and more.

Where supported, Variety sits as a tray icon to allow easy pausing and resuming. Otherwise, its desktop entry menu provides a similar set of options.

Variety also includes a range of image effects, such as oil painting and blur, as well as options to layer quotes and a clock onto the background.

To install

dnf install variety

Directories with maximum number of files

Lot of times, I want to find the directories with maximum number of files and so I wrote this quick function to do exactly the same

 

function count_lines ()
{
    oldIFS=$IFS
    count=0
    IFS=$'\n'
    dir=${1:-.}
    cd $dir
    find . -type d |while read line
    do
        echo -n "$(find $line -type f |wc -l) $line"
        echo 
        printf "Directories :: %8d\r" $count >&2
        ((count++))
    done|sort -n
    IFS=$oldIFS
}   # ----------  end of function count_lines  ----------

Use Linux on your Android mobile/tablet (without root)

Been looking for this for a long time, finally there is some app which allows me to run a linux distro without rooting my gadget.

Here is link to userland.tech website. Check this out, its easy to setup and does not require rooting your device.