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
e2419875
Commit
e2419875
authored
5 years ago
by
jean-michel
Browse files
Options
Downloads
Patches
Plain Diff
update
parent
342d96f3
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
+37
-0
37 additions, 0 deletions
plasma/customizeChroot
with
37 additions
and
0 deletions
plasma/customizeChroot
+
37
−
0
View file @
e2419875
...
...
@@ -81,5 +81,42 @@ config_66(){
}
custo_once config_66
<<<<<<
< HEAD
=======
config_user
(){
out_action
"Create
${
NEWUSER
}
.scandir file"
su
"
${
NEWUSER
}
"
-c
"cat > /home/
${
NEWUSER
}
/.scandir <<EOF
#!/usr/bin/execlineb -P
#emptyenv -p
s6-setsid -qb --
umask 022
66-scandir -v3 -cu
EOF"
out_action
"Set 750 permissions on .scandir file"
su
"
${
NEWUSER
}
"
-c
"chmod 750 /home/
${
NEWUSER
}
/.scandir"
out_action
"Create
${
NEWUSER
}
.zprofile file"
su
"
${
NEWUSER
}
"
-c
"cat > /home/
${
NEWUSER
}
/.zprofile <<EOF
## Execute scandir script
## Send a down signal, or 'could not sync environment to dbus' with sddm when user logout/login
## Send an up signal for services inside tree [gui]
(.scandir &) &
66-all -t gui down
sleep 01
66-all -t gui up
EOF"
out_action
"Create
${
NEWUSER
}
.xinitrc file"
su
"
${
NEWUSER
}
"
-c
"cat > /home/
${
NEWUSER
}
/.xinitrc <<EOF
## Uncomment if you use startx command line to launch plasma DE
exec ck-launch-session startkde
EOF"
}
custo_once config_user
>>>>>>>
7200a72... update with ck-launch-session
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