Evolution remains offline in Trisquel Gnome
I installed Trisquel console only and then ran "sudo apt install trisquel-gnome trisquel-gnome-recommended". This is in a virtual machine.
When I start evolution, it is offline, says that there is no network connection and the choice to go online in the menu is greyed out. I configured an account and it remains offline. Nevertheless, commands in terminals find the network without any problem and so does abrowser. Looking at https://help.gnome.org/users/evolution/stable/offline.html.en, I tried "GIO_USE_NETWORK_MONITOR=base evolution" then evolution is online and works.
How to make evolution be online without having to start it from a terminal and setting that variable?
Besides, I have new email notifications in the notification centre, which is very good. However, is there a way to see there are unread notifications in the notification centre, without having to click on the date in the top panel?
How to make evolution be online without having to start it from a terminal and setting that variable?
Editing the command launching Evolution from the main menu (for instance with alacarte, in Trisquel's repository) to add the variable definition before "evolution" should do it. That said, it is not normal that you have to do that. I installed the same metapackages as you and Evolution is online when I launch it.
However, is there a way to see there are unread notifications in the notification centre, without having to click on the date in the top panel?
There is a dot next to the date if you have unread notifications. That said, you may find an extension that pleases you more. Maybe https://extensions.gnome.org/extension/41/permanent-notifications/ or https://extensions.gnome.org/extension/5672/persistent-notifications/ or https://extensions.gnome.org/extension/1386/notification-counter/
You need https://addons.mozilla.org/firefox/addon/gnome-shell-integration/ to install/remove an extension in one click in Abrowser.
Editing the command launching Evolution from the main menu (for instance with alacarte, in Trisquel's repository) to add the variable definition before "evolution" should do it.
With alacarte, when I edit the command for evolution (I created a small script to set the variable and run evolution) I click on "validate", I see the button becoming darker but the window remains open and, if I close it and open it again, I can see that my change wasn't kept. I tried creating a new element but same issue, I can't validate it.
I never saw that with mate, not sure whether the virtual machine can be the problem. By the way, I suppose that the fact that it is often unresponsive is due to the virtual machine, but another disturbing thing is that when I click, what I actually click on is significantly left of the visible pointer arrow, like I need to click outside of the window to actually reach the x to close it.
Installing using the debian-installer without a desktop environment sets up the network as there is no desktop environment (server oriented).
Since that very early configuration counts as user configuration, then installing a DE on top, will not change that setup, IIRC if you use the tasksel to install a DE, the network configuration will be different.
I guess Evolution will look for environment variable a DE usually have, if you are installing GNOME, then could you try to install it using the tasksel instead of completing a console installation then installing an DE.
Regards
Thanks. I installed again from the network installer and selected the Trisquel Gnome environment from the installer. Indeed, there is one obvious difference: when clicking on the top right icon, it says the network is connected while in my previous installation, it said it wasn't.
Perhaps we should add information on installing Trisquel Gnome in https://trisquel.info/en/wiki/editions-0?
One thing though: I did select French in the setup, most things in the gnome control centre appear in French but I see "Activities" (English), all the menu when clicking on the top right corner icon is in English. In the control centre, in "Country and language" (translation from French), the button below "Langue" ("Language" in French) is "Manage installed languages" in English, then when I click on it I see only English is installed. After I click in "Install/Remove languages", I tick French, wait and close, then I have "Français (Canada)" on top and "Français (France)" below. I move the second entry up, click on Apply to the whole sytem and after loging out and in again, I have finally everything in French.
It would be better if the system language in the gnome control centre would be automatically set to the language selected in the installer, especially as one has to deal with many messages in English, so users not familiar enough with English may actually be blocked.
Also, I selected France as country so I would expect French (France) to be the highest priority language when I install French, not French (Canada).
EDIT: Other issues: 1) the "extensions" icon is missing, I have no clue why (it is there in the other VM). 2) "Add/remove software" says the list of available apps is not up to date and I have two buttons "Reload" and "Close". I assumed that "Reload" means to load the list of available apps, but if I click there the window disappears and "Add/remove software" is no more running. If I click on close, the window remains but it apparently did not update anything (if I close and start "Add/remove software" again, I get exactly the same message that the list of available apps is not up to date.)
Perhaps we should add information on installing Trisquel Gnome in https://trisquel.info/en/wiki/editions-0?
Go ahead. I have already updated https://trisquel.info/en/wiki/installing-gnome-shell (it was suggesting the installation of GNOME metapackages with apt, on top of Trisquel NetInstall).
I also updated https://trisquel.info/en/wiki/editions
I changed "command line" to "can work in a terminal window" because it is not using command line at all and "command line" will scare many people while it actually works exactly like the graphic installer, just with poorer graphics made of text characters.
I found out this: the "extension" icon comes from the gnome-shell-extension-prefs package. That package is "recommended" by the gnome-shell-extensions package, that is a dependency of gnome-core, that is dependency of trisquel-gnome.
When installing gnome by running "sudo apt install trisquel-gnome trisquel-gnome-recommended", gnome-shell-extension-prefs is installed, but when selecting "Trisquel GNOME environment" in the network installer, it is not installed.
Does that mean that, when using the network installer, the "recommended" packages are not installed? The Debian FAQ says that "Package A recommends Package B, if the package maintainer judges that most users would not want A without also having the functionality provided by B.". Then shouldn't the recommended packages always be installed by the network installer?
EDIT: The problem with trisquel-app-install (always says package list is not up to date, even after one has clicked on "reload" or whatever name the left button has in English, and fails to install anything) occurs in the VM for which "Trisquel Gnome environment" was selected in the installer but does not occur in the VM where gnome was installed by running "sudo apt install trisquel-gnome trisquel-gnome-recommended".
EDIT2: I started trisquel-app-install from a terminal. I says the list of apps is not up to date (although I just ran apt update in the terminal) and when I click on "reload" it crashes and the output is:
WARNING: can not get name for ''
WARNING: can not get name for ''
WARNING: can not get name for ''
WARNING: can not get name for ''
Traceback (most recent call last):
File "/usr/bin/trisquel-app-install", line 30, in
main()
File "/usr/lib/python3/dist-packages/AppInstall/activation.py", line 522, in main
app = AppInstallApp(options, style)
File "/usr/lib/python3/dist-packages/AppInstall/AppInstallApp.py", line 308, in __init__
self.reloadSources()
File "/usr/lib/python3/dist-packages/AppInstall/AppInstallApp.py", line 1082, in reloadSources
ret = self.install_backend.update()
File "/usr/lib/python3/dist-packages/AppInstall/backend/InstallBackendSynaptic.py", line 73, in update
return self._perform_action(self.UPDATE)
File "/usr/lib/python3/dist-packages/AppInstall/backend/InstallBackendSynaptic.py", line 62, in _perform_action
(self.window_main.get_window().get_xid(),
AttributeError: 'GdkWaylandWindow' object has no attribute 'get_xid'. Did you mean: 'get_width'?
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
with os.fdopen(os.open(pr_filename,
FileNotFoundError: [Errno 2] Aucun fichier ou dossier de ce type: '/var/crash/_usr_share_trisquel-app-install_trisquel-app-install.1000.crash'
Original exception was:
Traceback (most recent call last):
File "/usr/bin/trisquel-app-install", line 30, in
main()
File "/usr/lib/python3/dist-packages/AppInstall/activation.py", line 522, in main
app = AppInstallApp(options, style)
File "/usr/lib/python3/dist-packages/AppInstall/AppInstallApp.py", line 308, in __init__
self.reloadSources()
File "/usr/lib/python3/dist-packages/AppInstall/AppInstallApp.py", line 1082, in reloadSources
ret = self.install_backend.update()
File "/usr/lib/python3/dist-packages/AppInstall/backend/InstallBackendSynaptic.py", line 73, in update
return self._perform_action(self.UPDATE)
File "/usr/lib/python3/dist-packages/AppInstall/backend/InstallBackendSynaptic.py", line 62, in _perform_action
(self.window_main.get_window().get_xid(),
AttributeError: 'GdkWaylandWindow' object has no attribute 'get_xid'. Did you mean: 'get_width'?
Please note that not all apps have native support for wayland.
trisquel-app-install could easily be one of them.
So far I had no problem with trisquel-app-install on wayland in the VM in which I installed a console environment only and then ran "sudo apt install trisquel-gnome-recommended".
I'd like to determine the method I can recommend to install gnome on trisquel, but none of the methods give a proper result:
- install console first and then apt install: network setting is problematic for evolution, trisquel-app-install works fine, extensions is installed
- install console and trisquel gnome environment: evolution works fine, trisquel-app-install does not work, extensions is not installed
Do you see another way that might give a better result? Virtual machines are nice to test multiple options.
Using the netinstall, then at the tasksel choose Trisquel GNOME, I would argue, should be the recommended way.
Since you already have enough details, you might be able to help find out the underlying issue there.
I can walk you through it, more hands to fix issues would be of much help.
Regards