You are not logged in.
Pages: 1
XUbuntu Synaptic Login
Standard Debian Synaptic Login
Both running Greybird Theme
Same Font
Question: Does anyone know how to make the standard Debian Synaptic login dialog look like the XUbuntu one?
Offline
What are the differences ?
Password for root: vs Password:
I don't use XUbuntu but I think there is no root account.
The Icon :
In debian the icon is the synaptic icon. To get the defaut key icon, you must remove the line
<icon_name>synaptic</icon_name>
in /usr/share/polkit-1/actions/com.ubuntu.pkexec.synaptic.policy
Be careful, It's a system file.
This way, I don't get the same Icon, perhaps It's because I don't use Greybird Theme.
I think you can adjust other différences like font in Setting menu.
Offline
NO, don't care about the icon.
Visually,.... the size of the dialog window itself.
Offline
It looks like xubuntu (ubuntu) patches the code to make the string wrap at 70 characters. From https://changelogs.ubuntu.com/changelog … /changelog:
* Auth dialog: Make the label wrap at 70 chars.
Because GtkWindow doesn't have a default width anymore.
Thanks to Lars Uebernickel! (via Ubuntu)
The patch file is locate here:
From: Lars Uebernickel <lars@uebernic.de>
Date: Fri, 17 Oct 2014 15:35:25 +0200
Subject: Auth dialog: Make the label wrap at 70 chars
Because GtkWindow doesn't have a default width anymore.
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=738688
Bug-Ubuntu: https://launchpad.net/bugs/1382566
---
src/polkitgnomeauthenticationdialog.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/polkitgnomeauthenticationdialog.c b/src/polkitgnomeauthenticationdialog.c
index d307516..efd4185 100644
--- a/src/polkitgnomeauthenticationdialog.c
+++ b/src/polkitgnomeauthenticationdialog.c
@@ -574,6 +574,7 @@ polkit_gnome_authentication_dialog_constructed (GObject *object)
g_free (s);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
+ gtk_label_set_max_width_chars (GTK_LABEL (label), 70);
gtk_box_pack_start (GTK_BOX (main_vbox), label, FALSE, FALSE, 0);
/* secondary message */
@@ -601,6 +602,7 @@ polkit_gnome_authentication_dialog_constructed (GObject *object)
}
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
+ gtk_label_set_max_width_chars (GTK_LABEL (label), 70);
gtk_box_pack_start (GTK_BOX (main_vbox), label, FALSE, FALSE, 0);
/* user combobox */
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks ToZ.
This may be a bit beyond my capabilities. I'm not sure how to install, or patch with this.
Offline
I'm not that familiar with debian. Perhaps the debian forums would be a better place to ask about patching packages. I imagine it would involve using something like quilt.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Pages: 1
[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 541.46 KiB (Peak: 542.74 KiB) ]