You are not logged in.
Pages: 1
Hello:
My system runs Devuan with the default XFCE desktop environment.
groucho@devuan:~$ uname -a
Linux devuan 3.16.0-5-amd64 #1 SMP Debian 3.16.51-3+deb8u1 (2018-01-08) x86_64 GNU/Linux
groucho@devuan:~$
When I open SPM to check that everything is as it should be, the pop-up auth window that comes up seems to be huge, taking up 28.5cm in length while being only 6.0 cm high while I'd expect a smaller (ie: shorter) image with a 3:1 ratio. This is in a 19" monitor running at 1280*1024.
Is this a setting that can be adjusted somewhere?
Thanks in advance,
D.
Offline
What is SPM?
And what is the authentication window that comes up? Is it gksudo's or maybe polkit's? You might be able to use "xprop" to find this out. Keep a terminal window open and when the dialog is on the screen, run "xprop" in the terminal window and then click on the authentication dialog. It should show more info about the dialog (including which one it is) in the terminal window.
Either way, it won't be an Xfce configuration setting that controls this, if it is at all possible to configure the dialog size.
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
Hello:
What is SPM?
Sorry ...
Synaptic Package Manager
... what is the authentication window that comes up?
It's polkit's.
Either way, it won't be an Xfce configuration setting that controls this ...
This is what xprop says:
groucho@devuan:~$ xprop
_NET_WM_ICON_GEOMETRY(CARDINAL) = 1549, 0, 200, 25
_NET_FRAME_EXTENTS(CARDINAL) = 4, 4, 24, 4
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MOVE, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_STICK
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x92cd3600
_NET_WM_DESKTOP(CARDINAL) = 2
_NET_WM_STATE(ATOM) = _NET_WM_STATE_MODAL, _NET_WM_STATE_ABOVE
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True
Initial state is Normal State.
bitmap id # to use for icon: 0x280000c
bitmap id # of mask for icon: 0x2800013
window id # of group leader: 0x2800001
XdndAware(ATOM) = BITMAP
_NET_WM_ICON(CARDINAL) = Icon (22 x 22):
Icon (16 x 16):
--- snip
Icon (24 x 24):
--- snip
Icon (32 x 32):
--- snip
Icon (48 x 48):
--- snip
Icon (48 x 48):
_NET_WM_OPAQUE_REGION(CARDINAL) = 7, 0, 959, 7, 0, 7, 973, 168
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 41943050, 41943051
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x2800009
WM_CLIENT_LEADER(WINDOW): window id # 0x2800001
_NET_WM_PID(CARDINAL) = 2895
WM_LOCALE_NAME(STRING) = "C"
WM_CLIENT_MACHINE(STRING) = "devuan"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
program specified minimum size: 973 by 175
program specified maximum size: 973 by 175
program specified base size: 0 by 0
window gravity: NorthWest
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "polkit-gnome-authentication-agent-1", "Polkit-gnome-authentication-agent-1"
WM_ICON_NAME(STRING) = "Authenticate"
_NET_WM_ICON_NAME(UTF8_STRING) = "Authenticate"
WM_NAME(STRING) = "Authenticate"
_NET_WM_NAME(UTF8_STRING) = "Authenticate"
groucho@devuan:~$
It seems that the 'WM_NORMAL_HINTS(WM_SIZE_HINTS):' entry is where this is happening.
WM would be Window Manager (?) and 973 x 175 roughly matches the auth window size.
In contrast to this, my PCLinuxOS installation with MATE desktop has a 'WM_NORMAL_HINTS(WM_SIZE_HINTS):' entry that says this:
WM_NORMAL_HINTS(WM_SIZE_HINTS):
program specified minimum size: 416 by 209
program specified maximum size: 416 by 209
program specified base size: 0 by 0
window gravity: NorthWest
Any ideas as to where this size is set?
Thanks in advance,
G.
Last edited by Devuan (2018-03-18 18:58:58)
Offline
We faced that and corrected it for MX-17. I don't remember the details (it was tricky) but you can search the Forum.
MX-23 (based on Debian Stable) with our flagship Xfce 4.18.
Offline
Hello:
We faced that and corrected it for MX-17. I don't remember the details (it was tricky) but you can search the Forum.
Been looking for a while but have not found anything yet.
From https://tronche.com/gui/x/xlib/ICC/clie … hints.html
---
Xlib provides functions that you can use to set or read the WM_NORMAL_HINTS property for a given window. The functions use the flags and the XSizeHints structure, as defined in the X11/Xutil.h header file.
---
This is as far as I have been able to get, I have no idea about the above mentioned header file, which is located at /usr/include/X11.
From what I can see it just defines flags and functions.
It would make sense that there is yet another file realated to the app, in this case polkit(?), that's using some Xlib executable (?) to read it and set how the window has to be shown (as the xprop output indicates) but I have no idea as to where it may be located or if it can be edited.
In any case, at least here it would seem to be an issue in Devuan+Xfce, I cannot replicate it in PCLinuxOS+MATE.
Thanks for your input.
D.
Offline
Pages: 1
[ Generated in 0.009 seconds, 8 queries executed - Memory usage: 542.2 KiB (Peak: 543.48 KiB) ]