Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
Obarun Install Themes
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
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Eric Vidal
Obarun Install Themes
Commits
747b20d4
Commit
747b20d4
authored
6 years ago
by
jean-michel
Committed by
Eric Vidal
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
adjust services for kde
parent
f8cfaac3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plasma/customizeChroot
+13
-40
13 additions, 40 deletions
plasma/customizeChroot
with
13 additions
and
40 deletions
plasma/customizeChroot
+
13
−
40
View file @
747b20d4
...
...
@@ -53,48 +53,21 @@ custo_once create_log_user
## Configure S6 service
config_
s
6
(){
config_
6
6
(){
out_action
"Enable syslogds6 service"
cp
-ra
/etc/s6-serv/available/classic/syslogds6 /etc/s6-serv/enabled/classic/
out_action
"Enable dbus service"
cp
-ra
/etc/s6-serv/available/classic/dbus /etc/s6-serv/enabled/classic/
out_action
"Enable consolekit service"
cp
-ra
/etc/s6-serv/available/classic/consolekit /etc/s6-serv/enabled/classic/
out_action
"Enable ntpd service"
cp
-ra
/etc/s6-serv/available/classic/ntpd /etc/s6-serv/enabled/classic/
out_action
"Create Live database"
s6opts add live bundle-Networkmanager
s6opts compile Live live
out_action
"Make Live as current database"
rm
/etc/s6-serv/enabled/rc/compiled/current
ln
-sf
/etc/s6-serv/enabled/rc/compiled/Live /etc/s6-serv/enabled/rc/compiled/current
out_action
"Create directories for user supervision tree"
su
"
${
NEWUSER
}
"
-c
"s6opts user"
out_action
"Enable dbus service for
${
NEWUSER
}
user"
su
"
${
NEWUSER
}
"
-c
"cp -ra /etc/s6-serv/available/user/classic/dbus /home/
${
NEWUSER
}
/service/enabled/classic/"
out_action
"Create
${
NEWUSER
}
log directory for dbus"
su
"
${
NEWUSER
}
"
-c
"s6opts checklog dbus"
out_action
"Create User-live database"
su
"
${
NEWUSER
}
"
-c
"s6opts add user-live xdg-user-dirs-oneshot"
su
"
${
NEWUSER
}
"
-c
"s6opts compile User-live user-live"
out_action
"Make User-live as current database"
rm
/home/
"
${
NEWUSER
}
"
/service/enabled/rc/compiled/current
ln
-sf
/home/
"
${
NEWUSER
}
"
/service/enabled/rc/compiled/User-live /home/
"
${
NEWUSER
}
"
/service/enabled/rc/compiled/current
}
custo_once config_s6
## Configure pulseaudio
config_pulse
(){
echo
"load-module module-device-manager"
>>
/etc/pulse/default.pa
# creation of the live/ to avoid crash
mkdir
-p
-m1777
/run/66
out_action
"Enable dbus,consolekit,sddm,networkmanager,wpa_supplicant and ntpd on tree root"
66-enable
-v3
dbus ntpd consolekit sddm networkmanager wpa_supplicant
# avoid permissions access issue
chown
-R
${
NEWUSER
}
:users /run/66
out_action
"Create tree graphics for
${
NEWUSER
}
, enables and makes it current"
su
"
${
NEWUSER
}
"
-c
"66-tree -v3 -Ecn graphics"
out_action
"Enable dbus-user and xdg-user-dirs on tree graphics"
su
"
${
NEWUSER
}
"
-c
"66-enable -v3 -t graphics dbus-user xdg-user-dirs"
rm
-rf
/run/66
}
custo_once config_
pulse
custo_once config_
66
out_valid
"Customization terminate"
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