Wi-Fi não aparece como resolver? https://askubuntu.com/questions/1568713/wi-fi-n%c3%a3o-aparece-como-resolver

Modelo do Notebook: Acer Aspire (AG15-71P) Placa de Wi-Fi: Intel Wi-Fi 6 AX201 (CNVi) Sistema Operacional: Ubuntu Problema: O comando ⁠lspci -nnk⁠ reconhece a placa e mostra o módulo ⁠iwlwifi⁠. O log do ⁠dmesg⁠ confirma que o firmware foi carregado com sucesso, porém a interface de rede sem fio (⁠wlan0⁠ / ⁠wlp...⁠) não aparece na lista do ⁠ip link⁠. Já fiz o descarregamento do módulo ⁠acer_wmi⁠ e verifiquei que o Secure Boot está desativado na BIOS, mas a interface continua sem subir.

Getting Thunderbird to use my existing profile, after copying my home directory to a fresh install of Kubuntu 26.04 https://askubuntu.com/questions/1568711/getting-thunderbird-to-use-my-existing-profile-after-copying-my-home-directory

So, I was previously on Ubuntu 20.04.6 LTS, running Thunderbird 115.18.0 "Supernova".

My ~/.thunderbird directory looked like this:

drwx------  5 username groupnam 4.0K Jan 12  2025 'Crash Reports'
drwx------  2 username groupnam 4.0K Nov  4  2021 'Pending Pings'
-rw-rw-r--  1 username groupnam   62 Nov  4  2021  installs.ini
drwx------ 13 username groupnam 4.0K Jul 29 14:41  l2035iac.default-release
-rw-rw-r--  1 username groupnam  259 Nov  4  2021  profiles.ini
drwx------  2 username groupnam 4.0K Nov  4  2021  vpjhzimu.default

So, clearly l2035iac.default-release is the profile that it's been using, and vpjhzimu.default was created when I originally installed Ubunut 20.04, but hasn't been used since. (I don't know why.)

I got a new laptop and did a fresh install of Kubuntu 26.04. It has Thunderbird 153.0 "Meadow".

I copied my old home directory from the old computer to the new computer. I was expecting it to pick up all my old Thunderbird settings, because the ~/.thunderbird is there, but it acts like it's starting from scratch, and doesn't know anything about my existing accounts.

Based on the modification timestamps after running Thunderbird on the new computer, it looks like it was using the vpjhzimu.default profile (which hadn't been used in 5 years) rather than the l2035iac.default-release profile (which seems to be what I've been using for the past five years).

How can I get it to use the l2035iac.default-release profile on the new computer? I don't really know anything about Thunderbird profiles; it's not a feature that I use. (So I don't know why there's more than one profile in the first place.)

The contents of the profiles.ini file is:

[Profile1]
Name=default
IsRelative=1
Path=vpjhzimu.default
Default=1

[InstallFDC34C9F024745EB]
Default=l2035iac.default-release
Locked=1

[Profile0]
Name=default-release
IsRelative=1
Path=l2035iac.default-release

[General]
StartWithLastProfile=1
Version=2

Should I just move the Default=1 line from [Profile1] to [Profile0]?

sed returns partial results https://askubuntu.com/questions/1568710/sed-returns-partial-results

Using this bash script:

#! /usr/bin/bash 
sed -rn "s/.*?src="\""(.*?)"\""\s.*?/\n==>\\1 /gIp" <Desktop/index.html

and this index.html

<html>
<table>
<td bgcolor="#009C9C" colspan="2"><img src="./Home Page_files/spacer.gif" width="150" height="40"></td>
<td class="corners" bgcolor="#EDEEE0" valign="top"><img src="./Home Page_files/endcurve.gif"></td>
<td class="corners" bgcolor="#EDEEE0" valign="top"><img src="./Home Page_files/midcurve.gif"></td>
<td bgcolor="#009C9C" colspan="2" align="center" valign="top"><script src="./Home Page_files/MenuSystem.js.download"></script><div class="menulinks"><b>
 <script src="./Home Page_files/PictureShow.js.download"></script>
<img id="MyShow" src="./Home Page_files/Nicole.jpg" height="125" width="180">
<img src="./Home Page_files/t.gif" hspace="0" vspace="0" border="0" width="12" height="120" align="left">
<img src="./Home Page_files/kitchen_window_and_plant.jpg" border="0" width="320" height="240"></td>
<td bgcolor="#009C9C"><img src="./Home Page_files/spacer.gif" width="116" height="1"></td>
<td class="corners"><img src="./Home Page_files/bottomcurve.gif"></td>
</table>
<img src="./Home Page_files/4.gif" style="border:0px" alt="4"><img src="./Home Page_files/0.gif" style="border:0px" alt="0"><img src="./Home Page_files/3.gif" style="border:0px" alt="3"><img src="./Home Page_files/1.gif" style="border:0px" alt="1">
<noscript><img src="http://x.jufreeservers.com/cgi-bin/sitestats.gif?p=http%3A%2F%2Fx.jufreeservers.com%2Findex.html;r=-;t=2739;" width=1 height=1 alt="sitestats"></noscript>
</html>

the result is partially correct. Some correct answers are missing.

Thanks in advance for any insight you can provide.

BTW, the lazy-match capture group returns too much in several circumstances. GNU sed 4.9.

SOLVED Black screen upon waking from suspension https://askubuntu.com/questions/1568708/solved-black-screen-upon-waking-from-suspension

I managed to definitively solve the problem where the laptop's built-in screen wouldn't turn on (stayed black) after suspending/closing the lid, while the external screen worked normally. I leave here the complete diagnosis and a direct step-by-step solution for anyone facing the same issue.

My Hardware and System Settings

Laptop: Acer (Intel 11th Generation - Tiger Lake) Processor / iGPU: Intel Corporation Tiger Lake / Intel UHD/Iris Xe Graphics Card (dGPU): NVIDIA GeForce GTX 1650 Mobile / Max-Q (TU117M) Operating System: Ubuntu "26.04 LTS (Resolute Raccoon)" Kernel Version: 6.x / 7.x (7.0.0-28-generic) Drivers (Before vs. After) Before (With Error): nvidia-driver-580-open (Experimental open-source module). After (Fixed): nvidia-driver-595 (Proprietary Closed Driver).

Root Cause of the Problem

The problem wasn't just Nvidia. There were two critical conflicts happening simultaneously upon waking from suspend: Incompatible Sleep Mode (deep vs s2idle): Ubuntu was forcing the laptop into deep sleep mode (S3). 11th Gen Intel processors (Tiger Lake) in Acer laptops do not support S3 and require Modern Standby (s2idle) mode. This caused the built-in screen controller chip (tgl_tc_phy_init) to crash and not receive power upon waking. IOMMU/VT-d Memory Conflict: The integrated Intel card suffered virtualization blocking when trying to reignite the panel. Nvidia Open Driver: Nvidia's open modules still have power management flaws when restoring the graphics bus along with Intel.

Step-by-Step Solution (Only Necessary Commands)

  1. Disable Secure Boot in BIOS In Acer laptops, Secure Boot prevents the correct loading of the proprietary driver without passing through MOK keys. Restart and press F2 to enter BIOS. In the Security tab, set a temporary password in Set Supervisor Password (if the Secure Boot option is locked/greyed out). In the Boot (or Security) tab, change Secure Boot to Disabled. Save and exit (F10).
  2. Install the Proprietary Closed Driver Replace the open driver with the stable proprietary version:

Bash

sudo apt update sudo apt install nvidia-driver-595

#then

sudo apt remove --purge nvidia-driver-*-open sudo apt autoremove

  1. Correct Kernel Parameters in GRUB Edit the system boot rules to disable IOMMU blocking on Intel and force s2idle sleep mode: Open GRUB in the terminal: Bash sudo nano /etc/default/grub

Locate the line GRUB_CMDLINE_LINUX_DEFAULT and change it to: Plaintext GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_iommu=igfx_off mem_sleep_default=s2idle"

(Save with Ctrl + O, press Enter and exit with Ctrl + X).

Update GRUB: Bash sudo update-grub

  1. Restart and Test Restart the machine:

Bash sudo reboot

Upon returning to Ubuntu (even using Wayland), test suspending (sudo systemctl suspend or close the lid). When waking the laptop, the internal screen and the secondary screen via HDMI will return together perfectly!

I'm having problems with my Plymouth in Cubic https://askubuntu.com/questions/1568707/im-having-problems-with-my-plymouth-in-cubic

I started creating a custom Ubuntu 26.04 distro and replaced the Ubuntu logo pixmap with my own, as well as the bgrt-fallback, but even after running update-initramfs -u -k all, it didn't work. What can I do?

Here are some images.

Boot:

Boot

Some of the files I replaced:

Some of the files i replaced

Other files I replaced:

others of the files i replaced

Fix GUI | Ubuntu 24.04.4 https://askubuntu.com/questions/1568705/fix-gui-ubuntu-24-04-4

I've been running a stable system for long time, yet due to a recent power cut, after entering the login password, I have a blank black screen (It runs fine only if I switched to LXDE which isn't my preferred UI).

How to restore my GUI to its original status?

Cockpit don't work Username or Password wrong https://askubuntu.com/questions/1568703/cockpit-dont-work-username-or-password-wrong

I'm using Ubuntu 24.04 LTS:
Cockpit Version:

dpkg -l | grep cockpit

ii  cockpit                314-1 all   Web Console for Linux servers
ii  cockpit-bridge         314-1 amd64 Cockpit bridge server-side component
ii  cockpit-networkmanager 314-1 all   Cockpit user interface for networking
ii  cockpit-packagekit     314-1 all   Cockpit user interface for apps and package updates
ii  cockpit-storaged       314-1 all   Cockpit user interface for storage 
ii  cockpit-system         314-1 all   Cockpit admin interface for a system                              
ii  cockpit-ws             314-1 amd64 Cockpit Web Service                                  

The Cockpit application has stopped working over the past few days. I keep getting an error message stating that the username or password is incorrect.

I can rule out the possibility that either is incorrect, as I am currently logged in with that user. Other admin users are unable to log in as well.

The error occurs in Chrome, Edge and Mozilla.

I have already uninstalled Cockpit and deleted all associated directories, yet the error persists even after a reinstallation.

The cockpit, cockpit.socket, and cockpit.service processes are running without error messages.

An error message is generated during a login attempt:

systemctl status cockpit
cockpit-tls: gnutls_handshake failed: A TLS fatal alert has been received

Command:

journalctl -t cockpit-ws -t cockpit-session -f

cockpit-ws[91033]:   File "/usr/lib/python3.12/pathlib.py", line 842, in stat
cockpit-ws[91033]:     return os.stat(self, follow_symlinks=follow_symlinks)                                                                               
cockpit-ws[91033]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                              
cockpit-ws[91033]: PermissionError: [Errno 13] Permission denied: '/usr/local/share' 
cockpit-session[91024]: pam_unix(cockpit:session): session closed for user admin2
cockpit-ws[91010]: cockpit-session: didn't receive expected "authorize" message

No proxy is being used.

Does anyone have any ideas? This issue has been dogging me all week.

Best solution for Scrypted? https://askubuntu.com/questions/1568701/best-solution-for-scrypted

I want to manage Scrypted NVR on Windows but install Scrypted on Ubuntu. I have a NUC with 16 Gb RAM for the server. Will this work? is there a better solution?

LibreOffice 24.2.7.2 on Ubuntu 24.04.4 - Not Working But No Warning or Error Message https://askubuntu.com/questions/1568700/libreoffice-24-2-7-2-on-ubuntu-24-04-4-not-working-but-no-warning-or-error-mes

This is my first time using Ubuntu.

I installed Ubuntu 24.04.4 on my Dell DC16250 (Intel Core 5, 120U, RTL8852BE wireless).

I installed LibreOffice 24.2.7.2 sudo apt install libreoffice.

I installed Java sudo apt install openjdk-17-jre-headless.

I ran libreoffice on the console, and got a warning: Warning: failed to launch javaldx - java may not function correctly.

Despite the warning, there didn´t seem to be a problem. The Libreoffice window opened just fine and I could use the window to navigate to and open and use eg Writer, Impress etc.

But I was still concerned and wanted to fix the warning.

This solution had worked for others, so I ran: sudo apt-get install default-jre libreoffice-java-common

When I now run libreoffice, there is no java warning (GREAT) but Libreoffice doesn´t work at all (PROBLEM).

When I now run libreoffice, the Libreoffice window opens but the icons for eg Writer, Impress are not clickable.

When I now run eg libreoffice --writer, the same non-clickable Libreoffice window as above opens.

When I now run libreoffice or eg libreoffice --writer, I do not get any warnings or error messages.

How do I resolve this?

Thanks for any help!

RAM compability issue on Ubuntu 22.04 https://askubuntu.com/questions/1568699/ram-compability-issue-on-ubuntu-22-04

I'm new here and need help with a RAM compatibility issue on Ubuntu 22.04.5.

The setup:

  • PC: HP EliteDesk 8 Tower G1 Desktop AI PC (Intel Core Ultra 9)

  • Original RAM: HP DDR5-5600 (1 stick)

  • Added RAM: Aftermarket Adata DDR5-5600 (Part Number: AD5U560016G-S)

The problem:

The system boots up and seems to work fine at first, but then runs into the following issues:

  • Sudden system freezes (requiring a hard reboot)

  • Random automatic shutdowns

I suspect this might be a RAM compatibility issue due to mixing the original HP stick with the aftermarket Adata stick.

Are there any solutions or troubleshooting steps I can take to resolve this?

Speakers not working on hp omnibook x flip 2 in 1. model is Laptop 14-kc0 https://askubuntu.com/questions/1568689/speakers-not-working-on-hp-omnibook-x-flip-2-in-1-model-is-laptop-14-kc0

This is my first time using linux on a real machine. I have run VM's before, but this is my first install ever.

I want to clarify that I already tried managing audio settings. I can see the bar move, but nothing happens. I can hear from the bios, so I know that it isn't hardware.

It looks to me as if it has detected my HDMI audio, but that my laptops speakers and headphone jack themselves just don't appear.

I have compiled the following of what I found that may be helpful:

System:

Laptop: HP OmniBook X Flip Laptop 14-kc0xxx
DMI Product Version: Type1ProductConfigId
Platform: AMD Krackan / Ryzen AI
Kernel: 7.0.0-28-generic
Distribution: Kubuntu
PCI Devices
HDMI Audio
Device: AMD Radeon High Definition Audio Controller
PCI ID: 1002:1640
Driver: snd_hda_intel
Audio Coprocessor
Device: AMD Audio Coprocessor
PCI ID: 1022:15e2
Subsystem: HP 103c:8ea1
Driver: snd_acp_pci
Symptoms
Internal speakers are missing.
Headphone output is missing.
HDMI audio works.
Internal microphone works.
PipeWire only exposes HDMI outputs.
ALSA only exposes HDMI playback devices.
ALSA
aplay -l only reports HDMI playback devices.
aplay -L contains only:
HDMI outputs
PipeWire
null
o internal playback device exists.
/proc/asound/cards
Card 0
HD-Audio Generic (HDMI)
Card 1
acp-pdm-mach
The second card is capture-only (internal microphone).
No internal playback card exists.
PipeWire
PipeWire detects only the Radeon HDMI outputs.
No Speaker, Headphones, or Internal Audio sink is created.
Loaded Audio Modules
Relevant modules include:
snd_sof
snd_sof_amd_acp
snd_sof_amd_acp70
snd_sof_pci
snd_soc_core
snd_acp_pci
snd_soc_nau8821
soundwire_amd
dmesg
No errors related to:
cs35l41
max98373
max98390
rt5682
rt711
rt722
rt715
No firmware loading failures were observed.
No SOF boot failures were observed.
No codec initialization messages appear at all.
dditional Information
The ACP PDM microphone machine driver initializes correctly.
The speaker playback topology never appears to be instantiated.
This appears to be a missing machine driver / topology / ACPI quirk for HP Subsystem ID:
103c:8ea1
rather than a PipeWire or ALSA userspace configuration issue.
Reproduction
Boot Linux.
Open Sound Settings.
Only HDMI outputs are available.
Internal speakers and headphone output are absent.
Expected Result
Internal speakers and headphone output should be detected and usable.
Actual Result
Only HDMI playback devices are created.
Why can't I adjust brightness https://askubuntu.com/questions/1568686/why-cant-i-adjust-brightness

Iam new to linux Ubuntu and it is my first day , iam not able to adjust brightness at all .. Please anyone help me out . I have acer aspire 7 laptop and the version is ubuntu 26.04. When use fn key to increase or decrease brightness then that animation thing happens but brightness doesn't increase or decrease.

Issue with Fresh install of Kubuntu 26.04 on a Lenovo Thinkpad T490 with NVMe M.2 2230 SSD connected to the WLAN port https://askubuntu.com/questions/1568614/issue-with-fresh-install-of-kubuntu-26-04-on-a-lenovo-thinkpad-t490-with-nvme-m

I had a Lenovo Thinkpad T490 with a 256GB NVMe 2280 SSD loading Windows 11.

I want to install Kubuntu 26.04 on this laptop. For this I got another 256GB NVMe 2230 SSD and connected it to the WLAN port of the laptop.

Windows recognised this drive correctly. Then I boot from Kubuntu Live USB and that recognises both drives as well.

I installed Kubuntu on the new SSD with a partition configuration of 300MB FAT32 partition mounted to /boot/efi and boot flag on, and the rest of the drive formatted to ext4 mounted to /.

Install process goes on smoothly and it says "Finished". However, on reboot (after removing the live USB), it directly boots to Windows without the dual boot options.

So, as suggested in a Youtube video, I removed the original 2280 SSD and then reinstalled Kubuntu on the new 2230 SSD using the live USB (this time used Erase Disk option instead of manual partitioning).

This time again, the install went on smoothly, but when I rebooted after removing the liveusb, it doesn't show boot screen at all. Instead the BIOS asks for a medium to boot from.

I'd like to mention that in case of both installs, Kubuntu shows in the BIOS boot priority list and it didn't work even after putting it on the top of the list.

If I press F12 on boot to bring up the boot menu, Kubuntu is present. But when I press enter on it, the screen just blinks and nothing happens.

I am returning to Linux after 15 years, so please be patient with me.

Output of efibootmgr from live USB is:

kubuntu@kubuntu:~$ efibootmgr 

BootCurrent: 001F
Timeout: 2 seconds
BootOrder: 0001,001C,0010,0011,0012,0013,0014,0015,001B,001F,0019,001A,0000,001D,001E,0020,0021,0022,0023
Boot0000* Windows Boot Manager  HD(1,GPT,76f26192-bf42-41dc-b9e9-43d8205dd33d,0x800,0x32000)/\EFI\ubuntu\grubx64.efi57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000033000100000010000000040000007fff0400
Boot0001* Kubuntu       HD(1,GPT,96c89b38-a577-4bde-a1c4-8ded1adb3746,0x1000,0x96000)/\EFI\ubuntu\shimx64.efi
Boot0010  Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011  Boot Menu     FvFile(126a762d-5758-4fca-8531-201a7f57f850)
Boot0012  Diagnostic Splash Screen      FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0013  Lenovo Diagnostics    FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)
Boot0014  Regulatory Information        FvFile(478c92a0-2622-42b7-a65d-5894169e4d24)
Boot0015  ThinkShield secure wipe       FvFile(3593a0d5-bd52-43a0-808e-cbff5ece2477)
Boot0016  Startup Interrupt Menu        FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
Boot0017  Rescue and Recovery   FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
Boot0018  MEBx Hot Key  FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
Boot0019* USB CD        VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot001A* USB FDD       VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot001B* NVMe0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a400)
Boot001C* NVMe1 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a401)
Boot001D* ATA HDD0      VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f602)
Boot001E* ATA HDD1      VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f601)
Boot001F* USB HDD       VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot0020* PXE BOOT      VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Boot0021* LENOVO CLOUD  VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,ad38ccbbf7edf04d959cf42aa74d3650)/Uri(https://download.lenovo.com/pccbbs/cdeploy/efi/boot.efi)
Boot0022  Other CD      VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35406)
Boot0023  Other HDD     VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f606)
Boot0024* IDER BOOT CDROM       PciRoot(0x0)/Pci(0x14,0x0)/USB(11,1)
Boot0025* IDER BOOT Floppy      PciRoot(0x0)/Pci(0x14,0x0)/USB(11,0)
Boot0026* ATA HDD       VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
Boot0027* ATAPI CD      VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
Cannot see the current app in the Alt+Tab switcher https://askubuntu.com/questions/1568584/cannot-see-the-current-app-in-the-alttab-switcher

The only difference between current/selected/highlighted icons in the Alt+Tab switcher is only few percent of gray intensity for background color, which is only visible under ideal lighting condition. If I use any of my 2 laptops in a bright environment with a screen positioned at a slight angle (to reduce glare) then there is no way to see which application is selected/highlighted in the Alt+Tab switcher window. This looks the same on Ubuntu 24 and 26, with Light or Dark theme selected, with high contrast accessibility setting enabled or disabled. enter image description here

In a screenshot, I see that switcher background color is 34,34,34, while selected background is 74,74,74: (74-34)/255 = 15% If I enable high contrast accessibility setting, then selected background is 94,94,94: (94-34)/255 == 24% So, the difference between high contrast a low contrast is only 9% and it is in the dark part of the spectrum, which only owls can see well, not humans.

My problem is not just with yaru, which unfortunaterly uses close to 50 shades of gray to represent states of objects and it is impossible for human eye to see so many shades, but with gnome/ubuntu, which makes it super hard to modify that setting. I wasted days begging ChatGpt and Claude to give me instructions on how to change that and all I got was one hallucination after another, some of them prevented system from loading and requiring reinstall.

Finally, with help from Claude, I came up with the following procedure, which works:

# On the first run make backup of the original resource
RESOURCE=/usr/share/gnome-shell/theme/Yaru/gnome-shell-theme.gresource
RESOURCE_ORIG=${RESOURCE}.bak # Original
if [ ! -e ${RESOURCE_ORIG} ]; then
  echo "sudo cp ${RESOURCE} ${RESOURCE_ORIG}"
  sudo cp ${RESOURCE} ${RESOURCE_ORIG}
fi

WORK_DIR=~/temp
mkdir -p ${WORK_DIR}
rm -rf ${WORK_DIR}/*
cd ${WORK_DIR}

# Extract original resource to ~/temp directory
while IFS= read -r gpath; do
    local_rel="${gpath#/org/gnome/shell/theme/}"   # strip prefix
    mkdir -p "${WORK_DIR}/$(dirname "$local_rel")"
    gresource extract "${RESOURCE_ORIG}" "$gpath" > "${WORK_DIR}/$local_rel"
done < <(gresource list "${RESOURCE_ORIG}")

# Patch several "background-color" items under various "switcher-list" elemwnts, not clear which of them are really used
BACKGROUND="rgba(255, 255, 255, 1.0)"
PATCH_CSS=("gnome-shell-dark.css" "gnome-shell.css")
for css in "${PATCH_CSS[@]}"; do
    f="${WORK_DIR}/Yaru/$css"
    sed -i '/\.switcher-list \.item-box:selected {/{n;s/background-color: [^;]*;/background-color: '"$BACKGROUND"';/}' "${f}"
    sed -i '/\.switcher-list \.item-box:highlighted/{n;n;s/background-color: [^;]*;/background-color: '"$BACKGROUND"';/}' "${f}"
    sed -i '/\.switcher-list \.item-box:highlighted/{n;s/background-color: [^;]*;/background-color: '"$BACKGROUND"';/}' "${f}"
done

{
    echo '<?xml version="1.0" encoding="UTF-8"?>'
    echo '<gresources><gresource prefix="/org/gnome/shell/theme">'
    find "${WORK_DIR}" -type f | sort | while read -r f; do
        echo "  <file>${f#${WORK_DIR}/}</file>"
    done
    echo '</gresource></gresources>'
} > "${WORK_DIR}/theme.gresource.xml"

# Compile
(cd "${WORK_DIR}" && glib-compile-resources theme.gresource.xml)

# Deploy
sudo cp "${WORK_DIR}/theme.gresource" "${RESOURCE}"

# Reboot (or re-login)
sudo reboot

This works: enter image description here

But it cannot be so complex!

Also, Claude suggested that there should be a way to modify the Yary theme locally instead of system level, but so far I did not get working instructions.

Is there a better way? Any suggestions?

(By the way, Windows simply paints a thin white rectangle around the selected icon, which is always perfectly visible).

Thank you

I also posted this question at https://github.com/ubuntu/yaru/issues/4477

locate is forgetting files in home folder that it will find after another updatedb https://askubuntu.com/questions/1568543/locate-is-forgetting-files-in-home-folder-that-it-will-find-after-another-update

<#EDIT# another terminal session appended 2026-07-30 /> I run locate for files in my home (/home/xxxx) directory that I know have existed for months; it can't find them, but shows files in other file systems like /boot, /bulk, /usr, /var.

I run sudo updatedb and it then finds them. A day or two (or week ...) later, and locate can't find other files in the home directory. Again, a sudo updatedb fixes it.

This has been happenening for months.

FYI I checked one of the 'missing' files; it was created on 10 Jan 2026 and last accessed on 15 Jun 2026 - over a month ago.

To re-iterate, as some commenters are confusing 'never-indexed' with 'indexed-and-then-home-directory-forgotten-a-day-later'.

I am the sole user of this laptop.

It was a fresh Ubuntu 25.10 install, and then upgraded to 26.04. Hardware is HP Victus 15 laptop with 2TB SSD.

Example of terminal session (with extra spacing wrapping commands to make it easier to follow:

xxxx@vvvv15:~/git/yyyyArduino$ locate -i morse

/boot/grub/x86_64-efi/morse.mod
/bulk/main_bulk/Win150G/MyDocszzzz/eBooks/SabbathInPuritanNewEngland_AliceMorseEarle_pg8659.txt
/usr/bin/brltty-morse
/usr/lib/grub/x86_64-efi/morse.mod
/var/lib/flatpak/appstream/flathub/x86_64/6a9061995528fe88b68fd1212b6dcbb88012e3a8bdde4cf1f0156b92e666cec5/icons/128x128/io.github.teacond.Morse.png
/var/lib/flatpak/appstream/flathub/x86_64/6a9061995528fe88b68fd1212b6dcbb88012e3a8bdde4cf1f0156b92e666cec5/icons/64x64/io.github.teacond.Morse.png
/var/lib/swcatalog/icons/ubuntu-resolute-universe/64x64/xdemorse_xdemorse.png

xxxx@vvvv15:~/git/yyyyArduino$ sudo updatedb

[sudo: authenticate] Password:
/usr/bin/find: '/run/user/1000/gvfs': Permission denied
/usr/bin/find: '/run/user/1000/doc': Permission denied

xxxx@vvvv15:~/git/yyyyArduino$ locate -i morse

/boot/grub/x86_64-efi/morse.mod
/bulk/main_bulk/Win150G/MyDocszzzz/eBooks/SabbathInPuritanNewEngland_AliceMorseEarle_pg8659.txt
/home/xxxx/.cache/gnome-software/icons/09ba72a3038b432d4fc5c9363414bf17ff670ac1-io.github.teacond.Morse.png
/home/xxxx/.cache/gnome-software/icons/4ba28e0fe8fb6d8d61bef987d077504e0210c2f9-io.github.teacond.Morse.png
/home/xxxx/.cache/gnome-software/icons/54b2d0516ff523f778167779b661db3efb2b966d-io.github.teacond.Morse.png
/home/xxxx/.cache/gnome-software/icons/a0ce9bf871d2496151ef19a82836da1831871a2e-io.github.teacond.Morse.png
/home/xxxx/.local/share/Trash/files/git/yyyyArduino/AUnit_Tests_Folder/yyyymanzUtes_Test_Folder/TestMorseCode
/home/xxxx/.local/share/Trash/files/git/yyyyArduino/AUnit_Tests_Folder/yyyymanzUtes_Test_Folder/TestMorseCode/Makefile
/home/xxxx/.local/share/Trash/files/git/yyyyArduino/AUnit_Tests_Folder/yyyymanzUtes_Test_Folder/TestMorseCode/TestMorseCode.ino
/home/xxxx/1_home_z15/.local/share/doc/networkx-3.1/examples/graph/__pycache__/plot_morse_trie.cpython-38.pyc
/home/xxxx/1_home_z15/.local/share/doc/networkx-3.1/examples/graph/plot_morse_trie.py
/home/xxxx/wwww/git/yyyyArduino/AUnit_Tests_Folder/yyyymanzUtes_Test_Folder/TestMorseCode
/home/xxxx/wwww/git/yyyyArduino/AUnit_Tests_Folder/yyyymanzUtes_Test_Folder/TestMorseCode/Makefile
/home/xxxx/wwww/git/yyyyArduino/AUnit_Tests_Folder/yyyymanzUtes_Test_Folder/TestMorseCode/TestMorseCode.ino
/home/xxxx/git/yyyyArduino/AUnit_Tests_Folder/yyyymanzUtes_Test_Folder/TestMorseCode
/home/xxxx/git/yyyyArduino/AUnit_Tests_Folder/yyyymanzUtes_Test_Folder/TestMorseCode/Makefile
/home/xxxx/git/yyyyArduino/AUnit_Tests_Folder/yyyymanzUtes_Test_Folder/TestMorseCode/TestMorseCode.ino
/home/xxxx/git/yyyyArduino/AUnit_Tests_Folder/yyyymanzUtes_Test_Folder/TestMorseCode/TestMorseCode.o
/home/xxxx/git/yyyyArduino/AUnit_Tests_Folder/yyyymanzUtes_Test_Folder/TestMorseCode/TestMorseCode.out
/home/xxxx/git/yyyyArduino/AwkStuff/hex/TestMorseCode.ino.hex
/home/xxxx/git/yyyyArduino/AwkStuff/hex/TestMorseCode.ino.with_bootloader.hex
/home/xxxx/git/yyyyArduino/AwkStuff/ino_cpp_d/TestMorseCode.ino.cpp.d
/usr/bin/brltty-morse
/usr/lib/grub/x86_64-efi/morse.mod
/var/lib/flatpak/appstream/flathub/x86_64/6a9061995528fe88b68fd1212b6dcbb88012e3a8bdde4cf1f0156b92e666cec5/icons/128x128/io.github.teacond.Morse.png
/var/lib/flatpak/appstream/flathub/x86_64/6a9061995528fe88b68fd1212b6dcbb88012e3a8bdde4cf1f0156b92e666cec5/icons/64x64/io.github.teacond.Morse.png
/var/lib/swcatalog/icons/ubuntu-resolute-universe/64x64/xdemorse_xdemorse.png

xxxx@vvvv15:~/git/yyyyArduino$

<ADDED 30Jul/> single terminal session from 29JUl to 30Jul (home files 'lost' ofter suspending overnight, but not 'lost' suspending for a minute) ...

xxxx@HPVic15:~$ locate -0 morse | xargs -0 ls -al

-rw-r--r-- 1 root root   3208 Jun  8 13:59 /boot/grub/x86_64-efi/morse.mod
-rwxr-xr-x 1 root root 264848 Mar 20 23:33 /usr/bin/brltty-morse
-rw-r--r-- 1 root root   3208 Aug 13  2025 /usr/lib/grub/x86_64-efi/morse.mod
-rwxr-xr-x 1 root root   1882 Feb 14 19:49 /var/lib/swcatalog/icons/ubuntu-resolute-universe/64x64/xdemorse_xdemorse.png

xxxx@HPVic15:~$ sudo updatedb

[sudo: authenticate] Password:         
/usr/bin/find: '/run/user/1000/gvfs': Permission denied
/usr/bin/find: '/run/user/1000/doc': Permission denied

xxxx@HPVic15:~$ locate -0 morse | xargs -0 ls -al

-rw-r--r-- 1 root  root    3208 Jun  8 13:59 /boot/grub/x86_64-efi/morse.mod
-rwxr-xr-x 1 xxxx xxxx   2495 Sep 18  2023 /home/xxxx/1_home_z15/.local/share/doc/networkx-3.1/examples/graph/__pycache__/plot_morse_trie.cpython-38.pyc
-rwxr-xr-x 1 xxxx xxxx   2966 Sep 18  2023 /home/xxxx/1_home_z15/.local/share/doc/networkx-3.1/examples/graph/plot_morse_trie.py
-rwxr-xr-x 1 root  root  264848 Mar 20 23:33 /usr/bin/brltty-morse
-rw-r--r-- 1 root  root    3208 Aug 13  2025 /usr/lib/grub/x86_64-efi/morse.mod
-rwxr-xr-x 1 root  root    1882 Feb 14 19:49 /var/lib/swcatalog/icons/ubuntu-resolute-universe/64x64/xdemorse_xdemorse.png

xxxx@HPVic15:~$ date
Wed 29 Jul 09:05:53 NZST 2026
....
xxxx@HPVic15:~$ date
Wed 29 Jul 21:38:05 NZST 2026

xxxx@HPVic15:~$ locate -0 morse | xargs -0 ls -al
-rw-r--r-- 1 root  root    3208 Jun  8 13:59 /boot/grub/x86_64-efi/morse.mod
-rwxr-xr-x 1 xxxx xxxx   2495 Sep 18  2023 /home/xxxx/1_home_z15/.local/share/doc/networkx-3.1/examples/graph/__pycache__/plot_morse_trie.cpython-38.pyc
-rwxr-xr-x 1 xxxx xxxx   2966 Sep 18  2023 /home/xxxx/1_home_z15/.local/share/doc/networkx-3.1/examples/graph/plot_morse_trie.py
-rwxr-xr-x 1 root  root  264848 Mar 20 23:33 /usr/bin/brltty-morse
-rw-r--r-- 1 root  root    3208 Aug 13  2025 /usr/lib/grub/x86_64-efi/morse.mod
-rwxr-xr-x 1 root  root    1882 Feb 14 19:49 /var/lib/swcatalog/icons/ubuntu-resolute-universe/64x64/xdemorse_xdemorse.png

< computer suspended overnight via closing lid >

xxxx@HPVic15:~$ date
Thu 30 Jul 07:55:24 NZST 2026

xxxx@HPVic15:~$ locate -0 morse | xargs -0 ls -al

-rw-r--r-- 1 root root   3208 Jun  8 13:59 /boot/grub/x86_64-efi/morse.mod
-rwxr-xr-x 1 root root 264848 Mar 20 23:33 /usr/bin/brltty-morse
-rw-r--r-- 1 root root   3208 Aug 13  2025 /usr/lib/grub/x86_64-efi/morse.mod
-rwxr-xr-x 1 root root   1882 Feb 14 19:49 /var/lib/swcatalog/icons/ubuntu-resolute-universe/64x64/xdemorse_xdemorse.png

xxxx@HPVic15:~$ sudo updatedb
[sudo: authenticate] Password:         
/usr/bin/find: '/run/user/1000/gvfs': Permission denied
/usr/bin/find: '/run/user/1000/doc': Permission denied

xxxx@HPVic15:~$ locate -0 morse | xargs -0 ls -al

-rw-r--r-- 1 root  root    3208 Jun  8 13:59 /boot/grub/x86_64-efi/morse.mod
-rwxr-xr-x 1 xxxx xxxx   2495 Sep 18  2023 /home/xxxx/1_home_z15/.local/share/doc/networkx-3.1/examples/graph/__pycache__/plot_morse_trie.cpython-38.pyc
-rwxr-xr-x 1 xxxx xxxx   2966 Sep 18  2023 /home/xxxx/1_home_z15/.local/share/doc/networkx-3.1/examples/graph/plot_morse_trie.py
-rwxr-xr-x 1 root  root  264848 Mar 20 23:33 /usr/bin/brltty-morse
-rw-r--r-- 1 root  root    3208 Aug 13  2025 /usr/lib/grub/x86_64-efi/morse.mod
-rwxr-xr-x 1 root  root    1882 Feb 14 19:49 /var/lib/swcatalog/icons/ubuntu-resolute-universe/64x64/xdemorse_xdemorse.png

xxxx@HPVic15:~$ date
Thu 30 Jul 07:58:49 NZST 2026

xxxx@HPVic15:~$ echo suspend
suspend
xxxx@HPVic15:~$ echo unsuspend
unsuspend

xxxx@HPVic15:~$ date
Thu 30 Jul 07:59:47 NZST 2026

xxxx@HPVic15:~$ locate -0 morse | xargs -0 ls -al

-rw-r--r-- 1 root  root    3208 Jun  8 13:59 /boot/grub/x86_64-efi/morse.mod
-rwxr-xr-x 1 xxxx xxxx   2495 Sep 18  2023 /home/xxxx/1_home_z15/.local/share/doc/networkx-3.1/examples/graph/__pycache__/plot_morse_trie.cpython-38.pyc
-rwxr-xr-x 1 xxxx xxxx   2966 Sep 18  2023 /home/xxxx/1_home_z15/.local/share/doc/networkx-3.1/examples/graph/plot_morse_trie.py
-rwxr-xr-x 1 root  root  264848 Mar 20 23:33 /usr/bin/brltty-morse
-rw-r--r-- 1 root  root    3208 Aug 13  2025 /usr/lib/grub/x86_64-efi/morse.mod
-rwxr-xr-x 1 root  root    1882 Feb 14 19:49 /var/lib/swcatalog/icons/ubuntu-resolute-universe/64x64/xdemorse_xdemorse.png

xxxx@HPVic15:~$ 
Updates that just won't take https://askubuntu.com/questions/1568539/updates-that-just-wont-take

For weeks now, I've been getting the same messages from Livepatch saying that an update is available. The following are the pop-ups (plus screenshots) that I see every single day.

Secure Boot dbx Configuration Update - Installed:

Screenshot 1

Update available - Secure Boot dbx Configuration Update (20250902 -> 20260402):

Screenshot 2

Unable to update "Secure Boot dbx Configuration Update": Device only supports version upgrades:

Screenshot 3

An update has been installed. A restart is required for it to take effect. (Only after trying to update it a second time once the system has fully booted.):

Screenshot 4

I've updated my firmware through Asus, using the Windows side of my machine to get the firmware update. I've checked drivers for my CPU and other hardware and all is up to date. Other than that, I'm out of ideas of possible firmware. Does anyone have any ideas about what could be causing this?

System Details Report

Report details:

  • Date generated: 2026-07-21 16:13:25

Hardware Information:

  • Hardware Model: ASUS ROG CROSSHAIR VIII DARK HERO

  • Memory: 64.0 GiB

  • Processor: AMD Ryzen™ 9 5950X × 32

  • Graphics: Radeon RX 6600

  • Disk Capacity: 2.0 TB

Software information:

  • Firmware Version: 5401

  • OS: Ubuntu 26.04

  • Build: (null)

  • OS type: 64-bit

  • GNOME version: 50

  • Windowing system: Wayland

  • Kernel version: Linux 7.0.0-28-generic

I need help with support for TP-Link UB600 Bluetooth Dongle on Kubuntu 26.04 please https://askubuntu.com/questions/1568248/i-need-help-with-support-for-tp-link-ub600-bluetooth-dongle-on-kubuntu-26-04-ple

I've been trying to get my UB600 Bluetooth dongle to work, however it seems that it's not compatible out of the box. In fact, there's only 1 place with a solution how to get it to work however it seems the explanation on how to do it goes over my head. I've tried using what they gave me in konsole but some things just error and I can't seem to get around that. The fix I've been attempting is this. The issue I'm having is, it detects the Bluetooth dongle, but the computer is then unable to detect any Bluetooth devices at all. The lsusb is exactly as shown on that link as is the journalctl.

Results of lsusb | grep -i 'tp-link':

Bus 001 Device 012: ID 37ad:0600  TP-Link Bluetooth USB Adapter

Results of journalctl:

usb 1-1: new full-speed USB device number 12 using xhci_hcd
usb 1-1: New USB device found, idVendor=37ad, idProduct=0600, bcdDevice= 2.00
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: TP-Link Bluetooth USB Adapter
usb 1-1: Manufacturer:
usb 1-1: SerialNumber: 18694530DB8B
Bluetooth: MGMT ver 1.23

I ran sudo dmesg | grep -i bluetooth and got this:

server@server-z87hd3:~$ sudo dmesg | grep -i bluetooth
[sudo] password for server: 
[647887.635955] usb 1-1: Product: TP-Link Bluetooth USB Adapter
[647887.709668] Bluetooth: MGMT ver 1.23
[648046.220743] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[648046.221733] Bluetooth: hci0: RTL: rom_version status=0 version=1
[648046.222744] Bluetooth: hci0: RTL: btrtl_initialize: key id 0
[648046.222748] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
[648046.224331] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
[648046.224378] Bluetooth: hci0: RTL: cfg_sz 6, total sz 30210
[648046.376751] Bluetooth: hci0: RTL: fw version 0xdfc6d922
[648046.443866] Bluetooth: MGMT ver 1.23
[648062.029928] usb 1-1: Product: TP-Link Bluetooth USB Adapter
[648062.105001] Bluetooth: MGMT ver 1.23
[648220.950989] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[648220.951983] Bluetooth: hci0: RTL: rom_version status=0 version=1
[648220.952966] Bluetooth: hci0: RTL: btrtl_initialize: key id 0
[648220.952969] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
[648220.953197] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
[648220.953223] Bluetooth: hci0: RTL: cfg_sz 6, total sz 30210
[648221.105982] Bluetooth: hci0: RTL: fw version 0xdfc6d922
[648221.173128] Bluetooth: MGMT ver 1.23
[648256.225222] usb 1-1: Product: TP-Link Bluetooth USB Adapter
[648256.298247] Bluetooth: MGMT ver 1.23
[649742.374342] Bluetooth: MGMT ver 1.23
[682771.713073] usb 1-1: Product: TP-Link Bluetooth USB Adapter
[682771.785356] Bluetooth: MGMT ver 1.23

Is there any chance somebody could explain to me like I'm a 5 year old how to apply that patch, or better yet, create a solution for me? I am running Kubuntu 26.04 on kernel 7.0.0-27-27.

Edit: Following "david" in the comments advice results.

server@server-z87hd3:~$ sudo apt install bluetooth bluez -y
[sudo: authenticate] Password:       
bluez is already the newest version (5.85-4ubuntu0.1).
bluez set to manually installed.
Installing:                 
  bluetooth

Suggested packages:
  bluez-meshd

Summary:
  Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 3
  Download size: 6,600 B
  Space needed: 36.9 kB / 180 GB available

Get:1 http://archive.ubuntu.com/ubuntu resolute-updates/universe amd64 bluetooth all 5.85-4ubuntu0.1 [6,600 B]
Fetched 6,600 B in 0s (121 kB/s)      
Selecting previously unselected package bluetooth.
(Reading database… 268329 files and directories currently installed.)
Preparing to unpack …/bluetooth_5.85-4ubuntu0.1_all.deb…
Unpacking bluetooth (5.85-4ubuntu0.1)…
Setting up bluetooth (5.85-4ubuntu0.1)…
server@server-z87hd3:~$ sudo systemctl start bluetooth
server@server-z87hd3:~$ sudo systemctl enable bluetooth
Synchronizing state of bluetooth.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable bluetooth
server@server-z87hd3:~$ bluetoothctl show | grep "Powered"
        Powered: yes
server@server-z87hd3:~$ bluetoothctl
[NEW] Media /org/bluez/hci1 
        SupportedUUIDs: 0000110a-0000-1000-8000-00805f9b34fb
        SupportedUUIDs: 0000110b-0000-1000-8000-00805f9b34fb
Agent registered
[CHG] Controller 18:69:45:30:DB:8B Discovering: yes
[bluetoothctl]> power on#
Invalid argument on#
[bluetoothctl]> power on
Changing power on succeeded
[bluetoothctl]> agent on
Agent is already registered
[bluetoothctl]> default-agent
Default agent request successful
[bluetoothctl]> discoverable on
hci1 new_settings: powered connectable bondable ssp br/edr le secure-conn ll-privacy 
[CHG] Controller 18:69:45:30:DB:8B Connectable: yes
hci1 new_settings: powered connectable discoverable bondable ssp br/edr le secure-conn ll-privacy 
Changing discoverable on succeeded
[CHG] Controller 18:69:45:30:DB:8B Discoverable: yes
[bluetoothctl]> pairable on
Changing pairable on succeeded
[bluetoothctl]> scan on
SetDiscoveryFilter success
Discovery started
[bluetoothctl]> 

I have disabled Secure Boot and run Bluetoothctl show:

server@server-z87hd3:~$ bluetoothctl show
Controller 18:69:45:30:DB:8B (public)
        Manufacturer: 0x005d (93)
        Version: 0x0a (10)
        Name: server-z87hd3 #2
        Alias: server-z87hd3 #2
        Class: 0x006c0104 (7078148)
        Powered: yes
        PowerState: on
        Discoverable: yes
        DiscoverableTimeout: 0x000000b4 (180)
        Pairable: yes
        UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
        UUID: Handsfree Audio Gateway   (0000111f-0000-1000-8000-00805f9b34fb)
        UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
        UUID: Phonebook Access Client   (0000112e-0000-1000-8000-00805f9b34fb)
        UUID: Vendor specific           (185f3df4-3268-4e3f-9fca-d4d5059915bd)
        UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
        UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
        UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
        UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
        UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
        UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
        UUID: Vendor specific           (03b80e5a-ede8-4b33-a751-6ce34ec4c700)
        UUID: Handsfree                 (0000111e-0000-1000-8000-00805f9b34fb)
        Modalias: usb:v1D6Bp0246d0555
        Discovering: yes
        Roles: central
        Roles: peripheral
Advertising Features:
        ActiveInstances: 0x00 (0)
        SupportedInstances: 0x04 (4)
        SupportedIncludes: tx-power
        SupportedIncludes: appearance
        SupportedIncludes: local-name
        SupportedSecondaryChannels: 1M
        SupportedSecondaryChannels: 2M
        SupportedSecondaryChannels: Coded
        SupportedCapabilities.MinTxPower: 0xffffffa6 (-90)
        SupportedCapabilities.MaxTxPower: 0x0000 (0)
        SupportedCapabilities.MaxAdvLen: 0xfb (251)
        SupportedCapabilities.MaxScnRspLen: 0xfb (251)
        SupportedFeatures: CanSetTxPower
        SupportedFeatures: HardwareOffload
server@server-z87hd3:~$ 

This is what my results are like with my 5.0 dongle for comparison:

server@server-z87hd3:~$ bluetoothctl show
Controller 04:42:1A:54:A8:55 (public)
        Manufacturer: 0x005d (93)
        Version: 0x0a (10)
        Name: server-z87hd3 #2
        Alias: Asus 5.0
        Class: 0x006c0104 (7078148)
        Powered: yes
        PowerState: on
        Discoverable: no
        DiscoverableTimeout: 0x000000b4 (180)
        Pairable: yes
        UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
        UUID: Handsfree Audio Gateway   (0000111f-0000-1000-8000-00805f9b34fb)
        UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
        UUID: Vendor specific           (185f3df4-3268-4e3f-9fca-d4d5059915bd)
        UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
        UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
        UUID: Phonebook Access Client   (0000112e-0000-1000-8000-00805f9b34fb)
        UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
        UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
        UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
        UUID: Vendor specific           (03b80e5a-ede8-4b33-a751-6ce34ec4c700)
        UUID: Handsfree                 (0000111e-0000-1000-8000-00805f9b34fb)
        Modalias: usb:v1D6Bp0246d0555
        Discovering: no
        Roles: central
        Roles: peripheral
Advertising Features:
        ActiveInstances: 0x00 (0)
        SupportedInstances: 0x04 (4)
        SupportedIncludes: tx-power
        SupportedIncludes: appearance
        SupportedIncludes: local-name
        SupportedSecondaryChannels: 1M
        SupportedSecondaryChannels: 2M
        SupportedSecondaryChannels: Coded
        SupportedCapabilities.MinTxPower: 0xffffffed (-19)
        SupportedCapabilities.MaxTxPower: 0x0017 (23)
        SupportedCapabilities.MaxAdvLen: 0xfb (251)
        SupportedCapabilities.MaxScnRspLen: 0xfb (251)
        SupportedFeatures: CanSetTxPower
        SupportedFeatures: HardwareOffload
server@server-z87hd3:~$ bluetoothctl
[NEW] Media /org/bluez/hci1 
        SupportedUUIDs: 0000110a-0000-1000-8000-00805f9b34fb
        SupportedUUIDs: 0000110b-0000-1000-8000-00805f9b34fb
[NEW] Media /org/bluez/hci0 
        SupportedUUIDs: 0000110a-0000-1000-8000-00805f9b34fb
        SupportedUUIDs: 0000110b-0000-1000-8000-00805f9b34fb
Agent registered
[CHG] Controller 04:42:1A:54:A8:55 Discovering: yes
[G522 Gaming Headset]> scan on
SetDiscoveryFilter success
Discovery started
[NEW] Device DE:B6:45:46:3D:0B Govee_H6076_3D0B
[NEW] Device FF:02:3C:C8:FA:46 BLE MF8470
[CHG] Device 40:58:99:CF:16:D0 RSSI: 0xffffffbd (-67)
[NEW] Device D0:C8:03:C6:6F:76 Govee_H61D5_6F76
[CHG] Device DE:B6:45:46:3D:0B RSSI: 0xffffffaf (-81)
[NEW] Device 33:36:9F:00:1E:8B 33-36-9F-00-1E-8B
[CHG] Device FF:02:3C:C8:FA:46 RSSI: 0xffffffad (-83)
[CHG] Device FF:02:3C:C8:FA:46 UUIDs: 19fe1b3d-4c5b-36b8-4043-c09ddc76099e
[NEW] Device DE:CD:2F:A8:FA:1A ET-2850 Series
[NEW] Device DC:6E:02:C6:22:87 Govee_H7078_2287
[NEW] Device DE:B6:41:06:19:77 Govee_H6022_1977
[NEW] Device C8:FF:77:CB:9B:32 VW1-UK-MAA1830A
[NEW] Device 13:12:70:E3:1C:0B 13-12-70-E3-1C-0B
[CHG] Device DE:B6:41:06:19:77 RSSI: 0xffffffab (-85)
[NEW] Device DC:B4:D9:F4:2A:42 DC-B4-D9-F4-2A-42
[NEW] Device D6:50:84:C6:55:17 Govee_H6099_5517
[NEW] Device 00:00:00:00:00:00 00-00-00-00-00-00
[CHG] Device DE:B6:41:06:19:77 RSSI: 0xffffffad (-83)
[CHG] Device D6:50:84:C6:55:17 RSSI: 0xffffff9f (-97)
[CHG] Device 00:00:00:00:00:00 RSSI: 0xffffffb9 (-71)
[CHG] Device D6:50:84:C6:55:17 RSSI: 0xffffff9f (-97)
[CHG] Device 00:00:00:00:00:00 RSSI: 0xffffffbb (-69)
[CHG] Device 00:00:00:00:00:00 RSSI: 0xffffffb3 (-77)
[CHG] Device 00:00:00:00:00:00 RSSI: 0xffffffb1 (-79)
[CHG] Device D6:50:84:C6:55:17 RSSI: 0xffffff9f (-97)
[CHG] Device 40:58:99:CF:16:D0 RSSI: 0xffffffbf (-65)
[CHG] Device 13:12:70:E3:1C:0B RSSI: 0xffffffbd (-67)
[CHG] Device D0:C8:03:C6:6F:76 RSSI: 0xffffffc9 (-55)
[CHG] Device C8:FF:77:CB:9B:32 RSSI: 0xffffffbf (-65)
[CHG] Device DC:B4:D9:F4:2A:42 RSSI: 0xffffffad (-83)
[CHG] Device DE:CD:2F:A8:FA:1A RSSI: 0xffffffa5 (-91)
[CHG] Device DE:B6:45:46:3D:0B RSSI: 0xffffffaf (-81)
[CHG] Device DE:B6:41:06:19:77 RSSI: 0xffffffb9 (-71)
[CHG] Device D6:50:84:C6:55:17 RSSI: 0xffffff9f (-97)
[CHG] Device 33:36:9F:00:1E:8B RSSI: 0xffffffb9 (-71)
[CHG] Device D0:C8:03:C6:6F:76 RSSI: 0xffffffc9 (-55)
[CHG] Device FF:02:3C:C8:FA:46 RSSI: 0xffffffad (-83)
[CHG] Device DE:B6:45:46:3D:0B RSSI: 0xffffffaf (-81)
[CHG] Device DC:6E:02:C6:22:87 RSSI: 0xffffffb5 (-75)
[CHG] Device 00:00:00:00:00:00 RSSI: 0xffffffbf (-65)
[CHG] Device D6:50:84:C6:55:17 RSSI: 0xffffffa1 (-95)
[CHG] Device 00:00:00:00:00:00 RSSI: 0xffffffb9 (-71)
[CHG] Device 00:00:00:00:00:00 RSSI: 0xffffffb9 (-71)
[CHG] Device D6:50:84:C6:55:17 RSSI: 0xffffffa1 (-95)
[CHG] Device D6:50:84:C6:55:17 AdvertisingFlags:
  00                                               .               
[CHG] Device 00:00:00:00:00:00 RSSI: 0xffffffad (-83)
[CHG] Device DE:B6:45:46:3D:0B RSSI: 0xffffffaf (-81)
[CHG] Device C8:FF:77:CB:9B:32 RSSI: 0xffffffb9 (-71)
[CHG] Device 13:12:70:E3:1C:0B RSSI: 0xffffffbd (-67)
[CHG] Device D6:50:84:C6:55:17 RSSI: 0xffffff9f (-97)
[CHG] Device D6:50:84:C6:55:17 AdvertisingFlags:
  06                                               .               
[CHG] Device DE:B6:41:06:19:77 RSSI: 0xffffffb9 (-71)
[CHG] Device DC:6E:02:C6:22:87 RSSI: 0xffffffaf (-81)
[CHG] Device 40:58:99:CF:16:D0 RSSI: 0xffffffbf (-65)
[CHG] Device DE:CD:2F:A8:FA:1A RSSI: 0xffffffa7 (-89)
[CHG] Device DC:6E:02:C6:22:87 RSSI: 0xffffffaf (-81)
[CHG] Device FF:02:3C:C8:FA:46 RSSI: 0xffffffad (-83)
[CHG] Device D0:C8:03:C6:6F:76 RSSI: 0xffffffc9 (-55)
[CHG] Device DE:CD:2F:A8:FA:1A RSSI: 0xffffffa9 (-87)
[CHG] Device DC:B4:D9:F4:2A:42 RSSI: 0xffffffad (-83)
[CHG] Device 33:36:9F:00:1E:8B RSSI: 0xffffffb9 (-71)
[CHG] Device DE:CD:2F:A8:FA:1A RSSI: 0xffffffa9 (-87)
[CHG] Device D0:C8:03:C6:6F:76 RSSI: 0xffffffc9 (-55)
[CHG] Device DC:B4:D9:F4:2A:42 RSSI: 0xffffffad (-83)
[CHG] Device DE:CD:2F:A8:FA:1A RSSI: 0xffffffa9 (-87)
[CHG] Device D0:C8:03:C6:6F:76 RSSI: 0xffffffc9 (-55)
[CHG] Device DC:B4:D9:F4:2A:42 RSSI: 0xffffffad (-83)
[CHG] Device 00:00:00:00:00:00 RSSI: 0xffffffbb (-69)
[CHG] Device D6:50:84:C6:55:17 RSSI: 0xffffffa1 (-95)
[CHG] Device DC:B4:D9:F4:2A:42 RSSI: 0xffffffad (-83)
[CHG] Device 00:00:00:00:00:00 RSSI: 0xffffffbd (-67)
[CHG] Device 00:00:00:00:00:00 RSSI: 0xffffffbf (-65)
[CHG] Device DC:6E:02:C6:22:87 RSSI: 0xffffffb5 (-75)
[CHG] Device D0:C8:03:C6:6F:76 RSSI: 0xffffffcd (-51)
[CHG] Device 40:58:99:CF:16:D0 RSSI: 0xffffffbd (-67)
[CHG] Device DE:B6:41:06:19:77 RSSI: 0xffffffab (-85)
[CHG] Device 33:36:9F:00:1E:8B RSSI: 0xffffffb9 (-71)
[CHG] Device DE:CD:2F:A8:FA:1A RSSI: 0xffffffa5 (-91)
[CHG] Device DE:B6:45:46:3D:0B RSSI: 0xffffffaf (-81)
[CHG] Device C8:FF:77:CB:9B:32 RSSI: 0xffffffbf (-65)
[CHG] Device DC:6E:02:C6:22:87 RSSI: 0xffffffb5 (-75)
[CHG] Device FF:02:3C:C8:FA:46 RSSI: 0xffffffb1 (-79)
[CHG] Device D6:50:84:C6:55:17 RSSI: 0xffffff9f (-97)
[CHG] Device 13:12:70:E3:1C:0B RSSI: 0xffffffbd (-67)
[CHG] Device DC:B4:D9:F4:2A:42 RSSI: 0xffffffb1 (-79)
[CHG] Device D6:50:84:C6:55:17 RSSI: 0xffffffa1 (-95)
[CHG] Device FF:02:3C:C8:FA:46 RSSI: 0xffffffb1 (-79)
[CHG] Device 00:00:00:00:00:00 RSSI: 0xffffffbb (-69)
[CHG] Device DE:CD:2F:A8:FA:1A RSSI: 0xffffffa5 (-91)
[CHG] Device C8:FF:77:CB:9B:32 RSSI: 0xffffffc7 (-57)
[CHG] Device DE:B6:41:06:19:77 RSSI: 0xffffffb9 (-71)
[CHG] Device C8:FF:77:CB:9B:32 RSSI: 0xffffffbf (-65)
[DEL] Device 13:12:70:E3:1C:0B 13-12-70-E3-1C-0B
[CHG] Device DE:B6:41:06:19:77 RSSI: 0xffffffad (-83)
[CHG] Device C8:FF:77:CB:9B:32 RSSI: 0xffffffc7 (-57)

iw reg get with both dongles in:

server@server-z87hd3:~$ iw reg get
global
country 00: DFS-UNSET
        (2402 - 2472 @ 40), (6, 20), (N/A)
        (2457 - 2482 @ 20), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
        (2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
        (5170 - 5250 @ 80), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
        (5250 - 5330 @ 80), (6, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
        (5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
        (5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
        (57240 - 63720 @ 2160), (N/A, 0), (N/A)

server@server-z87hd3:~$ 

iw reg get with only 6.0


server@server-z87hd3:~$ iw reg get
global
country 00: DFS-UNSET
        (755 - 928 @ 2), (N/A, 20), (N/A), PASSIVE-SCAN
        (2402 - 2472 @ 40), (N/A, 20), (N/A)
        (2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
        (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN
        (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
        (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
        (5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, PASSIVE-SCAN
        (5735 - 5835 @ 80), (N/A, 20), (N/A), PASSIVE-SCAN
        (57240 - 63720 @ 2160), (N/A, 0), (N/A)

server@server-z87hd3:~$ 

iw reg get with neither:

server@server-z87hd3:~$ iw reg get
global
country 00: DFS-UNSET
        (755 - 928 @ 2), (N/A, 20), (N/A), PASSIVE-SCAN
        (2402 - 2472 @ 40), (N/A, 20), (N/A)
        (2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
        (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN
        (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
        (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
        (5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, PASSIVE-SCAN
        (5735 - 5835 @ 80), (N/A, 20), (N/A), PASSIVE-SCAN
        (57240 - 63720 @ 2160), (N/A, 0), (N/A)

server@server-z87hd3:~$ 

Edit: I should specify this dongle is a Bluetooth 6.0 dongle.

How prevent my Lubuntu laptop from automatically connecting to a Wi-Fi network https://askubuntu.com/questions/1565850/how-prevent-my-lubuntu-laptop-from-automatically-connecting-to-a-wi-fi-network

I connect to the internet at public sites, usually my local library, which involves a network login page.

My problem is that before that can happen, the network xfinity often hijacks the login process by connecting itself to my laptop.

How can I permanently ban xfinity network from connecting to me. I use Network Manager on Lubuntu 24.04

How to install Libby in Ubuntu? https://askubuntu.com/questions/1555829/how-to-install-libby-in-ubuntu

Libby is an app to borrow ebooks and audiobooks from libraries. It is available for Android, iOS and Amazon appstore.

I installed Ubuntu in a convertible touchscreen laptop, and want to use it to read books from my library.

How to install Libby in Ubuntu?

Anbox installation woes https://askubuntu.com/questions/1537561/anbox-installation-woes

I am trying to install Anbox. I am not proficient with Linux and am like an end user who is half decent with Google search when it comes to the Linux platform.

Following the instructions here I have tried instructions from multiple sites and get the same results.

I get to the step sudo add-apt-repository ppa:morphis/anbox-support and get the error ERROR: ppa 'morphis/anbox-support' not found (use --login if private)

I have tried finding the solution on my own but failed. From everything I have read so far, I should be able to install Anbox.

snap 2.66.1+24.04
snapd 2.66.1+24.04
series 16
ubuntu 24.04
kernel 6.8.0-51-generic
uname -m output = x86_64

I tried sudo apt update && sudo apt install android-sdk thinking it would add whatever I was missing. I have also successfully run sudo apt update and sudo apt upgrade

Updated node to 16.16.0, says 12.22.9 when I 'nodejs --version' https://askubuntu.com/questions/1422916/updated-node-to-16-16-0-says-12-22-9-when-i-nodejs-version

I'm trying to update nodejs in a fresh installation of Ubuntu 22.04 in a VM.

When I run this:

nodejs --version

It outputs:

v12.22.9

I've seen in many places that to update Node to the latest version you execute these commands:

sudo npm cache clean -f
sudo npm install -g n
sudo n stable

When I do it it appears to work and states:

copying: node/16.16.0

However, when I nodejs --version again it still says v12.22.9

What am I doing wrong?

All I've found online tells me to do the above.

How can I update nodejs and have it update to the latest version?

My Ubuntu doesn't start. What happened? [duplicate] https://askubuntu.com/questions/1294845/my-ubuntu-doesnt-start-what-happened

This morning my Ubuntu doesn't start. It gets stuck at a black screen with no error messages.

[  OK  ] Started ACPI event daemon.
         Starting System Logging Service...
[  OK  ] Reached target Login Prompts.
[  OK  ] Started Set the CPU Frequency Scaling governor.
         Starting LSB: Speech Dispatcher...
[  OK  ] Started D-Bus System Message Bus.
         Starting Modem Manager...
[  OK  ] Started Run anacron jobs.
         Starting Thermal Daemon Service...
         Starting WPA supplicant...
[  OK  ] Started irqbalance daemon.
         Starting Dispatcher daemon for systemd-networkd...
[  OK  ] Started CUPS Scheduler.
         Starting Accounts Service...
         Starting Network Manager...
         Starting LSB: automatic crash report generation...
         Starting LSB: Record successful boot for GRUB...
         Starting Login Service...
         Starting Restore /etc/resolv.conf if the system crashed before the ppp link was shut down...
         Starting Disk Manager...
         Starting Save/Restore Sound Card State...
[  OK  ] Started Regular background program processing daemon.
         Starting Snap Daemon...
[  OK  ] Started System Logging Service.
[  OK  ] Started Detect the available GPUs and deal with any system changes.
[  OK  ] Started Save/Restore Sound Card State.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Make remote CUPS printers available locally.
[  OK  ] Started LSB: Speech Dispatcher.
[  OK  ] Started Restore /etc/resolv.conf if the system crashed before the ppp link was shut down.
[  OK  ] Started LSB: automatic crash report generation.
[  OK  ] Started LSB: Record successful boot for GRUB.
[  OK  ] Started Login Service.
         Starting Authorization Manager...
[  OK  ] Started WPA supplicant.
Change Ubuntu's purple login screen to GNOME 3.36's https://askubuntu.com/questions/1236189/change-ubuntus-purple-login-screen-to-gnome-3-36s

My login screen on boot is Ubuntu's purple login screen. On suspend, the login screen is GNOME's new one, with the blurred desktop bg. How can I get rid of Ubuntu's and only have GNOME's?

  • Settings app reads: Ubuntu 20.04 LTS, GNOME 3.36.1.
  • /etc/X11/default-display-manager reads /usr/sbin/gdm3, though I don't know what's the default in the Wayland case.
  • sudo gdm3 --version reads GDM 3.34.1 (why not 3.36.1?)

Note: On Ubuntu's log in screen I can pick GNOME (which I use)/GNOME Xorg/Ubuntu/Ubuntu Wayland. I have a feeling this is related, and I'd basically like to get rid of everything Ubuntu (other than the OS ofc) and only keep GNOME.

EDIT: a video / screenshots showing the GNOME lock screen at the beginning changing to the Ubuntu one after clicking the Switch User button.

Thanks in advance.

How to completely remove snap and replace with flatpak? https://askubuntu.com/questions/1170688/how-to-completely-remove-snap-and-replace-with-flatpak

I want to remove every piece of existing software/package on Ubuntu related to snap and replace with flatpak.

How to completely remove snap in Ubuntu 19.04 and replace with flatpak without crashing or messing my existing system?

Installing Pygame in Spyder https://askubuntu.com/questions/891585/installing-pygame-in-spyder

Im trying to install pygame on spyder but i tried everything and nothing works. Anaconda is installed i have tried pip, conda but every time when i import it i get the error no module named pygame. When i try conda install -c https://conda.binstar.org/tlatorre pygame the following error appears:

UnsatisfiableError: The following specifications were found to be in conflict:
  - pygame -> python 2.7* -> openssl 1.0.1*
  - python 3.6**

I have tried other addresses as well but i get the same error. How do i do it? Use conda info <package> to see the dependencies for each package.

So I want this to work specidically in the newest version of spyder(spyder3)(maybe with pythonpathmanager).

How to configure KODI to run in windowed mode from command line? https://askubuntu.com/questions/811147/how-to-configure-kodi-to-run-in-windowed-mode-from-command-line

I am running Kodi via XServer from a 2-monitor remote computer. When Kodi starts, it occupies entire 2 monitor areas and is absolutely useless.

It has a config to run in windowed mode, but how to activate it from command line?

I have edited

~/.kodi/userdata/guisettings.xml

and changed

<screenmode default="true">DESKTOP</screenmode>

to

<screenmode default="true">WINDOW</screenmode>

but it changes back to DESKTOP each run.

How to overcome?

minidlna on Ubuntu 14.04 LTS cannot access /media folders https://askubuntu.com/questions/531224/minidlna-on-ubuntu-14-04-lts-cannot-access-media-folders

My minidlna program is attempting to access the /media folder to get the drives mounted there. I have adapted the minidlna.conf file to look specifically for these drives. I get to them and recieve an access denied message. I cannot change the folder permission while they are in the /media folder.

I have tried the following:

  1. change the user in minidlna.conf to the current user effect: cannot access file, permission denied

2.change the user to "root" in minidlna.conf effect: "bad user error"

  1. comment the user out in the minidlna.conf file effect: cannot access files, permission denied.

  2. moved a test folder from a /media folder to a /home folder 4.5 changed permissions to the /home folder to give everyone access to everything effect: cannot access file, permission denied.

    basically, nothing I do will allow the minidlna program to access the drives mounted in the /media folder. I cannot find a way to change the directory path without changing the drive location. my blue ray device can see the folders created by the minidlna program, but these folders are empty. is there a way to unmount and remount to a different directory? (automount rules perhaps?)

    any help would be greatly appreciated. Please understand that I have been a Ubuntu user for about 72 hours.

    P.S.

    I have also tried mediatomb, serviio, and ushare. so far, minidlna has gotten the closest to making this work.

Mount LUKS encrypted hard drive at boot https://askubuntu.com/questions/450895/mount-luks-encrypted-hard-drive-at-boot

I have Xubuntu 14.04 on a SSD device (the HOME was encrypted correctly during intallation), additionally I have a HDD with a encrypted partition with extra data which I would like to mount in /mnt/hdd. For making these I followed the next steps:

(Previously I had encrypted the disk with LUKS following this post http://www.marclewis.com/2011/04/02/luks-encrypted-disks-under-ubuntu-1010/)

Check the UUID

sudo blkid 
/dev/sda1: UUID="b3024cc1-93d1-439f-80ce-1b1ceeafda1e" TYPE="crypto_LUKS"

Make a keyfile with the right passphrase and save it in my HOME (which is also encrypted).

sudo dd if=/dev/urandom of=/home/[USERNAME]/.keyfiles/key_luks bs=1024 count=4
sudo chmod 0400 .keyfiles/key_luks

Add the key

sudo cryptsetup luksAddKey /dev/sda1 /home/energize-cactus/.keyfiles/key_luks

New entry in /etc/crypttab

hddencrypted UUID=b3024cc1-93d1-439f-80ce-1b1ceeafda1e /home/[USERNAME]/.keyfiles/key_luks luks

Update the initial ramdisk

sudo update-initramfs -u -k all

Then, to test it, I used the follow command to start cryptdisks:

sudo cryptdisks_start hddencrypted 
 * Starting crypto disk...                                                       
 * hddencrypted (starting)..
 * hddencrypted (started)... 

To check hddencrypted was mapped:

ls /dev/mapper/
control  hddencrypted

Create a mount point

mkdir /mnt/hdd

New entry in /etc/fstab

/dev/mapper/hddencrypted /mnt/hdd ext4 defaults 0 2

Validate fstab without reboot:

sudo systemctl daemon-reload
sudo mount -a

Mount the encrypted partition on boot

Now I have mount it in/mnt/hdd as I proposed. But I wold like to make this automatically after reboot. But before I can log in, I get this error:

the disk drive for /mnt/hdd is not ready yet or not permit

All this makes me think that /etc/crypttab can't access to the keyfile which is located in my HOME (other encrypted partition). I don't know the order which the system follows to unencrypted and mounts the units. My HOME should be unencrypted before my HDD for giving access to read the keyfile.

I would appreciate any insight as to why this happens.

UPDATE: If I locate the keyfile in /boot (no encrypted), instead of in my /home/[USERNAME] (encrypted) the /dev/sda1 and update the entry in /etc/crypttab is perfectly mounted on boot time.

Streaming a webcam video to a web-page https://askubuntu.com/questions/98035/streaming-a-webcam-video-to-a-web-page

I need software which is able to capture images from a webcam and stream them to a web-page.

I already tried a webcam-server, but it uses java applet on the client side for retrieving pictures, which is not supported on my client device (Android tablet).

An alternative may be be something that captures images from a webcam and writes them to the same file, constantly rewriting it. In that case, my java-script on the client side can just use this file to constantly refresh an image.

Any ideas and suggestions are greatly appreciated.

Use WebCam to record (Including movement detection) https://askubuntu.com/questions/33665/use-webcam-to-record-including-movement-detection

What Ubuntu software is there to use a webcam as a recording camera (Like a Security System). It NEEDS to detect movement in the room, take pictures and/or record.