We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, when you install xiccd in your system, it isn't available to ArgyllCMS and DisplayCAL till you manually start it.
I would be nice if instead it was enabled by default on system start up, so non technical users could also make use of these tools.
#!/bin/bash file="xiccd.desktop" dir="/etc/xdg/autostart" lines="[Desktop Entry] Encoding=UTF-8 Name=Xiccd GenericName=Screen Color Bridge Comment=Enables screen color calibration Exec=xiccd Terminal=false Type=Application Categories=" mainFunction () { changeToDir "$dir" removeFile "$file" addLines "$lines" "$file" } addLines () { for line in "$1"; do echo "$line" | sudo tee --append "$2" > /dev/null done } changeToDir () { if [ ! -d "$1" ]; then (>&2 echo "changeToDir: $1 doesn't exist") exit 1 fi cd "$1" } removeFile () { if [ -f "$1" ]; then sudo rm "$1" fi } mainFunction
The text was updated successfully, but these errors were encountered:
Super-seeded by #20
Sorry, something went wrong.
No branches or pull requests
Currently, when you install xiccd in your system, it isn't available to ArgyllCMS and DisplayCAL till you manually start it.
I would be nice if instead it was enabled by default on system start up, so non technical users could also make use of these tools.
The text was updated successfully, but these errors were encountered: