LINUX.ORG.RU

Не знаю, то или не то:

$ xprop -root
_QT_SELECTION_SENTINEL(WINDOW): window id # 0x1c00002, 0x0
_NET_WM_USER_TIME(CARDINAL) = 12830344
NAUTILUS_DESKTOP_WINDOW_ID(WINDOW): window id # 0x140001e
_NET_DESKTOP_LAYOUT(CARDINAL) = 0, 0, 1, 0
_NET_SUPPORTING_WM_CHECK(WINDOW): window id # 0x1000003
_XKB_RULES_NAMES_BACKUP(STRING) = "evdev", "pc105", "us", "", ""
_XROOTPMAP_ID(PIXMAP): pixmap id # 0x3200001
ESETROOT_PMAP_ID(PIXMAP): pixmap id # 0x3200001
_NET_ACTIVE_WINDOW(WINDOW): window id # 0x1c00027
_METACITY_SENTINEL(CARDINAL) = 0
_NET_WM_STRUT(CARDINAL) = 0, 0, 0, 0
_NET_WM_STRUT_PARTIAL(CARDINAL) = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1920
XKLAVIER_ALLOW_SECONDARY(INTEGER) = 0
_NET_WORKAREA(CARDINAL) = 0, 25, 1920, 1024, 0, 25, 1920, 1024, 0, 25, 1920, 1024, 0, 25, 1920, 1024, 0, 25, 1920, 1024
_NET_CLIENT_LIST_STACKING(WINDOW): window id # 0x140001e, 0x1c00133, 0x1c000f8, 0x3649eae, 0x1c00045, 0x360003e, 0x1c00027, 0x1200003, 0x1200031
_NET_CLIENT_LIST(WINDOW): window id # 0x1200003, 0x1200031, 0x140001e, 0x1c00027, 0x1c00045, 0x360003e, 0x1c000f8, 0x1c00133, 0x3649eae
_NET_DESKTOP_NAMES(UTF8_STRING) = 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x20, 0x31, 0x0, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x20, 0x32, 0x0, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x20, 0x33, 0x0, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x20, 0x34, 0x0, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x20, 0x35, 0x0
_NET_NUMBER_OF_DESKTOPS(CARDINAL) = 5
_NET_CURRENT_DESKTOP(CARDINAL) = 0
_NET_DESKTOP_GEOMETRY(CARDINAL) = 1920, 1080
_NET_DESKTOP_VIEWPORT(CARDINAL) = 0, 0
_NET_SUPPORTED(ATOM) = _NET_WM_NAME, _NET_CLOSE_WINDOW, _NET_WM_STATE, _NET_WM_STATE_SHADED, _NET_WM_STATE_MAXIMIZED_HORZ, _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_DESKTOP, _NET_NUMBER_OF_DESKTOPS, _NET_CURRENT_DESKTOP, _NET_WM_WINDOW_TYPE, _NET_WM_WINDOW_TYPE_DESKTOP, _NET_WM_WINDOW_TYPE_DOCK, _NET_WM_WINDOW_TYPE_TOOLBAR, _NET_WM_WINDOW_TYPE_MENU, _NET_WM_WINDOW_TYPE_DIALOG, _NET_WM_WINDOW_TYPE_NORMAL, _NET_WM_STATE_MODAL, _NET_CLIENT_LIST, _NET_CLIENT_LIST_STACKING, _NET_WM_STATE_SKIP_TASKBAR, _NET_WM_STATE_SKIP_PAGER, _NET_WM_ICON_NAME, _NET_WM_ICON, _NET_WM_ICON_GEOMETRY, _NET_WM_MOVERESIZE, _NET_ACTIVE_WINDOW, _NET_WM_STRUT, _NET_WM_STATE_HIDDEN, _NET_WM_WINDOW_TYPE_UTILITY, _NET_WM_WINDOW_TYPE_SPLASH, _NET_WM_STATE_FULLSCREEN, _NET_WM_PING, _NET_WM_PID, _NET_WORKAREA, _NET_SHOWING_DESKTOP, _NET_DESKTOP_LAYOUT, _NET_DESKTOP_NAMES, _NET_WM_ALLOWED_ACTIONS, _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_STICK, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_WM_STATE_ABOVE, _NET_WM_STATE_BELOW, _NET_STARTUP_ID, _NET_WM_STRUT_PARTIAL, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MINIMIZE, _NET_FRAME_EXTENTS, _NET_REQUEST_FRAME_EXTENTS, _NET_WM_USER_TIME, _NET_WM_STATE_DEMANDS_ATTENTION, _NET_MOVERESIZE_WINDOW, _NET_DESKTOP_GEOMETRY, _NET_DESKTOP_VIEWPORT, _NET_WM_USER_TIME_WINDOW, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW, _NET_WM_STATE_STICKY, _NET_WM_FULLSCREEN_MONITORS
WM_ICON_SIZE(CARDINAL):
                minimum icon size: 32 by 32
                maximum icon size: 32 by 32
                incremental size change: 0 by 0
RESOURCE_MANAGER(STRING) = "*customization:\t-color\nXft.antialias:\t1\nXft.dpi:\t96.220703125\nXft.hinting:\t1\nXft.hintstyle:\thintmedium\nXft.rgba:\tnone\n"
_XKB_RULES_NAMES(STRING) = "evdev", "pc105", "us,ru", ",", "grp:alt_shift_toggle"
XFree86_VT(INTEGER) = 7

Dennis7
()
Ответ на: комментарий от Dennis7

Спасибо! Еще бы для GNOME посмотреть. У меня его сейчас близко нету.

zloy_starper ★★★
() автор топика
Ответ на: комментарий от Dennis7

Спасибо. Можно еще вывод xprop, но с другой рабочей области, или рабочего стола (как это у GNOME правильно называется).

zloy_starper ★★★
() автор топика
Ответ на: комментарий от zloy_starper

gnome 2.30.2

Рабочий стол 2 (начиная считать с 1-цы).

gag@pc:~$ xprop -root
_NET_SHOWING_DESKTOP(CARDINAL) = 0
_NET_WM_USER_TIME(CARDINAL) = 280162733
NAUTILUS_DESKTOP_WINDOW_ID(WINDOW): window id # 0x180001e
_NET_DESKTOP_LAYOUT(CARDINAL) = 0, 0, 1, 0
_NET_SUPPORTING_WM_CHECK(WINDOW): window id # 0x1400003
_XKB_RULES_NAMES_BACKUP(STRING) = "evdev", "pc105", "us", "", ""
_METACITY_SENTINEL(CARDINAL) = 0
_NET_ACTIVE_WINDOW(WINDOW): window id # 0x120bf71
_XROOTPMAP_ID(PIXMAP): pixmap id # 0x2a00001
ESETROOT_PMAP_ID(PIXMAP): pixmap id # 0x2a00001
_NET_WM_STRUT(CARDINAL) = 0, 0, 0, 0
_NET_WM_STRUT_PARTIAL(CARDINAL) = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1024
XKLAVIER_ALLOW_SECONDARY(INTEGER) = 0
_NET_WORKAREA(CARDINAL) = 0, 25, 1024, 718, 0, 25, 1024, 718, 0, 25, 1024, 718, 0, 25, 1024, 718
_NET_CLIENT_LIST_STACKING(WINDOW): window id # 0x180001e, 0x2800003, 0x2e00082, 0x2c5cf1b, 0x2c003de, 0x1200004, 0x2c0008c, 0x1200058, 0x2c003d9, 0x120bf71, 0x1600028, 0x1600003
_NET_CLIENT_LIST(WINDOW): window id # 0x1600003, 0x1600028, 0x180001e, 0x1200004, 0x1200058, 0x2c0008c, 0x2c003d9, 0x2c003de, 0x2c5cf1b, 0x2800003, 0x2e00082, 0x120bf71
_NET_DESKTOP_NAMES(UTF8_STRING) = "Workspace 1", "Workspace 2", "Workspace 3", "Workspace 4"
_NET_NUMBER_OF_DESKTOPS(CARDINAL) = 4
_NET_CURRENT_DESKTOP(CARDINAL) = 1
_NET_DESKTOP_GEOMETRY(CARDINAL) = 1024, 768
_NET_DESKTOP_VIEWPORT(CARDINAL) = 0, 0
_NET_SUPPORTED(ATOM) = _NET_WM_NAME, _NET_CLOSE_WINDOW, _NET_WM_STATE, _NET_WM_STATE_SHADED, _NET_WM_STATE_MAXIMIZED_HORZ, _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_DESKTOP, _NET_NUMBER_OF_DESKTOPS, _NET_CURRENT_DESKTOP, _NET_WM_WINDOW_TYPE, _NET_WM_WINDOW_TYPE_DESKTOP, _NET_WM_WINDOW_TYPE_DOCK, _NET_WM_WINDOW_TYPE_TOOLBAR, _NET_WM_WINDOW_TYPE_MENU, _NET_WM_WINDOW_TYPE_DIALOG, _NET_WM_WINDOW_TYPE_NORMAL, _NET_WM_STATE_MODAL, _NET_CLIENT_LIST, _NET_CLIENT_LIST_STACKING, _NET_WM_STATE_SKIP_TASKBAR, _NET_WM_STATE_SKIP_PAGER, _NET_WM_ICON_NAME, _NET_WM_ICON, _NET_WM_ICON_GEOMETRY, _NET_WM_MOVERESIZE, _NET_ACTIVE_WINDOW, _NET_WM_STRUT, _NET_WM_STATE_HIDDEN, _NET_WM_WINDOW_TYPE_UTILITY, _NET_WM_WINDOW_TYPE_SPLASH, _NET_WM_STATE_FULLSCREEN, _NET_WM_PING, _NET_WM_PID, _NET_WORKAREA, _NET_SHOWING_DESKTOP, _NET_DESKTOP_LAYOUT, _NET_DESKTOP_NAMES, _NET_WM_ALLOWED_ACTIONS, _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_STICK, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_WM_STATE_ABOVE, _NET_WM_STATE_BELOW, _NET_STARTUP_ID, _NET_WM_STRUT_PARTIAL, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MINIMIZE, _NET_FRAME_EXTENTS, _NET_REQUEST_FRAME_EXTENTS, _NET_WM_USER_TIME, _NET_WM_STATE_DEMANDS_ATTENTION, _NET_MOVERESIZE_WINDOW, _NET_DESKTOP_GEOMETRY, _NET_DESKTOP_VIEWPORT, _NET_WM_USER_TIME_WINDOW, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW, _NET_WM_STATE_STICKY, _NET_WM_FULLSCREEN_MONITORS
WM_ICON_SIZE(CARDINAL):
		minimum icon size: 32 by 32
		maximum icon size: 32 by 32
		incremental size change: 0 by 0
RESOURCE_MANAGER(STRING) = "*customization:\t-color\nXft.antialias:\t1\nXft.dpi:\t96\nXft.hinting:\t1\nXft.hintstyle:\thintmedium\nXft.rgba:\tnone\n"
_XKB_RULES_NAMES(STRING) = "evdev", "pc105", "us,de,ua,ru", ",,,", "grp:alt_shift_toggle,compose:lwin,compose:rwin"
XFree86_VT(INTEGER) = 8
XFree86_DDC_EDID1_RAWDATA(INTEGER) = 0, -1, -1, -1, -1, -1, -1, 0, 21, 58, 9, 16, 119, 112, 52, 34, 27, 7, 1, 1, 14, 29, 21, 80, -88, 0, 12, 0, 0, 0, 0, 0, 0, 78, 82, -65, -24, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -2, 0, 55, 85, 24, 50, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 95
gag@pc:~$ 
Рабочий стол 3 (начиная считать с 1-цы).
gag@pc:~$ xprop -root
VimRegistry(STRING) = "300001e GVIM"
_NET_SHOWING_DESKTOP(CARDINAL) = 0
_NET_WM_USER_TIME(CARDINAL) = 280162733
NAUTILUS_DESKTOP_WINDOW_ID(WINDOW): window id # 0x180001e
_NET_DESKTOP_LAYOUT(CARDINAL) = 0, 0, 1, 0
_NET_SUPPORTING_WM_CHECK(WINDOW): window id # 0x1400003
_XKB_RULES_NAMES_BACKUP(STRING) = "evdev", "pc105", "us", "", ""
_METACITY_SENTINEL(CARDINAL) = 0
_NET_ACTIVE_WINDOW(WINDOW): window id # 0x120c0c8
_XROOTPMAP_ID(PIXMAP): pixmap id # 0x2a00001
ESETROOT_PMAP_ID(PIXMAP): pixmap id # 0x2a00001
_NET_WM_STRUT(CARDINAL) = 0, 0, 0, 0
_NET_WM_STRUT_PARTIAL(CARDINAL) = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1024
XKLAVIER_ALLOW_SECONDARY(INTEGER) = 0
_NET_WORKAREA(CARDINAL) = 0, 25, 1024, 718, 0, 25, 1024, 718, 0, 25, 1024, 718, 0, 25, 1024, 718
_NET_CLIENT_LIST_STACKING(WINDOW): window id # 0x180001e, 0x2800003, 0x2e00082, 0x2c5cf1b, 0x2c003de, 0x1200004, 0x2c0008c, 0x1200058, 0x2c003d9, 0x120bf71, 0x120c0c8, 0x1600028, 0x1600003
_NET_CLIENT_LIST(WINDOW): window id # 0x1600003, 0x1600028, 0x180001e, 0x1200004, 0x1200058, 0x2c0008c, 0x2c003d9, 0x2c003de, 0x2c5cf1b, 0x2800003, 0x2e00082, 0x120bf71, 0x120c0c8
_NET_DESKTOP_NAMES(UTF8_STRING) = "Workspace 1", "Workspace 2", "Workspace 3", "Workspace 4"
_NET_NUMBER_OF_DESKTOPS(CARDINAL) = 4
_NET_CURRENT_DESKTOP(CARDINAL) = 2
_NET_DESKTOP_GEOMETRY(CARDINAL) = 1024, 768
_NET_DESKTOP_VIEWPORT(CARDINAL) = 0, 0
_NET_SUPPORTED(ATOM) = _NET_WM_NAME, _NET_CLOSE_WINDOW, _NET_WM_STATE, _NET_WM_STATE_SHADED, _NET_WM_STATE_MAXIMIZED_HORZ, _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_DESKTOP, _NET_NUMBER_OF_DESKTOPS, _NET_CURRENT_DESKTOP, _NET_WM_WINDOW_TYPE, _NET_WM_WINDOW_TYPE_DESKTOP, _NET_WM_WINDOW_TYPE_DOCK, _NET_WM_WINDOW_TYPE_TOOLBAR, _NET_WM_WINDOW_TYPE_MENU, _NET_WM_WINDOW_TYPE_DIALOG, _NET_WM_WINDOW_TYPE_NORMAL, _NET_WM_STATE_MODAL, _NET_CLIENT_LIST, _NET_CLIENT_LIST_STACKING, _NET_WM_STATE_SKIP_TASKBAR, _NET_WM_STATE_SKIP_PAGER, _NET_WM_ICON_NAME, _NET_WM_ICON, _NET_WM_ICON_GEOMETRY, _NET_WM_MOVERESIZE, _NET_ACTIVE_WINDOW, _NET_WM_STRUT, _NET_WM_STATE_HIDDEN, _NET_WM_WINDOW_TYPE_UTILITY, _NET_WM_WINDOW_TYPE_SPLASH, _NET_WM_STATE_FULLSCREEN, _NET_WM_PING, _NET_WM_PID, _NET_WORKAREA, _NET_SHOWING_DESKTOP, _NET_DESKTOP_LAYOUT, _NET_DESKTOP_NAMES, _NET_WM_ALLOWED_ACTIONS, _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_STICK, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_WM_STATE_ABOVE, _NET_WM_STATE_BELOW, _NET_STARTUP_ID, _NET_WM_STRUT_PARTIAL, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MINIMIZE, _NET_FRAME_EXTENTS, _NET_REQUEST_FRAME_EXTENTS, _NET_WM_USER_TIME, _NET_WM_STATE_DEMANDS_ATTENTION, _NET_MOVERESIZE_WINDOW, _NET_DESKTOP_GEOMETRY, _NET_DESKTOP_VIEWPORT, _NET_WM_USER_TIME_WINDOW, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW, _NET_WM_STATE_STICKY, _NET_WM_FULLSCREEN_MONITORS
WM_ICON_SIZE(CARDINAL):
		minimum icon size: 32 by 32
		maximum icon size: 32 by 32
		incremental size change: 0 by 0
RESOURCE_MANAGER(STRING) = "*customization:\t-color\nXft.antialias:\t1\nXft.dpi:\t96\nXft.hinting:\t1\nXft.hintstyle:\thintmedium\nXft.rgba:\tnone\n"
_XKB_RULES_NAMES(STRING) = "evdev", "pc105", "us,de,ua,ru", ",,,", "grp:alt_shift_toggle,compose:lwin,compose:rwin"
XFree86_VT(INTEGER) = 8
XFree86_DDC_EDID1_RAWDATA(INTEGER) = 0, -1, -1, -1, -1, -1, -1, 0, 21, 58, 9, 16, 119, 112, 52, 34, 27, 7, 1, 1, 14, 29, 21, 80, -88, 0, 12, 0, 0, 0, 0, 0, 0, 78, 82, -65, -24, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -2, 0, 55, 85, 24, 50, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 95
gag@pc:~$ 
Кстати, а для какой цели?

gag ★★★★★
()
Ответ на: комментарий от zloy_starper

(как это у GNOME правильно называется)

Workspace ты имеешь в виду? Слишком большое сообщение получается. Вот различия между выхлопами xprop'a на разных workspace'ax

Diff:

$ diff workspace3 workspace4
3c3
< _NET_WM_USER_TIME(CARDINAL) = 16439065
---
> _NET_WM_USER_TIME(CARDINAL) = 16429186
10c10
< _NET_ACTIVE_WINDOW(WINDOW): window id # 0x1c0ae03
---
> _NET_ACTIVE_WINDOW(WINDOW): window id # 0x1c0ae3c
16c16
< _NET_CLIENT_LIST_STACKING(WINDOW): window id # 0x140001e, 0x1c00133, 0x1c000f8, 0x3649eae, 0x1c00045, 0x1c00027, 0x360003e, 0x1c0ae3c, 0x1c0ae03, 0x1200031, 0x1200003
---
> _NET_CLIENT_LIST_STACKING(WINDOW): window id # 0x140001e, 0x1c00133, 0x1c000f8, 0x3649eae, 0x1c00045, 0x1c00027, 0x360003e, 0x1c0ae03, 0x1c0ae3c, 0x1200003, 0x1200031
20c20
< _NET_CURRENT_DESKTOP(CARDINAL) = 2
---
> _NET_CURRENT_DESKTOP(CARDINAL) = 3

Dennis7
()

Всем спасибо. Понял свою ошибку.

zloy_starper ★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.