Use separate script for the Emoji Picker installation, and now renaming the app in Ubuntu (#4)

This commit is contained in:
Mylloon 2022-02-03 19:36:38 +01:00
parent ad92bd3538
commit af99205a55
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
4 changed files with 61 additions and 3 deletions

View file

@ -0,0 +1,37 @@
[General]
activateWindowBeforeWritingByDefault=false
aliasExactMatching=false
customQssFilePath=
enableEmojiIncludesSearch=true
gendersDisabled=false
hideInputMethod=false
localeKey=
maxEmojiVersion=-1
openAtMouseLocation=false
skinTonesDisabled=false
surroundAliasesWithColons=true
swapEnterAndShiftEnter=false
useClipboardHackByDefault=false
useSystemEmojiFont=false
useSystemEmojiFontWidthHeuristics=true
useSystemQtTheme=false
windowOpacity=0.9
[activateWindowBeforeWritingExceptions]
1\processName=code
2\processName=code-oss
3\processName=chrome
4\processName=chromium
5\processName=kate
6\processName=brave
size=6
[emojiAliasesIniFilePaths]
1\path=:/aliases/github-emojis.ini
2\path=:/aliases/gitmoji-emojis.ini
size=2
[useClipboardHackExceptions]
1\processName=chatterino
2\processName=kate
size=2

View file

@ -124,7 +124,7 @@ Mon guide à suivre lors d'une réinstallation d'Ubuntu
- Installe le [sélecteur d'emojis](https://github.com/GaZaTu/x11-emoji-picker)
```bash
wget -q --show-progress https://raw.githubusercontent.com/GaZaTu/x11-emoji-picker/master/install.sh -O tmp.sh && bash tmp.sh; rm tmp.sh
wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installEmojiPicker.sh -O tmp.sh && bash tmp.sh; rm tmp.sh
```
- Met en place quelques configurations que j'utilises sur Ubuntu

21
installEmojiPicker.sh Normal file
View file

@ -0,0 +1,21 @@
# Fetch installation script
wget -q https://raw.githubusercontent.com/GaZaTu/x11-emoji-picker/master/install.sh -O /tmp/install_EP.sh
# Remove the great emoji after the installation
sed -i 's/echo "$PROJECT_NAME installed! 🎉"/echo "$PROJECT_NAME installed!"/' /tmp/install_EP.sh
# Installation
bash /tmp/install_EP.sh
# Remove icon
if [ -f /usr/share/applications/x11-emoji-picker.desktop ]
then
sudo mv /usr/share/applications/x11-emoji-picker.desktop /usr/share/applications/x11-emoji-picker.desktop.bak
echo -e "\nEmoji Picker icon removed!"
fi
# Use custom configuration
rm $HOME/.config/gazatu.xyz/emoji-picker.ini 2>/dev/null
wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/.config/gazatu.xyz/emoji-picker.ini -P $HOME/.config/gazatu.xyz/
echo -e "\nEmoji Picker configured! 🎉"

View file

@ -82,8 +82,8 @@ then
sudo snap install onlyoffice-desktopeditors
echo -e "\nOnlyOffice installed! 🎉"
# Install EmojiPicker and its keyboard shortcut
wget -q --show-progress https://raw.githubusercontent.com/GaZaTu/x11-emoji-picker/master/install.sh -O tmp_ep.sh && bash tmp_ep.sh; rm tmp_ep.sh
# Install EmojiPicker and its keyboard shortcut, along with some personnalisation
installEmojiPicker.sh
# Setup Ubuntu configuration
bash ubuntuConfiguration.sh