Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
setup_lubuntu
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nvmnghia
setup_lubuntu
Commits
713b9deb
Commit
713b9deb
authored
Oct 11, 2019
by
nvmnghia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install Chrome if not installed
parent
f8934441
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
SetupLubuntu.sh
SetupLubuntu.sh
+9
-6
No files found.
SetupLubuntu.sh
View file @
713b9deb
...
...
@@ -13,7 +13,7 @@ usr=$(env | grep SUDO_USER | cut -d= -f 2)
apt update
-y
apt
install
-y
openssh-server curl wget cmake
apt
install
-y
openssh-server curl wget cmake
libxss1 libappindicator1 libindicator7
# https://stackoverflow.com/a/5171935/5959593
...
...
@@ -23,11 +23,14 @@ sed -i.bak "s/BgColor=.*/BgColor=#ffffff/g" ${PCMAN_SETTINGS}
# pcmanfm-qt --desktop --profile lubuntu --display :0 &
echo
"Install Chrome"
apt-get
install
libxss1 libappindicator1 libindicator7
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
apt
install
-y
./google-chrome
*
.deb
rm
google-chrome
*
.deb
if
!
[
-x
"
$(
command
-v
google-chrome
)
"
]
;
then
echo
"Install Chrome"
wget
-q
-O
- https://dl-ssl.google.com/linux/linux_signing_key.pub |
sudo
apt-key add -
sudo
sh
-c
'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sudo
apt-get update
sudo
apt-get
install
google-chrome-stable
fi
echo
"Set as default"
xdg-settings
set
default-web-browser google-chrome.desktop
...
...
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