From 63fe91c2f6eaed36d799d99a51338b47b84de091 Mon Sep 17 00:00:00 2001 From: Fabian Binu Date: Sun, 29 Mar 2026 17:37:21 -0500 Subject: [PATCH 1/2] Added Accessibility menu --- .../dh_installchangelogs.dch.trimmed | 205 +++++++++++++++++ .../mintwelcome/installed-by-dh_install | 2 + .../mintwelcome/installed-by-dh_installdocs | 0 debian/files | 2 + debian/mintwelcome.debhelper.log | 17 ++ debian/mintwelcome.substvars | 2 + usr/lib/linuxmint/mintwelcome/mintwelcome.py | 26 ++- .../linuxmint/mintwelcome/mintwelcome.ui | 217 +++++++++++++++++- 8 files changed, 468 insertions(+), 3 deletions(-) create mode 100644 debian/.debhelper/generated/mintwelcome/dh_installchangelogs.dch.trimmed create mode 100644 debian/.debhelper/generated/mintwelcome/installed-by-dh_install create mode 100644 debian/.debhelper/generated/mintwelcome/installed-by-dh_installdocs create mode 100644 debian/files create mode 100644 debian/mintwelcome.debhelper.log create mode 100644 debian/mintwelcome.substvars diff --git a/debian/.debhelper/generated/mintwelcome/dh_installchangelogs.dch.trimmed b/debian/.debhelper/generated/mintwelcome/dh_installchangelogs.dch.trimmed new file mode 100644 index 0000000..2828a30 --- /dev/null +++ b/debian/.debhelper/generated/mintwelcome/dh_installchangelogs.dch.trimmed @@ -0,0 +1,205 @@ +mintwelcome (2.6.2) zena; urgency=medium + + * Fix multimedia-codecs icon + + -- Clement Lefebvre Wed, 24 Dec 2025 12:55:37 +0000 + +mintwelcome (2.6.1) zena; urgency=medium + + * Switch to XApp symbolic icons + * Switch to XSI + * Add .gitignore + + -- Clement Lefebvre Thu, 20 Nov 2025 14:55:46 +0000 + +mintwelcome (2.6.0) xia; urgency=medium + + [ Clement Lefebvre ] + * Switch from apturl to captain + * Add support for 64-bit ARM + + [ Michael Webster ] + * Don't display the autostart desktop entry in Startup Applications. + + [ Markus Hackspacher ] + * sort import, remove unused gio (#69) + + -- Clement Lefebvre Mon, 25 Nov 2024 14:42:35 +0000 + +mintwelcome (2.5.9) wilma; urgency=medium + + * Replace hexchat with mintchat + * l10n: Update POT + + -- Clement Lefebvre Tue, 23 Apr 2024 11:47:09 +0100 + +mintwelcome (2.5.8) victoria; urgency=medium + + [ Ricardo Fernández Serrata ] + * convert /usr/bin/mintwelcome to POSIX-sh + + [ Clement Lefebvre ] + * Colors: Rearrange colors + * Remove refs to dark Mint-Y icon themes + * Remove Cinnamon layout selection + * Colors: Remove brown + * Remove color section + + [ UserRoot-Luca ] + * Updated image to latest Welcome page (Linux mint 21.1) (#61) + + [ Clement Lefebvre ] + * l10n: Update POT + * l10n: Generate files + + -- Clement Lefebvre Mon, 05 Jun 2023 13:38:20 +0100 + +mintwelcome (2.5.7) vera; urgency=medium + + * panel layout: Remove pictures + * panel_layout: Switch modern/traditional + * Add a button on the main page to show the first steps + * l10n: Update POT + + -- Clement Lefebvre Mon, 28 Nov 2022 10:57:50 +0000 + +mintwelcome (2.5.6) vera; urgency=medium + + * Update colors + + -- Clement Lefebvre Tue, 22 Nov 2022 15:08:35 +0000 + +mintwelcome (2.5.5) vera; urgency=medium + + [ Clement Lefebvre ] + * cinnamon layouts: Replace show-desktop with cornerbar + + [ hdulme ] + * remove unused import cairo + + -- Clement Lefebvre Mon, 21 Nov 2022 13:15:36 +0000 + +mintwelcome (2.5.4) vanessa; urgency=medium + + * Run mintdrivers without admin rights + + -- Clement Lefebvre Mon, 19 Sep 2022 09:36:05 +0100 + +mintwelcome (2.5.3) una; urgency=medium + + * Don't change themes without user interaction + + -- Clement Lefebvre Mon, 10 Jan 2022 16:56:49 +0000 + +mintwelcome (2.5.2) una; urgency=medium + + [ Clement Lefebvre ] + * Remove obsolete reference to metacity mint-y-dark theme + + [ hammy3502 ] + * Detect theme color and dark variant (#50) + + [ Clement Lefebvre ] + * l10n: Generate files + + -- Clement Lefebvre Fri, 17 Dec 2021 12:31:21 +0000 + +mintwelcome (2.5.1) uma; urgency=medium + + [ NikoKrause ] + * Add favorites applet to Cinnamon legacy layout (#45) + + [ Lurux ] + * Update panel screenshots in layout selector - The screenshots for the "traditional" layout was still showcasing the old Mint-X theme despite the fact that both layouts now default to the Mint-Y theme, so I updated them accordingly. - The icons in the HiDPI screenshot of the "modern" layout were misaligned, so I also decided to redo these with the same panel arrangement. + + [ Shadofer ] + * Remove add_codecs and pkg variables and provide a shorter way to determine whether or not media codecs should be installed. (#48) + + -- Clement Lefebvre Wed, 26 May 2021 12:44:38 +0100 + +mintwelcome (2.5.0) ulyssa; urgency=medium + + * Revert "Run mintdrivers without admin rights" + + -- Clement Lefebvre Thu, 10 Dec 2020 11:30:02 +0000 + +mintwelcome (2.4.9) ulyssa; urgency=medium + + * Add favorites applet to Cinnamon modern layout + + -- Clement Lefebvre Tue, 08 Dec 2020 13:05:48 +0000 + +mintwelcome (2.4.8) ulyssa; urgency=medium + + * Run mintdrivers without admin rights + * l10n: Generate files + + -- Clement Lefebvre Mon, 30 Nov 2020 15:27:28 +0000 + +mintwelcome (2.4.7) ulyana; urgency=medium + + * Fix icons in Mint 20 + * Cinnamon: Bring back panel layout selection + * l10n: Update POT + + -- Clement Lefebvre Thu, 18 Jun 2020 12:29:36 +0100 + +mintwelcome (2.4.6) ulyana; urgency=medium + + * Fix brown and green pictures + + -- Clement Lefebvre Sat, 06 Jun 2020 12:16:07 +0100 + +mintwelcome (2.4.5) ulyana; urgency=medium + + * Go back to original colors + + -- Clement Lefebvre Sat, 06 Jun 2020 12:03:31 +0100 + +mintwelcome (2.4.4) ulyana; urgency=medium + + * Colors: Add HiDPI support + + -- Clement Lefebvre Fri, 24 Apr 2020 15:17:15 +0100 + +mintwelcome (2.4.3) ulyana; urgency=medium + + [ Nikolay Nechaev ] + * New mint logo in Welcome tab + + [ Clement Lefebvre ] + * Switch icon to filled ring + * First steps: Replace layout switcher with color chooser + * l10n: Update POT + * l10n: Generate desktop files + + -- Clement Lefebvre Fri, 24 Apr 2020 14:45:17 +0100 + +mintwelcome (2.4.2) tricia; urgency=medium + + [ Vincent Vermeulen ] + * allow for window controls on the left + + -- Clement Lefebvre Wed, 15 Jan 2020 14:35:05 +0000 + +mintwelcome (2.4.1) tricia; urgency=medium + + * l10n: Fix msgid + + -- Clement Lefebvre Thu, 05 Dec 2019 16:12:16 +0000 + +mintwelcome (2.4.0) tricia; urgency=medium + + * Update app icon + + -- Clement Lefebvre Tue, 19 Nov 2019 10:44:06 +0000 + +mintwelcome (2.3.9) tricia; urgency=medium + + * Update cinnamon panel layouts + * Update logo + + -- Clement Lefebvre Wed, 13 Nov 2019 11:46:32 +0100 + +# Older entries have been removed from this changelog. +# To read the complete changelog use `apt changelog mintwelcome`. diff --git a/debian/.debhelper/generated/mintwelcome/installed-by-dh_install b/debian/.debhelper/generated/mintwelcome/installed-by-dh_install new file mode 100644 index 0000000..7ca830e --- /dev/null +++ b/debian/.debhelper/generated/mintwelcome/installed-by-dh_install @@ -0,0 +1,2 @@ +./etc +./usr diff --git a/debian/.debhelper/generated/mintwelcome/installed-by-dh_installdocs b/debian/.debhelper/generated/mintwelcome/installed-by-dh_installdocs new file mode 100644 index 0000000..e69de29 diff --git a/debian/files b/debian/files new file mode 100644 index 0000000..7677161 --- /dev/null +++ b/debian/files @@ -0,0 +1,2 @@ +mintwelcome_2.6.2_all.deb admin optional +mintwelcome_2.6.2_amd64.buildinfo admin optional diff --git a/debian/mintwelcome.debhelper.log b/debian/mintwelcome.debhelper.log new file mode 100644 index 0000000..dfe7dea --- /dev/null +++ b/debian/mintwelcome.debhelper.log @@ -0,0 +1,17 @@ +dh_update_autotools_config +dh_prep +dh_auto_install +dh_install +dh_installdocs +dh_installchangelogs +dh_icons +dh_perl +dh_link +dh_strip_nondeterminism +dh_compress +dh_fixperms +dh_missing +dh_installdeb +dh_gencontrol +dh_md5sums +dh_builddeb diff --git a/debian/mintwelcome.substvars b/debian/mintwelcome.substvars new file mode 100644 index 0000000..978fc8b --- /dev/null +++ b/debian/mintwelcome.substvars @@ -0,0 +1,2 @@ +misc:Depends= +misc:Pre-Depends= diff --git a/usr/lib/linuxmint/mintwelcome/mintwelcome.py b/usr/lib/linuxmint/mintwelcome/mintwelcome.py index c1e6867..137d439 100755 --- a/usr/lib/linuxmint/mintwelcome/mintwelcome.py +++ b/usr/lib/linuxmint/mintwelcome/mintwelcome.py @@ -92,6 +92,20 @@ def __init__(self): builder.get_object("button_gufw").connect("clicked", self.launch, "gufw") builder.get_object("go_button").connect("clicked", self.go) + # Accessibility button depends on DE + if os.getenv("XDG_CURRENT_DESKTOP") in ["Cinnamon", "X-Cinnamon"]: + builder.get_object("top_box_access").remove(builder.get_object("box_no_access")) + builder.get_object("button_access").connect("clicked", self.launch, ["cinnamon-settings", "accessibility"]) + elif os.getenv("XDG_CURRENT_DESKTOP") == "MATE": + builder.get_object("top_box_access").remove(builder.get_object("box_no_access")) + builder.get_object("button_access").connect("clicked", self.launch, "mate-at-properties") + elif os.getenv("XDG_CURRENT_DESKTOP") == "XFCE": + builder.get_object("top_box_access").remove(builder.get_object("box_no_access")) + builder.get_object("button_access").connect("clicked", self.launch, "xfce4-accessibility-settings") + else: + # Hide settings + builder.get_object("top_box_access").remove(builder.get_object("box_access")) + # Settings button depends on DE if os.getenv("XDG_CURRENT_DESKTOP") in ["Cinnamon", "X-Cinnamon"]: builder.get_object("button_settings").connect("clicked", self.launch, "cinnamon-settings") @@ -99,6 +113,7 @@ def __init__(self): builder.get_object("button_settings").connect("clicked", self.launch, "mate-control-center") elif os.getenv("XDG_CURRENT_DESKTOP") == "XFCE": builder.get_object("button_settings").connect("clicked", self.launch, "xfce4-settings-manager") + else: # Hide settings builder.get_object("box_first_steps").remove(builder.get_object("box_colors")) @@ -142,6 +157,10 @@ def __init__(self): self.stack.add_named(page, "page_contribute") self.list_box.add(SidebarRow(page, _("Contribute"), "xsi-starred-symbolic")) + page = builder.get_object("page_accessibility") + self.stack.add_named(page, "page_accessibility") + self.list_box.add(SidebarRow(page, _("Accessibility"), "xsi-accessibility-symbolic")) + self.list_box.connect("row-activated", self.sidebar_row_selected_cb) # Construct the bottom toolbar @@ -182,8 +201,11 @@ def themes(self, button): def visit(self, button, url): subprocess.Popen(["xdg-open", url]) - def launch(self, button, command): - subprocess.Popen([command]) + def launch(self,button, command): + if isinstance(command, str): + subprocess.Popen(command.split()) + else: + subprocess.Popen(command) def pkexec(self, button, command): subprocess.Popen(["pkexec", command]) diff --git a/usr/share/linuxmint/mintwelcome/mintwelcome.ui b/usr/share/linuxmint/mintwelcome/mintwelcome.ui index b49758c..fc31675 100644 --- a/usr/share/linuxmint/mintwelcome/mintwelcome.ui +++ b/usr/share/linuxmint/mintwelcome/mintwelcome.ui @@ -1,5 +1,5 @@ - + @@ -77,6 +77,221 @@ + + True + False + vertical + + + True + False + 24 + vertical + 18 + + + True + False + 24 + + + True + False + start + 6 + vertical + 12 + + + True + False + center + cs-universal-access + 6 + + + False + True + 0 + + + + + False + True + 0 + + + + + True + False + vertical + 3 + + + True + False + Accessibility + 0 + + + + + + + False + True + 0 + + + + + True + False + Linux Mint Accessibility includes tools like screen readers, zoom, and options to adjust text size and contrast to help users interact with the system more easily. + True + 0 + + + True + True + 1 + + + + + Launch + True + True + True + center + 3 + + + + False + True + end + 2 + + + + + True + True + 1 + + + + + False + True + 0 + + + + + False + 24 + + + True + False + start + 6 + vertical + 12 + + + True + False + center + dialog-error + True + 6 + + + False + True + 0 + + + + + False + True + 0 + + + + + True + False + vertical + 3 + + + True + False + No Accessibility Features Supported + 0 + + + + + + + False + True + 0 + + + + + True + False + The Desktop Enviroment that you are using may not support Accessibility features. + True + 0 + + + True + True + 1 + + + + + + + + True + True + 1 + + + + + False + True + 1 + + + + + False + True + 0 + + + + + + True False From ee93e18e680a88a51cbc3cc52b2ea798d2bc71e6 Mon Sep 17 00:00:00 2001 From: Fabian Binu Date: Sun, 29 Mar 2026 17:56:19 -0500 Subject: [PATCH 2/2] Removal of install files --- .../dh_installchangelogs.dch.trimmed | 205 ------------------ .../mintwelcome/installed-by-dh_install | 2 - .../mintwelcome/installed-by-dh_installdocs | 0 debian/files | 2 - debian/mintwelcome.debhelper.log | 17 -- debian/mintwelcome.substvars | 2 - 6 files changed, 228 deletions(-) delete mode 100644 debian/.debhelper/generated/mintwelcome/dh_installchangelogs.dch.trimmed delete mode 100644 debian/.debhelper/generated/mintwelcome/installed-by-dh_install delete mode 100644 debian/.debhelper/generated/mintwelcome/installed-by-dh_installdocs delete mode 100644 debian/files delete mode 100644 debian/mintwelcome.debhelper.log delete mode 100644 debian/mintwelcome.substvars diff --git a/debian/.debhelper/generated/mintwelcome/dh_installchangelogs.dch.trimmed b/debian/.debhelper/generated/mintwelcome/dh_installchangelogs.dch.trimmed deleted file mode 100644 index 2828a30..0000000 --- a/debian/.debhelper/generated/mintwelcome/dh_installchangelogs.dch.trimmed +++ /dev/null @@ -1,205 +0,0 @@ -mintwelcome (2.6.2) zena; urgency=medium - - * Fix multimedia-codecs icon - - -- Clement Lefebvre Wed, 24 Dec 2025 12:55:37 +0000 - -mintwelcome (2.6.1) zena; urgency=medium - - * Switch to XApp symbolic icons - * Switch to XSI - * Add .gitignore - - -- Clement Lefebvre Thu, 20 Nov 2025 14:55:46 +0000 - -mintwelcome (2.6.0) xia; urgency=medium - - [ Clement Lefebvre ] - * Switch from apturl to captain - * Add support for 64-bit ARM - - [ Michael Webster ] - * Don't display the autostart desktop entry in Startup Applications. - - [ Markus Hackspacher ] - * sort import, remove unused gio (#69) - - -- Clement Lefebvre Mon, 25 Nov 2024 14:42:35 +0000 - -mintwelcome (2.5.9) wilma; urgency=medium - - * Replace hexchat with mintchat - * l10n: Update POT - - -- Clement Lefebvre Tue, 23 Apr 2024 11:47:09 +0100 - -mintwelcome (2.5.8) victoria; urgency=medium - - [ Ricardo Fernández Serrata ] - * convert /usr/bin/mintwelcome to POSIX-sh - - [ Clement Lefebvre ] - * Colors: Rearrange colors - * Remove refs to dark Mint-Y icon themes - * Remove Cinnamon layout selection - * Colors: Remove brown - * Remove color section - - [ UserRoot-Luca ] - * Updated image to latest Welcome page (Linux mint 21.1) (#61) - - [ Clement Lefebvre ] - * l10n: Update POT - * l10n: Generate files - - -- Clement Lefebvre Mon, 05 Jun 2023 13:38:20 +0100 - -mintwelcome (2.5.7) vera; urgency=medium - - * panel layout: Remove pictures - * panel_layout: Switch modern/traditional - * Add a button on the main page to show the first steps - * l10n: Update POT - - -- Clement Lefebvre Mon, 28 Nov 2022 10:57:50 +0000 - -mintwelcome (2.5.6) vera; urgency=medium - - * Update colors - - -- Clement Lefebvre Tue, 22 Nov 2022 15:08:35 +0000 - -mintwelcome (2.5.5) vera; urgency=medium - - [ Clement Lefebvre ] - * cinnamon layouts: Replace show-desktop with cornerbar - - [ hdulme ] - * remove unused import cairo - - -- Clement Lefebvre Mon, 21 Nov 2022 13:15:36 +0000 - -mintwelcome (2.5.4) vanessa; urgency=medium - - * Run mintdrivers without admin rights - - -- Clement Lefebvre Mon, 19 Sep 2022 09:36:05 +0100 - -mintwelcome (2.5.3) una; urgency=medium - - * Don't change themes without user interaction - - -- Clement Lefebvre Mon, 10 Jan 2022 16:56:49 +0000 - -mintwelcome (2.5.2) una; urgency=medium - - [ Clement Lefebvre ] - * Remove obsolete reference to metacity mint-y-dark theme - - [ hammy3502 ] - * Detect theme color and dark variant (#50) - - [ Clement Lefebvre ] - * l10n: Generate files - - -- Clement Lefebvre Fri, 17 Dec 2021 12:31:21 +0000 - -mintwelcome (2.5.1) uma; urgency=medium - - [ NikoKrause ] - * Add favorites applet to Cinnamon legacy layout (#45) - - [ Lurux ] - * Update panel screenshots in layout selector - The screenshots for the "traditional" layout was still showcasing the old Mint-X theme despite the fact that both layouts now default to the Mint-Y theme, so I updated them accordingly. - The icons in the HiDPI screenshot of the "modern" layout were misaligned, so I also decided to redo these with the same panel arrangement. - - [ Shadofer ] - * Remove add_codecs and pkg variables and provide a shorter way to determine whether or not media codecs should be installed. (#48) - - -- Clement Lefebvre Wed, 26 May 2021 12:44:38 +0100 - -mintwelcome (2.5.0) ulyssa; urgency=medium - - * Revert "Run mintdrivers without admin rights" - - -- Clement Lefebvre Thu, 10 Dec 2020 11:30:02 +0000 - -mintwelcome (2.4.9) ulyssa; urgency=medium - - * Add favorites applet to Cinnamon modern layout - - -- Clement Lefebvre Tue, 08 Dec 2020 13:05:48 +0000 - -mintwelcome (2.4.8) ulyssa; urgency=medium - - * Run mintdrivers without admin rights - * l10n: Generate files - - -- Clement Lefebvre Mon, 30 Nov 2020 15:27:28 +0000 - -mintwelcome (2.4.7) ulyana; urgency=medium - - * Fix icons in Mint 20 - * Cinnamon: Bring back panel layout selection - * l10n: Update POT - - -- Clement Lefebvre Thu, 18 Jun 2020 12:29:36 +0100 - -mintwelcome (2.4.6) ulyana; urgency=medium - - * Fix brown and green pictures - - -- Clement Lefebvre Sat, 06 Jun 2020 12:16:07 +0100 - -mintwelcome (2.4.5) ulyana; urgency=medium - - * Go back to original colors - - -- Clement Lefebvre Sat, 06 Jun 2020 12:03:31 +0100 - -mintwelcome (2.4.4) ulyana; urgency=medium - - * Colors: Add HiDPI support - - -- Clement Lefebvre Fri, 24 Apr 2020 15:17:15 +0100 - -mintwelcome (2.4.3) ulyana; urgency=medium - - [ Nikolay Nechaev ] - * New mint logo in Welcome tab - - [ Clement Lefebvre ] - * Switch icon to filled ring - * First steps: Replace layout switcher with color chooser - * l10n: Update POT - * l10n: Generate desktop files - - -- Clement Lefebvre Fri, 24 Apr 2020 14:45:17 +0100 - -mintwelcome (2.4.2) tricia; urgency=medium - - [ Vincent Vermeulen ] - * allow for window controls on the left - - -- Clement Lefebvre Wed, 15 Jan 2020 14:35:05 +0000 - -mintwelcome (2.4.1) tricia; urgency=medium - - * l10n: Fix msgid - - -- Clement Lefebvre Thu, 05 Dec 2019 16:12:16 +0000 - -mintwelcome (2.4.0) tricia; urgency=medium - - * Update app icon - - -- Clement Lefebvre Tue, 19 Nov 2019 10:44:06 +0000 - -mintwelcome (2.3.9) tricia; urgency=medium - - * Update cinnamon panel layouts - * Update logo - - -- Clement Lefebvre Wed, 13 Nov 2019 11:46:32 +0100 - -# Older entries have been removed from this changelog. -# To read the complete changelog use `apt changelog mintwelcome`. diff --git a/debian/.debhelper/generated/mintwelcome/installed-by-dh_install b/debian/.debhelper/generated/mintwelcome/installed-by-dh_install deleted file mode 100644 index 7ca830e..0000000 --- a/debian/.debhelper/generated/mintwelcome/installed-by-dh_install +++ /dev/null @@ -1,2 +0,0 @@ -./etc -./usr diff --git a/debian/.debhelper/generated/mintwelcome/installed-by-dh_installdocs b/debian/.debhelper/generated/mintwelcome/installed-by-dh_installdocs deleted file mode 100644 index e69de29..0000000 diff --git a/debian/files b/debian/files deleted file mode 100644 index 7677161..0000000 --- a/debian/files +++ /dev/null @@ -1,2 +0,0 @@ -mintwelcome_2.6.2_all.deb admin optional -mintwelcome_2.6.2_amd64.buildinfo admin optional diff --git a/debian/mintwelcome.debhelper.log b/debian/mintwelcome.debhelper.log deleted file mode 100644 index dfe7dea..0000000 --- a/debian/mintwelcome.debhelper.log +++ /dev/null @@ -1,17 +0,0 @@ -dh_update_autotools_config -dh_prep -dh_auto_install -dh_install -dh_installdocs -dh_installchangelogs -dh_icons -dh_perl -dh_link -dh_strip_nondeterminism -dh_compress -dh_fixperms -dh_missing -dh_installdeb -dh_gencontrol -dh_md5sums -dh_builddeb diff --git a/debian/mintwelcome.substvars b/debian/mintwelcome.substvars deleted file mode 100644 index 978fc8b..0000000 --- a/debian/mintwelcome.substvars +++ /dev/null @@ -1,2 +0,0 @@ -misc:Depends= -misc:Pre-Depends=