Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
4492b476
Unverified
Commit
4492b476
authored
Sep 20, 2018
by
Igor Pečovnik
Committed by
GitHub
Sep 20, 2018
Browse files
enable show windows content on stronger boards
since we set this in the first run ...
parent
c7f2958a
Changes
1
Show whitespace changes
Inline
Side-by-side
debian-config-functions
View file @
4492b476
...
...
@@ -548,6 +548,13 @@ function configure_desktop ()
sed
"s/^parport_pc/#parport_pc/"
-i
/etc/modules-load.d/cups-filters.conf
fi
# enable show windows content on stronger boards
cpu_cores
=
$(
grep
-c
'^processor'
/proc/cpuinfo |
sed
's/^0$/1/'
)
if
[[
${
cpu_cores
}
-gt
2
&&
-f
/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml
]]
;
then
sed
-i
's/<property name="box_move" type="bool" value=".*/<property name="box_move" type="bool" value="false"\/>/g'
\
/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml
fi
# fix for gksu in Xenial
touch
/home/
${
CHOSEN_USER
}
/.Xauthority
cp
-R
/etc/skel/. /home/
${
CHOSEN_USER
}
...
...
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