Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 26/06/2023, à 14:08

febcrash

[RÉSOLU] Flameshot sous ubuntu 23.04 sous Wayland

Bonjour,

Quelqu'un sait-il comment faire fonctionner flameshot sous ubuntu 23.04 sous Wayland ?
Merci d'avance

Dernière modification par febcrash (Le 26/06/2023, à 15:52)


Ubuntero depuis Edgy Eft
Membre des équipes de traduction « Launchpad French Translators » (lp-l10n-fr) et « Ubuntu French Translators » (ubuntu-l10n-fr)
--
Vous aussi, aidez-nous à traduire Ubuntu (doc, applis, descriptions d'applis, pages web) en français  >> http://doc.ubuntu-fr.org/ubuntu-l10n-fr

Hors ligne

#2 Le 26/06/2023, à 14:17

xubu1957

Re : [RÉSOLU] Flameshot sous ubuntu 23.04 sous Wayland

Bonjour,

En lançant en commande :

flameshot

ressort-il un message d'erreur ?

Pour comparer.


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#3 Le 26/06/2023, à 14:18

febcrash

Re : [RÉSOLU] Flameshot sous ubuntu 23.04 sous Wayland

ressort-il un message d'erreur ?

$ flameshot
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Qt: Session management error: Could not open network socket

Pour comparer.

J'ai lu ce fil juste avant de poster

Dernière modification par febcrash (Le 26/06/2023, à 14:21)


Ubuntero depuis Edgy Eft
Membre des équipes de traduction « Launchpad French Translators » (lp-l10n-fr) et « Ubuntu French Translators » (ubuntu-l10n-fr)
--
Vous aussi, aidez-nous à traduire Ubuntu (doc, applis, descriptions d'applis, pages web) en français  >> http://doc.ubuntu-fr.org/ubuntu-l10n-fr

Hors ligne

#4 Le 26/06/2023, à 14:20

xubu1957

Re : [RÉSOLU] Flameshot sous ubuntu 23.04 sous Wayland

La solution au #12, n'est pas valable ?


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#5 Le 26/06/2023, à 14:21

febcrash

Re : [RÉSOLU] Flameshot sous ubuntu 23.04 sous Wayland

non


Ubuntero depuis Edgy Eft
Membre des équipes de traduction « Launchpad French Translators » (lp-l10n-fr) et « Ubuntu French Translators » (ubuntu-l10n-fr)
--
Vous aussi, aidez-nous à traduire Ubuntu (doc, applis, descriptions d'applis, pages web) en français  >> http://doc.ubuntu-fr.org/ubuntu-l10n-fr

Hors ligne

#6 Le 26/06/2023, à 14:22

geole

Re : [RÉSOLU] Flameshot sous ubuntu 23.04 sous Wayland

Bonjour.

QT_QPA_PLATFORM=wayland 
flameshot

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#7 Le 26/06/2023, à 14:24

febcrash

Re : [RÉSOLU] Flameshot sous ubuntu 23.04 sous Wayland

pas mieux sad

$ QT_QPA_PLATFORM=wayland 
flameshot
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Qt: Session management error: Could not open network socket
propsReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.1178\" (uid=1000 pid=62155 comm=\"/snap/flameshot/183/usr/local/bin/flameshot\" label=\"snap.flameshot.flameshot (enforce)\") interface=\"org.freedesktop.DBus.Properties\" member=\"GetAll\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=969 comm=\"/usr/sbin/NetworkManager --no-daemon\" label=\"unconfined\")"
nmReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.1178\" (uid=1000 pid=62155 comm=\"/snap/flameshot/183/usr/local/bin/flameshot\" label=\"snap.flameshot.flameshot (enforce)\") interface=\"org.freedesktop.NetworkManager\" member=\"GetDevices\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=969 comm=\"/usr/sbin/NetworkManager --no-daemon\" label=\"unconfined\")"
"Object path cannot be empty"

Ubuntero depuis Edgy Eft
Membre des équipes de traduction « Launchpad French Translators » (lp-l10n-fr) et « Ubuntu French Translators » (ubuntu-l10n-fr)
--
Vous aussi, aidez-nous à traduire Ubuntu (doc, applis, descriptions d'applis, pages web) en français  >> http://doc.ubuntu-fr.org/ubuntu-l10n-fr

Hors ligne

#8 Le 26/06/2023, à 14:34

geole

Re : [RÉSOLU] Flameshot sous ubuntu 23.04 sous Wayland

que donnent ces deux commandes

flameshot -v
Flameshot v12.1.0 (Debian 12.1.0-2)
Compiled with Qt 5.15.8

f

lameshot --help
Usage: flameshot [flameshot-options] [arguments]

Per default runs Flameshot in the background and adds a tray icon for configuration.

Options:
  -h, --help     Displays this help
  -v, --version  Displays version information

Arguments:
  gui            Start a manual capture in GUI mode.
  screen         Capture a single screen.
  full           Capture the entire desktop.
  launcher       Open the capture launcher.
  config         Configure flameshot.

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#9 Le 26/06/2023, à 14:40

febcrash

Re : [RÉSOLU] Flameshot sous ubuntu 23.04 sous Wayland

crash@ThinkPad-X13:~$ flameshot -v
Flameshot v12.1.0 ()
Compiled with Qt 5.15.3

crash@ThinkPad-X13:~$ flameshot --help
Usage: /snap/flameshot/183/usr/local/bin/flameshot [flameshot-options] [arguments]

Per default runs Flameshot in the background and adds a tray icon for configuration.

Options:
  -h, --help     Displays this help
  -v, --version  Displays version information

Arguments:
  gui            Start a manual capture in GUI mode.
  screen         Capture a single screen.
  full           Capture the entire desktop.
  launcher       Open the capture launcher.
  config         Configure flameshot.

Ubuntero depuis Edgy Eft
Membre des équipes de traduction « Launchpad French Translators » (lp-l10n-fr) et « Ubuntu French Translators » (ubuntu-l10n-fr)
--
Vous aussi, aidez-nous à traduire Ubuntu (doc, applis, descriptions d'applis, pages web) en français  >> http://doc.ubuntu-fr.org/ubuntu-l10n-fr

Hors ligne

#10 Le 26/06/2023, à 14:56

geole

Re : [RÉSOLU] Flameshot sous ubuntu 23.04 sous Wayland

Je viens de l'installer en version 23.10,  et je suis en train de découvrir mais il me semble fonctionner.
J'ai pu stocker une capture d'écran et une capture d'un morceau d'écran.
.
As-tu tenté des commandes
flameshot full
flameshot gui
flameshot screen
flameshot config
flameshot launcher

Dernière modification par geole (Le 26/06/2023, à 15:54)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#11 Le 26/06/2023, à 14:59

febcrash

Re : [RÉSOLU] Flameshot sous ubuntu 23.04 sous Wayland

crash@ThinkPad-X13:~$ flameshot full
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Qt: Session management error: Could not open network socket
^C
crash@ThinkPad-X13:~$ flameshot gui
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Qt: Session management error: Could not open network socket
crash@ThinkPad-X13:~$ flameshot screen
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Qt: Session management error: Could not open network socket
^C

Ubuntero depuis Edgy Eft
Membre des équipes de traduction « Launchpad French Translators » (lp-l10n-fr) et « Ubuntu French Translators » (ubuntu-l10n-fr)
--
Vous aussi, aidez-nous à traduire Ubuntu (doc, applis, descriptions d'applis, pages web) en français  >> http://doc.ubuntu-fr.org/ubuntu-l10n-fr

Hors ligne

#12 Le 26/06/2023, à 15:30

geole

Re : [RÉSOLU] Flameshot sous ubuntu 23.04 sous Wayland

febcrash a écrit :
crash@ThinkPad-X13:~$ flameshot -v
Flameshot v12.1.0 ()
Compiled with Qt 5.15.3

Je viens de me mettre dans le bon environnement

lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 23.04
Release:	23.04
Codename:	lunar

echo  $XDG_SESSION_TYPE
wayland

flameshot --version
Flameshot v12.1.0 (Debian 12.1.0-2)
Compiled with Qt 5.15.8

flameshot config
a@a:~$ 

et l'écran de configuration s'ouvre sans difficulté.  Alors je te propose de dé-installer et de réinstaller.

sudo apt upgrade
sudo apt purge flameshot 
sudo apt clean flameshot
sudo apt install flameshot
flameshot --version

Dernière modification par geole (Le 26/06/2023, à 15:31)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#13 Le 26/06/2023, à 15:52

febcrash

Re : [RÉSOLU] Flameshot sous ubuntu 23.04 sous Wayland

Ah YES big_smile
ça fonctionne avec la version deb (j'avais installé le snap auparavant) !
Un grand merci à toi @geole


Ubuntero depuis Edgy Eft
Membre des équipes de traduction « Launchpad French Translators » (lp-l10n-fr) et « Ubuntu French Translators » (ubuntu-l10n-fr)
--
Vous aussi, aidez-nous à traduire Ubuntu (doc, applis, descriptions d'applis, pages web) en français  >> http://doc.ubuntu-fr.org/ubuntu-l10n-fr

Hors ligne