Error while Processing folder changes in 'Deleted Items'. database disk image is malformedJust delte the file! Evolution will re-create it. Source: https://mail.gnome.org/archives/evolution-list/2015-July/msg00209.html
Category Archives: Linux
Cannot connect to captive portal for WIFIonICE (Deutsche Bahn wifi) from Ubuntu
docker network ls
docker network rm xxxx
Check connections to ports
To check what connections to ports are open on your computer:
ss -tlnp
Output:
State Recv-Q Send-Q Local Address:Port Peer Address:Port
LISTEN 0 128 0.0.0.0:22 0.0.0.0:* users:(("sshd",pid=445,fd=3))
LISTEN 0 100 0.0.0.0:25 0.0.0.0:* users:(("master",pid=929,fd=13))
LISTEN 0 128 *:3306 *:* users:(("mysqld",pid=534,fd=30))
LISTEN 0 128 *:80 *:* users:(("apache2",pid=765,fd=4),("apache2",pid=764,fd=4),("apache2",pid=515,fd=4))
LISTEN 0 128 [::]:22 [::]:* users:(("sshd",pid=445,fd=4))
LISTEN 0 100 [::]:25 [::]:* users:(("master",pid=929,fd=14))
LISTEN 0 70 *:33060 *:* users:(("mysqld",pid=534,fd=33))
Invisible typing in scala console
When I start a scala console and type after the prompt, nothing is visible. This fixes the issue temporarily:
import sys.process._
"reset" !
This is a known issue for Ubuntu 18.04 and Scala 2.11 (see stackoverflow).
Disable graphical prompt for ssh passphrase
When I open a ssh session in the terminal, it asks for my passphrase in a graphical prompt window. That would be ok in theory. But I don’t know my passphrase. So I need to copy it from my password manager. And unfortunately the stupid window doesn’t allow me to access anything else. So, I wanted to disable it.
The usual way is with the environment variable SSH_ASKPASS
. To disable the graphical prompt, just remove the value of this variable:
unset SSH_ASKPASS
Unfortunately, in my case this did not work and I needed to remove also another variable:
unset SSH_AUTH_SOCK
Add shared Exchange calender to Evolution Mail
I just spent a lot of time searching, so I really need to make sure not to forget this. I want to see a colleague’s calendar. Everything is in Office 365, so I have no problem adding the calendar in the web interface. Naive me thought, this will cause Evolution Mail to show the calendar also. Nope.
I searched for a way to add a calendar in the calendar view of Evolution. With right click on the account or in some menu. Nope. I can add calendars for myself, but not get a colleague’s calendar. Of course. That would have been too easy!
So what does work? Thank you jldugger:
On the Mail view, right click your exchange account, select “Subscribe to folder of other EWS user.” Type in the name of the account you want, and choose “Calendar” from the dropdown.
For me “Free/Busy as Calendar” worked, “Calendar” did not.
Copy your pictures from iPhone with Linux
First, you will need to install iFuse
:
sudo apt install iFuse
Then, it is really simple:
1. Connect your iPhone with USB to your laptop.
2. Unlock your iPhone.
2. Run idevicepair pair
.
3. The phone will ask if you want to trust this computer, say yes.
3. Open the folder Dolphin/file browser. For me, I get a “open camera” notification that leads me to the picture folder in the file browser. You can also try camera://<id given by idevicepair>
or afc://<id given by idevicepair>
.
4. Copy the files!
When I did this, I had to reset the connection with idevicepair
a few times, but other than that it worked very well.
If this does not work for you, try this very thorough guide by Dedoimedo/Igor Ljubuncic: How to access iPhone (6s) with iOS 11 in Linux
Tree view in Nautilus on Ubuntu 18.04
Someone thought it a good idea to remove the settings dialogue in Nautilus. Whatever. Here is how to set “list view” as default and enable tree view:
gsettings set org.gnome.nautilus.preferences default-folder-viewer 'list-view'
gsettings set org.gnome.nautilus.list-view use-tree-view true
Change your encryption password for the hard disk
Changing your password for an already-encrypted hard-drive:
sudo cryptsetup luksChangeKey /dev/sdaX
(where X is the number of the drive you want to change)
The REAL internet is waiting!
Did you know, that you can be connected to the internet with a cable and still be in the wrong subnet? That’s what happened to me. I plugged in the cable and the internet worked. Or so I thought. Then I needed to download a file from a company internal location and the server was unreachable. But for my colleague it worked without problems. Mhm. Typo? My colleague sent me a link – no luck. DNS? I tried the IP directly – no luck. Restart? Advice from IT – but no luck.
After involving two more colleagues, we figured it out: There is a thing called 802.1x Security Authentication. Basically, after connecting to the internet, you still need to enter your user credentials to be allowed into the internal parts of the network. In my company’s case, they use PEAP. Apparently, Windows and Mac usually ask for the authentication automatically when connecting to a network that offers this method. Hence the advice by IT to restart. Well, Linux doesn’t ask. You need to know how to answer! When you know it, it’s easy: In Gnome activate the method under “Network Settings” – “Security”. You may need a certificate – ask your admins!
I learned something new today.