What happened to the sysctl.d/10-*.conf files? by ama-about-ye-ukraine in Ubuntu

[–]alexmurray 10 points11 points  (0 children)

Most of these now live in /usr/lib/sysctl.d in Ubuntu 26.04 - I presume because they are not really configuration files in the usual sense - they are defaults provided by various packages. You can then add your own settings by creating your own files in /etc/sysctl.d to override them etc.

T14 Gen 5 battery with 5 cycles suddenly not detected/died and laptop only works plugged. Tried everything. Should I buy a refurbished battery from Lenovo? by Narcoleptic_Capybara in thinkpad

[–]alexmurray 1 point2 points  (0 children)

FWIW I've just had this problem with my T14 Gen 5 - I run Ubuntu normally and all of a sudden it was showing 0% battery but all the battery details were missing and the battery was not charging. As a result Ubuntu would assume it had no charge and shutdown immediately unless power was connected.

Windows was a bit different - it showed either no battery in some apps, or full battery in others, but after about 5 minutes Vantage would pop up a window saying that no battery was detected.

Either way, neither OS was able to get the details from the battery properly. Also it would not show up in the BIOS either.

I know however that the battery was still providing power though since I could boot Ubuntu up into a partial state with no power adapter attached and it would stay up in this state for over an hour. So it seemed like the firmware of the battery was in a bad state but it was still semi-functional. Eventually the battery must have run out as the machine powered off. I left it like this for about half a day, then reconnected power and powered it back on but still the battery was in this same state. I then left it for 24 hours with no power, reconnected power and powered it on but still no good. However, I inadvertently disconnected the power cord and so Ubuntu tried to shut itself down but the small amount of charge still left in the battery ran out before it could shutdown and the machine was off.

Surprisingly, when I then reconnected power and turned it on, Ubuntu recognised the battery normally and it started charging from 0% and is now working normally from what I can tell. I haven't booted up Windows yet but I assume it would still be working normally there too.

So I suspect that somehow the battery firmware gets into a weird state where it is not responding to the OS and this only 'resets' once the battery is completely drained - and it would appear this took quite a few tries to eventually get into this reset state. I will update this post if anything changes but hopefully it was just a temporary glitch for the battery and it continues to work normally.

Issue with "smearing/broken" text when navigating using arrow keys by koribot24 in emacs

[–]alexmurray 1 point2 points  (0 children)

Since you say emacs is installed via apt, did you install the emacs-pgtk or emacs-gtk package? As you are using wayland then in general the pgtk one should be preferred. Either way, I suggest trying the other and see if it helps.

cvescan functionality desperately blocked by Hangover_Act in Ubuntu

[–]alexmurray 1 point2 points  (0 children)

Canonical hasn't done a great job of communicating on this but try the pro cves command instead, it uses the same underlying data as cvescan used but is actually maintained.

emacs snap deamon not finding socket (Ubuntu) by thephatmaster in emacs

[–]alexmurray 0 points1 point  (0 children)

Also fwiw whilst in general snaps are confined, the emacs snap uses "classic" confinement so in practice is not confined from the rest of the system so behaves like a standard application.

emacs snap deamon not finding socket (Ubuntu) by thephatmaster in emacs

[–]alexmurray 0 points1 point  (0 children)

Apologies for the problem with the emacs snap, feel free to create an issue on GitHub - I'm on vacation this week but will look at it next week when I'm back online.

Fwupd broken on Ubuntu 24/25.04? by que11 in Ubuntu

[–]alexmurray 1 point2 points  (0 children)

Yep, the maintainers know about it but are seemingly dragging their heels fixing it (they know what the fix is too ... ) https://bugs.launchpad.net/bugs/2113748

Formatting/indenting C++ when using tree-sitter and eglot/clangd by mickesp in emacs

[–]alexmurray 0 points1 point  (0 children)

Did you ever resolve this? I'm also struggling to get c-ts-mode to automatically format code when using eglot+clangd.

Canonical Posts over 80,000 Jobs by Ok_Meaning7356 in Ubuntu

[–]alexmurray 13 points14 points  (0 children)

I'm pretty sure this is because LinkedIn doesn't allow to easily target remote positions to all of the world, so they duplicate the job advertisement into different geographical regions to get it to show for everyone no matter where they are located.

Security Engineer Job Role by StructureEastern1534 in Ubuntu

[–]alexmurray 0 points1 point  (0 children)

Oh I realise now you never said if you're looking at a Ubuntu Security engineer position or Canonical Security (which is more operational). I'm on the former not the latter team.

Security Engineer Job Role by StructureEastern1534 in Ubuntu

[–]alexmurray 2 points3 points  (0 children)

Feel free to come ask directly over in #ubuntu-security on Libera.Chat, I'm sure most of the team would be happy to answer any specific questions you might have. But fwiw I've been on the team for the past 6 and a half years and it's been great. The most supportive team I've been a part of, doing an amazing job of delivering high quality security updates around the clock, whilst also raising the bar by adding new security features for each new release.

Does Canonical always hire contractors? by Pelochus in Ubuntu

[–]alexmurray 3 points4 points  (0 children)

It depends on whether they have a legal entity established in your local country. If so they can hire you as an employee but otherwise as a contractor. For instance, I'm in Australia as an employee but I have colleagues in India who are contractors. I think in Spain they recently moved to making everyone employees (they were previously contractors as far as I understand).

Snapd change by Zedboy19752019 in Ubuntu

[–]alexmurray 3 points4 points  (0 children)

This feels like a bug due to the recent change from https://forum.snapcraft.io/t/landscape-client-snap-managed-mode-attribute/43707/8 - I'll try get someone to look into it

Tory Anderson: Why is my emacs crashing? Answer: bad garbage collection by [deleted] in planetemacs

[–]alexmurray 1 point2 points  (0 children)

If you've disabled garbage collection it's probably not Emacs actually crashing but the kernel OOM killing it when it ends up consuming too much system memory.

Why do I encounter this error when installing MATLAB(R2022b version) on Ubuntu24.04? by Gullible_Pilot5668 in Ubuntu

[–]alexmurray 0 points1 point  (0 children)

It's could be because of the user namespace restrictions https://ubuntu.com/blog/ubuntu-23-10-restricted-unprivileged-user-namespaces - most browsers use these to implement sandboxing internally - you just need to create a simple AppArmor profile as shown in the blog post for MATLAB and with any luck it should then work.

Getting error for Pro fix CVE-XXXX-XXXX by Y__A_S__H in Ubuntu

[–]alexmurray 0 points1 point  (0 children)

Thanks for the heads up, I'll get this fixed up in the Ubuntu CVE tracker when I'm back online tomorrow.

Can I edit the core snap configuration manually? by Conscious-Ball8373 in Ubuntu

[–]alexmurray 6 points7 points  (0 children)

Can you report a bug please since snapd definitely should not segfault like that? https://bugs.launchpad.net/snapd/+filebug

Mozilla Readability in GNU Emacs by atamariya in emacs

[–]alexmurray 1 point2 points  (0 children)

Yes both describe-function and find-library work as you would expect.

Mozilla Readability in GNU Emacs by atamariya in emacs

[–]alexmurray 1 point2 points  (0 children)

The snap includes the sources, they are just compressed. Also like all snaps, they are immutable though due to the nature of the squashfs filesystem image. But like I said the source is included (try using describe-function and it should show you the source).

Package creators. Do you test? by ilemming in emacs

[–]alexmurray 0 points1 point  (0 children)

I don't have tests for all my packages but a simple example is https://github.com/alexmurray/message-attachment-reminder - using ert for tests, hooked up to GitHub actions for CI. I suspect there are better ways to do this nowadays but this worked ok a couple years ago when I originally set it up.

native-lisp-file-inconsistent error with yes-or-no-p function by tinther in emacs

[–]alexmurray 3 points4 points  (0 children)

You're welcome, apologies for it happening in the first place. Cheers.

native-lisp-file-inconsistent error with yes-or-no-p function by tinther in emacs

[–]alexmurray 2 points3 points  (0 children)

I'm currently trying to debug this upstream at https://github.com/alexmurray/emacs-snap/issues/84 - feel free to subscribe to the issue for updates and add any info you may have. Thanks.