ALT Linux Bugzilla
– Attachment 15549 Details for
Bug 48715
myconnector: Не происходит автоматической блокировки экрана при нахождении курсора мыши на окне rdp сеанса
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
Тест запуска xfreerdp в окне
my_xfreerdp.py (text/x-python), 637 bytes, created by
Evgeniy Korneechev
on 2024-02-13 14:15:21 MSK
(
hide
)
Description:
Тест запуска xfreerdp в окне
Filename:
MIME Type:
Creator:
Evgeniy Korneechev
Created:
2024-02-13 14:15:21 MSK
Size:
637 bytes
patch
obsolete
>#!/usr/bin/python3 ># -*- coding: utf-8 -*- > >from gi import require_version >require_version('Gtk', '3.0') > >from gi.repository import Gtk, Gdk >import os > >class Window( Gtk.Window ): > def __init__( self ): > Gtk.Window.__init__( self ) > self.set_resizable( True ) > self.resize( 1919, 1019 ) > > def xfreerdp( self ): > cmd = "xfreerdp /v:address /u:user /d:domain +clipboard /size:1919x1019 /cert-ignore" > win_id = self.get_window().get_xid() > os.system( "%s /parent-window:%s &" % ( cmd, win_id )) > >win = Window() >win.connect( "destroy", Gtk.main_quit ) >win.show_all() >win.xfreerdp() >Gtk.main()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 48715
: 15549