Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dots
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
CALIN Alexis
Dots
Commits
fbe02675
Commit
fbe02675
authored
2 years ago
by
CALIN Alexis
Browse files
Options
Downloads
Patches
Plain Diff
big update
parent
5c7ca4ca
No related branches found
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
README.md
+19
-0
19 additions, 0 deletions
README.md
fix-screen-tearing.sh
+2
-0
2 additions, 0 deletions
fix-screen-tearing.sh
install-dwm.sh
+9
-0
9 additions, 0 deletions
install-dwm.sh
setup-tui.sh
+54
-0
54 additions, 0 deletions
setup-tui.sh
setup.sh
+51
-0
51 additions, 0 deletions
setup.sh
with
135 additions
and
0 deletions
README.md
0 → 100644
+
19
−
0
View file @
fbe02675
Auto Gnu/Linux setup
====================
This repository contains dots file for dwm with french keyboard shortcuts and a script to setup the system how I like.
Programs
Here are the main programs:
-
dwm – the main graphical environment
-
st – the terminal
-
chromium - the Browser
-
newsboat - the RSS reader
-
thunderbird - the mail client
-
texlive - latex distribution
-
vscode - the text editor
-
libreoffice
-
pandoc
It also can setup network manager and get rid of screen tearing.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
fix-screen-tearing.sh
+
2
−
0
View file @
fbe02675
#https://techstop.github.io/fix-screen-tearing-xfce/
echo
'Fixing screen tearing for intel'
sudo mkdir
/usr/share/X11/xorg.conf.d/
sudo echo
'Section "Device"
Identifier "Intel Graphics"
...
...
This diff is collapsed.
Click to expand it.
x
in
itrc
.sh
→
in
stall-dwm
.sh
+
9
−
0
View file @
fbe02675
echo
'Create xinitrc for dwm'
echo
'#keyboard config
setxkbmap fr
...
...
@@ -14,4 +16,11 @@ done &
xsetroot -bg black
#feh --bg-fill ~/Images/Wallpaper/Favoris/ISS-view-4.jpg
# lock screen when suspended
xss-lock -- slock &
exec /usr/local/bin/dwm'
>
~/.xinitrc
echo
'Compiling dwm'
cd
dwm
&&
sudo
make clean
install
&&
cd
..
This diff is collapsed.
Click to expand it.
setup-tui.sh
0 → 100644
+
54
−
0
View file @
fbe02675
# #!/bin/bash
# PS3='Quelle distribution Linux utilisez-vous? '
# options=("Debian" "Arch" "Quitter")
# select opt in "${options[@]}"
# do
# case $opt in
# "Debian")
# echo "Exécution du script Debian"
# ./script-deb.sh
# break
# ;;
# "Arch")
# echo "Exécution du script Arch"
# ./script-arch.sh
# break
# ;;
# "Quitter")
# break
# ;;
# *) echo "Option non valide";;
# esac
# done
#!/bin/bash
# Initialisation de ncurses
initscr
# Désactivation de l'affichage des saisies
noecho
# Activation des touches de déplacement
cbreak
# Affichage du menu
distro
=
$(
whiptail
--title
"Distribution Linux"
--menu
"Quelle distribution Linux utilisez-vous?"
15 60 4
\
"Debian"
"Utilisez apt pour installer les programmes"
\
"Arch"
"Utilisez pacman pour installer les programmes"
\
"Quitter"
"Quitter"
3>&1 1>&2 2>&3
)
# Exécution du script en fonction de la réponse de l'utilisateur
if
[
"
$distro
"
==
"Debian"
]
;
then
echo
"Exécution du script Debian"
./script-deb.sh
elif
[
"
$distro
"
==
"Arch"
]
;
then
echo
"Exécution du script Arch"
./script-arch.sh
else
echo
"Quitter"
fi
# Fermeture de ncurses
endwin
\ No newline at end of file
This diff is collapsed.
Click to expand it.
setup.sh
0 → 100644
+
51
−
0
View file @
fbe02675
#!/bin/bash
# A implementer : setup de wireplumber and automate the things to install after minimal debian install
# Tweak dwm to show cpu temp
echo
"What GNU/Linux distribution are you using ? Enter 'Debian' or 'Arch'"
read
distro
if
[
"
$distro
"
==
"Debian"
]
;
then
echo
'Updating apt repositories'
sudo
apt update
echo
'Install and setup DWM ? y or n'
read
yn
if
[
"
$yn
"
==
'y'
]
;
then
# dwm depedencies
sudo
apt
install
build-essential libx11-dev libxft-dev libxinerama-dev libfreetype6-dev libfontconfig1-dev
install-dwm
fix-screen-tearing
fi
echo
'Install recommended programs ? y or n'
read
yn
if
[
"
$yn
"
==
'y'
]
;
then
# programs
sudo
apt
install
network-manager chromium newsboat thunderbird libreoffice pandoc texlive-full xss-lock slock xbacklight neofetch ranger htop
sudo
systemctl
enable
--now
NetworkManager
&&
echo
'Enabled Network Manager'
fi
echo
'Install VScode ? (y or n)'
read
yn
if
[
"
$yn
"
==
'y'
]
;
then
# vscode
curl https://go.microsoft.com/fwlink/?LinkID
=
760868
&&
sudo
apt
install
./code
*
.deb
fi
echo
'Install Mullvad vpn ? (y or n)'
read
yn
if
[
"
$yn
"
==
'y'
]
;
then
# vscode
curl https://mullvad.net/download/app/deb/latest/
&&
sudo
apt
install
./Mullvad
*
.deb
&&
sudo
systemctl
enable
--now
mullvad-daemon
fi
elif
[
"
$distro
"
==
"Arch"
]
;
then
sudo
pacman
-Sy
sudo
pacman
-S
base-devel libx11 libxft libxinerama freetype2 fontconfig
else
echo
'Non recognized distribution'
echo
'Quitting'
fi
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