Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-system-image
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Reform
reform-system-image
Commits
d9ed139c
Commit
d9ed139c
authored
4 years ago
by
minute
Browse files
Options
Downloads
Patches
Plain Diff
reform-windowmaker: wait for x startup
parent
d768e038
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!13
(Probably) final changes for first release
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
reform2-imx8mq/mkuserland3.sh
+1
-1
1 addition, 1 deletion
reform2-imx8mq/mkuserland3.sh
reform2-imx8mq/template-skel/bin/reform-windowmaker
+17
-5
17 additions, 5 deletions
reform2-imx8mq/template-skel/bin/reform-windowmaker
with
18 additions
and
6 deletions
reform2-imx8mq/mkuserland3.sh
+
1
−
1
View file @
d9ed139c
...
@@ -20,7 +20,7 @@ export LANG=C
...
@@ -20,7 +20,7 @@ export LANG=C
# install applications
# install applications
apt install -y libreoffice libreoffice-gtk3 inkscape firefox-esr emacs gimp wmaker
apt install -y libreoffice libreoffice-gtk3 inkscape firefox-esr emacs gimp wmaker
x11-utils
apt install -y chromium evolution freecad ardour sxiv neverball scummvm dosbox wf-recorder wev linphone-desktop
apt install -y chromium evolution freecad ardour sxiv neverball scummvm dosbox wf-recorder wev linphone-desktop
# install patched software from mntre
# install patched software from mntre
...
...
This diff is collapsed.
Click to expand it.
reform2-imx8mq/template-skel/bin/reform-windowmaker
+
17
−
5
View file @
d9ed139c
...
@@ -8,14 +8,26 @@
...
@@ -8,14 +8,26 @@
# exec xfce4-session
# exec xfce4-session
#
#
cage
--
/usr/local/bin/Xwayland
-retro
&
DNUM
=
:0
sleep
2
cage
--
/usr/local/bin/Xwayland
$DNUM
-retro
-noreset
&
export
DISPLAY
=
$DNUM
# idea lifted from https://gist.github.com/tullmann/476cc71169295d5c3fe6
MAX
=
10
CT
=
0
while
!
xdpyinfo
>
/dev/null 2>&1
;
do
sleep
0.50s
CT
=
$((
CT
+
1
))
if
[
"
$CT
"
-ge
"
$MAX
"
]
;
then
LOG
"FATAL:
$0
: Gave up waiting for X server
$DISPLAY
"
exit
11
fi
done
export
WAYLAND_DISPLAY
=
null
# Hack, but works
export
WAYLAND_DISPLAY
=
null
# Hack, but works
export
DISPLAY
=
:0
export
GDK_BACKEND
=
x11
export
GDK_BACKEND
=
x11
unset
SDL_VIDEODRIVER
unset
SDL_VIDEODRIVER
xterm &
exec
wmaker
exec
wmaker
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment