Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
Startup HP-Gui in wayland session
  • Loading branch information
AlexanderShad committed Feb 24, 2024
1 parent da3c98b commit d0d249c
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions docs/equipment/drivers-for-printer.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ systemctl reboot

:::info
Наблюдается неккоретная работа программного обеспечения под сессией Wayland, если Вам необходимы только драйвера, установите пакет **hplip**
Либо смотрите обходное решение проблемы ниже
:::

::: code-group
Expand All @@ -53,6 +54,52 @@ epm play hplip-plugin
```
:::

## HP-GUI - запуск под Wayland

Для начала нужно удалить пакет **hplip-gui-autostart**

```shell
su -
apt-get remove hplip-gui-autostart
```

Далее редактируем строчку **Exec** в файле **hplip.desktop**

```shell
su -
mcedit /usr/share/applications/hplip.desktop
```

Пишем как ниже и сохраняем.

```shell
Exec=env XDG_SESSION_TYPE=xwayland dbus-run-session hp-toolbox
```

Далее делаем автозапуск если нужен, если нет, перезагружаем компьютер.

Создаем файл к примеру

```shell
~/.config/autostart/hp.desktop
```

со следующим содержимым

```shell
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Name=HP Device Manager
NoDisplay=true
Comment=hp-toolbox in sys trey
Exec=env XDG_SESSION_TYPE=xwayland dbus-run-session hp-toolbox
Terminal=false
```

Перезагружаем компьютер

## Canon - установка пакета драйверов

Для установки пакета драйверов с официального сайта для принтеров Canon воспользуйтесь терминалом.
Expand Down

0 comments on commit d0d249c

Please sign in to comment.