From deadsnakes at http://ppa.launchpad.net/deadsnakes/ppa/ubuntu the libpython3.9-stdlib depends on libmpdec2, but that is not available on 22.04 LTS (jammy) as far as I can tell, see https://packages.ubuntu.com/search?keywords=libmpdec2. The page displays that libmpdec2 is available for 18.04 LTS and 20.04 LTS. What is to do in this case?
Finn Årup Nielsen's questions
I am getting "LaTeX Error: File `tempora.sty' not found." I suppose a tex package needs to be installed. Which one?
I would like to synchronize Microsoft and Google calendars across multiple devices, particularly Ubuntu-based. I have managed to merge the two calendars from Microsoft Outlook and Gmail on an Android device with the Outlook app. However, I have not been able to synchronize the two calendars on the Ubuntu-based systems. I have tried various combinations: The web-based Microsoft Outlook, calendar.google.com, Thunderbird's calendar and gnome-calender.
It seem not possible to get the Microsoft Outlook calendar into the Google system as far as I can determine.
For the other way, I have added a calendar (Danish "Tilføj kalender") in the web-based Microsoft owa interface. I can import an unzip .ics exported from Google, but changes in Google Calendar is not reflected in the Microsoft calendar. I have tried adding a person in the Google calendar setting with my Microsoft-based email address, but this does not seems to be accepted. I have tried to add the https://calendar.google.com/calendar/u/0?cid=... link from the Google Calendar setting to the add calendar in the web-based Microsoft system. But in vain. I am unsure if the URL format in the Microsoft settings field is correct.
The gnome-calendar has the synchronized Google calendar. I have tried to add an "Microsoft Exchange Account" for the Microsoft calendar but this does not show up.
My Thunderbird's calendar has the Microsoft calendar. I have added the "https://calendar.google.com/calendar/u/0?cid=..." link to the "Location" field in the "Edit Calendar" setting, but the Google calendar does not show.
I wonder if I am missing a combination of settings or a plugin.
When I attempt to type in an email address in the "To:" field in Thunderbird, the program erases the first part of the email address when "@" is typed. For instance, if I want to type in "[email protected]", I write "person" and when I then press "@" I experience that "person" gets deleted.
I do not recall seeing that behavior before and I do not think I have changed any configurations. The Thunderbird version is 68.2.2.
I can write "@example.org" HOME "person" to get "[email protected]".
During distribution upgrade to Ubuntu 18.04 the process logs Rebuilding /usr/share/applications/bamf-2.index...
while "Searching for obsolete software" and a process called bionics
uses 100% CPU for half an hour or more. What is happening here? Is it building an index or stuck? How long should I wait? Can I stop or suspend the process?
A docx document in Libreoffice at one point got into an infinite loop where the status line flashed "saving document". I was not able to interrupt it. I managed to close the window and save to ODT, but certain objects was lost in that file format, - apparently.
I am wondering what made Libreoffice get into this infinite loop and whether there are any tricks to make it stop and save the document?
Besides "saving document", I see a popup window with "Error saving the document : General Error. General input/output error."
Update:
with $ journalctl --since="- 4 hours"
, I find the only libreoffice match to be:
Jul 08 23:03:38 <server> dbus-daemon[870]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.10713' (uid=1000 pid=415 comm="/usr/lib/libreoffice/program/soffice.bin <document>" label="unconfined")
I find that on Ubuntu 18.04 LTS my emacs 24.5.1 crashes when I copy-and-paste the Unicode symbol "⛔" (no entry) or when I open a file with that character.
I have not encountered another Unicode symbol that crashes emacs (but I haven't tried a broad range). Furthermore, neither vi nor gedit crashes with that character. Firefox also handles the character correctly.
The error message I get reads:
X protocol error: BadLength (poly request too large or internal Xlib length error) on protocol request 139
When compiled with GTK, Emacs cannot recover from X disconnects.
This is a GTK bug: https://bugzilla.gnome.org/show_bug.cgi?id=85715
For details, see etc/PROBLEMS.
(emacs:21722): GLib-WARNING **: 23:00:15.207: g_main_context_prepare() called recursively from within a source's check() or prepare() member.
(emacs:21762): GLib-WARNING **: 23:04:25.943: g_main_context_check() called recursively from within a source's check() or prepare() member.
Fatal error 6: Aborted
Backtrace:
emacs[0x501a83]
emacs[0x4e803e]
emacs[0x501ac3]
emacs[0x4bc7df]
emacs[0x4be8ac]
emacs[0x4be90b]
/usr/lib/x86_64-linux-gnu/libX11.so.6(_XError+0x11a)[0x7f07d410a8ba]
/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x3d7eb)[0x7f07d41077eb]
/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x3d895)[0x7f07d4107895]
/usr/lib/x86_64-linux-gnu/libX11.so.6(_XEventsQueued+0x55)[0x7f07d41081c5]
/usr/lib/x86_64-linux-gnu/libX11.so.6(XFlush+0x1a)[0x7f07d40e974a]
/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x5d10e)[0x7f07d412710e]
/usr/lib/x86_64-linux-gnu/libX11.so.6(XDestroyIC+0x12)[0x7f07d4115492]
emacs[0x4cd29c]
emacs[0x4c5f9c]
emacs[0x4c648b]
emacs[0x42583d]
emacs[0x4bc7a0]
emacs[0x4be8ac]
emacs[0x4be90b]
/usr/lib/x86_64-linux-gnu/libX11.so.6(_XError+0x11a)[0x7f07d410a8ba]
/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x3d7eb)[0x7f07d41077eb]
/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x3d895)[0x7f07d4107895]
/usr/lib/x86_64-linux-gnu/libX11.so.6(_XEventsQueued+0x55)[0x7f07d41081c5]
/usr/lib/x86_64-linux-gnu/libX11.so.6(XPending+0x5d)[0x7f07d40f9d3d]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x6808e)[0x7f07d592408e]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_prepare+0x1c8)[0x7f07d4870998]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4c36b)[0x7f07d487136b]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_pending+0x27)[0x7f07d48714f7]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_events_pending+0xd)[0x7f07d5de13fd]
emacs[0x4bc917]
emacs[0x4eeee9]
emacs[0x4f0565]
emacs[0x5bda65]
emacs[0x571b1c]
emacs[0x5bfe63]
emacs[0x5c0397]
emacs[0x5c0d23]
emacs[0x44106f]
emacs[0x4465f0]
emacs[0x44ab0a]
...
Aborted (core dumped)
Is this a bug that needs to be reported somewhere? Is there a workaround? I see there is a discussion at https://gitlab.gnome.org/GNOME/gtk/issues/221
How do I get a non-English spell checking in Thunderbird? In my case it is just Danish (apart from English) I want to have working.
I am in Ubuntu 14.04 LTS.
Following a solution at How do I get German language back in Thunderbird?, I have done sudo aptitude install thunderbird-locale-da
. I have also installed the Danish Language Pack (with "Download more dictionaries...") - and the dictionary is enabled. I have restarted Thunderbird.
During spell checking, I still do not see the Danish language in the drop-down menu. I only see English versions.
And BTW, I cannot even disable spell checking (thus the email editor is filled with curly underlining).
The baloo_file_extractor
process in Ubuntu 18.04 LTS takes up a lot of memory. top
reports 84.3% of my 15.6 GB, - and some 20% (more or less) of the CPU.
I do not even run KDE, - I am in a Gnome session.
I note that there has previously (in 2014) been a problem with baloo_file_extractor
, see How to keep Baloo running but with lower ressource consumption? But I suppose that is fixed. I do not have any external media mounted.
With Mayavi in Python 2.7.13 and Ubuntu 17.04 I get
>>> import mayavi.mlab
Qt: Session management error: Could not open network socket
>>> mayavi.mlab.text3d(0, 0, 0, 'Hello')
Segmentation fault (core dumped)
On the command-line prompt I get
$ mayavi2
Segmentation fault (core dumped)
I am using a pip-install version and tried:
sudo pip install --upgrade --force-reinstall mayavi
sudo pip install --upgrade --force-reinstall pyface
with strace mayavi2
the segmentation fault occurs near
open("/usr/lib/x86_64-linux-gnu/libQtCore.so.4", O_RDONLY|O_CLOEXEC) = 15
I suspect there is some kind of incompatibility here?
After dist-upgrade to 14.04 I get "You don't have permission to access /wiki/ on this server." for a MediaWiki installation with alias. /w/index.php
is also failing.
So far I have seen a difference in configuration between 12.04 and 14.04 and I did
cd /etc/apache2/sites-available
sudo ln -s ../sites-available/000-default.conf .
This fixed other problems, but not the MediaWiki problem.
When I start python in a new 14.04 LTS gnome-terminal it is 80 character wide:
$ python
>>> import os
>>> os.popen('stty size', 'r').read()
'24 80\n'
When I resize the gnome-terminal the new size is reported:
>>> os.popen('stty size', 'r').read()
'23 170\n'
However, the input python prompt does not see the resizing and begins to overwrite the beginning of the line when I write long lines:
nm> 1234567890qwertyuiopåasdfghjklæøzxcvbnm1234567890qwertyuiopåasdfghjklæøzxcvb
Here 'nm' is wrapped.
A reset from the menu of the gnome-terminal does not help. Is there a way to inform the python interpreter that the window is resized?
I got an email in my spamfilter with an attached Microsoft Word document. How can I view that file securely on Ubuntu. The 'from' email header shows that it is from a copy machine, but it could very well be spoofed. I cannot see the full header in the spamfilter email/webservice, so the file may be genuine or trojan.
I have downloaded the file and used file
and strings
, which I suppose are usually ok (Update: Not even strings
may be ok. There has been vulnerabilities associated with the program, see http://www.ubuntu.com/usn/usn-2496-1/). I suppose that Libreoffice would also generally be ok to use for opening the file as any trojan would likely be targeting vulnerabilities in Microsoft Windows rather than Ubuntu Libreoffice?
What other possibilities are there? Would I need to spin up a virtual machine?
Before I posted this question I came up with another idea: sha256sum
and Google. This leads to a positive identification as malware: https://www.virustotal.com/en/file/003837a453ab7dd0dda51804f4208b10009dc33a9a909e9689b82a1b993deea1/analysis/1454322062/
I am, however, still interested in safe ways to handle such documents.
Firefox does not play YouTube HTML5 videos for me. There seems to be no way for me to make them start. They to not autostart and the lower left button (the triangle) does not start the video. The video seems to download alright.
I have tried disabling extensions, starting withfirefox -P
and selecting a fresh profile. I have edited with about:config
so that https://www.youtube.com/html5 displays HTMLVideoElement, H.264, WebM VP8, Media Source Extension, MSE & H.264 and MSE & WebM VP9 as all enabled and the page show that the HTML5 play is used when possible.
Epiphany neither works. Previous Flash-based playback worked.
In Ubuntu 12.04, when I login through lightdm
, a "ghost" window appears. This window does not show any content. Instead it flickers its borders and move down vertically.
When I xprop
it, it reports to be WM_CLASS(STRING) = "gnome-settings-daemon", "Gnome-settings-daemon"
.
I can get rid of the flickering ghost window by twice killing it:
killall -9 gnome-settings-daemon
killall -9 gnome-settings-daemon
This stops the flickering window.
Restarting gnome-settings-daemon
from the terminal I do not get a flickering window, but my .xsession-errors
file reports:
failed to create drawable
compiz (core) - Warn: glXCreatePixmap failed
compiz (core) - Warn: Couldn't bind background pixmap 0x3e00001 to texture
compiz (decor) - Warn: failed to bind pixmap to texture
Previous errors in .xsession-errors
are:
compiz (decor) - Warn: failed to bind pixmap to texture
compiz (opengl) - Info: Couldn't bind redirected window 0xa0000b to texture
What is happening?
Is there any means to record sound and video from the webcam and microphone while jack is operating?
Cheese stops recording when I start jack.
VLC can output in jack and apparently record sound with jack (with "JACK Audio Connection Kit" in "Capture mode"), but I do not know if it can record jack sound and video on the same time (the "Video for Linux 2" just suggests the "hw:0,0" option).
With guvcview I see "HDA Intel...", "pulse" and "default" as options in "Input Device" under Audio without jack, but I have had no luck with jack.
I would like to remotely reboot my Ubuntu 12.04 LTS server via ssh. I do sudo reboot
and I loose connection and the server connection does not reappear. It does not ping.
When I go the the physical computer with a screen attached I see a black screen and hear that the server is still on. I do a hard power off (press power on button for a few seconds) and the server halts. After I press power on the server boots with no problem.
As far as I remember the remote reboot has previously worked on that server.
I wonder if sudo reboot &
will help? I suppose I could also try sudo shutdown -r
and see if that does any difference.
I have listed an excerpt of /etc/log/syslog
below. The last thing it records is the stopping of the logging.
Oct 24 10:14:49 servername kernel: [1354427.594709] init: cron main process (1060) killed by TERM signal
Oct 24 10:14:49 servername kernel: [1354427.594908] init: irqbalance main process (1080) killed by TERM signal
Oct 24 10:14:49 servername kernel: [1354427.595299] init: tty1 main process (1424) killed by TERM signal
Oct 24 10:14:49 servername kernel: [1354427.637747] init: plymouth-upstart-bridge main process (20873) terminated with status 1
Oct 24 10:14:49 servername kernel: Kernel logging (proc) stopped.
Oct 24 10:14:49 servername rsyslogd: [origin software="rsyslogd" swVersion="5.8.6" x-pid="876" x-info="http://www.rsyslog.com"] exiting on signal 15.
Oct 24 10:25:34 servername kernel: imklog 5.8.6, log source = /proc/kmsg started.
Oct 24 10:25:34 servername rsyslogd: [origin software="rsyslogd" swVersion="5.8.6" x-pid="862" x-info="http://www.rsyslog.com"] start