Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
package-helpers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
trisquel
package-helpers
Commits
38d6b28f
Commit
38d6b28f
authored
2 years ago
by
Ruben Rodriguez
Browse files
Options
Downloads
Patches
Plain Diff
lightdm-gtk-greeter: add a wrapper to orca to prevent initialization errors with pulseaudio
parent
588d59d8
No related branches found
No related tags found
No related merge requests found
Pipeline
#773
passed
2 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
helpers/make-lightdm-gtk-greeter
+25
-11
25 additions, 11 deletions
helpers/make-lightdm-gtk-greeter
with
25 additions
and
11 deletions
helpers/make-lightdm-gtk-greeter
+
25
−
11
View file @
38d6b28f
#!/bin/sh
#
# Copyright (C) 2014-20
18
Ruben Rodriguez <ruben@trisquel.info>
# Copyright (C) 2014-20
22
Ruben Rodriguez <ruben@trisquel.info>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
@@ -17,7 +17,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION
=
2
VERSION
=
3
COMPONENT
=
main
.
./config
...
...
@@ -43,17 +43,31 @@ cat << EOF > debian/01_trisquel.conf
# screensaver-timeout = Timeout (in seconds) until the screen blanks when the greeter is called as lockscreen
#
[greeter]
background=/usr/share/backgrounds/
flidas
.jpg
theme-name=Trisquel
icon-theme-name=
T
risquel
font-name=Sans 10
xft-antialias=true
xft-dpi=96
xft-hintstyle=slight
xft-rgba=rgb
indicators=~a11y;~language;~session;~power
background=/usr/share/backgrounds/
aramo
.jpg
theme-name=Trisquel
-dark
icon-theme-name=
t
risquel
indicators = ~clock;~spacer;~host;~spacer;~a11y;~language;~session;~power
default-user-image = /usr/share/pixmaps/trisquel.svg
keyboard = onboard
reader = orca-lightdm-wrapper
a11y-states = keyboard;reader;contrast;font
clock-format = %x %X
EOF
cat
<<
EOF
> orca-lightdm-wrapper
#!/bin/sh
# Make sure that pulseaudio is running and not muted. This prevents sound initialization errors in the lightdm session
pulseaudio --start
pactl set-sink-mute @DEFAULT_SINK@ true
pactl set-sink-mute @DEFAULT_SINK@ false
which espeak paplay >/dev/null && espeak "Trisquel login" --stdout|paplay
exec orca
\$
@
EOF
chmod
755 orca-lightdm-wrapper
echo
orca-lightdm-wrapper /usr/bin
>>
debian/lightdm-gtk-greeter.install
changelog
"Trisquel themed"
compile
...
...
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