I'm wondering whether there is a way to turn the mouse pointer into a laser pointer, preferrably a thick red dot with a fading trail, e.g. for a screen-sharing session with slides in LibreImpress or a PDF opened in some viewer. Ideally, this feature would be application-independent, a GNOME or X feature so to say. This LibreImpress-specific option is not quite what I'm looking for. Also GNOME Tweaks does AFAIK not allow me to do this. Thanks for hints to a potential solution.
Mario's questions
Despite the plan to include OpenBoard in the Ubuntu 19.10 repository, I was unable to find that package in the repositories. Also, the packages and instructions available on OpenBoard's websites are for Ubuntu 18.04 and older.
I tried the instructions (on Ubuntu 19.10) and get the following output when building OpenBoard (everything else seems to work except for a few warnings):
qmake OpenBoard.pro -spec linux-g++ Info: creating stash file ...openboard/OpenBoard/.qmake.stash sh: 1: Syntax error: "&" unexpected sh: 1: Syntax error: "&" unexpected sh: 1: Syntax error: "&" unexpected ... make make -f Makefile.Release make[1]: Entering directory '...openboard/OpenBoard' /usr/lib/qt5/bin/uic src/web/browser/downloaditem.ui -o build/linux/release/ui/ui_downloaditem.h /usr/lib/qt5/bin/uic src/web/browser/downloads.ui -o build/linux/release/ui/ui_downloads.h /usr/lib/qt5/bin/uic src/web/browser/passworddialog.ui -o build/linux/release/ui/ui_passworddialog.h /usr/lib/qt5/bin/uic src/web/browser/proxy.ui -o build/linux/release/ui/ui_proxy.h /usr/lib/qt5/bin/uic resources/forms/mainWindow.ui -o build/linux/release/ui/ui_mainWindow.h /usr/lib/qt5/bin/uic resources/forms/preferences.ui -o build/linux/release/ui/ui_preferences.h /usr/lib/qt5/bin/uic resources/forms/brushProperties.ui -o build/linux/release/ui/ui_brushProperties.h /usr/lib/qt5/bin/uic resources/forms/documents.ui -o build/linux/release/ui/ui_documents.h /usr/lib/qt5/bin/uic resources/forms/blackoutWidget.ui -o build/linux/release/ui/ui_blackoutWidget.h make[1]: *** No rule to make target 'QtWebKit/QWebView', needed by 'build/linux/release/ui/ui_trapFlash.h'. Stop. make[1]: Leaving directory '...openboard/OpenBoard' make: *** [Makefile:42: release] Error 2
So, has anyone managed to install/compile/get a package of OpenBoard on/for Ubuntu 19.04/19.10 and newer? Thanks.
I have lately installed Ubuntu 19.10 and wanted to connect to the printing services on a local network, shared for linux users via SAMBA. While this worked flawlessly with 18.04/18.10, it's stopped to work for me. On journalctl -r
, I get the following error (parameters obfuscated) when pressing the Verify button in the Printer Properties dialogue:
gnome-control-center.desktop: Kinit for user@DOMAIN to access SERVER failed: Cannot contact any KDC for requested realm
gnome-control-center.desktop: Caught non-fatal exception. Traceback:
gnome-control-center.desktop: File "/usr/share/system-config-printer/newprinter.py", line 2861, in on_btnSMBVerify_clicked
gnome-control-center.desktop: os.O_RDWR, 0o777)
gnome-control-center.desktop: smbc.PermissionError: (13, 'Permission denied')
gnome-control-center.desktop: Continuing anyway..
Also, I repeatedly get a notification requesting SAMBA credentials when printing the test page (the queue lists the job as "held for authentication"). The latter might be because my credentials don't seem to be saved in the Printer Properties as long as their verification fails.
Although that problem seems to be somewhat older, I tried this recent recommendation from the Debian bug mailing list, suggesting to switch off Kerberos by altering the corresponding Python script. Please, read the details how to do this there. However, after doing this I get another error:
gnome-control-center.desktop: Caught non-fatal exception. Traceback:
gnome-control-center.desktop: File "/usr/share/system-config-printer/newprinter.py", line 2861, in on_btnSMBVerify_clicked
gnome-control-center.desktop: os.O_RDWR, 0o777)
gnome-control-center.desktop: smbc.NoEntryError: (2, 'No such file or directory')
gnome-control-center.desktop: Continuing anyway..
Hope to get some help.
I am on Ubuntu 19.10 with a RTL8153 USB-C ethernet adapter built into a DA200 (dock/cable) adapter connected via Thunderbolt 3 to a Dell Latitute 7300 machine (with UEFI secure boot if that matters).
My current approach is to get an 802.1X wired connection to run via NetworkManager (which, I assume, uses dhclient behind the curtains). However, the settings I use currently fail in obtaining an IP address robustly.
uname -r: 5.3.0-26-generic
/
linux-firmware: 1.183.3
lsusb: Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
ip link: myif: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000 link/ether <mac> brd ...
Because NetworkManager is not properly working for me out of the "19.10" box, I started using dhclient
directly, with mediocre success. However,
now I am getting these strange errors (copied from journalctl -f
) when trying to establish a connection with sudo dhclient -v myif
:
dhclient: DHCPDISCOVER on myif to 255.255.255.255 port 67 interval 17 (xid=0xfeee5e2c)
dhclient: send_packet: No such device or address
dhclient: dhclient.c:2569: Failed to send 300 byte long packet over myif interface.
kernel: r8152 4-1.1:1.0 myif: Tx status -71
I can also see
kernel: r8152 4-1.1:1.0 xxx: Tx status -71
systemd-resolved: Failed to send hostname reply: Invalid argument
kernel: r8152 4-1.1:1.0 xxx: Tx status -71
and tons of repetitions.
First, I got it to work but only for until next login or for a couple of minutes. I have spent a few hours in reading forums and issue reports, and tried around. Also switching NetworkManager.conf from managed=false
to true
doesn't change anything.
Update 1: When first asking this question, I thought only the wired interface was affected and only in a particular setting. But then I realized that the speed varies and both interfaces wireless and wired are affected. When I found that fairly recent issue report, suggesting that the Kernel 5 (also used in 18.04.3) might be the problem, I stopped trying around with NM. Has anybody an idea whether I can get around installing Kernel 4 and risking not being able to use other recent HW features?
Update 2:
I have now tested the described hardware setting under Windows 10 (Oct'19) with the result that both wifi/ethernet work out of the box with both the genuine W10 driver and the latest Realtek GBE Ethernet driver available from Dell (Dec'19). It appears as if there is something strange going on with the Realtek linux kernel module r8152
operating the DA200 USB-C dock/dongle via the Thunderbolt 3 (TB3) socket. My machine is currently running on the TB3 firmware v40.3. My attempt to update the TB3 firmware to Dell's latest (v44) under W10 was unsuccessful. After updating to the newest BIOS (1.6.1, as indicated here), switching to BIOS factory settings, updating to Dell's newest TB3 Application and TB3 Driver, Dell's Firmware installer (Dec'19, Intel_TBT3_FW_UPDATE_NVM44_Y9HXJ_A02_4.44.118.001
) keeps freezing Windows, forcing a hard reboot. I tried to find corresponding instructions/issue reports with no success, except for a note that for certain firmware versions one has to have a TB device plugged in, and I don't have one (DA200 is afaik not a TB but a USB-C device). Anyway, that leaves me unable to check whether the latest TB3 firmware fixes the issue with Kernel 5 and r8152 module respectively. Sidenote: Switching back to Kernel 4.17 didn't change anything either.
Update 3: Good news, switching off SMM Security Mitigation
in the BIOS allowed me to update to TB3 firmware v44. Bad news, it doesn't seem to change anything with the Realtek networking issue. So, it must be something different.
Recently, trying to use NetBeans 10 in Ubuntu 18.04 and it showed an error message at start:
Activation failed: StandardModule:org.netbeans.modules.db jarFile:
/usr/share/netbeans/10.0/ide/modules/org-netbeans-modules-db.jar:
java.lang.UnsupportedClassVersionError:
org/netbeans/lib/ddl/DBConnection has been compiled by a more recent version of the Java Runtime (class file version 55.0),
this version of the Java Runtime only recognizes class file versions up to 54.0
I tried to run NetBeans with OpenJDK 8 and OpenJDK 11, but I can't seem to get rid of this error. I didn't find helpful hints, just for older NetBeans versions and they don't really work.
After deactivating the corresponding module, NB starts but shows a "Unexpected Exception" in the logs:
java.lang.IllegalStateException:
Cannot call getCompilationUnit() if current phase < JavaSource.Phase.PARSED.
You must call toPhase(Phase.PARSED) first.
at org.netbeans.modules.java.source.parsing.CompilationInfoImpl.getCompilationUnit(Unknown Source)
at org.netbeans.api.java.source.CompilationInfo.getCompilationUnit(Unknown Source)
at org.netbeans.modules.java.JavaNode$IconTask$SourceIcon$1.run(Unknown Source)
at org.netbeans.modules.java.JavaNode$IconTask$SourceIcon$1.run(Unknown Source)
at org.netbeans.api.java.source.JavaSource$MultiTask.run(Unknown Source)
at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(Unknown Source)
at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(Unknown Source)
at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(Unknown Source)
at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(Unknown Source)
at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(Unknown Source)
at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(Unknown Source)
at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(Unknown Source)
at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(Unknown Source)
at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Unknown Source)
at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(Unknown Source)
at org.netbeans.modules.parsing.api.ParserManager.parse(Unknown Source)
at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(Unknown Source)
at org.netbeans.api.java.source.JavaSource.runUserActionTask(Unknown Source)
at org.netbeans.modules.java.JavaNode$IconTask$SourceIcon.computeIcon(Unknown Source)
at org.netbeans.modules.java.JavaNode$IconTask.run(Unknown Source)
at org.openide.util.RequestProcessor$Task.run(Unknown Source)
at org.netbeans.modules.openide.util.GlobalLookup.execute(Unknown Source) [catch]
at org.openide.util.lookup.Lookups.executeWith(Unknown Source)
at org.openide.util.RequestProcessor$Processor.run(Unknown Source)
This exception is different from that one.
Most annoyingly, the Navigator does not work anymore. Both of the latter errors might be side effects of these exceptions but I am not sure. This bug has been reported for Debian.
I also tried that installation guide: I updated JAVA_HOME
in /etc/environment
to
JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64/bin/java"
It works better but I still get loads of NullPointerExceptions when NetBeans parses the code.
I am not shown the "Open with ..." tab in Files or the "Set as default ..." button anymore. This seems to be gone due to a UI change and there is an issue registered at Launchpad.
I know that tools like Ubuntu Tweak have offered such functionality in the past (it is mentioned as a solution in similar questions) but afaik Ubuntu Tweak is no more supported (i.e. not in the repo). One can use mimeopen
to adjust this from the command line. And, there is a relatively complicated but generic workaround.
However, I am looking for a GUI-based way and without installing extra packages not in the default Ubuntu repos. Thanks for help!
A few days ago, I started getting the following error when performing apt-get update
:
E: Repository 'http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease' changed its 'Label' value from 'Oracle Java (JDK) 8 / 9 Installer PPA' to 'Oracle Java (JDK) 8 Installer PPA'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
According to WebUpd8, that, that, that, and that page, I don't seem to need a key for this (anymore).
If I remove the key
/etc/apt/trusted.gpg.d/webupd8team_ubuntu_java.gpg
pub rsa1024 2010-05-04 [SC]
7B2C 3B08 89BF 5709 A105 D03A C251 8248 EEA1 4886
uid [ unknown] Launchpad VLC
with apt-key del
, I (obviously) get
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2518248EEA14886
Thanks for any further help with this.
After my recent upgrade (per new install) to Ubuntu 18.04, I have started having quite some troubles with my tool chain (Emacs, Lualatex, Evince). I am using forward/backward search to approximate WYSIWYG LaTeX editing.
Evince has started to crash on recompiling/updating LuaLaTeX. Then I tried zathura (another PDF viewer) instead, and after a view tries, similar crashes happen with zathura as well. Zathura after a while cannot even be started anymore by the commands Emacs issues to control zathura.
I am using Ubuntu 18.04 and the corresponding emacs, evince, and zathura packages as well as some "standard" emacs extensions from the ubuntu package repository.
The relevant portion of my .emacs:
(package-initialize)
(add-to-list 'load-path "~/.emacs.d/lisp/")
(add-hook 'text-mode-hook 'electric-pair-mode)
(add-hook 'text-mode-hook 'show-paren-mode)
(add-hook 'text-mode-hook 'turn-on-auto-fill)
(add-hook 'TeX-mode-hook 'outline-minor-mode)
(setq TeX-auto-save t)
(setq TeX-parse-self t)
(setq-default TeX-master nil)
(add-hook 'LaTeX-mode-hook 'flyspell-mode)
(add-hook 'LaTeX-mode-hook 'LaTeX-math-mode)
(add-hook 'LaTeX-mode-hook 'turn-on-reftex)
(setq reftex-plug-into-AUCTeX t)
(add-hook 'LaTeX-mode-hook 'company-mode)
(add-hook 'LaTeX-mode-hook 'TeX-source-correlate-mode)
(setq TeX-source-correlate-method 'synctex)
(setq TeX-source-correlate-start-server t)
(add-hook 'LaTeX-mode-hook 'TeX-PDF-mode)
(setq TeX-view-program-selection '((output-pdf "Zathura")))
Emacs generates the following call:
zathura file.pdf --synctex-forward 200:0:sometexinclude.tex -x "emacsclient
+%{line} %{input}"
Called like this, zathura (I do not use a zathura config file) exhibits the following:
zsh: segmentation fault (core dumped) zathura file.pdf
--synctex-forward 200:0:sometexinclude.tex -x
Evince also crashes with SIGSEGV which leads me to believe that is a problem independent of the viewers.
The last thing I found out is that taking away the synctex.gz file makes it possible to start zathura and view the pdf output. But this is of course no desirable solution. However, I was not able to quickly find out how to find the core dump and make it human readable in this case. (That might exceed the scope of my problem.)
A description of that issue occurring with large documents in an OS X setting is described here: For me, it also happens more often the longer (60+ pages) the documents are, however, in my case under Linux.
Hope to get some help? (Should I transfer/share this question to/with the emacs community?)