The proposed solution to Firefox's certificate expiration issue won't work on Debian because data reporting is disabled for Debian builds of Firefox. A workaround mentioned in passing here appears to have worked for me.
The workaround consists of visiting https://storage.googleapis.com/moz-fx-normandy-prod-addons/extensions/hotfix-update-xpi-intermediate%40mozilla.com-1.0.2-signed.xpi directly and allowing Firefox to install the xpi file.
Drive carefully. Your mileage may vary
Showing posts with label fix. Show all posts
Showing posts with label fix. Show all posts
May 04, 2019
September 11, 2018
Solving "device not managed" for Ethernet connections in Network Manager
At some point or another, Network Manager in Debian sid stopped managing my Ethernet connection. The source of the issue is
The
Source
/etc/NetworkManager/NetworkManager.conf: [main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
The
[ifupdown] clause seems to be telling NM not to do it. The solution is to turn the frown upside down, but doing so in NetworkManager.conf means the setting will likely be clobbered the next time NM is updated. The solution to that is to create a file in in conf.d named 10-globally-managed-devices.conf. NM upgrades should leave custom files in conf.d alone.Source
August 06, 2018
The new su PATH behavior
The
The fix to this is that you now have to append a dash to the command:
whether this impacts if
su command that's now being packaged with Debian sid has significant change in behavior. In the past, when you did an:
$ su
the PATH would get set to root's PATH. Now, it remains the user's path:
$ su
Password:
# echo $PATH
/home/mithat/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin
This means you won't pick up /usr/sbin where a lot of commands you'd typically use with root privileges live.The fix to this is that you now have to append a dash to the command:
$ su -
Password:
# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
I don't know gksu orsudo and/or gksudo are affected. gksu is affected as well, but with gksu there doesn't appear to be a way to get back to the old behavior.
January 12, 2018
Fixing Skype for Linux scaling
After a long hiatus from (actually a deliberate avoidance of) Skype, I need to install it again -- at least temporarily. And the latest version of Skype for Linux is appears to be an Electron app, which means its scaling on my non-standard 118 dpi screen is seriously wonky.
The typical fix for this with Chrome/Chromium and Electron apps is to pass the
The typical fix for this with Chrome/Chromium and Electron apps is to pass the
--force-device-scale-factor option to the executable. Applying this option to Skype works as well, but you need to dig a bit to find where to add it. I ended up modifying /usr/bin/skypeforlinux so the last line reads:nnohup "$SKYPE_PATH" --force-device-scale-factor --executed-from="$(pwd)" --pid=$$ "$@" > "$SKYPE_LOGS/skype-startup.log" 2>&1 &
October 25, 2016
Fixing PackageKit authentication in Debian sid under Xfce
Today after updating stuff, my
Reinstalling stuff didn't help.
Further sleuthing revealed that the PolicyKit Authentication agent entry in Xfce's Session and Startup was pointing to a (now) nonexistent file:
So here's what I did to kludge a fix:
I could have added a custom entry into my Xfce autostarts that pointed to the correct file, but that wouldn't have addressed the second issue of
To undo the changes once/if the problem is better sorted, all I need to do is delete
pkexec commands (e.g., synaptic-pkexec) stopped working. I don't know whether this was caused by something I inadvertently did that borked things or whether it's a bug in Debian sid. I figured out that the root of the problem (no pun intended) is that a policy authentication agent was no longer loading on login -- in spite of policykit-1-gnome being installed and the entry for PolicyKit Authentication agent being checked in Xfce's Session and Startup autostarts.Reinstalling stuff didn't help.
Further sleuthing revealed that the PolicyKit Authentication agent entry in Xfce's Session and Startup was pointing to a (now) nonexistent file:
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1. Further examination revealed that the file /etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop installed by policykit-1-gnome also was pointing to the same nonexistent file.So here's what I did to kludge a fix:
- Created a new directory
/usr/lib/policykit-1-gnome - Added a link from
/usr/lib/x86_64-linux-gnu/polkit-gnome-authentication-agent-1to/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1.
I could have added a custom entry into my Xfce autostarts that pointed to the correct file, but that wouldn't have addressed the second issue of
/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop pointing to phantoms.To undo the changes once/if the problem is better sorted, all I need to do is delete
/usr/lib/policykit-1-gnome.May 01, 2016
Adding "Run" options to Thunar
Clicking on executable shell files no longer executes them in Thunar.
While there is a hidden option to revert to the old behavior, I decided in a new install to instead add right menu "Run" and "Run in terminal" custom actions. First create the custom actions from within Thunar to get valid
While there is a hidden option to revert to the old behavior, I decided in a new install to instead add right menu "Run" and "Run in terminal" custom actions. First create the custom actions from within Thunar to get valid
unique-ids, and then open ~/.config/Thunar/uca.xml and edit the entries as needed:<action> <icon>system-run</icon> <name>Run</name> <unique-id>xxxxxxxxxxxxxxxx-x</unique-id> <command>exec ./'%n'</command> <description>Execute this file</description> <patterns>*</patterns> <other-files/> <text-files/> </action> <action> <icon>xterm-color</icon> <name>Run in terminal</name> <unique-id>yyyyyyyyyyyyyyyy-y</unique-id> <command>xterm -T '%n' -e "./'%n'; echo ''; read -p 'Press <Enter> to close...'"</command> <description>Execute this file in a terminal</description> <patterns>*</patterns> <other-files/> <text-files/> </action>
April 25, 2016
Fixing Debian sid touchpad with libinput
A recent sid update brought in Xorg's
One of the issues I had after the update was that my touchpad's tap-to-click stopped working. I fixed this using the info on this Stack Exchange post, namely I created a file
Note the different location from the one in the post. I also disabled the old
Apparently, Petter Hutterer has a post that goes into detail regarding what you can do with
Update (later the same day): With the above changes, my touchpad still had behavioral problems. I'll return to this later, but for now I re-enabled
libinput package, which appears to make the old way of configuring touchpads (including synclient) obsolete.One of the issues I had after the update was that my touchpad's tap-to-click stopped working. I fixed this using the info on this Stack Exchange post, namely I created a file
/usr/share/X11/xorg.conf.d/10-touchpad.conf containing:Section "InputClass"
Identifier "MyTouchpad"
MatchIsTouchpad "on"
Driver "libinput"
Option "Tapping" "on"
EndSection
Note the different location from the one in the post. I also disabled the old
50-synaptics.conf, 50-vmmouse.conf, and 51-synaptics-aptosid.conf files (the latter two present possibly only in aptosid).Apparently, Petter Hutterer has a post that goes into detail regarding what you can do with
libinput, but I've not yet had time to read it.Update (later the same day): With the above changes, my touchpad still had behavioral problems. I'll return to this later, but for now I re-enabled
50-synaptics.conf, 50-vmmouse.conf, and 51-synaptics-aptosid.conf and purged xserver-xorg-input-libinput (which removed xserver-xorg-input-all).
October 03, 2015
Broken Netbeans C++ code completion in Debian sid
When I use the workaround I wrote about for Netbeans crashing on startup in Debian sid, I notice that some C++ code completion doesn't work as
expected. In several classes I've tried writing, code completion isn't
picking up stuff declared in the header file.
When I use a copy of Oracle Java downloaded just for NB (i.e.,
Whether this is a different or related bug I can't say, but I thought it worth mentioning in case anyone else is having the same problem.
When I use a copy of Oracle Java downloaded just for NB (i.e.,
netbeans_jdkhome="/home/me/opt/oracle-java/jre1.8" in /home/me/opt/netbeans/etc/netbeans.conf), things work as expected.Whether this is a different or related bug I can't say, but I thought it worth mentioning in case anyone else is having the same problem.
September 16, 2015
Workaround for Netbeans crashing in Debian sid
A short while ago, my local install of Netbeans 8.0.2 started refusing to start with OpenJDK on my aptosid box. I got around the problem by downloading Oracle Java and pointing Netbeans at that via my
Today I found Debian bug #798924 that suggests a workaround that allows using OpenJDK. In
So far so good.
netbeans.conf:
...
# netbeans_jdkhome="/usr/lib/jvm/default-java"
netbeans_jdkhome="/home/mithat/opt/oracle-java/jre1.8"
...
Today I found Debian bug #798924 that suggests a workaround that allows using OpenJDK. In
/etc/java-7-openjdk/accessibility.properties, comment out the line:assistive_technologies=org.GNOME.Accessibility.AtkWrapperSo far so good.
August 21, 2015
Fixing Qt5 themes in Xfce
A lot of my Qt apps (e.g., qpdfview, VLC) recently stopped respecting my GTK theme. I did some checking, and it turns out they are all Qt5 apps. Google led me to the QT5 apps don't obey GTK theme settings post at the Manjaro Linux forum, which has some interesting things to say (generally applicable to all distributions).
What I eventually did was add:
to the end of my my .profile, logout and log back in. Works now.
What I eventually did was add:
# Workaround for Qt5 app theming.
export QT_STYLE_OVERRIDE=gtkto the end of my my .profile, logout and log back in. Works now.
Subscribe to:
Posts (Atom)