/usr/bin/displaycal-apply-profiles is in dispcalgui 3.1.0.0-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | #! /usr/bin/python
# -*- coding: utf-8 -*-
import sys
for arg in sys.argv[1:]:
if arg not in ("--help", "--force", "--verify", "--silent",
"--error-dialog", "-V", "--version"):
unknown_option = arg
break
if sys.platform == "win32" and not ("--help" in sys.argv[1:] or
"-V" in sys.argv[1:] or
"--version" in sys.argv[1:]):
from DisplayCAL.main import main
main("apply-profiles")
else:
# Linux
from DisplayCAL.profile_loader import main
main()
|