.TH "WSLUSC" "1" "2022-12-31" "4.1.1-1" "WSL Utilities User Manual"
.SH NAME
.B wslusc
- Component of WSL Utilities
.SH SYNOPSIS
.B wslusc
.RB [ \-IsgN ]
.RB [ \-d
.IR SHORTCUT_FILE ]
.RB [ \-e
.IR PATH ]
.RB [ \-n 
.IR NAME ]
.RB [ \-i
.IR FILE ]
.I COMMAND
.PP
.B wslusc
.RB [ \-hv ]
.SH DESCRIPTION
This is a WSL shortcut creator to create shortcut on Windows Desktop.
.SH OPTIONS
.TP
.B -h, --help
print a simple help
.TP
.B -v, --version
print current version
.TP
.B -d, --shortcut-debug \fISHORTCUT_FILE\fR
debug the generated shortcut file.
.TP
.B -g, --gui
create a shortcut that links to a GUI application. 
.TP
.B -N, --native
create a shortcut that uses the system builtin \'wslg.exe\' to launch the GUI application.
.TP
.B -i, --icon
add an icon to the Windows Shortcut. Supports \fB\.ico\fR/\fB\.png\fR/\fB\.svg\fR\.
.TP
.B -s, --smart-icon
This enables the smart icon detection. This feature requires \'wslpy\' to be installed.
.TP
.B -n, --name
add a different name other than the command name.
.TP
.B -e, --env
add a custom environment to your command. For example, if you want HiDPI support for a GTK app, add \fBexport GDK_SCALE=2;\fR in your command, like this: \fBwslusc ... \-e "export GDK_SCALE=2;" ...\fR
.TP
.B -I, --interactive
interactive mode.
.SH CONFIGURATION
.TP
.B WSLUSC_GUITYPE
Default GUI type. Default type is 'legacy'. Use 'native' for Native GUI generation (wslg.exe) by default.
.TP
.B WSLUSC_SMART_ICON_DETECTION
Smart Icon Detection. Requires wslpy (Requires Python 3.5). default is \'false\'.
.TP
.B WSLUSC_BASE_CONVERTER_ENGINE
Converter engine. You can choose either 'ffmpeg' or 'imagemagick'. By default it is 'imagemagick'.
.SH AUTHOR
Created by Patrick Wu <me@patrickwu.space>
.SH REPORTING BUGS
Report bugs to <https://github.com/wslutilities/wslu/issues>;
For Ubuntu specific/related bugs, report to <https://bugs.launchpad.net/ubuntu/+source/wslu>.
.SH COPYRIGHT
This is free software; you can redistribute it and/or modify it under
the terms of the GNU GPL version 3 or (at your option) any later
version.
There is NO warranty; not even MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
.SH SEE ALSO
wslu(7)