61
Software - Support / Re: notify-send aus root-script geht mehr
« Last post by towo on 2025/04/02, 20:11:57 »Root darf nicht so einfach Sachen auf einem User Desktop ausgeben, da muss die Xauthority mitgegeben werden.
notify-send "this is the summary" "this is the body of the notification"
Es sollten die zwei Zeilen erscheinen. root@T580:/home/detlef# apt-cache policy xfce4-notifyd
xfce4-notifyd:
Installiert: 0.9.7-2
Installationskandidat: 0.9.7-2
Versionstabelle:
*** 0.9.7-2 500
500 https://deb.debian.org/debian unstable/main amd64 Packages
100 /var/lib/dpkg/status
root@T580:/home/detlef#
apt modernize-sources
The following files need modernizing:
- /etc/apt/sources.list
- /etc/apt/sources.list.d/dbgsym.list
- /etc/apt/sources.list.d/debian.list
- /etc/apt/sources.list.d/extra.list
- /etc/apt/sources.list.d/fixes.list
Modernizing will replace .list files with the new .sources format,
add Signed-By values where they can be determined automatically,
and save the old files into .list.bak files.
This command supports the 'signed-by' and 'trusted' options. If you
have specified other options inside [] brackets, please transfer them
manually to the output files; see sources.list(5) for a mapping.
For a simulation, respond N in the following prompt.
Rewrite 5 sources? [Y/n] N
Simulating only...
Modernizing /etc/apt/sources.list...
Modernizing /etc/apt/sources.list.d/dbgsym.list...
Modernizing /etc/apt/sources.list.d/debian.list...
# Would write to: /etc/apt/sources.list.d/debian.sources
Types: deb
URIs: http://deb.debian.org/debian/
Suites: sid
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
# Would write to: /etc/apt/sources.list.d/debian.sources
Types: deb
URIs: http://deb.debian.org/debian/
Suites: unstable
Components: main contrib non-free
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
# Would write to: /etc/apt/sources.list.d/debian.sources
Types: deb
URIs: http://deb.debian.org/debian/
Suites: experimental
Components: main contrib non-free
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
# Would write to: /etc/apt/sources.list.d/debian.sources
Types: deb
URIs: http://deb.debian.org/debian/
Suites: testing
Components: main contrib non-free
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
# Would write to: /etc/apt/sources.list.d/debian.sources
Types: deb
URIs: http://deb.debian.org/debian/
Suites: stable
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
Modernizing /etc/apt/sources.list.d/extra.list...
# Would write to: /etc/apt/sources.list.d/extra.sources
Types: deb
URIs: http://ftp.uni-stuttgart.de/siduction/extra/
Suites: unstable
Components: main
Signed-By: /usr/share/keyrings/siduction-archive-keyring.gpg
# Would write to: /etc/apt/sources.list.d/extra.sources
Types: deb
URIs: http://ftp.uni-stuttgart.de/siduction/fixes/
Suites: unstable
Components: main contrib non-free
Signed-By: /usr/share/keyrings/siduction-archive-keyring.gpg
Modernizing /etc/apt/sources.list.d/fixes.list...
# Would write to: /etc/apt/sources.list.d/fixes.sources
Types: deb
URIs: https://packages.siduction.org/extra/
Suites: experimental
Components: main contrib non-free
Signed-By: /usr/share/keyrings/siduction-archive-keyring.gpg
# Would write to: /etc/apt/sources.list.d/fixes.sources
Types: deb
URIs: https://packages.siduction.org/extra/
Suites: unstable
Components: non-free contrib non-free-firmware
Signed-By: /usr/share/keyrings/siduction-archive-keyring.gpg