Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gnome-schedule
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
gnome-schedule
Commits
21251f6f
Commit
21251f6f
authored
May 12, 2009
by
Gaute Hope
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev'
parents
5c6cc643
3f2c5939
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
src/at.py
src/at.py
+1
-0
src/xwrapper.py
src/xwrapper.py
+2
-1
No files found.
src/at.py
View file @
21251f6f
...
...
@@ -59,6 +59,7 @@ class At:
self
.
SCRIPT_DELIMITER
=
"###### ---- GNOME_SCHEDULE_SCRIPT_DELIMITER #####"
self
.
DISPLAY
=
"DISPLAY=%s; export DISPLAY;
\n
"
self
.
DISPLAY
=
self
.
DISPLAY
+
"XAUTHORITY="
+
user_home_dir
+
"/.Xauthority; export XAUTHORITY;
\n
"
self
.
DISPLAY
=
self
.
DISPLAY
+
config
.
xwrapper_exec
+
" a
\n
"
self
.
DISPLAY
=
self
.
DISPLAY
+
"""
xwrapper=$?;
...
...
src/xwrapper.py
View file @
21251f6f
...
...
@@ -147,7 +147,8 @@ if job_type == 0:
# AT
elif
(
job_type
==
1
):
display
=
os
.
getenv
(
'DISPLAY'
)
check_X
(
display
)
xauth
=
home_dir
+
"/.Xauthority"
check_X
(
display
,
xauth
)
sys
.
exit
(
0
)
# All fine
else
:
...
...
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