Skip to content

Tag Archives: GTK

Finally, Solved Epiphany not displaying

Epiphany browser on Linux has long given me trouble in refusing to launch or produce useful error messages for why it would not launch. Today, I finally got it working. The trick is to use WEBKIT_DISABLE_SANDBOX_THIS_IS_DANGEROUS=1 WEBKIT_DISABLE_DMABUF_RENDERER=1 epiphany to launch it. Edit /usr/share/applications/org.gnome.Epiphany.desktop so that the three lines with an exec command include the environment [...]

Persistent Notification in Gnome 3

This is a GTK notification in Linux that remains on screen until it is clicked. #!/usr/bin/python3 import gi gi.require_version(‘Notify’, ’0.7′) from gi.repository import Notify gi.require_version(‘Gtk’, ’3.0′) Notify.init("Hello world") Hello = Notify.Notification.new("Hello world – the heading", "This is an example notification.", "dialog-information") # https://www.devdungeon.com/content/desktop-notifications-linux-python Hello.set_urgency(2) # Highest priority Hello.show() Last updated and tested 12 December 2020 [...]