Hello,

Attached is a patch adding freedesktop.org .desktop entries for
xclock, xcalc, xeyes, oclock, xlogo, and xbiff, closing #1131791.

Notes:

Files go into debian/desktop/ and are installed to
/usr/share/applications/ via debian/x11-apps.install. No changes to
upstream sources.
All six files pass desktop-file-validate.
Icon= is set to the binary name in each file.
Most icon themes don't ship icons under those names, so DEs will fall
back to a generic app icon.
I can follow up with Icons if it is wanted .
Built and installed cleanly on trixie; entries appear in application
menus as expected.

Thanks,
Lily
diff --git a/debian/changelog b/debian/changelog
index 1b30c43..58aab77 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+x11-apps (7.7+12) UNRELEASED; urgency=medium
+
+  * Add freedesktop.org .desktop entries for xclock, xcalc, xeyes, oclock,
+    xlogo, and xbiff, so they appear in application menus of desktop
+    environments that only list applications registered via .desktop files.
+    (Closes: #1131791)
+
+ -- Lily <[email protected]>  Mon, 18 Aug 2026 00:00:00 +0000
+
 x11-apps (7.7+11) unstable; urgency=medium
 
   [ Pino Toscano ]
diff --git a/debian/desktop/oclock.desktop b/debian/desktop/oclock.desktop
new file mode 100644
index 0000000..c5ec429
--- /dev/null
+++ b/debian/desktop/oclock.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=O Clock
+GenericName=Clock
+Comment=Round analog clock for X
+Exec=oclock
+Icon=oclock
+Terminal=false
+Type=Application
+Categories=Utility;Clock;
+Keywords=time;clock;
+StartupNotify=false
diff --git a/debian/desktop/xbiff.desktop b/debian/desktop/xbiff.desktop
new file mode 100644
index 0000000..4645009
--- /dev/null
+++ b/debian/desktop/xbiff.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=X Biff
+GenericName=Mail Notifier
+Comment=Notify when new mail arrives
+Exec=xbiff
+Icon=xbiff
+Terminal=false
+Type=Application
+Categories=Network;Email;
+Keywords=mail;email;notify;
+StartupNotify=false
diff --git a/debian/desktop/xcalc.desktop b/debian/desktop/xcalc.desktop
new file mode 100644
index 0000000..ccb1b5f
--- /dev/null
+++ b/debian/desktop/xcalc.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=X Calculator
+GenericName=Calculator
+Comment=Scientific calculator for X
+Exec=xcalc
+Icon=xcalc
+Terminal=false
+Type=Application
+Categories=Utility;Calculator;
+Keywords=calculator;math;
+StartupNotify=false
diff --git a/debian/desktop/xclock.desktop b/debian/desktop/xclock.desktop
new file mode 100644
index 0000000..6222644
--- /dev/null
+++ b/debian/desktop/xclock.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=X Clock
+GenericName=Clock
+Comment=Continuously display the time
+Exec=xclock
+Icon=xclock
+Terminal=false
+Type=Application
+Categories=Utility;Clock;
+Keywords=time;clock;
+StartupNotify=false
diff --git a/debian/desktop/xeyes.desktop b/debian/desktop/xeyes.desktop
new file mode 100644
index 0000000..d1677d4
--- /dev/null
+++ b/debian/desktop/xeyes.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=X Eyes
+GenericName=Eyes
+Comment=A pair of eyes that follow the mouse pointer
+Exec=xeyes
+Icon=xeyes
+Terminal=false
+Type=Application
+Categories=Utility;
+Keywords=eyes;pointer;
+StartupNotify=false
diff --git a/debian/desktop/xlogo.desktop b/debian/desktop/xlogo.desktop
new file mode 100644
index 0000000..64e383b
--- /dev/null
+++ b/debian/desktop/xlogo.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=X Logo
+Comment=Display the X Window System logo
+Exec=xlogo
+Icon=xlogo
+Terminal=false
+Type=Application
+Categories=Utility;
+Keywords=logo;x;
+StartupNotify=false
diff --git a/debian/x11-apps.install b/debian/x11-apps.install
index dee63d5..09d6337 100644
--- a/debian/x11-apps.install
+++ b/debian/x11-apps.install
@@ -5,3 +5,4 @@ usr/include/X11/bitmaps/*
 usr/lib/X11/x11perfcomp/*
 usr/lib/X11/xedit/lisp/*
 etc/X11/app-defaults/*
+debian/desktop/*.desktop usr/share/applications

Reply via email to