Accept arguments from the command line

Registered by Marc Stewart

Command-line arguments would significantly increase the power of Create Background Slideshow. Simply accepting a list of files would allow it to be used as an "Open with" option for images. Other switches could be used to specify default timings, slideshow name, etc.

Blueprint information

Status:
Complete
Approver:
Marc Stewart
Priority:
Medium
Drafter:
Marc Stewart
Direction:
Needs approval
Assignee:
Marc Stewart
Definition:
Approved
Series goal:
Accepted for 0.9
Implementation:
Implemented
Milestone target:
milestone icon 0.9.3
Started by
Marc Stewart
Completed by
Marc Stewart

Related branches

Sprints

Whiteboard

Current arguments and options list:―

-d SECONDS,
--def-display=SECONDS
default display duration, in seconds

-e LIST
--display-times=LIST
specify the display times for all images in a comma-separated LIST
empty items or - interpreted as 'use default'

-f,
--force-overwrite
overwrite existing slideshows with the same name without asking
(implicitly set by --no-gui AND --standard-output)

-g,
--no-gui
don't display the graphical user interface (GUI)

-h,
--help
display usual description and arguments list

-l LOCATION,
--location=LOCATION
specify the directory in which to save the slideshow file

-m FILENAME,
--filename=FILENAME
specify the filename for the slideshow

-n NAME,
--title=NAME
specify the name for the slideshow

-o PATH_AND_FILENAME,
--output=PATH_AND_FILENAME
specify a location and filename for the slideshow file

-q,
--no-notifications
do not send a notification when the wallpaper is set

-s
--standard-output
write the slideshow file to the standard output

-t SECONDS,
--def-transition=SECONDS
default transition time, in seconds

-u LIST
--transition-times=LIST
specify the transition times for all images in a comma-separated LIST
empty items or - interpreted as 'use default'

-v,
--verbose
be more verbose (specify more than once for extra detail)

-x,
--only-create
do not change the wallpaper
(implicitly set by --no-gui AND --standard-output without --name=, --filename=, or --output=)

Remaining arguments are treated as a list of filenames, which should be images* or other slideshow files.
* Images may be in JPEG, PNG, GIF, or SVG format.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.