Hello,The gcm-calibrate executable is not in Debian because it is not in Gnome any more; therefore, the KDE program is using a discontinued unsupported gnome feature; a bug report is opened in the KDE bug tracking system:Therefore, this is a KDE bug.
You could consider working around it using native gnome color calibration tools.
Hope this helps.
The complete error message is (note: it is slightly different from what you reported before):
It is generated by colord-kde:"You need Gnome Color Management installed in order to calibrate devices"
- colord-kcm/Description.cpp:378:
Code:
bool Description::calibrateEnabled(const QString &kind){ QString toolTip; bool canCalibrate = false; toolTip = i18n("Create a color profile for the selected device"); if (m_currentDeviceId.isEmpty()) { // No device was selected return false; } QFileInfo gcmCalibrate(QStandardPaths::findExecutable("gcm-calibrate")); if (!gcmCalibrate.isExecutable()) { // We don't have a calibration tool yet toolTip = i18n("You need Gnome Color Management installed in order to calibrate devices"); } else if (kind == QLatin1String("display")) { if (m_sensors.isEmpty()) { toolTip = i18n("The measuring instrument is not detected. Please check it is turned on and correctly connected."); } else { canCalibrate = true; } } else if (kind == QLatin1String("camera") || kind == QLatin1String("scanner") || kind == QLatin1String("webcam")) { canCalibrate = true; } else if (kind == QLatin1String("printer")) { // Check if we have any sensor if (m_sensors.isEmpty()) { toolTip = i18n("The measuring instrument is not detected. Please check it is turned on and correctly connected."); } else { // Search for a suitable sensor foreach (const QDBusObjectPath &sensorPath, m_sensors) { CdSensorInterface sensor(QStringLiteral("org.freedesktop.ColorManager"), sensorPath.path(), QDBusConnection::systemBus()); if (!sensor.isValid()) { continue; } QStringList capabilities = sensor.capabilities(); if (capabilities.contains(QStringLiteral("printer"))) { canCalibrate = true; break; } } // If we did not find a suitable sensor, display a warning if (!canCalibrate) { toolTip = i18n("The measuring instrument does not support printer profiling."); } } } else { toolTip = i18n("The device type is not currently supported."); } if (canCalibrate) { ui->calibratePB->setToolTip(toolTip); ui->msgWidget->hide(); } else { ui->msgWidget->setText(toolTip); ui->msgWidget->show(); } return canCalibrate;}
Code:
[..] QFileInfo gcmCalibrate(QStandardPaths::findExecutable("gcm-calibrate")); if (!gcmCalibrate.isExecutable()) { // We don't have a calibration tool yet toolTip = i18n("You need Gnome Color Management installed in order to calibrate devices"); } else if (kind == QLatin1String("display")) {[..]
You could consider working around it using native gnome color calibration tools.
Hope this helps.
Statistics: Posted by Aki — 2024-01-21 16:55