Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
9
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
dogtail
dogtail
Commits
4055531b
Commit
4055531b
authored
Dec 01, 2020
by
Vitezslav Humpa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update headless-next and bump development specfile
parent
b88a087e
Pipeline
#223693194
failed with stages
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
dogtail.spec
dogtail.spec
+2
-2
scripts/dogtail-run-headless-next
scripts/dogtail-run-headless-next
+10
-2
No files found.
dogtail.spec
View file @
4055531b
...
...
@@ -5,7 +5,7 @@
Summary: GUI test tool and automation framework
Name: dogtail
Version: 1.0.0
Release: 0.
7
.aea8065e%{?dist}
Release: 0.
8
.aea8065e%{?dist}
License: GPLv2
URL: https://gitlab.com/dogtail/dogtail/
Source0: https://gitlab.com/dogtail/dogtail/raw/released/%{name}-%{version}.tar.gz
...
...
@@ -58,7 +58,7 @@ Requires: python3-gobject
Requires: python3-cairo
Requires: xorg-x11-xinit
Requires: hicolor-icon-theme
Requires: python3-dogtail >=
0.
10.0
Requires: python3-dogtail >= 1
.
0.0
%description -n python3-dogtail-scripts
GUI test tool and automation framework that uses assistive technologies to
...
...
scripts/dogtail-run-headless-next
View file @
4055531b
...
...
@@ -181,7 +181,8 @@ class DisplayManagerSession:
if
force_xorg
:
config
.
set
(
self
.
options
[
"section"
],
"WaylandEnable"
,
"false"
)
else
:
config
.
set
(
self
.
options
[
"section"
],
"WaylandEnable"
,
"true"
)
pass
#config.set(self.options["section"], "WaylandEnable", "true")
else
:
config
.
remove_option
(
self
.
options
[
"section"
],
self
.
options
[
"enable"
])
...
...
@@ -201,7 +202,7 @@ class DisplayManagerSession:
except
Exception
:
pass
subprocess
.
Popen
(
"echo 'export QT_ACCESSIBILITY=1' > ~/.kde/env/qt-at-spi.sh"
,
subprocess
.
Popen
(
"echo 'export QT_ACCESSIBILITY=1' > ~/.kde/env/qt-at-spi.sh"
,
shell
=
True
).
wait
()
if
self
.
display_manager
==
"gdm"
:
...
...
@@ -448,6 +449,13 @@ def main():
script
=
Script
(
script_command_list
)
if
os
.
path
.
isfile
(
'/tmp/headless_enable_fatal_criticals'
):
os
.
environ
[
'G_DEBUG'
]
=
'fatal-criticals'
# fatal_wanings has bigger priority than criticals, so will ovewrite the variable should both be set
if
os
.
path
.
isfile
(
'/tmp/headless_enable_fatal_warnings'
):
os
.
environ
[
'G_DEBUG'
]
=
'fatal-warnings'
script_process_id
=
script
.
start
()
print
(
"dogtail-run-headless-next: Started the script with PID %d"
%
(
script_process_id
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment