mirror of
https://github.com/Ximi1970/systray-x.git
synced 2025-10-26 07:46:09 +01:00
Merge branch 'develop'
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@@ -6,6 +6,6 @@ bin
|
||||
bins
|
||||
bin-*
|
||||
tmp
|
||||
Test
|
||||
Old
|
||||
Doc
|
||||
test
|
||||
old
|
||||
doc
|
||||
|
||||
74
README.md
74
README.md
@@ -13,6 +13,7 @@ The addon and system tray application can do:
|
||||
- minimizing hides to tray (remove Thunderbird from taskbar, pager and switcher when minimized)
|
||||
- minimize on startup
|
||||
- minimize on close
|
||||
- start a new message
|
||||
|
||||
Warning:
|
||||
|
||||
@@ -81,6 +82,10 @@ and change the `Exec` line into this:
|
||||
Exec=env GDK_BACKEND=x11 thunderbird %u
|
||||
```
|
||||
|
||||
If `GDK_BACKEND=x11` doesn't work, one could try the following instead:
|
||||
```bash
|
||||
env MOZ_ENABLE_WAYLAND=0 thunderbird
|
||||
```
|
||||
|
||||
## Linux distributions
|
||||
|
||||
@@ -155,6 +160,42 @@ sudo zypper in systray-x-minimal
|
||||
|
||||
Installing the repository:
|
||||
|
||||
###### 24.10
|
||||
|
||||
Remove the Thunderbird snap package:
|
||||
```bash
|
||||
sudo apt remove thunderbird
|
||||
```
|
||||
|
||||
Install the deb Thunderbird repository:
|
||||
```bash
|
||||
sudo add-apt-repository ppa:mozillateam/ppa
|
||||
sudo nano /etc/apt/preferences.d/mozillateamppa
|
||||
|
||||
```
|
||||
|
||||
Insert this into the preferences file (it blocks the snap package):
|
||||
```bash
|
||||
Package: thunderbird*
|
||||
Pin: release o=LP-PPA-mozillateam
|
||||
Pin-Priority: 1001
|
||||
```
|
||||
Save the file.
|
||||
|
||||
Refresh the repositories and install the deb version of Thunderbird:
|
||||
```bash
|
||||
sudo apt update
|
||||
sudo apt install thunderbird
|
||||
```
|
||||
|
||||
Now install the SysTray-X repository:
|
||||
```bash
|
||||
wget -q https://download.opensuse.org/repositories/home:/Ximi1970/xUbuntu_24.10/Release.key
|
||||
sudo mv -f Release.key /etc/apt/trusted.gpg.d/Systray-x.Ximi1970.asc
|
||||
sudo bash -c 'echo "deb https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/xUbuntu_24.10 ./" > /etc/apt/sources.list.d/systray-x.list'
|
||||
sudo apt update
|
||||
```
|
||||
|
||||
###### 24.04 LTS
|
||||
|
||||
Remove the Thunderbird snap package:
|
||||
@@ -236,15 +277,6 @@ sudo bash -c 'echo "deb https://download.opensuse.org/repositories/home:/Ximi197
|
||||
sudo apt update
|
||||
```
|
||||
|
||||
###### 16.04 LTS
|
||||
|
||||
```bash
|
||||
wget -q http://download.opensuse.org/repositories/home:/Ximi1970/xUbuntu_16.04/Release.key
|
||||
sudo apt-key add Release.key
|
||||
sudo bash -c 'echo "deb http://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/xUbuntu_16.04 ./" > /etc/apt/sources.list.d/systray-x.list'
|
||||
sudo apt update
|
||||
```
|
||||
|
||||
#### Package
|
||||
|
||||
Installing the SysTray-X addon and companion app package:
|
||||
@@ -351,7 +383,14 @@ Installing the repository:
|
||||
###### Rawhide
|
||||
|
||||
```bash
|
||||
sudo dnf config-manager --add-repo https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/Fedora_Rawhide/home:Ximi1970:Mozilla:Add-ons.repo
|
||||
sudo dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/Fedora_Rawhide/home:Ximi1970:Mozilla:Add-ons.repo
|
||||
sudo dnf update --refresh
|
||||
```
|
||||
|
||||
###### 41
|
||||
|
||||
```bash
|
||||
sudo dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/Fedora_41/home:Ximi1970:Mozilla:Add-ons.repo
|
||||
sudo dnf update --refresh
|
||||
```
|
||||
|
||||
@@ -376,19 +415,6 @@ sudo dnf config-manager --add-repo https://download.opensuse.org/repositories/ho
|
||||
sudo dnf update --refresh
|
||||
```
|
||||
|
||||
###### 37
|
||||
|
||||
```bash
|
||||
sudo dnf config-manager --add-repo https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/Fedora_37/home:Ximi1970:Mozilla:Add-ons.repo
|
||||
sudo dnf update --refresh
|
||||
```
|
||||
|
||||
###### 36
|
||||
|
||||
```bash
|
||||
sudo dnf config-manager --add-repo https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/Fedora_36/home:Ximi1970:Mozilla:Add-ons.repo
|
||||
sudo dnf update --refresh
|
||||
```
|
||||
|
||||
#### Package
|
||||
|
||||
@@ -453,7 +479,7 @@ Please use `gnome-extensions` to enable the gnome shell extension `appindicators
|
||||
sudo pacman -S systray-x-minimal
|
||||
```
|
||||
|
||||
#### AUR alternative install (by Antiz96)
|
||||
#### Alternative install (by Antiz96)
|
||||
|
||||
Install the `systray-x` package from the Arch repo.
|
||||
This is a split package that will offer you to either install the [systray-x-common](https://archlinux.org/packages/extra/x86_64/systray-x-common/) package which is suitable for any DE/WM except KDE (Gnome users need to install and enable the `gnome-shell-extension-appindicator` for a proper integration with Gnome) or the [systray-x-kde](https://archlinux.org/packages/extra/x86_64/systray-x-kde/) package which includes specific options and dependencies for a proper integration with KDE.
|
||||
|
||||
Binary file not shown.
@@ -528,27 +528,38 @@
|
||||
<context>
|
||||
<name>SysTrayX</name>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="242"/>
|
||||
<location filename="../systrayx.cpp" line="256"/>
|
||||
<source>&Show/Hide</source>
|
||||
<translation>&Anzeigen/Verbergen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="246"/>
|
||||
<location filename="../systrayx.cpp" line="269"/>
|
||||
<location filename="../systrayx.cpp" line="279"/>
|
||||
<source>&New message...</source>
|
||||
<translation>&Neue Nachricht...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="282"/>
|
||||
<source>&Default account</source>
|
||||
<translation>&Standardkonto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="308"/>
|
||||
<source>&Preferences</source>
|
||||
<translation>&Einstellungen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="250"/>
|
||||
<location filename="../systrayx.cpp" line="317"/>
|
||||
<source>&About</source>
|
||||
<translation>&Über</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="254"/>
|
||||
<location filename="../systrayx.cpp" line="327"/>
|
||||
<source>&Quit</source>
|
||||
<translation>&Beenden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="683"/>
|
||||
<location filename="../systrayx.cpp" line="746"/>
|
||||
<source>Close</source>
|
||||
<translation>Schließen</translation>
|
||||
</message>
|
||||
|
||||
Binary file not shown.
@@ -528,27 +528,38 @@
|
||||
<context>
|
||||
<name>SysTrayX</name>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="242"/>
|
||||
<location filename="../systrayx.cpp" line="256"/>
|
||||
<source>&Show/Hide</source>
|
||||
<translation>&Εμφάνιση/Απόκρυψη</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="246"/>
|
||||
<location filename="../systrayx.cpp" line="269"/>
|
||||
<location filename="../systrayx.cpp" line="279"/>
|
||||
<source>&New message...</source>
|
||||
<translation>&Νέο μήνυμα...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="282"/>
|
||||
<source>&Default account</source>
|
||||
<translation>&Προεπιλεγμένος λογαριασμός</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="308"/>
|
||||
<source>&Preferences</source>
|
||||
<translation>&Προτιμήσεις</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="250"/>
|
||||
<location filename="../systrayx.cpp" line="317"/>
|
||||
<source>&About</source>
|
||||
<translation>&Σχετικά</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="254"/>
|
||||
<location filename="../systrayx.cpp" line="327"/>
|
||||
<source>&Quit</source>
|
||||
<translation>&Έξοδος</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="683"/>
|
||||
<location filename="../systrayx.cpp" line="746"/>
|
||||
<source>Close</source>
|
||||
<translation>Κλείσιμο</translation>
|
||||
</message>
|
||||
|
||||
Binary file not shown.
@@ -15,7 +15,7 @@
|
||||
<message>
|
||||
<location filename="../aboutdialog.ui" line="26"/>
|
||||
<source><a href="https://github.com/Ximi1970/systray-x">SysTray-X</a> Companion App by Ximi1970</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation><a href="https://github.com/Ximi1970/systray-x">SysTray-X</a> Companion App by Ximi1970</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog.ui" line="43"/>
|
||||
@@ -326,27 +326,27 @@
|
||||
<message>
|
||||
<location filename="../preferences.ui" line="137"/>
|
||||
<source>Position</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Position</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../preferences.ui" line="145"/>
|
||||
<source>Correct window positions</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Correct window positions</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../preferences.ui" line="154"/>
|
||||
<source>No titlebar correction</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>No titlebar correction</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../preferences.ui" line="167"/>
|
||||
<source>Add titlebar size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Add titlebar size</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../preferences.ui" line="177"/>
|
||||
<source>Subtract titlebar size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Subtract titlebar size</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../preferences.ui" line="282"/>
|
||||
@@ -545,27 +545,38 @@
|
||||
<context>
|
||||
<name>SysTrayX</name>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="242"/>
|
||||
<location filename="../systrayx.cpp" line="256"/>
|
||||
<source>&Show/Hide</source>
|
||||
<translation>&Show/Hide</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="246"/>
|
||||
<location filename="../systrayx.cpp" line="269"/>
|
||||
<location filename="../systrayx.cpp" line="279"/>
|
||||
<source>&New message...</source>
|
||||
<translation>&New message...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="282"/>
|
||||
<source>&Default account</source>
|
||||
<translation>&Default account</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="308"/>
|
||||
<source>&Preferences</source>
|
||||
<translation>&Preferences</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="250"/>
|
||||
<location filename="../systrayx.cpp" line="317"/>
|
||||
<source>&About</source>
|
||||
<translation>&About</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="254"/>
|
||||
<location filename="../systrayx.cpp" line="327"/>
|
||||
<source>&Quit</source>
|
||||
<translation>&Quit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="683"/>
|
||||
<location filename="../systrayx.cpp" line="746"/>
|
||||
<source>Close</source>
|
||||
<translation>Close</translation>
|
||||
</message>
|
||||
|
||||
Binary file not shown.
@@ -529,27 +529,38 @@
|
||||
<context>
|
||||
<name>SysTrayX</name>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="242"/>
|
||||
<location filename="../systrayx.cpp" line="256"/>
|
||||
<source>&Show/Hide</source>
|
||||
<translation>&Mostra/Nascondi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="246"/>
|
||||
<location filename="../systrayx.cpp" line="269"/>
|
||||
<location filename="../systrayx.cpp" line="279"/>
|
||||
<source>&New message...</source>
|
||||
<translation>&Nuovo messaggio...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="282"/>
|
||||
<source>&Default account</source>
|
||||
<translation>&Conto predefinito</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="308"/>
|
||||
<source>&Preferences</source>
|
||||
<translation>&Preferenze</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="250"/>
|
||||
<location filename="../systrayx.cpp" line="317"/>
|
||||
<source>&About</source>
|
||||
<translation>&Informazioni</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="254"/>
|
||||
<location filename="../systrayx.cpp" line="327"/>
|
||||
<source>&Quit</source>
|
||||
<translation>&Esci</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="683"/>
|
||||
<location filename="../systrayx.cpp" line="746"/>
|
||||
<source>Close</source>
|
||||
<translation>Chiudi</translation>
|
||||
</message>
|
||||
|
||||
Binary file not shown.
@@ -532,27 +532,38 @@
|
||||
<context>
|
||||
<name>SysTrayX</name>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="242"/>
|
||||
<location filename="../systrayx.cpp" line="256"/>
|
||||
<source>&Show/Hide</source>
|
||||
<translation>&Tonen/Verbergen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="246"/>
|
||||
<location filename="../systrayx.cpp" line="269"/>
|
||||
<location filename="../systrayx.cpp" line="279"/>
|
||||
<source>&New message...</source>
|
||||
<translation>&Nieuw bericht...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="282"/>
|
||||
<source>&Default account</source>
|
||||
<translation>&Standaardaccount</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="308"/>
|
||||
<source>&Preferences</source>
|
||||
<translation>&Opties</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="250"/>
|
||||
<location filename="../systrayx.cpp" line="317"/>
|
||||
<source>&About</source>
|
||||
<translation>O&ver</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="254"/>
|
||||
<location filename="../systrayx.cpp" line="327"/>
|
||||
<source>&Quit</source>
|
||||
<translation>&Afsluiten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="683"/>
|
||||
<location filename="../systrayx.cpp" line="746"/>
|
||||
<source>Close</source>
|
||||
<translation>Sluiten</translation>
|
||||
</message>
|
||||
|
||||
Binary file not shown.
@@ -528,27 +528,38 @@
|
||||
<context>
|
||||
<name>SysTrayX</name>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="242"/>
|
||||
<location filename="../systrayx.cpp" line="256"/>
|
||||
<source>&Show/Hide</source>
|
||||
<translation>&Exibir/Ocultar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="246"/>
|
||||
<location filename="../systrayx.cpp" line="269"/>
|
||||
<location filename="../systrayx.cpp" line="279"/>
|
||||
<source>&New message...</source>
|
||||
<translation>&Nova mensagem...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="282"/>
|
||||
<source>&Default account</source>
|
||||
<translation>&Conta padrão</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="308"/>
|
||||
<source>&Preferences</source>
|
||||
<translation>&Preferências</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="250"/>
|
||||
<location filename="../systrayx.cpp" line="317"/>
|
||||
<source>&About</source>
|
||||
<translation>&Sobre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="254"/>
|
||||
<location filename="../systrayx.cpp" line="327"/>
|
||||
<source>&Quit</source>
|
||||
<translation>&Sair</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="683"/>
|
||||
<location filename="../systrayx.cpp" line="746"/>
|
||||
<source>Close</source>
|
||||
<translation>Fechar</translation>
|
||||
</message>
|
||||
|
||||
Binary file not shown.
@@ -529,27 +529,38 @@
|
||||
<context>
|
||||
<name>SysTrayX</name>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="242"/>
|
||||
<location filename="../systrayx.cpp" line="256"/>
|
||||
<source>&Show/Hide</source>
|
||||
<translation>&Показать/Скрыть</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="246"/>
|
||||
<location filename="../systrayx.cpp" line="269"/>
|
||||
<location filename="../systrayx.cpp" line="279"/>
|
||||
<source>&New message...</source>
|
||||
<translation>&Новое сообщение...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="282"/>
|
||||
<source>&Default account</source>
|
||||
<translation>&Стандартный аккаунт</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="308"/>
|
||||
<source>&Preferences</source>
|
||||
<translation>&Настройки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="250"/>
|
||||
<location filename="../systrayx.cpp" line="317"/>
|
||||
<source>&About</source>
|
||||
<translation>&О приложении</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="254"/>
|
||||
<location filename="../systrayx.cpp" line="327"/>
|
||||
<source>&Quit</source>
|
||||
<translation>&Выход</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="683"/>
|
||||
<location filename="../systrayx.cpp" line="746"/>
|
||||
<source>Close</source>
|
||||
<translation>Закрыть</translation>
|
||||
</message>
|
||||
|
||||
Binary file not shown.
@@ -512,27 +512,38 @@
|
||||
<context>
|
||||
<name>SysTrayX</name>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="242"/>
|
||||
<location filename="../systrayx.cpp" line="256"/>
|
||||
<source>&Show/Hide</source>
|
||||
<translation>显示 / 隐藏(&S)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="246"/>
|
||||
<location filename="../systrayx.cpp" line="269"/>
|
||||
<location filename="../systrayx.cpp" line="279"/>
|
||||
<source>&New message...</source>
|
||||
<translation>&新消息...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="282"/>
|
||||
<source>&Default account</source>
|
||||
<translation>&标准账户</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="308"/>
|
||||
<source>&Preferences</source>
|
||||
<translation>首选项(&P)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="250"/>
|
||||
<location filename="../systrayx.cpp" line="317"/>
|
||||
<source>&About</source>
|
||||
<translation>关于(&A)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="254"/>
|
||||
<location filename="../systrayx.cpp" line="327"/>
|
||||
<source>&Quit</source>
|
||||
<translation>退出(&Q)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systrayx.cpp" line="683"/>
|
||||
<location filename="../systrayx.cpp" line="746"/>
|
||||
<source>Close</source>
|
||||
<translation>关闭</translation>
|
||||
</message>
|
||||
|
||||
@@ -1141,6 +1141,32 @@ void Preferences::setShowHideShortcut( QKeySequence key_seq )
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Get the new message from list.
|
||||
*/
|
||||
const QStringList& Preferences::getNewMessageFroms() const
|
||||
{
|
||||
return m_new_message_froms;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Set the new message from list.
|
||||
*/
|
||||
void Preferences::setNewMessageFroms( const QStringList& list )
|
||||
{
|
||||
if( m_new_message_froms != list )
|
||||
{
|
||||
m_new_message_froms = list;
|
||||
|
||||
/*
|
||||
* Tell the world the new preference
|
||||
*/
|
||||
emit signalNewMessageFromsChange();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Get the KDE integration option.
|
||||
*/
|
||||
|
||||
@@ -627,6 +627,16 @@ class Preferences : public QObject
|
||||
*/
|
||||
void setShowHideShortcut( QKeySequence key_seq );
|
||||
|
||||
/**
|
||||
* @brief getNewMessageFroms. Get the new message from list.
|
||||
*/
|
||||
const QStringList& getNewMessageFroms() const;
|
||||
|
||||
/**
|
||||
* @brief setNewMessageFroms. Set the new message from list.
|
||||
*/
|
||||
void setNewMessageFroms( const QStringList& list );
|
||||
|
||||
/**
|
||||
* @brief getKdeIntegrationOption. Get the KDE integration option.
|
||||
*
|
||||
@@ -856,6 +866,11 @@ class Preferences : public QObject
|
||||
*/
|
||||
void signalShowHideShortcutChange();
|
||||
|
||||
/**
|
||||
* @brief signalNewMessageFromsChange. Signal the new message froms change.
|
||||
*/
|
||||
void signalNewMessageFromsChange();
|
||||
|
||||
private:
|
||||
|
||||
/**
|
||||
@@ -1077,6 +1092,11 @@ class Preferences : public QObject
|
||||
*/
|
||||
QKeySequence m_show_hide_shortcut;
|
||||
|
||||
/**
|
||||
* @brief m_new_message_froms. The new message froms list.
|
||||
*/
|
||||
QStringList m_new_message_froms;
|
||||
|
||||
/**
|
||||
* @brief m_kde_integration_option. KDE integration option.
|
||||
*/
|
||||
|
||||
@@ -161,6 +161,8 @@ SysTrayX::SysTrayX( QObject *parent ) : QObject( parent )
|
||||
|
||||
#endif
|
||||
|
||||
connect( m_preferences, &Preferences::signalNewMessageFromsChange, this, &SysTrayX::slotNewMessageFromsChange );
|
||||
|
||||
/*
|
||||
* Connect link signals
|
||||
*/
|
||||
@@ -194,12 +196,16 @@ SysTrayX::SysTrayX( QObject *parent ) : QObject( parent )
|
||||
*/
|
||||
getPreferences();
|
||||
|
||||
m_preferences->displayDebug();
|
||||
|
||||
/*
|
||||
// m_preferences->displayDebug();
|
||||
m_preferences->setBrowserVersion( "115.1.0" );
|
||||
// m_preferences->setBrowserVersion( "102.2.3" );
|
||||
|
||||
QStringList list;
|
||||
list.append( "ximi1" );
|
||||
list.append( "ximi2" );
|
||||
m_preferences->setNewMessageFroms( list );
|
||||
|
||||
if( m_preferences->getShortcutsOption() )
|
||||
{
|
||||
m_preferences->setShowHideShortcut( QKeySequence( Qt::CTRL | Qt::Key_P ) );
|
||||
@@ -239,32 +245,89 @@ void SysTrayX::getPreferences()
|
||||
*/
|
||||
void SysTrayX::createMenu()
|
||||
{
|
||||
m_showhide_action = new QAction(tr("&Show/Hide"), this);
|
||||
m_showhide_action->setIcon( QIcon( ":/files/icons/window-restore.png" ) );
|
||||
connect( m_showhide_action, &QAction::triggered, m_win_ctrl, &WindowCtrl::slotShowHide );
|
||||
|
||||
m_pref_action = new QAction(tr("&Preferences"), this);
|
||||
m_pref_action->setIcon( QIcon( ":/files/icons/gtk-preferences.png" ) );
|
||||
connect( m_pref_action, &QAction::triggered, m_pref_dialog, &PreferencesDialog::slotShowDialog );
|
||||
|
||||
m_about_action = new QAction(tr("&About"), this);
|
||||
m_about_action->setIcon( QIcon( ":/files/icons/help-about.png" ) );
|
||||
connect( m_about_action, &QAction::triggered, this, &SysTrayX::slotAbout );
|
||||
|
||||
m_quit_action = new QAction( tr("&Quit"), this );
|
||||
m_quit_action->setIcon( QIcon( ":/files/icons/window-close.png" ) );
|
||||
connect( m_quit_action, &QAction::triggered, this, &SysTrayX::slotShutdown );
|
||||
|
||||
/*
|
||||
* Setup menu
|
||||
*/
|
||||
m_tray_icon_menu = new QMenu();
|
||||
|
||||
/*
|
||||
* Show / hide
|
||||
*/
|
||||
m_showhide_action = new QAction(tr("&Show/Hide"), this);
|
||||
m_showhide_action->setIcon( QIcon( ":/files/icons/window-restore.png" ) );
|
||||
connect( m_showhide_action, &QAction::triggered, m_win_ctrl, &WindowCtrl::slotShowHide );
|
||||
|
||||
m_tray_icon_menu->addAction( m_showhide_action );
|
||||
m_tray_icon_menu->addSeparator();
|
||||
|
||||
/*
|
||||
* New message
|
||||
*/
|
||||
QStringList froms = m_preferences->getNewMessageFroms();
|
||||
if( froms.size() < 2 )
|
||||
{
|
||||
m_new_action = new QAction(tr("&New message..."), this);
|
||||
m_new_action->setIcon( QIcon( ":/files/icons/document-new.png" ) );
|
||||
m_new_action->setData(0);
|
||||
connect( m_new_action, &QAction::triggered, this, &SysTrayX::slotNewMessage );
|
||||
|
||||
m_tray_icon_menu->addAction( m_new_action );
|
||||
m_tray_icon_menu->addSeparator();
|
||||
}
|
||||
else
|
||||
{
|
||||
m_new_menu = new QMenu(tr("&New message..."), m_tray_icon_menu);
|
||||
m_new_menu->setIcon( QIcon( ":/files/icons/document-new.png" ) );
|
||||
|
||||
m_new_action = new QAction(tr("&Default account"), this);
|
||||
m_new_action->setIcon( QIcon( ":/files/icons/document-new.png" ) );
|
||||
connect( m_new_action, &QAction::triggered, this, &SysTrayX::slotNewMessage );
|
||||
|
||||
m_new_menu->addAction( m_new_action );
|
||||
m_new_menu->addSeparator();
|
||||
|
||||
for( int i = 0; i < froms.size(); ++i )
|
||||
{
|
||||
QAction* action = new QAction(froms.at( i ), this);
|
||||
action->setIcon( QIcon( ":/files/icons/document-new.png" ) );
|
||||
action->setData( i + 1 );
|
||||
connect( action, &QAction::triggered, this, &SysTrayX::slotNewMessage );
|
||||
|
||||
m_new_actions.append(action);
|
||||
|
||||
m_new_menu->addAction( action );
|
||||
}
|
||||
|
||||
m_tray_icon_menu->addMenu( m_new_menu );
|
||||
m_tray_icon_menu->addSeparator();
|
||||
}
|
||||
|
||||
/*
|
||||
* Preferences
|
||||
*/
|
||||
m_pref_action = new QAction(tr("&Preferences"), this);
|
||||
m_pref_action->setIcon( QIcon( ":/files/icons/gtk-preferences.png" ) );
|
||||
connect( m_pref_action, &QAction::triggered, m_pref_dialog, &PreferencesDialog::slotShowDialog );
|
||||
|
||||
m_tray_icon_menu->addAction( m_pref_action );
|
||||
|
||||
/*
|
||||
* About
|
||||
*/
|
||||
m_about_action = new QAction(tr("&About"), this);
|
||||
m_about_action->setIcon( QIcon( ":/files/icons/help-about.png" ) );
|
||||
connect( m_about_action, &QAction::triggered, this, &SysTrayX::slotAbout );
|
||||
|
||||
m_tray_icon_menu->addAction( m_about_action );
|
||||
m_tray_icon_menu->addSeparator();
|
||||
|
||||
/*
|
||||
* Quit
|
||||
*/
|
||||
m_quit_action = new QAction( tr("&Quit"), this );
|
||||
m_quit_action->setIcon( QIcon( ":/files/icons/window-close.png" ) );
|
||||
connect( m_quit_action, &QAction::triggered, this, &SysTrayX::slotShutdown );
|
||||
|
||||
m_tray_icon_menu->addAction( m_quit_action );
|
||||
}
|
||||
|
||||
@@ -784,6 +847,10 @@ void SysTrayX::slotCloseApp()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Handle a show / hide shortcut change
|
||||
*/
|
||||
void SysTrayX::slotShowHideShortcutChange()
|
||||
{
|
||||
if( m_show_hide_shortcut != nullptr )
|
||||
@@ -797,3 +864,55 @@ void SysTrayX::slotShowHideShortcutChange()
|
||||
m_show_hide_shortcut = new Shortcut( m_preferences->getShowHideShortcut(), this );
|
||||
connect( m_show_hide_shortcut, &Shortcut::activated, m_win_ctrl, &WindowCtrl::slotShowHide );
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Handle a new message request
|
||||
*/
|
||||
void SysTrayX::slotNewMessage()
|
||||
{
|
||||
QStringList fromList = m_preferences->getNewMessageFroms();
|
||||
int fromListIndex = ((QAction*)sender())->data().toInt() - 1;
|
||||
|
||||
if( fromListIndex < 0 )
|
||||
{
|
||||
if( fromList.size() == 1 )
|
||||
{
|
||||
m_link->sendNewMessage( fromList.at( 0 ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
m_link->sendNewMessage( "" );
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
m_link->sendNewMessage( fromList.at( fromListIndex ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void SysTrayX::slotNewMessageFromsChange()
|
||||
{
|
||||
/*
|
||||
* Setup new menu
|
||||
*/
|
||||
destroyMenu();
|
||||
createMenu();
|
||||
|
||||
if( m_tray_icon != nullptr )
|
||||
{
|
||||
m_tray_icon->setContextMenu( m_tray_icon_menu );
|
||||
}
|
||||
|
||||
#if defined( Q_OS_UNIX ) && defined( KDE_INTEGRATION )
|
||||
|
||||
if( m_kde_tray_icon != nullptr )
|
||||
{
|
||||
m_kde_tray_icon->setContextMenu( m_tray_icon_menu );
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
@@ -193,6 +193,16 @@ class SysTrayX : public QObject
|
||||
*/
|
||||
void slotShowHideShortcutChange();
|
||||
|
||||
/**
|
||||
* @brief slotNewMessage. Handle a new message request.
|
||||
*/
|
||||
void slotNewMessage();
|
||||
|
||||
/**
|
||||
* @brief slotNewMessageFromsChange. Handle a new message froms change.
|
||||
*/
|
||||
void slotNewMessageFromsChange();
|
||||
|
||||
private:
|
||||
|
||||
/**
|
||||
@@ -238,11 +248,15 @@ class SysTrayX : public QObject
|
||||
/**
|
||||
* @brief m_xxxx_action. Pointer to the menu actions.
|
||||
*/
|
||||
QMenu* m_new_menu;
|
||||
QAction* m_showhide_action;
|
||||
QAction* m_new_action;
|
||||
QAction* m_pref_action;
|
||||
QAction* m_about_action;
|
||||
QAction* m_quit_action;
|
||||
|
||||
QList< QAction* > m_new_actions;
|
||||
|
||||
/**
|
||||
* @brief m_unread_mail. Number of unread mails
|
||||
*/
|
||||
|
||||
@@ -301,6 +301,26 @@ void SysTrayXLink::sendPositions( QList< QPoint > positions )
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Send a new message request.
|
||||
*/
|
||||
void SysTrayXLink::sendNewMessage( const QString& from )
|
||||
{
|
||||
QJsonObject newMessageObject;
|
||||
newMessageObject.insert("newMessage", QJsonValue::fromVariant( from ) );
|
||||
|
||||
/*
|
||||
* Store the new document
|
||||
*/
|
||||
QJsonDocument json_doc = QJsonDocument( newMessageObject );
|
||||
|
||||
/*
|
||||
* Send it to the add-on
|
||||
*/
|
||||
linkWrite( json_doc.toJson( QJsonDocument::Compact ) );
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Decode JSON message
|
||||
*/
|
||||
@@ -968,6 +988,22 @@ void SysTrayXLink::DecodePreferences( const QJsonObject& pref )
|
||||
*/
|
||||
m_pref->setShowHideShortcut( QKeySequence::fromString( shortcut ) );
|
||||
}
|
||||
|
||||
if( pref.contains( "newMessageFroms" ) && pref[ "newMessageFroms" ].isArray() )
|
||||
{
|
||||
QJsonArray froms = pref[ "newMessageFroms" ].toArray();
|
||||
|
||||
QStringList fromsList;
|
||||
for( int i = 0 ; i < froms.size() ; ++i )
|
||||
{
|
||||
fromsList.append( froms.at( i ).toString());
|
||||
}
|
||||
|
||||
/*
|
||||
* Store the new message from list
|
||||
*/
|
||||
m_pref->setNewMessageFroms( fromsList );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1043,6 +1079,9 @@ void SysTrayXLink::EncodePreferences( const Preferences& pref )
|
||||
prefObject.insert( "startupDelay", QJsonValue::fromVariant( QString::number( pref.getStartupDelay() ) ) );
|
||||
prefObject.insert( "apiCountMethod", QJsonValue::fromVariant( QString( pref.getApiCountMethod() ? "true" : "false" ) ) );
|
||||
|
||||
prefObject.insert( "newIndicatorType", QJsonValue::fromVariant( QString::number( pref.getNewIndicatorType() ) ) );
|
||||
prefObject.insert( "newShadeColor", QJsonValue::fromVariant( QString( pref.getNewShadeColor() ) ) );
|
||||
|
||||
prefObject.insert( "startApp", QJsonValue::fromVariant( pref.getStartApp() ) );
|
||||
prefObject.insert( "startAppArgs", QJsonValue::fromVariant( pref.getStartAppArgs() ) );
|
||||
prefObject.insert( "closeApp", QJsonValue::fromVariant( pref.getCloseApp() ) );
|
||||
|
||||
@@ -121,12 +121,17 @@ class SysTrayXLink : public QObject
|
||||
void sendOptions();
|
||||
|
||||
/**
|
||||
* @brief sendPositions
|
||||
* @brief sendPositions. Send the positions of the TB windows.
|
||||
*
|
||||
* @param positions List of the positions of the TB windows
|
||||
*/
|
||||
void sendPositions( QList< QPoint > positions );
|
||||
|
||||
/**
|
||||
* @brief sendNewMessage. Send a new message request.
|
||||
*/
|
||||
void sendNewMessage( const QString& from );
|
||||
|
||||
private:
|
||||
|
||||
/**
|
||||
|
||||
2
dist/SysTray-X-32bit.nsi
vendored
2
dist/SysTray-X-32bit.nsi
vendored
@@ -11,7 +11,7 @@ Name "${Name}"
|
||||
!define PRODUCT_ID "systray-x@Ximi1970"
|
||||
!define VERSIONMAJOR 0
|
||||
!define VERSIONMINOR 9
|
||||
!define VERSIONBUILD 10
|
||||
!define VERSIONBUILD 11
|
||||
!define VERSION "${VERSIONMAJOR}.${VERSIONMINOR}.${VERSIONBUILD}"
|
||||
CRCCheck On
|
||||
|
||||
|
||||
2
dist/SysTray-X-64bit.nsi
vendored
2
dist/SysTray-X-64bit.nsi
vendored
@@ -11,7 +11,7 @@ Name "${Name}"
|
||||
!define PRODUCT_ID "systray-x@Ximi1970"
|
||||
!define VERSIONMAJOR 0
|
||||
!define VERSIONMINOR 9
|
||||
!define VERSIONBUILD 10
|
||||
!define VERSIONBUILD 11
|
||||
!define VERSION "${VERSIONMAJOR}.${VERSIONMINOR}.${VERSIONBUILD}"
|
||||
CRCCheck On
|
||||
|
||||
|
||||
4
dist/arch/gnome/PKGBUILD
vendored
4
dist/arch/gnome/PKGBUILD
vendored
@@ -1,7 +1,7 @@
|
||||
# Maintainer: Maxime Rijnders <ximi.obs@gmail.com>
|
||||
|
||||
pkgname=systray-x-gnome
|
||||
pkgver=0.9.10
|
||||
pkgver=0.9.11
|
||||
pkgrel=1
|
||||
epoch=1
|
||||
pkgdesc='A system tray extension for Thunderbird (GNOME)'
|
||||
@@ -13,7 +13,7 @@ depends=(
|
||||
'qt6-wayland'
|
||||
'gnome-shell-extension-appindicator'
|
||||
'thunderbird>=91'
|
||||
'thunderbird<131'
|
||||
'thunderbird<137'
|
||||
)
|
||||
makedepends=(
|
||||
'git'
|
||||
|
||||
4
dist/arch/kde/PKGBUILD
vendored
4
dist/arch/kde/PKGBUILD
vendored
@@ -1,7 +1,7 @@
|
||||
# Maintainer: Maxime Rijnders <ximi.obs@gmail.com>
|
||||
|
||||
pkgname=systray-x
|
||||
pkgver=0.9.10
|
||||
pkgver=0.9.11
|
||||
pkgrel=1
|
||||
epoch=1
|
||||
pkgdesc='A system tray extension for Thunderbird (KDE)'
|
||||
@@ -13,7 +13,7 @@ depends=(
|
||||
'qt6-wayland'
|
||||
'kstatusnotifieritem'
|
||||
'thunderbird>=91'
|
||||
'thunderbird<131'
|
||||
'thunderbird<137'
|
||||
)
|
||||
makedepends=(
|
||||
'git'
|
||||
|
||||
4
dist/arch/minimal/PKGBUILD
vendored
4
dist/arch/minimal/PKGBUILD
vendored
@@ -1,7 +1,7 @@
|
||||
# Maintainer: Maxime Rijnders <ximi.obs@gmail.com>
|
||||
|
||||
pkgname=systray-x-minimal
|
||||
pkgver=0.9.10
|
||||
pkgver=0.9.11
|
||||
pkgrel=1
|
||||
epoch=1
|
||||
pkgdesc='A system tray extension for Thunderbird (Unity/XFCE/other)'
|
||||
@@ -12,7 +12,7 @@ depends=(
|
||||
'qt6-base'
|
||||
'qt6-wayland'
|
||||
'thunderbird>=91'
|
||||
'thunderbird<131'
|
||||
'thunderbird<137'
|
||||
)
|
||||
makedepends=(
|
||||
'git'
|
||||
|
||||
8
dist/deb/gnome/debian.changelog
vendored
8
dist/deb/gnome/debian.changelog
vendored
@@ -1,3 +1,11 @@
|
||||
systray-x-gnome (0.9.11-1) unstable; urgency=low
|
||||
|
||||
* Update to 0.9.11
|
||||
|
||||
- New message composer from system tray menu
|
||||
- TB 136+ fixes
|
||||
- Bugfix: new indicator shade settings
|
||||
|
||||
systray-x-gnome (0.9.10-1) unstable; urgency=low
|
||||
|
||||
* Update to 0.9.10
|
||||
|
||||
2
dist/deb/gnome/debian.control
vendored
2
dist/deb/gnome/debian.control
vendored
@@ -6,7 +6,7 @@ Build-Depends: debhelper (>= 4.1.16), zip, g++, libx11-dev, qt5-qmake, qtbase5-d
|
||||
|
||||
Package: systray-x-gnome
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, gnome-shell-extension-appindicator, thunderbird (>= 1:91), thunderbird (< 1:131)
|
||||
Depends: ${shlibs:Depends}, gnome-shell-extension-appindicator, thunderbird (>= 1:91), thunderbird (< 1:137)
|
||||
Description: SysTray-X is a system tray extension for Thunderbird (GNOME).
|
||||
This version is optimized for the GNOME desktop.
|
||||
The add-on uses the WebExtension API's to control an external system
|
||||
|
||||
2
dist/deb/gnome/systray-x-gnome.dsc
vendored
2
dist/deb/gnome/systray-x-gnome.dsc
vendored
@@ -1,6 +1,6 @@
|
||||
Format: 1.0
|
||||
Source: systray-x-gnome
|
||||
Version: 0.9.10-1
|
||||
Version: 0.9.11-1
|
||||
Binary: systray-x-gnome
|
||||
Maintainer: Maxime Rijnders <ximi.obs@gmail.com>
|
||||
Architecture: any
|
||||
|
||||
8
dist/deb/kde/debian.changelog
vendored
8
dist/deb/kde/debian.changelog
vendored
@@ -1,3 +1,11 @@
|
||||
systray-x (0.9.11-1) unstable; urgency=low
|
||||
|
||||
* Update to 0.9.11
|
||||
|
||||
- New message composer from system tray menu
|
||||
- TB 136+ fixes
|
||||
- Bugfix: new indicator shade settings
|
||||
|
||||
systray-x (0.9.10-1) unstable; urgency=low
|
||||
|
||||
* Update to 0.9.10
|
||||
|
||||
2
dist/deb/kde/debian.control
vendored
2
dist/deb/kde/debian.control
vendored
@@ -6,7 +6,7 @@ Build-Depends: debhelper (>= 4.1.16), zip, g++, libx11-dev, qt5-qmake, qtbase5-d
|
||||
|
||||
Package: systray-x
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, thunderbird (>= 1:91), thunderbird (< 1:131)
|
||||
Depends: ${shlibs:Depends}, thunderbird (>= 1:91), thunderbird (< 1:137)
|
||||
Description: SysTray-X is a system tray extension for Thunderbird (KDE).
|
||||
This version is optimized for the KDE desktop.
|
||||
The add-on uses the WebExtension API's to control an external system
|
||||
|
||||
2
dist/deb/kde/systray-x.dsc
vendored
2
dist/deb/kde/systray-x.dsc
vendored
@@ -1,6 +1,6 @@
|
||||
Format: 1.0
|
||||
Source: systray-x
|
||||
Version: 0.9.10-1
|
||||
Version: 0.9.11-1
|
||||
Binary: SysTray-X
|
||||
Maintainer: Maxime Rijnders <ximi.obs@gmail.com>
|
||||
Architecture: any
|
||||
|
||||
8
dist/deb/minimal/debian.changelog
vendored
8
dist/deb/minimal/debian.changelog
vendored
@@ -1,3 +1,11 @@
|
||||
systray-x-minimal (0.9.11-1) unstable; urgency=low
|
||||
|
||||
* Update to 0.9.11
|
||||
|
||||
- New message composer from system tray menu
|
||||
- TB 136+ fixes
|
||||
- Bugfix: new indicator shade settings
|
||||
|
||||
systray-x-minimal (0.9.10-1) unstable; urgency=low
|
||||
|
||||
* Update to 0.9.10
|
||||
|
||||
2
dist/deb/minimal/debian.control
vendored
2
dist/deb/minimal/debian.control
vendored
@@ -6,7 +6,7 @@ Build-Depends: debhelper (>= 4.1.16), zip, g++, libx11-dev, qt5-qmake, qtbase5-d
|
||||
|
||||
Package: systray-x-minimal
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, thunderbird (>= 1:91), thunderbird (< 1:131)
|
||||
Depends: ${shlibs:Depends}, thunderbird (>= 1:91), thunderbird (< 1:137)
|
||||
Description: SysTray-X is a system tray extension for Thunderbird (non-GNOME,non-KDE).
|
||||
This version is for non-KDE and non-GNOME desktops.
|
||||
The add-on uses the WebExtension API's to control an external system
|
||||
|
||||
2
dist/deb/minimal/systray-x-minimal.dsc
vendored
2
dist/deb/minimal/systray-x-minimal.dsc
vendored
@@ -1,6 +1,6 @@
|
||||
Format: 1.0
|
||||
Source: systray-x-minimal
|
||||
Version: 0.9.10-1
|
||||
Version: 0.9.11-1
|
||||
Binary: systray-x-minimal
|
||||
Maintainer: Maxime Rijnders <ximi.obs@gmail.com>
|
||||
Architecture: any
|
||||
|
||||
59
dist/install.15.4-Gnome.sh
vendored
59
dist/install.15.4-Gnome.sh
vendored
@@ -1,59 +0,0 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="appindicatorsupport@rgcjonas.gmail.com"
|
||||
PACKAGE="gnome-shell-extension-appindicator"
|
||||
ENABLE_CMD="/usr/bin/gnome-extensions"
|
||||
ENABLE_CMD_OPTIONS="enable ${EXTENSION}"
|
||||
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -d /usr/share/gnome-shell/extensions/${EXTENSION} ] || [ -d ~/.local/share/gnome-shell/extensions/${EXTENSION} ] ; then
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
else
|
||||
mkdir -p ~/.local/share/gnome-shell/extensions
|
||||
tar -C ~/.local/share/gnome-shell/extensions -xJf ${DESTINATION}/gnome-shell-extension.tar.xz
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Please logout and login to activate the gnome shell extension"
|
||||
echo
|
||||
}
|
||||
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
rpm -qa | grep -q libQt5Widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo zypper install libQt5Widgets5"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
40
dist/install.15.4-Kde.sh
vendored
40
dist/install.15.4-Kde.sh
vendored
@@ -1,40 +0,0 @@
|
||||
#
|
||||
# Check for Kde
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
rpm -qa | grep -q libQt5Widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libQt5Widgets5"
|
||||
echo
|
||||
echo "sudo zypper install libQt5Widgets5"
|
||||
echo
|
||||
fi
|
||||
|
||||
rpm -qa | grep -q libKF5Notifications5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libKF5Notifications5"
|
||||
echo
|
||||
echo "sudo zypper install libKF5Notifications5"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
31
dist/install.15.4.sh
vendored
31
dist/install.15.4.sh
vendored
@@ -1,31 +0,0 @@
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
rpm -qa | grep -q libQt5Widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libQt5Widgets5"
|
||||
echo
|
||||
echo "sudo zypper install libQt5Widgets5"
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
59
dist/install.15.5-Gnome.sh
vendored
59
dist/install.15.5-Gnome.sh
vendored
@@ -1,59 +0,0 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="appindicatorsupport@rgcjonas.gmail.com"
|
||||
PACKAGE="gnome-shell-extension-appindicator"
|
||||
ENABLE_CMD="/usr/bin/gnome-extensions"
|
||||
ENABLE_CMD_OPTIONS="enable ${EXTENSION}"
|
||||
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -d /usr/share/gnome-shell/extensions/${EXTENSION} ] || [ -d ~/.local/share/gnome-shell/extensions/${EXTENSION} ] ; then
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
else
|
||||
mkdir -p ~/.local/share/gnome-shell/extensions
|
||||
tar -C ~/.local/share/gnome-shell/extensions -xJf ${DESTINATION}/gnome-shell-extension.tar.xz
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Please logout and login to activate the gnome shell extension"
|
||||
echo
|
||||
}
|
||||
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
rpm -qa | grep -q libQt5Widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo zypper install libQt5Widgets5"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
40
dist/install.15.5-Kde.sh
vendored
40
dist/install.15.5-Kde.sh
vendored
@@ -1,40 +0,0 @@
|
||||
#
|
||||
# Check for Kde
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
rpm -qa | grep -q libQt5Widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libQt5Widgets5"
|
||||
echo
|
||||
echo "sudo zypper install libQt5Widgets5"
|
||||
echo
|
||||
fi
|
||||
|
||||
rpm -qa | grep -q libKF5Notifications5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libKF5Notifications5"
|
||||
echo
|
||||
echo "sudo zypper install libKF5Notifications5"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
31
dist/install.15.5.sh
vendored
31
dist/install.15.5.sh
vendored
@@ -1,31 +0,0 @@
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
rpm -qa | grep -q libQt5Widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libQt5Widgets5"
|
||||
echo
|
||||
echo "sudo zypper install libQt5Widgets5"
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
59
dist/install.Arch-Gnome.sh
vendored
59
dist/install.Arch-Gnome.sh
vendored
@@ -1,59 +0,0 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="appindicatorsupport@rgcjonas.gmail.com"
|
||||
PACKAGE="gnome-shell-extension-appindicator"
|
||||
ENABLE_CMD="/usr/bin/gnome-shell-extension-tool"
|
||||
ENABLE_CMD_OPTIONS="-e ${EXTENSION}"
|
||||
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -d /usr/share/gnome-shell/extensions/${EXTENSION} ] || [ -d ~/.local/share/gnome-shell/extensions/${EXTENSION} ] ; then
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
else
|
||||
mkdir -p ~/.local/share/gnome-shell/extensions
|
||||
tar -C ~/.local/share/gnome-shell/extensions -xJf ${DESTINATION}/gnome-shell-extension.tar.xz
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Please logout and login to activate the gnome shell extension"
|
||||
echo
|
||||
}
|
||||
|
||||
#
|
||||
# Enable the gnome shell extension for the local user
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
pacman -Q qt5-base 2>/dev/null | grep -q qt5-base
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package qt5-base"
|
||||
echo
|
||||
echo "sudo pacman -S qt5-base"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
40
dist/install.Arch-Kde.sh
vendored
40
dist/install.Arch-Kde.sh
vendored
@@ -1,40 +0,0 @@
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
pacman -Q qt5-base 2>/dev/null | grep -q qt5-base
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package qt5-base"
|
||||
echo
|
||||
echo "sudo pacman -S qt5-base"
|
||||
echo
|
||||
fi
|
||||
|
||||
pacman -Q knotifications 2>/dev/null | grep -q knotifications
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package knotifications"
|
||||
echo
|
||||
echo "sudo pacman -S knotifications"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
31
dist/install.Arch.sh
vendored
31
dist/install.Arch.sh
vendored
@@ -1,31 +0,0 @@
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
pacman -Q qt5-base 2>/dev/null | grep -q qt5-base
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package qt5-base"
|
||||
echo
|
||||
echo "sudo pacman -S qt5-base"
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
59
dist/install.CentOS_7-Gnome.sh
vendored
59
dist/install.CentOS_7-Gnome.sh
vendored
@@ -1,59 +0,0 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="appindicatorsupport@rgcjonas.gmail.com"
|
||||
PACKAGE="gnome-shell-extension-appindicator"
|
||||
ENABLE_CMD="/usr/bin/gnome-extensions"
|
||||
ENABLE_CMD_OPTIONS="enable ${EXTENSION}"
|
||||
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -d /usr/share/gnome-shell/extensions/${EXTENSION} ] || [ -d ~/.local/share/gnome-shell/extensions/${EXTENSION} ] ; then
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
else
|
||||
mkdir -p ~/.local/share/gnome-shell/extensions
|
||||
tar -C ~/.local/share/gnome-shell/extensions -xJf ${DESTINATION}/gnome-shell-extension.tar.xz
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Please logout and login to activate the gnome shell extension"
|
||||
echo
|
||||
}
|
||||
|
||||
#
|
||||
# Enable the gnome shell extension for the local user
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
yum list installed "qt5-qtbase*" | grep -q qt5-qtbase-gui
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package qt5-qtbase-gui"
|
||||
echo
|
||||
echo "sudo yum install qt5-qtbase-gui"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
41
dist/install.CentOS_7-Kde.sh
vendored
41
dist/install.CentOS_7-Kde.sh
vendored
@@ -1,41 +0,0 @@
|
||||
##
|
||||
# Check for Kde
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
yum list installed "qt5-qtbase*" | grep -q qt5-qtbase-gui
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package qt5-qtbase-gui"
|
||||
echo
|
||||
echo "sudo yum install qt5-qtbase-gui"
|
||||
echo
|
||||
fi
|
||||
|
||||
yum list installed "kf5*" | grep -q kf5-knotifications
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package kf5-knotifications from the EPEL repo"
|
||||
echo
|
||||
echo "sudo yum install epel-release"
|
||||
echo "sudo yum install kf5-knotifications"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
31
dist/install.CentOS_7.sh
vendored
31
dist/install.CentOS_7.sh
vendored
@@ -1,31 +0,0 @@
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
yum list installed "qt5-qtbase*" | grep -q qt5-qtbase-gui
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package qt5-qtbase-gui"
|
||||
echo
|
||||
echo "yum install qt5-qtbase-gui"
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
59
dist/install.CentOS_8-Gnome.sh
vendored
59
dist/install.CentOS_8-Gnome.sh
vendored
@@ -1,59 +0,0 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="appindicatorsupport@rgcjonas.gmail.com"
|
||||
PACKAGE="gnome-shell-extension-appindicator"
|
||||
ENABLE_CMD="/usr/bin/gnome-extensions"
|
||||
ENABLE_CMD_OPTIONS="enable ${EXTENSION}"
|
||||
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -d /usr/share/gnome-shell/extensions/${EXTENSION} ] || [ -d ~/.local/share/gnome-shell/extensions/${EXTENSION} ] ; then
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
else
|
||||
mkdir -p ~/.local/share/gnome-shell/extensions
|
||||
tar -C ~/.local/share/gnome-shell/extensions -xJf ${DESTINATION}/gnome-shell-extension.tar.xz
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Please logout and login to activate the gnome shell extension"
|
||||
echo
|
||||
}
|
||||
|
||||
#
|
||||
# Enable the gnome shell extension for the local user
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
yum list installed "qt5-qtbase*" | grep -q qt5-qtbase-gui
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package qt5-qtbase-gui"
|
||||
echo
|
||||
echo "sudo yum install qt5-qtbase-gui"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
41
dist/install.CentOS_8-Kde.sh
vendored
41
dist/install.CentOS_8-Kde.sh
vendored
@@ -1,41 +0,0 @@
|
||||
##
|
||||
# Check for Kde
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
yum list installed "qt5-qtbase*" | grep -q qt5-qtbase-gui
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package qt5-qtbase-gui"
|
||||
echo
|
||||
echo "sudo yum install qt5-qtbase-gui"
|
||||
echo
|
||||
fi
|
||||
|
||||
yum list installed "kf5*" | grep -q kf5-knotifications
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package kf5-knotifications from the EPEL repo"
|
||||
echo
|
||||
echo "sudo yum install epel-release"
|
||||
echo "sudo yum install kf5-knotifications"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
31
dist/install.CentOS_8.sh
vendored
31
dist/install.CentOS_8.sh
vendored
@@ -1,31 +0,0 @@
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
yum list installed "qt5-qtbase*" | grep -q qt5-qtbase-gui
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package qt5-qtbase-gui"
|
||||
echo
|
||||
echo "sudo yum install qt5-qtbase-gui"
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
59
dist/install.CentOS_8_Stream-Gnome.sh
vendored
59
dist/install.CentOS_8_Stream-Gnome.sh
vendored
@@ -1,59 +0,0 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="appindicatorsupport@rgcjonas.gmail.com"
|
||||
PACKAGE="gnome-shell-extension-appindicator"
|
||||
ENABLE_CMD="/usr/bin/gnome-extensions"
|
||||
ENABLE_CMD_OPTIONS="enable ${EXTENSION}"
|
||||
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -d /usr/share/gnome-shell/extensions/${EXTENSION} ] || [ -d ~/.local/share/gnome-shell/extensions/${EXTENSION} ] ; then
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
else
|
||||
mkdir -p ~/.local/share/gnome-shell/extensions
|
||||
tar -C ~/.local/share/gnome-shell/extensions -xJf ${DESTINATION}/gnome-shell-extension.tar.xz
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Please logout and login to activate the gnome shell extension"
|
||||
echo
|
||||
}
|
||||
|
||||
#
|
||||
# Enable the gnome shell extension for the local user
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
yum list installed "qt5-qtbase*" | grep -q qt5-qtbase-gui
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package qt5-qtbase-gui"
|
||||
echo
|
||||
echo "yum install qt5-qtbase-gui"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
41
dist/install.CentOS_8_Stream-Kde.sh
vendored
41
dist/install.CentOS_8_Stream-Kde.sh
vendored
@@ -1,41 +0,0 @@
|
||||
##
|
||||
# Check for Kde
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
yum list installed "qt5-qtbase*" | grep -q qt5-qtbase-gui
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package qt5-qtbase-gui"
|
||||
echo
|
||||
echo "sudo dnf install qt5-qtbase-gui"
|
||||
echo
|
||||
fi
|
||||
|
||||
yum list installed "kf5*" | grep -q kf5-knotifications
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package kf5-knotifications from the EPEL repo"
|
||||
echo
|
||||
echo "sudo yum install epel-release"
|
||||
echo "sudo yum install kf5-knotifications"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
31
dist/install.CentOS_8_Stream.sh
vendored
31
dist/install.CentOS_8_Stream.sh
vendored
@@ -1,31 +0,0 @@
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
yum list installed "qt5-qtbase*" | grep -q qt5-qtbase-gui
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package qt5-qtbase-gui"
|
||||
echo
|
||||
echo "sudo yum install qt5-qtbase-gui"
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
59
dist/install.Debian_10-Gnome.sh
vendored
59
dist/install.Debian_10-Gnome.sh
vendored
@@ -1,59 +0,0 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="appindicatorsupport@rgcjonas.gmail.com"
|
||||
PACKAGE="gnome-shell-extension-appindicator"
|
||||
ENABLE_CMD="/usr/bin/gnome-shell-extension-tool"
|
||||
ENABLE_CMD_OPTIONS="-e ${EXTENSION}"
|
||||
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -d /usr/share/gnome-shell/extensions/${EXTENSION} ] || [ -d ~/.local/share/gnome-shell/extensions/${EXTENSION} ] ; then
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
else
|
||||
mkdir -p ~/.local/share/gnome-shell/extensions
|
||||
tar -C ~/.local/share/gnome-shell/extensions -xJf ${DESTINATION}/gnome-shell-extension.tar.xz
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Please logout and login to activate the gnome shell extension"
|
||||
echo
|
||||
}
|
||||
|
||||
#
|
||||
# Enable the gnome shell extension for the local user
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dpkg -l | grep -q libqt5widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo apt install libqt5widgets5"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
40
dist/install.Debian_10-Kde.sh
vendored
40
dist/install.Debian_10-Kde.sh
vendored
@@ -1,40 +0,0 @@
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dpkg -l | grep -q libqt5widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo apt install libqt5widgets5"
|
||||
echo
|
||||
fi
|
||||
|
||||
dpkg -l | grep -q libkf5notifications5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libkf5notifications5"
|
||||
echo
|
||||
echo "sudo apt install libkf5notifications5"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
31
dist/install.Debian_10.sh
vendored
31
dist/install.Debian_10.sh
vendored
@@ -1,31 +0,0 @@
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dpkg -l | grep -q libqt5widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo apt install libqt5widgets5"
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
59
dist/install.Debian_11-Gnome.sh
vendored
59
dist/install.Debian_11-Gnome.sh
vendored
@@ -1,59 +0,0 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="appindicatorsupport@rgcjonas.gmail.com"
|
||||
PACKAGE="gnome-shell-extension-appindicator"
|
||||
ENABLE_CMD="/usr/bin/gnome-shell-extension-tool"
|
||||
ENABLE_CMD_OPTIONS="-e ${EXTENSION}"
|
||||
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -d /usr/share/gnome-shell/extensions/${EXTENSION} ] || [ -d ~/.local/share/gnome-shell/extensions/${EXTENSION} ] ; then
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
else
|
||||
mkdir -p ~/.local/share/gnome-shell/extensions
|
||||
tar -C ~/.local/share/gnome-shell/extensions -xJf ${DESTINATION}/gnome-shell-extension.tar.xz
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Please logout and login to activate the gnome shell extension"
|
||||
echo
|
||||
}
|
||||
|
||||
#
|
||||
# Enable the gnome shell extension for the local user
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dpkg -l | grep -q libqt5widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo apt install libqt5widgets5"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
40
dist/install.Debian_11-Kde.sh
vendored
40
dist/install.Debian_11-Kde.sh
vendored
@@ -1,40 +0,0 @@
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dpkg -l | grep -q libqt5widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo apt install libqt5widgets5"
|
||||
echo
|
||||
fi
|
||||
|
||||
dpkg -l | grep -q libkf5notifications5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libkf5notifications5"
|
||||
echo
|
||||
echo "sudo apt install libkf5notifications5"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
31
dist/install.Debian_11.sh
vendored
31
dist/install.Debian_11.sh
vendored
@@ -1,31 +0,0 @@
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dpkg -l | grep -q libqt5widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo apt install libqt5widgets5"
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
59
dist/install.Fedora_36-Gnome.sh
vendored
59
dist/install.Fedora_36-Gnome.sh
vendored
@@ -1,59 +0,0 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="appindicatorsupport@rgcjonas.gmail.com"
|
||||
PACKAGE="gnome-shell-extension-appindicator"
|
||||
ENABLE_CMD="/usr/bin/gnome-extensions"
|
||||
ENABLE_CMD_OPTIONS="enable ${EXTENSION}"
|
||||
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -d /usr/share/gnome-shell/extensions/${EXTENSION} ] || [ -d ~/.local/share/gnome-shell/extensions/${EXTENSION} ] ; then
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
else
|
||||
mkdir -p ~/.local/share/gnome-shell/extensions
|
||||
tar -C ~/.local/share/gnome-shell/extensions -xJf ${DESTINATION}/gnome-shell-extension.tar.xz
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Please logout and login to activate the gnome shell extension"
|
||||
echo
|
||||
}
|
||||
|
||||
#
|
||||
# Enable the gnome shell extension for the local user
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dnf list installed "qt5-qtbase*" | grep -q qt5-qtbase-gui
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package qt5-qtbase-gui"
|
||||
echo
|
||||
echo "sudo dnf install qt5-qtbase-gui"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
40
dist/install.Fedora_36-Kde.sh
vendored
40
dist/install.Fedora_36-Kde.sh
vendored
@@ -1,40 +0,0 @@
|
||||
##
|
||||
# Check for Kde
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dnf list installed "qt5-qtbase*" | grep -q qt5-qtbase-gui
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package qt5-qtbase-gui"
|
||||
echo
|
||||
echo "sudo dnf install qt5-qtbase-gui"
|
||||
echo
|
||||
fi
|
||||
|
||||
dnf list installed "kf5*" | grep -q kf5-knotifications
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package kf5-knotifications"
|
||||
echo
|
||||
echo "sudo dnf install kf5-knotifications"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
31
dist/install.Fedora_36.sh
vendored
31
dist/install.Fedora_36.sh
vendored
@@ -1,31 +0,0 @@
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dnf list installed "qt5-qtbase*" | grep -q qt5-qtbase-gui
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package qt5-qtbase-gui"
|
||||
echo
|
||||
echo "sudo dnf install qt5-qtbase-gui"
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
59
dist/install.Fedora_37-Gnome.sh
vendored
59
dist/install.Fedora_37-Gnome.sh
vendored
@@ -1,59 +0,0 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="appindicatorsupport@rgcjonas.gmail.com"
|
||||
PACKAGE="gnome-shell-extension-appindicator"
|
||||
ENABLE_CMD="/usr/bin/gnome-extensions"
|
||||
ENABLE_CMD_OPTIONS="enable ${EXTENSION}"
|
||||
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -d /usr/share/gnome-shell/extensions/${EXTENSION} ] || [ -d ~/.local/share/gnome-shell/extensions/${EXTENSION} ] ; then
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
else
|
||||
mkdir -p ~/.local/share/gnome-shell/extensions
|
||||
tar -C ~/.local/share/gnome-shell/extensions -xJf ${DESTINATION}/gnome-shell-extension.tar.xz
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Please logout and login to activate the gnome shell extension"
|
||||
echo
|
||||
}
|
||||
|
||||
#
|
||||
# Enable the gnome shell extension for the local user
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dnf list installed "qt5-qtbase*" | grep -q qt5-qtbase-gui
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package qt5-qtbase-gui"
|
||||
echo
|
||||
echo "sudo dnf install qt5-qtbase-gui"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
40
dist/install.Fedora_37-Kde.sh
vendored
40
dist/install.Fedora_37-Kde.sh
vendored
@@ -1,40 +0,0 @@
|
||||
##
|
||||
# Check for Kde
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dnf list installed "qt5-qtbase*" | grep -q qt5-qtbase-gui
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package qt5-qtbase-gui"
|
||||
echo
|
||||
echo "sudo dnf install qt5-qtbase-gui"
|
||||
echo
|
||||
fi
|
||||
|
||||
dnf list installed "kf5*" | grep -q kf5-knotifications
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package kf5-knotifications"
|
||||
echo
|
||||
echo "sudo dnf install kf5-knotifications"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
31
dist/install.Fedora_37.sh
vendored
31
dist/install.Fedora_37.sh
vendored
@@ -1,31 +0,0 @@
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dnf list installed "qt5-qtbase*" | grep -q qt5-qtbase-gui
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package qt5-qtbase-gui"
|
||||
echo
|
||||
echo "sudo dnf install qt5-qtbase-gui"
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
59
dist/install.Fedora_38-Gnome.sh
vendored
59
dist/install.Fedora_38-Gnome.sh
vendored
@@ -1,59 +0,0 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="appindicatorsupport@rgcjonas.gmail.com"
|
||||
PACKAGE="gnome-shell-extension-appindicator"
|
||||
ENABLE_CMD="/usr/bin/gnome-extensions"
|
||||
ENABLE_CMD_OPTIONS="enable ${EXTENSION}"
|
||||
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -d /usr/share/gnome-shell/extensions/${EXTENSION} ] || [ -d ~/.local/share/gnome-shell/extensions/${EXTENSION} ] ; then
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
else
|
||||
mkdir -p ~/.local/share/gnome-shell/extensions
|
||||
tar -C ~/.local/share/gnome-shell/extensions -xJf ${DESTINATION}/gnome-shell-extension.tar.xz
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Please logout and login to activate the gnome shell extension"
|
||||
echo
|
||||
}
|
||||
|
||||
#
|
||||
# Enable the gnome shell extension for the local user
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dnf list installed "qt5-qtbase*" | grep -q qt5-qtbase-gui
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package qt5-qtbase-gui"
|
||||
echo
|
||||
echo "sudo dnf install qt5-qtbase-gui"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
40
dist/install.Fedora_38-Kde.sh
vendored
40
dist/install.Fedora_38-Kde.sh
vendored
@@ -1,40 +0,0 @@
|
||||
##
|
||||
# Check for Kde
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dnf list installed "qt5-qtbase*" | grep -q qt5-qtbase-gui
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package qt5-qtbase-gui"
|
||||
echo
|
||||
echo "sudo dnf install qt5-qtbase-gui"
|
||||
echo
|
||||
fi
|
||||
|
||||
dnf list installed "kf5*" | grep -q kf5-knotifications
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package kf5-knotifications"
|
||||
echo
|
||||
echo "sudo dnf install kf5-knotifications"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
31
dist/install.Fedora_38.sh
vendored
31
dist/install.Fedora_38.sh
vendored
@@ -1,31 +0,0 @@
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dnf list installed "qt5-qtbase*" | grep -q qt5-qtbase-gui
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package qt5-qtbase-gui"
|
||||
echo
|
||||
echo "sudo dnf install qt5-qtbase-gui"
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
59
dist/install.Fedora_Rawhide-Gnome.sh
vendored
59
dist/install.Fedora_Rawhide-Gnome.sh
vendored
@@ -1,59 +0,0 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="appindicatorsupport@rgcjonas.gmail.com"
|
||||
PACKAGE="gnome-shell-extension-appindicator"
|
||||
ENABLE_CMD="/usr/bin/gnome-extensions"
|
||||
ENABLE_CMD_OPTIONS="enable ${EXTENSION}"
|
||||
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -d /usr/share/gnome-shell/extensions/${EXTENSION} ] || [ -d ~/.local/share/gnome-shell/extensions/${EXTENSION} ] ; then
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
else
|
||||
mkdir -p ~/.local/share/gnome-shell/extensions
|
||||
tar -C ~/.local/share/gnome-shell/extensions -xJf ${DESTINATION}/gnome-shell-extension.tar.xz
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Please logout and login to activate the gnome shell extension"
|
||||
echo
|
||||
}
|
||||
|
||||
#
|
||||
# Enable the gnome shell extension for the local user
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dnf list installed "qt5-qtbase*" | grep -q qt5-qtbase-gui
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package qt5-qtbase-gui"
|
||||
echo
|
||||
echo "sudo dnf install qt5-qtbase-gui"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
40
dist/install.Fedora_Rawhide-Kde.sh
vendored
40
dist/install.Fedora_Rawhide-Kde.sh
vendored
@@ -1,40 +0,0 @@
|
||||
##
|
||||
# Check for Kde
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dnf list installed "qt5-qtbase*" | grep -q qt5-qtbase-gui
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package qt5-qtbase-gui"
|
||||
echo
|
||||
echo "sudo dnf install qt5-qtbase-gui"
|
||||
echo
|
||||
fi
|
||||
|
||||
dnf list installed "kf5*" | grep -q kf5-knotifications
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package kf5-knotifications"
|
||||
echo
|
||||
echo "sudo dnf install kf5-knotifications"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
31
dist/install.Fedora_Rawhide.sh
vendored
31
dist/install.Fedora_Rawhide.sh
vendored
@@ -1,31 +0,0 @@
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dnf list installed "qt5-qtbase*" | grep -q qt5-qtbase-gui
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package qt5-qtbase-gui"
|
||||
echo
|
||||
echo "sudo dnf install qt5-qtbase-gui"
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
59
dist/install.openSUSE_Leap_15.4-Gnome.sh
vendored
59
dist/install.openSUSE_Leap_15.4-Gnome.sh
vendored
@@ -1,59 +0,0 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="appindicatorsupport@rgcjonas.gmail.com"
|
||||
PACKAGE="gnome-shell-extension-appindicator"
|
||||
ENABLE_CMD="/usr/bin/gnome-extensions"
|
||||
ENABLE_CMD_OPTIONS="enable ${EXTENSION}"
|
||||
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -d /usr/share/gnome-shell/extensions/${EXTENSION} ] || [ -d ~/.local/share/gnome-shell/extensions/${EXTENSION} ] ; then
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
else
|
||||
mkdir -p ~/.local/share/gnome-shell/extensions
|
||||
tar -C ~/.local/share/gnome-shell/extensions -xJf ${DESTINATION}/gnome-shell-extension.tar.xz
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Please logout and login to activate the gnome shell extension"
|
||||
echo
|
||||
}
|
||||
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
rpm -qa | grep -q libQt5Widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo zypper install libQt5Widgets5"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
40
dist/install.openSUSE_Leap_15.4-Kde.sh
vendored
40
dist/install.openSUSE_Leap_15.4-Kde.sh
vendored
@@ -1,40 +0,0 @@
|
||||
#
|
||||
# Check for Kde
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
rpm -qa | grep -q libQt5Widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libQt5Widgets5"
|
||||
echo
|
||||
echo "sudo zypper install libQt5Widgets5"
|
||||
echo
|
||||
fi
|
||||
|
||||
rpm -qa | grep -q libKF5Notifications5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libKF5Notifications5"
|
||||
echo
|
||||
echo "sudo zypper install libKF5Notifications5"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
31
dist/install.openSUSE_Leap_15.4.sh
vendored
31
dist/install.openSUSE_Leap_15.4.sh
vendored
@@ -1,31 +0,0 @@
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
rpm -qa | grep -q libQt5Widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libQt5Widgets5"
|
||||
echo
|
||||
echo "sudo zypper install libQt5Widgets5"
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
71
dist/install.openSUSE_Tumbleweed-Gnome.sh
vendored
71
dist/install.openSUSE_Tumbleweed-Gnome.sh
vendored
@@ -1,71 +0,0 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="appindicatorsupport@rgcjonas.gmail.com"
|
||||
PACKAGE="gnome-shell-extension-appindicator"
|
||||
ENABLE_CMD="/usr/bin/gnome-extensions"
|
||||
ENABLE_CMD_OPTIONS="enable ${EXTENSION}"
|
||||
|
||||
if [ ! -x $ENABLE_CMD ] ; then
|
||||
echo
|
||||
echo "Please install the package gnome-extensions:"
|
||||
echo
|
||||
echo "sudo zypper install gnome-extensions"
|
||||
echo
|
||||
echo "And run after the installer is finished:"
|
||||
echo
|
||||
echo $ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
echo
|
||||
fi
|
||||
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -d /usr/share/gnome-shell/extensions/${EXTENSION} ] || [ -d ~/.local/share/gnome-shell/extensions/${EXTENSION} ] ; then
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
else
|
||||
mkdir -p ~/.local/share/gnome-shell/extensions
|
||||
tar -C ~/.local/share/gnome-shell/extensions -xJf ${DESTINATION}/gnome-shell-extension.tar.xz
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Please logout and login to activate the gnome shell extension"
|
||||
echo
|
||||
}
|
||||
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
rpm -qa | grep -q libQt5Widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo zypper install libQt5Widgets5"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
40
dist/install.openSUSE_Tumbleweed-Kde.sh
vendored
40
dist/install.openSUSE_Tumbleweed-Kde.sh
vendored
@@ -1,40 +0,0 @@
|
||||
#
|
||||
# Check for Kde
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
rpm -qa | grep -q libQt5Widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libQt5Widgets5"
|
||||
echo
|
||||
echo "sudo zypper install libQt5Widgets5"
|
||||
echo
|
||||
fi
|
||||
|
||||
rpm -qa | grep -q libKF5Notifications5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libKF5Notifications5"
|
||||
echo
|
||||
echo "sudo zypper install libKF5Notifications5"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
31
dist/install.openSUSE_Tumbleweed.sh
vendored
31
dist/install.openSUSE_Tumbleweed.sh
vendored
@@ -1,31 +0,0 @@
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
rpm -qa | grep -q libQt5Widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libQt5Widgets5"
|
||||
echo
|
||||
echo "sudo zypper install libQt5Widgets5"
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
128
dist/install.sh
vendored
128
dist/install.sh
vendored
@@ -1,128 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
INSTALL_HOME=`echo ~`
|
||||
|
||||
if [ "$1" == "-h" ] ; then
|
||||
echo
|
||||
echo "Usage: $0 [-h|-u] [abs-install-path [profiles-path] ]"
|
||||
echo
|
||||
echo " -h: This help"
|
||||
echo " -u: Uninstall"
|
||||
echo
|
||||
echo " Default install path: $INSTALL_HOME/.mozilla/native-messaging-hosts"
|
||||
echo " Default profiles: $INSTALL_HOME/.thunderbird"
|
||||
echo
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "$1" == "-u" ] ; then
|
||||
if [ -n "$2" ] ; then
|
||||
DESTINATION="$2"
|
||||
|
||||
if [ -n "$3" ] ; then
|
||||
PROFILES="$3"
|
||||
fi
|
||||
else
|
||||
DESTINATION="$INSTALL_HOME/.mozilla/native-messaging-hosts"
|
||||
PROFILES="$INSTALL_HOME/.thunderbird"
|
||||
fi
|
||||
else
|
||||
if [ -n "$1" ] ; then
|
||||
DESTINATION="$1"
|
||||
|
||||
if [ -n "$2" ] ; then
|
||||
PROFILES="$2"
|
||||
fi
|
||||
else
|
||||
DESTINATION="$INSTALL_HOME/.mozilla/native-messaging-hosts"
|
||||
PROFILES="$INSTALL_HOME/.thunderbird"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$1" == "-u" ] ; then
|
||||
#
|
||||
# Tell the user what we are going to do
|
||||
#
|
||||
echo
|
||||
echo "Uninstalling SysTray-X files from:"
|
||||
echo "$DESTINATION"
|
||||
echo
|
||||
echo "Uninstalling SysTray-X addon from all profiles in:"
|
||||
echo "$PROFILES"
|
||||
echo
|
||||
read -n 1 -s -r -p "Press any key to continue, Ctrl-C to cancel"
|
||||
echo
|
||||
|
||||
rm -f $DESTINATION/SysTray-X > /dev/null 2>&1
|
||||
rm -f $DESTINATION/SysTray_X.json > /dev/null 2>&1
|
||||
rm -f $DESTINATION/systray-x@Ximi1970.xpi > /dev/null 2>&1
|
||||
rm -f $DESTINATION/gnome-shell-extension.tar.xz > /dev/null 2>&1
|
||||
|
||||
rm -f $PROFILES/*/extensions/systray-x@Ximi1970.xpi > /dev/null 2>&1
|
||||
|
||||
#
|
||||
# Done
|
||||
#
|
||||
echo ""
|
||||
echo "Addon and companion app removed."
|
||||
|
||||
exit 0
|
||||
fi
|
||||
|
||||
#
|
||||
# Tell the user what we are going to do
|
||||
#
|
||||
echo
|
||||
echo "Installing SysTray-X companion app to:"
|
||||
echo "$DESTINATION"
|
||||
echo
|
||||
echo "Installing SysTray-X addon into all profiles listed in:"
|
||||
echo "$PROFILES/profiles.ini"
|
||||
echo
|
||||
read -n 1 -s -r -p "Press any key to continue, Ctrl-C to cancel"
|
||||
echo
|
||||
|
||||
#
|
||||
# Install
|
||||
#
|
||||
echo "Installing SysTray-X companion app..."
|
||||
|
||||
#
|
||||
# Create destination
|
||||
#
|
||||
mkdir -p ${DESTINATION}
|
||||
|
||||
#
|
||||
# Find __ARCHIVE__ maker, read archive content and decompress it
|
||||
#
|
||||
ARCHIVE=$(awk '/^__ARCHIVE__/ {print NR + 1; exit 0; }' "${0}")
|
||||
tail -n+${ARCHIVE} "${0}" | tar xpJ -C ${DESTINATION}
|
||||
|
||||
#
|
||||
# Set the config
|
||||
#
|
||||
INSTALL_HOME=`echo ~`
|
||||
sed -i "s?SYSTRAY_X_PATH?${DESTINATION}/SysTray-X?" ${DESTINATION}/SysTray_X.json.template
|
||||
mv -f ${DESTINATION}/SysTray_X.json.template ${DESTINATION}/SysTray_X.json
|
||||
|
||||
#
|
||||
# Installing the add-on
|
||||
#
|
||||
echo "Installing SysTray-X addon..."
|
||||
|
||||
for i in `grep "Path=" $PROFILES/profiles.ini | sed -e "s/Path=//"` ; do
|
||||
mkdir -p $PROFILES/$i/extensions
|
||||
cp -f ${DESTINATION}/systray-x@Ximi1970.xpi $PROFILES/$i/extensions
|
||||
done
|
||||
__XXXX_SETUP__
|
||||
|
||||
#
|
||||
# Done
|
||||
#
|
||||
echo ""
|
||||
echo "Addon and companion app installation complete."
|
||||
echo "App en JSON config have been installed in: $DESTINATION"
|
||||
echo ""
|
||||
exit 0
|
||||
|
||||
__ARCHIVE__
|
||||
59
dist/install.xUbuntu_16.04-Gnome.sh
vendored
59
dist/install.xUbuntu_16.04-Gnome.sh
vendored
@@ -1,59 +0,0 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="appindicatorsupport@rgcjonas.gmail.com"
|
||||
PACKAGE="gnome-shell-extension-appindicator"
|
||||
ENABLE_CMD="/usr/bin/gnome-shell-extension-tool"
|
||||
ENABLE_CMD_OPTIONS="-e ${EXTENSION}"
|
||||
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -d /usr/share/gnome-shell/extensions/${EXTENSION} ] || [ -d ~/.local/share/gnome-shell/extensions/${EXTENSION} ] ; then
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
else
|
||||
mkdir -p ~/.local/share/gnome-shell/extensions
|
||||
tar -C ~/.local/share/gnome-shell/extensions -xJf ${DESTINATION}/gnome-shell-extension.tar.xz
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Please logout and login to activate the gnome shell extension"
|
||||
echo
|
||||
}
|
||||
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "ubuntu:GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dpkg -l | grep -q libqt5widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo apt install libqt5widgets5"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
40
dist/install.xUbuntu_16.04-Kde.sh
vendored
40
dist/install.xUbuntu_16.04-Kde.sh
vendored
@@ -1,40 +0,0 @@
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dpkg -l | grep -q libqt5widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo apt install libqt5widgets5"
|
||||
echo
|
||||
fi
|
||||
|
||||
dpkg -l | grep -q libkf5notifications5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libkf5notifications5"
|
||||
echo
|
||||
echo "sudo apt install libkf5notifications5"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "ubuntu:GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
31
dist/install.xUbuntu_16.04.sh
vendored
31
dist/install.xUbuntu_16.04.sh
vendored
@@ -1,31 +0,0 @@
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "ubuntu:GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dpkg -l | grep -q libqt5widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo apt install libqt5widgets5"
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
59
dist/install.xUbuntu_18.04-Gnome.sh
vendored
59
dist/install.xUbuntu_18.04-Gnome.sh
vendored
@@ -1,59 +0,0 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="appindicatorsupport@rgcjonas.gmail.com"
|
||||
PACKAGE="gnome-shell-extension-appindicator"
|
||||
ENABLE_CMD="/usr/bin/gnome-shell-extension-tool"
|
||||
ENABLE_CMD_OPTIONS="-e ${EXTENSION}"
|
||||
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -d /usr/share/gnome-shell/extensions/${EXTENSION} ] || [ -d ~/.local/share/gnome-shell/extensions/${EXTENSION} ] ; then
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
else
|
||||
mkdir -p ~/.local/share/gnome-shell/extensions
|
||||
tar -C ~/.local/share/gnome-shell/extensions -xJf ${DESTINATION}/gnome-shell-extension.tar.xz
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Please logout and login to activate the gnome shell extension"
|
||||
echo
|
||||
}
|
||||
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "ubuntu:GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dpkg -l | grep -q libqt5widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo apt install libqt5widgets5"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
40
dist/install.xUbuntu_18.04-Kde.sh
vendored
40
dist/install.xUbuntu_18.04-Kde.sh
vendored
@@ -1,40 +0,0 @@
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dpkg -l | grep -q libqt5widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo apt install libqt5widgets5"
|
||||
echo
|
||||
fi
|
||||
|
||||
dpkg -l | grep -q libkf5notifications5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libkf5notifications5"
|
||||
echo
|
||||
echo "sudo apt install libkf5notifications5"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "ubuntu:GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
31
dist/install.xUbuntu_18.04.sh
vendored
31
dist/install.xUbuntu_18.04.sh
vendored
@@ -1,31 +0,0 @@
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "ubuntu:GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dpkg -l | grep -q libqt5widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo apt install libqt5widgets5"
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
50
dist/install.xUbuntu_20.04-Gnome.sh
vendored
50
dist/install.xUbuntu_20.04-Gnome.sh
vendored
@@ -1,50 +0,0 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="ubuntu-appindicator@ubuntu.com"
|
||||
ENABLE_CMD="/usr/bin/gnome-extensions"
|
||||
ENABLE_CMD_OPTIONS="enable ${EXTENSION}"
|
||||
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Please logout and login to activate the gnome shell extension"
|
||||
echo
|
||||
}
|
||||
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "ubuntu:GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dpkg -l | grep -q libqt5widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo apt install libqt5widgets5"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
40
dist/install.xUbuntu_20.04-Kde.sh
vendored
40
dist/install.xUbuntu_20.04-Kde.sh
vendored
@@ -1,40 +0,0 @@
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dpkg -l | grep -q libqt5widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo apt install libqt5widgets5"
|
||||
echo
|
||||
fi
|
||||
|
||||
dpkg -l | grep -q libkf5notifications5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libkf5notifications5"
|
||||
echo
|
||||
echo "sudo apt install libkf5notifications5"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "ubuntu:GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
31
dist/install.xUbuntu_20.04.sh
vendored
31
dist/install.xUbuntu_20.04.sh
vendored
@@ -1,31 +0,0 @@
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "ubuntu:GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dpkg -l | grep -q libqt5widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo apt install libqt5widgets5"
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
50
dist/install.xUbuntu_21.04-Gnome.sh
vendored
50
dist/install.xUbuntu_21.04-Gnome.sh
vendored
@@ -1,50 +0,0 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="ubuntu-appindicator@ubuntu.com"
|
||||
ENABLE_CMD="/usr/bin/gnome-extensions"
|
||||
ENABLE_CMD_OPTIONS="enable ${EXTENSION}"
|
||||
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Please logout and login to activate the gnome shell extension"
|
||||
echo
|
||||
}
|
||||
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "ubuntu:GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dpkg -l | grep -q libqt5widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo apt install libqt5widgets5"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
40
dist/install.xUbuntu_21.04-Kde.sh
vendored
40
dist/install.xUbuntu_21.04-Kde.sh
vendored
@@ -1,40 +0,0 @@
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dpkg -l | grep -q libqt5widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo apt install libqt5widgets5"
|
||||
echo
|
||||
fi
|
||||
|
||||
dpkg -l | grep -q libkf5notifications5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libkf5notifications5"
|
||||
echo
|
||||
echo "sudo apt install libkf5notifications5"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "ubuntu:GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
31
dist/install.xUbuntu_21.04.sh
vendored
31
dist/install.xUbuntu_21.04.sh
vendored
@@ -1,31 +0,0 @@
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "ubuntu:GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dpkg -l | grep -q libqt5widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo apt install libqt5widgets5"
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
50
dist/install.xUbuntu_22.04-Gnome.sh
vendored
50
dist/install.xUbuntu_22.04-Gnome.sh
vendored
@@ -1,50 +0,0 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="ubuntu-appindicator@ubuntu.com"
|
||||
ENABLE_CMD="/usr/bin/gnome-extensions"
|
||||
ENABLE_CMD_OPTIONS="enable ${EXTENSION}"
|
||||
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Please logout and login to activate the gnome shell extension"
|
||||
echo
|
||||
}
|
||||
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "ubuntu:GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dpkg -l | grep -q libqt5widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo apt install libqt5widgets5"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
40
dist/install.xUbuntu_22.04-Kde.sh
vendored
40
dist/install.xUbuntu_22.04-Kde.sh
vendored
@@ -1,40 +0,0 @@
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dpkg -l | grep -q libqt5widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo apt install libqt5widgets5"
|
||||
echo
|
||||
fi
|
||||
|
||||
dpkg -l | grep -q libkf5notifications5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libkf5notifications5"
|
||||
echo
|
||||
echo "sudo apt install libkf5notifications5"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "ubuntu:GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
31
dist/install.xUbuntu_22.04.sh
vendored
31
dist/install.xUbuntu_22.04.sh
vendored
@@ -1,31 +0,0 @@
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "ubuntu:GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dpkg -l | grep -q libqt5widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo apt install libqt5widgets5"
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
50
dist/install.xUbuntu_23.04-Gnome.sh
vendored
50
dist/install.xUbuntu_23.04-Gnome.sh
vendored
@@ -1,50 +0,0 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="ubuntu-appindicator@ubuntu.com"
|
||||
ENABLE_CMD="/usr/bin/gnome-extensions"
|
||||
ENABLE_CMD_OPTIONS="enable ${EXTENSION}"
|
||||
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -x $ENABLE_CMD ] ; then
|
||||
$ENABLE_CMD $ENABLE_CMD_OPTIONS
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Please logout and login to activate the gnome shell extension"
|
||||
echo
|
||||
}
|
||||
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "ubuntu:GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dpkg -l | grep -q libqt5widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo apt install libqt5widgets5"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
40
dist/install.xUbuntu_23.04-Kde.sh
vendored
40
dist/install.xUbuntu_23.04-Kde.sh
vendored
@@ -1,40 +0,0 @@
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dpkg -l | grep -q libqt5widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo apt install libqt5widgets5"
|
||||
echo
|
||||
fi
|
||||
|
||||
dpkg -l | grep -q libkf5notifications5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libkf5notifications5"
|
||||
echo
|
||||
echo "sudo apt install libkf5notifications5"
|
||||
echo
|
||||
fi
|
||||
else
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "ubuntu:GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
echo
|
||||
echo "Please use the __MINIMAL_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
31
dist/install.xUbuntu_23.04.sh
vendored
31
dist/install.xUbuntu_23.04.sh
vendored
@@ -1,31 +0,0 @@
|
||||
#
|
||||
# Check for Gnome
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "ubuntu:GNOME" ] ; then
|
||||
echo
|
||||
echo "Please use the __GNOME_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for KDE
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
|
||||
echo
|
||||
echo "Please use the __KDE_INSTALLER__ installer."
|
||||
echo "This setup will not work."
|
||||
echo
|
||||
else
|
||||
#
|
||||
# Check for Qt
|
||||
#
|
||||
dpkg -l | grep -q libqt5widgets5
|
||||
if [ "$?" == "1" ] ; then
|
||||
echo
|
||||
echo "Please install the package libqt5widgets5"
|
||||
echo
|
||||
echo "sudo apt install libqt5widgets5"
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
6
dist/rpm/VERSION
vendored
6
dist/rpm/VERSION
vendored
@@ -1,4 +1,4 @@
|
||||
VERSION=0.9.10
|
||||
BUILD_NUMBER=1155
|
||||
GIT_HASH=c565572e4e3b61420cce704663a31841d7083d18
|
||||
VERSION=0.9.11
|
||||
BUILD_NUMBER=1191
|
||||
GIT_HASH=862fb65605924cd675acbf9191e66051fff000a3
|
||||
GIT_BRANCH=develop
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user