Use separate script for the Emoji Picker installation, and now renaming the app in Ubuntu (#4)
This commit is contained in:
parent
ad92bd3538
commit
af99205a55
4 changed files with 61 additions and 3 deletions
37
.config/gazatu.xyz/emoji-picker.ini
Normal file
37
.config/gazatu.xyz/emoji-picker.ini
Normal 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
|
|
@ -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)
|
- Installe le [sélecteur d'emojis](https://github.com/GaZaTu/x11-emoji-picker)
|
||||||
```bash
|
```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
|
- Met en place quelques configurations que j'utilises sur Ubuntu
|
||||||
|
|
21
installEmojiPicker.sh
Normal file
21
installEmojiPicker.sh
Normal 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! 🎉"
|
|
@ -82,8 +82,8 @@ then
|
||||||
sudo snap install onlyoffice-desktopeditors
|
sudo snap install onlyoffice-desktopeditors
|
||||||
echo -e "\nOnlyOffice installed! 🎉"
|
echo -e "\nOnlyOffice installed! 🎉"
|
||||||
|
|
||||||
# Install EmojiPicker and its keyboard shortcut
|
# Install EmojiPicker and its keyboard shortcut, along with some personnalisation
|
||||||
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
|
installEmojiPicker.sh
|
||||||
|
|
||||||
# Setup Ubuntu configuration
|
# Setup Ubuntu configuration
|
||||||
bash ubuntuConfiguration.sh
|
bash ubuntuConfiguration.sh
|
||||||
|
|
Reference in a new issue