Merge branch 'develop'

This commit is contained in:
Ximi1970
2025-03-12 21:56:21 +01:00
125 changed files with 1736 additions and 2843 deletions

6
.gitignore vendored
View File

@@ -6,6 +6,6 @@ bin
bins
bin-*
tmp
Test
Old
Doc
test
old
doc

View File

@@ -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.

View File

@@ -528,27 +528,38 @@
<context>
<name>SysTrayX</name>
<message>
<location filename="../systrayx.cpp" line="242"/>
<location filename="../systrayx.cpp" line="256"/>
<source>&amp;Show/Hide</source>
<translation>&amp;Anzeigen/Verbergen</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="246"/>
<location filename="../systrayx.cpp" line="269"/>
<location filename="../systrayx.cpp" line="279"/>
<source>&amp;New message...</source>
<translation>&amp;Neue Nachricht...</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="282"/>
<source>&amp;Default account</source>
<translation>&amp;Standardkonto</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="308"/>
<source>&amp;Preferences</source>
<translation>&amp;Einstellungen</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="250"/>
<location filename="../systrayx.cpp" line="317"/>
<source>&amp;About</source>
<translation>&amp;Über</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="254"/>
<location filename="../systrayx.cpp" line="327"/>
<source>&amp;Quit</source>
<translation>&amp;Beenden</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="683"/>
<location filename="../systrayx.cpp" line="746"/>
<source>Close</source>
<translation>Schließen</translation>
</message>

View File

@@ -528,27 +528,38 @@
<context>
<name>SysTrayX</name>
<message>
<location filename="../systrayx.cpp" line="242"/>
<location filename="../systrayx.cpp" line="256"/>
<source>&amp;Show/Hide</source>
<translation>&amp;Εμφάνιση/Απόκρυψη</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="246"/>
<location filename="../systrayx.cpp" line="269"/>
<location filename="../systrayx.cpp" line="279"/>
<source>&amp;New message...</source>
<translation>&amp;Νέο μήνυμα...</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="282"/>
<source>&amp;Default account</source>
<translation>&amp;Προεπιλεγμένος λογαριασμός</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="308"/>
<source>&amp;Preferences</source>
<translation>&amp;Προτιμήσεις</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="250"/>
<location filename="../systrayx.cpp" line="317"/>
<source>&amp;About</source>
<translation>&amp;Σχετικά</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="254"/>
<location filename="../systrayx.cpp" line="327"/>
<source>&amp;Quit</source>
<translation>&amp;Έξοδος</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="683"/>
<location filename="../systrayx.cpp" line="746"/>
<source>Close</source>
<translation>Κλείσιμο</translation>
</message>

View File

@@ -15,7 +15,7 @@
<message>
<location filename="../aboutdialog.ui" line="26"/>
<source>&lt;a href=&quot;https://github.com/Ximi1970/systray-x&quot;&gt;SysTray-X&lt;/a&gt; Companion App by Ximi1970</source>
<translation type="unfinished"></translation>
<translation>&lt;a href=&quot;https://github.com/Ximi1970/systray-x&quot;&gt;SysTray-X&lt;/a&gt; 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>&amp;Show/Hide</source>
<translation>&amp;Show/Hide</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="246"/>
<location filename="../systrayx.cpp" line="269"/>
<location filename="../systrayx.cpp" line="279"/>
<source>&amp;New message...</source>
<translation>&amp;New message...</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="282"/>
<source>&amp;Default account</source>
<translation>&amp;Default account</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="308"/>
<source>&amp;Preferences</source>
<translation>&amp;Preferences</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="250"/>
<location filename="../systrayx.cpp" line="317"/>
<source>&amp;About</source>
<translation>&amp;About</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="254"/>
<location filename="../systrayx.cpp" line="327"/>
<source>&amp;Quit</source>
<translation>&amp;Quit</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="683"/>
<location filename="../systrayx.cpp" line="746"/>
<source>Close</source>
<translation>Close</translation>
</message>

View File

@@ -529,27 +529,38 @@
<context>
<name>SysTrayX</name>
<message>
<location filename="../systrayx.cpp" line="242"/>
<location filename="../systrayx.cpp" line="256"/>
<source>&amp;Show/Hide</source>
<translation>&amp;Mostra/Nascondi</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="246"/>
<location filename="../systrayx.cpp" line="269"/>
<location filename="../systrayx.cpp" line="279"/>
<source>&amp;New message...</source>
<translation>&amp;Nuovo messaggio...</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="282"/>
<source>&amp;Default account</source>
<translation>&amp;Conto predefinito</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="308"/>
<source>&amp;Preferences</source>
<translation>&amp;Preferenze</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="250"/>
<location filename="../systrayx.cpp" line="317"/>
<source>&amp;About</source>
<translation>&amp;Informazioni</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="254"/>
<location filename="../systrayx.cpp" line="327"/>
<source>&amp;Quit</source>
<translation>&amp;Esci</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="683"/>
<location filename="../systrayx.cpp" line="746"/>
<source>Close</source>
<translation>Chiudi</translation>
</message>

View File

@@ -532,27 +532,38 @@
<context>
<name>SysTrayX</name>
<message>
<location filename="../systrayx.cpp" line="242"/>
<location filename="../systrayx.cpp" line="256"/>
<source>&amp;Show/Hide</source>
<translation>&amp;Tonen/Verbergen</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="246"/>
<location filename="../systrayx.cpp" line="269"/>
<location filename="../systrayx.cpp" line="279"/>
<source>&amp;New message...</source>
<translation>&amp;Nieuw bericht...</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="282"/>
<source>&amp;Default account</source>
<translation>&amp;Standaardaccount</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="308"/>
<source>&amp;Preferences</source>
<translation>&amp;Opties</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="250"/>
<location filename="../systrayx.cpp" line="317"/>
<source>&amp;About</source>
<translation>O&amp;ver</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="254"/>
<location filename="../systrayx.cpp" line="327"/>
<source>&amp;Quit</source>
<translation>&amp;Afsluiten</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="683"/>
<location filename="../systrayx.cpp" line="746"/>
<source>Close</source>
<translation>Sluiten</translation>
</message>

View File

@@ -528,27 +528,38 @@
<context>
<name>SysTrayX</name>
<message>
<location filename="../systrayx.cpp" line="242"/>
<location filename="../systrayx.cpp" line="256"/>
<source>&amp;Show/Hide</source>
<translation>&amp;Exibir/Ocultar</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="246"/>
<location filename="../systrayx.cpp" line="269"/>
<location filename="../systrayx.cpp" line="279"/>
<source>&amp;New message...</source>
<translation>&amp;Nova mensagem...</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="282"/>
<source>&amp;Default account</source>
<translation>&amp;Conta padrão</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="308"/>
<source>&amp;Preferences</source>
<translation>&amp;Preferências</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="250"/>
<location filename="../systrayx.cpp" line="317"/>
<source>&amp;About</source>
<translation>&amp;Sobre</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="254"/>
<location filename="../systrayx.cpp" line="327"/>
<source>&amp;Quit</source>
<translation>&amp;Sair</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="683"/>
<location filename="../systrayx.cpp" line="746"/>
<source>Close</source>
<translation>Fechar</translation>
</message>

View File

@@ -529,27 +529,38 @@
<context>
<name>SysTrayX</name>
<message>
<location filename="../systrayx.cpp" line="242"/>
<location filename="../systrayx.cpp" line="256"/>
<source>&amp;Show/Hide</source>
<translation>&amp;Показать/Скрыть</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="246"/>
<location filename="../systrayx.cpp" line="269"/>
<location filename="../systrayx.cpp" line="279"/>
<source>&amp;New message...</source>
<translation>&amp;Новое сообщение...</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="282"/>
<source>&amp;Default account</source>
<translation>&amp;Стандартный аккаунт</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="308"/>
<source>&amp;Preferences</source>
<translation>&amp;Настройки</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="250"/>
<location filename="../systrayx.cpp" line="317"/>
<source>&amp;About</source>
<translation>&amp;О приложении</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="254"/>
<location filename="../systrayx.cpp" line="327"/>
<source>&amp;Quit</source>
<translation>&amp;Выход</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="683"/>
<location filename="../systrayx.cpp" line="746"/>
<source>Close</source>
<translation>Закрыть</translation>
</message>

View File

@@ -512,27 +512,38 @@
<context>
<name>SysTrayX</name>
<message>
<location filename="../systrayx.cpp" line="242"/>
<location filename="../systrayx.cpp" line="256"/>
<source>&amp;Show/Hide</source>
<translation> / (&amp;S)</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="246"/>
<location filename="../systrayx.cpp" line="269"/>
<location filename="../systrayx.cpp" line="279"/>
<source>&amp;New message...</source>
<translation>&amp;...</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="282"/>
<source>&amp;Default account</source>
<translation>&amp;</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="308"/>
<source>&amp;Preferences</source>
<translation>(&amp;P)</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="250"/>
<location filename="../systrayx.cpp" line="317"/>
<source>&amp;About</source>
<translation>(&amp;A)</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="254"/>
<location filename="../systrayx.cpp" line="327"/>
<source>&amp;Quit</source>
<translation>退(&amp;Q)</translation>
</message>
<message>
<location filename="../systrayx.cpp" line="683"/>
<location filename="../systrayx.cpp" line="746"/>
<source>Close</source>
<translation></translation>
</message>

View File

@@ -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.
*/

View File

@@ -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.
*/

View File

@@ -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
}

View File

@@ -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
*/

View File

@@ -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() ) );

View File

@@ -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:
/**

View File

@@ -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

View File

@@ -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

View File

@@ -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'

View File

@@ -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'

View File

@@ -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'

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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
View File

@@ -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

View File

@@ -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

View File

@@ -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
View File

@@ -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

View File

@@ -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

View File

@@ -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
View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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
View File

@@ -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__

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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
View File

@@ -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