Firefox 149 hangs on startup unless I disable hardware acceleration https://askubuntu.com/questions/1565175/firefox-149-hangs-on-startup-unless-i-disable-hardware-acceleration

After updating the Firefox snap to 149, it seems to hang on startup. It'll just open a blank window and then stop. The only way I've managed to fix it is starting it in safe mode and disabling hardware acceleration. After that, it'll start fine, albeit with degraded performance.

Since it's probably relevant, my GPU is a Nvidia 1080Ti with driver 580.126.09.

Problems with setting fractional scaling to sddm https://askubuntu.com/questions/1565174/problems-with-setting-fractional-scaling-to-sddm

How can I set fractional scaling of 125% on SDDM and also have the cursor scaled as well?

Im also looking for a way to hide the clock from both lockscreen and sddm. Im using the Breeze theme

Deja Dup cannot connect to remote server for backup https://askubuntu.com/questions/1565173/deja-dup-cannot-connect-to-remote-server-for-backup

Deja Dup failed to connect a remote FTP server where it sends my backups. Last backup was 7 days ago. The error message is as below: "Error: Cannot open data connection. Maybe your firewall prevents this?".

Deja Dup Error Message

I have never made any changes to the firewall settings, so the issue is somewhere else. I have checked the username/password in Seahorse and they are correct. I can connect to the remote server and browse around with Filezilla. I can also connect with the command line but I cannot browse around. The error message is "Passive mode address mismatch".

ftp login, but no browsing

I suspect the ftp command line is having the same issue as Deja Dup. Any idea how I can resolve this ?

Only noticeable change last week is I've set up 2 VPN connections in Network Manager (OpenVPN and WireGuard). Not sure if they are to blame, but everything else works whether the VPN is on/off (regardless if I use OpenVPN or WireGuard). Deja dup and the ftp command fail as above with/without VPN.

I have also noticed that the IP mentioned on the PASV command (see image above -> XXX.XXX.18.28) differs from the one I get if I ping the server (XXX.XXX.18.68). Could be wrong but I suspect I need to force the ftp client to resolve the correct address before sending the command, but I have no idea how to do so for either ftp command line or Deja Dup.

IP of the remote server doen t match IP in PASV command

I have tried forcing active mode (ftp -A) passive mode (ftp -p) and IPv4 only (ftp -4), with no luck. According to Murphy's law, I am due an HDD failure v soon, so I really hope someone can help fixing this before it happens.

HP Victus fb3022 frezing https://askubuntu.com/questions/1565172/hp-victus-fb3022-frezing

I am relative new to Linux and have install Ubuntu 24.04.4 LTS on my HP Victus 15 fb3022no laptop.

The problem is that the computer freezes i random intervals - at least I have not found a pattern. It is often under low workload, eg browsing with the Vivaldi browser.

As I understand the problem from other posts it is relatet to the onbord CPU/GPU AMD Ryzen AI 7.

Solutions that I have tried without it working: Hardware acceleration disabled in Vivaldi.

PSR (Panel Self Refresh) disabled by adding the following parameter to my kernel command line: amdgpu.dcdebugmask=0x12

cat /proc/cmdline

Gives this result: " BOOT_IMAGE=/boot/vmlinuz-6.17.0-19-generic root=UUID=35bedf7b-bdb8-4c6f-83b7-44dc3d7467cb ro quiet splash amdgpu.dcdebugmask=0x12 vt.handoff=7 "

Have I done disabled the PSR right?

System info via: "inxi -F":

    System:
  Host: emil-HP Kernel: 6.17.0-19-generic arch: x86_64 bits: 64
  Desktop: GNOME v: 46.0 Distro: Ubuntu 24.04.4 LTS (Noble Numbat)
Machine:
  Type: Laptop System: HP product: Victus by HP Gaming Laptop 15-fb3xxx v: N/A
    serial: <superuser required>
  Mobo: HP model: 8DD2 v: 53.17 serial: <superuser required> UEFI: AMI
    v: F.04 date: 06/25/2025
Battery:
  ID-1: BAT0 charge: 22.8 Wh (33.8%) condition: 67.4/67.4 Wh (100.0%)
    volts: 14.8 min: 15.4
CPU:
  Info: 8-core model: AMD Ryzen AI 7 350 w/ Radeon 860M bits: 64 type: MT MCP
    cache: L2: 8 MiB
  Speed (MHz): avg: 1070 min/max: 623/5091:3506 cores: 1: 2021 2: 623
    3: 2017 4: 623 5: 623 6: 623 7: 2019 8: 623 9: 2021 10: 623 11: 623 12: 1412
    13: 623 14: 623 15: 623 16: 1412
Graphics:
  Device-1: NVIDIA driver: nvidia v: 580.126.09
  Device-2: AMD driver: amdgpu v: kernel
  Device-3: Chicony HP True Vision FHD Camera driver: uvcvideo type: USB
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
    loaded: amdgpu,nvidia unloaded: fbdev,modesetting,nouveau,radeon,vesa
    dri: radeonsi gpu: amdgpu resolution: 1920x1080~144Hz
  API: EGL v: 1.5 drivers: kms_swrast,nvidia,radeonsi,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 580.126.09
    renderer: NVIDIA GeForce RTX 5060 Laptop GPU/PCIe/SSE2
Audio:
  Device-1: NVIDIA driver: snd_hda_intel
  Device-2: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel
  Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: snd_acp_pci
  Device-4: AMD Family 17h/19h HD Audio driver: snd_hda_intel
  API: ALSA v: k6.17.0-19-generic status: kernel-api
  Server-1: PipeWire v: 1.0.5 status: active
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: eno1 state: down mac: 10:b6:76:80:c0:30
  Device-2: Realtek driver: rtw89_8852bte
  IF: wlo1 state: up mac: 50:bb:b5:5e:1f:90
Bluetooth:
  Device-1: Realtek Bluetooth Radio driver: btusb type: USB
  Report: hciconfig ID: hci0 state: up address: 50:BB:B5:5E:1F:91 bt-v: 5.3
Drives:
  Local Storage: total: 476.94 GiB used: 112.62 GiB (23.6%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN5000S
    SDEPNSJ-512G-1006 size: 476.94 GiB
Partition:
  ID-1: / size: 467.35 GiB used: 112.62 GiB (24.1%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 1.05 GiB used: 6.1 MiB (0.6%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 4 GiB used: 0 KiB (0.0%) file: /swap.img
Sensors:
  System Temperatures: cpu: 40.4 C mobo: N/A
  Fan Speeds (rpm): fan-1: 2712 fan-2: 0
  GPU: device: nvidia screen: :1.0 temp: 41 C device: amdgpu temp: 37.0 C
Info:
  Memory: total: 16 GiB note: est. available: 14.64 GiB used: 4.58 GiB (31.3%)
  Processes: 430 Uptime: 2h 18m Shell: Bash inxi: 3.3.34

Weary briefly under boot I see this message:

RDSEED32 is broken. Disabling the corresponding CPUID bit.

Seeing other post I get the impression that it is not important - but is that also the case for me?

I appreciate any help to solve the problem, and pleace let me know if there is any information that you need to understand the problem.

Best regards Emil

Ibus-table error "Permission denied: '/home/username/.local'" https://askubuntu.com/questions/1565169/ibus-table-error-permission-denied-home-username-local

I have set up Ubuntu on ZFS under LUKS as described here. However, I have used Ubuntu 24.04 instead of 22.10. This seems to work just fine, except for one thing: Directly after installation, on the first login, I get a "Ubuntu 24.04 has experienced an internal error" dialog box:

Ubuntu 24.04 has experienced an internal error

Excetutable Path: /usr/share/ibus-table/engine/main.py
Title: main.py crashed with PermissionEror in _init(): [Errno 13] Permission denied: '/home/username/.local'

Traceback:
Traceback (most recent call last):
File "/usr/share/ibus-table/engine/main.py", line 37, in <module> import tabsolitedb
File "/usr/share/ibus-table/engine/tabsqlitedb.py", line 43, in <module> import ibus table_location
File "/usr/share/ibus-table/engine/ibus_table_location.py", line 108, in <module>     
  __module_init =_Modulelnitializer()
       ٨٨٨٨٨٨٨٨٨٨٨٨٨٨٨٨٨٨٨٨٨
File "/usr/share/ibus-table/engine/ibus_table_location.py", line 103, in _init_ _init()
File "/usr/share/ibus-table/engine/ibus_table_location.py", line 79, in _init
  os.makedirs(IBUS_TABLE_LOCATION['data_home'], exist_ok=True)
File "<frozen os>", line 215, in makedirs
File "<frozen os>", line 215, in makedirs
File "<frozen os>", line 225, in makedirs
PermissionError: [Errno 13] Permission denied: '/home/username/.local'

There may be typos in the traceback because I had to copy it from a screenshot. Note that username is the literal string username and not something I substituted for my actual username. If this is python, I would expect it to contain the actual path. Of course, there is no user named "username" on my PC. (Maybe there is some substituion of the exception message going on, but I think that's unlikely. perhaps for anonymization purposes?)

This error keeps appearing and does not disappear after a reboot. The error persistently appears and after clicking the window away, it just re-appears, often several times. I have checked the permissions on my home directory and it is 755, owned by me and my group. Strangely, after some time and some reboots this error seems to disappear. I am not sure if this actually solves it.

I think on a previous installation I created a fake home directory for "username" with 777 permissions, but I do not think this solved the issue.

What is the actual way to fix this?

Edit 1

Here is the output of printenv | grep XDG_:

XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
XDG_MENU_PREFIX=gnome-
XDG_SESSION_DESKTOP=ubuntu
XDG_SESSION_TYPE=wayland
XDG_CURRENT_DESKTOP=ubuntu:GNOME
XDG_SESSION_CLASS=user
XDG_RUNTIME_DIR=/run/user/1000 
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
My WIFI network has disappeared from the wifi list https://askubuntu.com/questions/1565167/my-wifi-network-has-disappeared-from-the-wifi-list

I'm trying to work out why my wifi network has all of a sudden disappeared from the network list, the wifi is fully functional and appears on all of my other devices. Using Ubuntu 24.04.4 LTS, Broadcom b43

any ideas?

Dock colors panel in KolourPaint [SOLVED] [duplicate] https://askubuntu.com/questions/1565166/dock-colors-panel-in-kolourpaint-solved

[SOLVED]: See comment from @DanielT.

I was playing around with KolourPaint and I managed to undock the Colors panel. Never found how to dock it back.

Picture of the current (undocked) situation

I have Kubuntu 24.04 with KDE Plasma 5.27.12.

I can't type on the keyboard when I get to the login screen to enter my password - ASUS TUF F15 FX506LH https://askubuntu.com/questions/1565165/i-cant-type-on-the-keyboard-when-i-get-to-the-login-screen-to-enter-my-password

I have an ASUS TUF F15 FX506LH laptop, and I’ve disconnected the battery because I’m running Linux—Ubuntu 24.04.4 LTS. On Windows 11, I used MyASUS to set the battery to 60% to extend its life. The problem is when I enter my user password to log into Linux: I can’t type anything at all on the keyboard when I first open it. I have to restart the laptop to be able to type on the keyboard and log in. What can I do to fix this problem?

OpenVPN won't connect on 24.04 https://askubuntu.com/questions/1565163/openvpn-wont-connect-on-24-04

I'm using Ubuntu 22.04 and I usually use OpenVPN for gaming, but it's stopped working. It just keeps loading for a few minutes and then says "connection failed." I tried to fix it for a few hours with solutions I found in some posts, but none of them worked. Image showing NetworkManager notification error.

Steam adds way too many shortcuts https://askubuntu.com/questions/1565156/steam-adds-way-too-many-shortcuts

i installed Ubuntu 24.04.4 LTS on a laptop and when i install steam games for some reason it adds like 40ish shortcuts so when i look in the apps all my games have 40ish. I would like to be able to just have 1 of each or none would even work as i can launch though steam.

Piping video stream to VLC https://askubuntu.com/questions/1565026/piping-video-stream-to-vlc

I'm using Ubuntu 24.04. I am trying to pipe a stream to VLC. When it was rtmp I could do it, but I'm having trouble with hls/m3u8. An example link (https://ppv.to/live/247-family-guy). I have tried searching the network console in Firefox, but I couldn't find the master URL. video downloadhelper extension is able to download the stream, so I should be able to pipe it to VLC, right?

I have found the master URL, though I'm receiving a 403 Forbidden error. Why can the extension download the stream, but ffmpeg and yt-dlp can't?

I believe the answer is missing http headers. I have tried adding some that I know (user-agent, origin, referrer), but I'm still having no luck. Does anyone know how to find which headers are missing?

Issues getting wallpaper script to run with (X)Wayland https://askubuntu.com/questions/1564993/issues-getting-wallpaper-script-to-run-with-xwayland

I'm using a script I modified from here to change my wallpaper(and in-terminal colors to match). It works when I run it from the command line, but not when I use crontab trying to make it run automatically.

The script:

#!/bin/bash
[[ "$(uname -s)" = "Darwin" ]] && PATH="/usr/local/bin:${PATH}" && export PATH
command -v gdate >/dev/null 2>&1 && date() { command gdate "${@}"; }

load_prev_weather () {
    w_type=$(sed '1q;d' /tmp/prev_weather.dat)
    t_type=$(sed '2q;d' /tmp/prev_weather.dat)

    rm /tmp/prev_weather.dat
}

get_weather () {
    weatherdata=$(curl -s "wttr.in/?format=j1")

    if jq -e . >/dev/null 2>&1 <<< "$weatherdata"; then
        temp=$(echo "$weatherdata" | jq -r '.current_condition[0].temp_F' )
        w_type=$(echo "$weatherdata" | jq -r '.current_condition[0].weatherDesc[0].value')
        sunrise=$(echo "$weatherdata" | jq -r '.weather[0].astronomy[0].sunrise' | tr -d ":AM[:space:]" | sed 's/^0//')
        sunset=$(echo "$weatherdata" | jq -r '.weather[0].astronomy[0].sunset'| tr -d ":PM[:space:]" | sed 's/^0//')
        sunset=$((sunset + 1200))
    else
        echo "wttr.in failure, using previous weather."
        wttr_fail=1
    fi

}

get_time_chunk () {
    time_day=$(date +%-k%M)

    echo "$sunrise ~ $time_day ~ $sunset"

    t_type="Day"

    if (( time_day < sunrise )); then
        t_type="Night"
    elif (( time_day >= sunrise )) && (( time_day < sunrise + 130 )); then
        t_type="Morning"
    elif (( time_day < sunset - 130 )) && (( time_day > sunrise + 130 )); then
        t_type="Day"
    elif (( time_day > sunset - 100 )) && (( time_day < sunset )); then
        t_type="Evening"
    else
        t_type="Night"
    fi
}

get_simple_weather () {
    echo "Temp: $temp"

    if echo "$w_type" | grep -i -q -E "sun|sunny|clear" && (( temp >= 34 )); then
        w_type="Sun"
    elif echo "$w_type" | grep -q -i "snow" || ((temp < 34)); then
        w_type="Snow"
    elif echo "$w_type" | grep -i -q -E "rain|overcast|Light drizzle"; then
        w_type="Rain"
    else
        w_type="Misc"
    fi
}

set_pape () {
    # if ! pape=$(find "$pape_prefix"/"$t_type"/"$w_type"/* "$pape_prefix"/"$t_type"/Misc/* | shuf -n 1); then
    if ! pape=$(find "$pape_prefix"/"$t_type"/"$w_type"/* | shuf -n 1); then
        pape=$(find "$pape_prefix"/"$t_type"/* | shuf -n 1)
    fi

    if [[ $embed -eq 1 ]]; then
        if which osascript; then
            res=$(/usr/sbin/system_profiler SPDisplaysDataType | grep Resolution | awk '{print $2, $4}' | tr " " "x")
        else
        pos_res=$(xrandr | awk '/ connected.*[0-9]+x[0-9]+/ {if ($3 == "primary") {print $4} else {print $3} }' | cut -f 1 -d '+')
            res=$(echo "$pos_res" | head -n 1)
        fi

        echo "Res: $res"
        convert "$pape" -resize "$res" resized_pape.png
        pape="resized_pape.png"

        rm embed_pape_*
        convert <( curl -s "wttr.in/_tqp0.png" ) weather_report.png
        convert "$pape" "weather_report.png" -gravity center -geometry +0+0 -composite "embed_pape.png"
        stamped_pape="embed_pape_$(date +%T).png"
        cp embed_pape.png "$stamped_pape"
        convert <( curl -s "wttr.in/_tqp0.png" ) -resize 175% weather_report.png
        convert "$pape" "weather_report.png" -gravity center -geometry +0+0 -composite "$stamped_pape"
        pape="$stamped_pape"
    fi

    pape=$(realpath $pape)

    if which osascript; then
        rm ~/Pictures/Weather\ Wallpaper/*
        cp "$pape" ~/Pictures/Weather\ Wallpaper/
    else
        case $XDG_CURRENT_DESKTOP in
            *XFCE*)
                export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/$UID/bus"
                    xfconf-query -c xfce4-desktop -l | \
                grep --color=never last-image | \
                while read -r path; do xfconf-query --channel xfce4-desktop --property "$path" -s "$pape"; done
                ;;
        *GNOME*)
        export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/$UID/bus"
                gsettings set org.gnome.desktop.background picture-uri-dark "file://$pape"
        ;;
        *)
                feh --randomize --bg-center "$pape"
                ;;
        esac

    fi

    if [[ $use_wal -eq 1 ]]; then
        if ! which wal; then
            PATH="$HOME/.local/bin":${PATH} && export PATH
        fi

        if which wal; then
            wal -i "$pape" -n --saturate 1.0
        else
            echo "Trying to use wal but it's not installed"
        fi
    fi

    rm -f weather_report.png
    rm -f resized_pape.png
    #rm "$stamped_pape"
    rm -f /tmp/prev_weather.dat
    echo "$w_type" >> /tmp/prev_weather.dat
    echo "$t_type" >> /tmp/prev_weather.dat
}

exit_help () {
    echo "ERROR: $1"
    echo "USAGE: dynamicWallpaper -p [PAPER_PREFIX]"
    printf "\t-p: The prefix of your wallpaper folder without a trailing /\n"
    printf "\t-e: Embed a little weather preview png in the wallpaper\n"
    printf "\t--wal: Use pywal if it's installed\n"
    exit 1
}

pape_prefix="/home/drift/Pictures/Wallpapers"
use_wal=1
embed=0
wttr_fail=0

while [[ $# -gt 0 ]]; do
    arg="$1"

    case $arg in
        -p)
            pape_prefix="$2"
            shift; shift
            ;;
        --wal)
            use_wal=1
            shift;
            ;;
        -e)
            embed=1
            shift;
            ;;
        *)
            exit_help "Unrecognized argument"
            ;;
    esac
done

if [[ "$pape_prefix" == "0" ]]; then
    exit_help "The paper prefix is unset."
fi

get_weather
echo "Real Weather: $w_type"

if [[ wttr_fail -eq 1 ]]; then
    load_prev_weather
    embed=0
else
    get_time_chunk
    get_simple_weather
fi

echo "Time Type: $t_type, Weather Type: $w_type"

if [[ "$t_type" == "Night" ]] && [[ "$w_type" == "Sun" ]]; then
    w_type="Misc"
fi

set_pape

crontab that's not working:

SHELL=/bin/bash
* * * * * /home/drift/custom-scripts/dynamicWallpaper -p /home/drift/Pictures/Wallpapers --wal
* * * * * /home/drift/custom-scripts/testing-feh
@reboot sleep 30 && /home/drift/custom-scripts/dynamicWallpaper --wal
#Back In Time system entry, this will be edited by the gui:
0 * * * * /usr/bin/nice -n19 /usr/bin/ionice -c2 -n7 /usr/bin/backintime --debug backup-job >/dev/null

(note the newline at the end)

After a lot of troubleshooting, I think this is failing because of one of 3 issues:

  • feh isn't working correctly, which would be a big problem, because ubuntu 25.10 is lacking support to replace it(not supporting X11 anymore). I could switch over to another desktop environment, but not without losing all of the setup I've put into this one (correct me if I'm wrong)

  • cron isn't working correctly, which would also be a big problem. I'm aware I can run it as a systemd service(in theory--more on that later) but the backup app I use, Back in Time, uses cron as well, and I need that to work.

  • I somehow haven't given correct permissions to some file or other?

It might be something else as well, because there's another script that I can't run automatically no matter how hard I try. I'm trying to focus on one problem at a time so I haven't looked into it nearly as much, but it's worth mentioning that this second script also didn't run automatically as a systemd service.

Things I've tried:

  • the entire damn list under Why crontab scripts are not working?, not joking or exaggerating

  • rebuilding the script line by line and seeing where it fails, which is pretty much instantly, and it gives the error:

    (process:65604): dconf-WARNING **: 02:26:01.922: failed to commit changes=
    to dconf: Cannot autolaunch D-Bus without X11 $DISPLAY
    feh ERROR: Can't open X display. It *is* running, yeah?
    

    Then when I provide the display either at the top of the script or in cron itself, it gives me this error instead:

    xrdb: Resource temporarily unavailable
    xrdb: Can't open display ':0'
    

    which is what made me think it's a wayland issue. I messed around with environmental variables a lot before I found the post about X11 not being supported.

  • editing my bashrc with paths (every time something failed to work I removed it again, so it should be back to default state now)

  • went through my entire journalctl from reboot to see if cron runs. Yes it does, and it runs the commands seemingly fine. Notable code:

    Mar 19 02:13:11 DriftPC (cron)[2105]: cron.service: Referenced but unset environment variable evaluates to an empty string: EXTRA_OPTS
    Mar 19 02:13:11 DriftPC cron[2105]: (CRON) INFO (pidfile fd = 3)
    Mar 19 02:13:11 DriftPC cron[2105]: (CRON) INFO (Running @reboot jobs)
    Mar 19 02:13:11 DriftPC CRON[2110]: pam_unix(cron:session): session opened for user drift(uid=1000) by drift(uid=0)
    Mar 19 02:13:11 DriftPC CRON[2111]: pam_unix(cron:session): session opened for user drift(uid=1000) by drift(uid=0)
    Mar 19 02:13:11 DriftPC CRON[2128]: (drift) CMD (dynamicWallpaper --wal)
    Mar 19 02:13:11 DriftPC CRON[2129]: (drift) CMD (/home/drift/custom-scripts/audio-hallelujah.sh)
    Mar 19 02:13:11 DriftPC CRON[2110]: pam_unix(cron:session): session closed for user drift
    

    Note that the cron commands were later edited to include the full path and no periods and a sleep command beforehand, and testing that achieved the same result. Later removed the script audio-hallelujah from crontab to try it as a systemd service instead, which as mentioned also didn't work.

Notably, the full script's --wal does work. Whenever the full script runs through cron, it changes my terminal font colors. (25.10 has Ptyxis as a terminal and I can not find a way to get the background to change too, so I've just accepted it)

After running * * * * * DISPLAY=:0 XAUTHORITY=/run/user/1000/gdm/Xauthority /home/drift/custom-scripts/dynamicWallpaper -p /home/drift/Pictures/Wallpapers --wal 2> /tmp/somefile >&2 on comment suggestion, the contents of somefile are

Real Weather: null
null ~ 700 ~ 1200
Temp: null
Time Type: Day, Weather Type: Snow
Authorization required, but no authorization protocol specified

feh ERROR: Can't open X display. It *is* running, yeah?
/home/drift/.local/bin/wal
[[1;32mI[0m] [1;31mimage[0m: Using image [1;37mart_therapy_20220702171825.png[0m.
[[1;32mI[0m] [1;31mtheme[0m: Set theme to [1;37m_home_drift_Pictures_Wallpapers_Day_Snow_art_therapy_20220702171825_png_dark_None_1.0_459151_2.0.0.json[0m.
[[1;32mI[0m] [1;31mcolors[0m: Found cached colorscheme.
[[1;32mI[0m] [1;31msequences[0m: Set terminal colors.
[[1;32mI[0m] [1;31mexport[0m: Reading system templates from: /home/drift/.local/share/pipx/venvs/pywal16/lib/python3.13/site-packages/pywal/templates
[[1;32mI[0m] [1;31mexport[0m: Reading user templates from: /home/drift/.config/wal/templates
[[1;32mI[0m] [1;31mexport[0m: Exported all files.
[[1;32mI[0m] [1;31mexport[0m: Exported all user files to /home/drift/.cache/wal
Authorization required, but no authorization protocol specified

xrdb: Resource temporarily unavailable
xrdb: Can't open display ':0'
[[1;32mI[0m] [1;31mreload[0m: Reloaded environment.
[[1;32mI[0m] [1;31mdonation[0m: if you enjoy pywal16 consider donating at: https://github.com/eylles/pywal16

Again, it's working fine when I run it as dynamicWallpaper from the terminal. The issue is to make it run automatically at specified intervals.

Google Chrome opens links from external applications in wrong window https://askubuntu.com/questions/1564963/google-chrome-opens-links-from-external-applications-in-wrong-window

For some days or weeks my chrome changed behavior to the worse.

When I click on a link in my Thunderbird (or in a PDF file or just opening a HTML file), chrome opens this in the worst possible window (a window which is even on another workspace).

Earlier chrome always chose the last active window, which is my wanted behavior. Now it seems that it always opens it in "window no. 1"

Since I always have several windows open scattered over different workspaces, this is really annoying.

Is there any workaround to restore the old behavior?

Chrome: Version 146.0.7680.80 OS: Ubuntu 22.04.5 LTS, MATE 1.26.0

No sound in Ubuntu 24.04 and video playback hanging https://askubuntu.com/questions/1545075/no-sound-in-ubuntu-24-04-and-video-playback-hanging

Recently, I noticed this very strange issue with sound and video playback in Ubuntu 24.04 with kernel Linux 6.8.0-57-lowlatency #59.1-Ubuntu SMP PREEMPT_DYNAMIC on a Dell XPS Laptop: When HDMI and earphones are not connected, it cannot output sound. I still can set the sound level in the top right corner, but it does not make any sound. In the system settings, Ubuntu lists "no output devices" in the playback category. Cable-bound earphones and HDMI do not show this issue.

Another, possibly related issue: Video playback on YouTube hangs after just a second indefinitely. It looks like it has to load the video, but the timeline already indicates that a good chunk of the video has been loaded. I can solve this problem temporarily by restarting the Pipewire service with systemctl --user restart pipewire, but it will re-appear later - either when starting another video or after waking up from standby. Strange: playback of mp4 files with mpv and vlc work fine.

Yet another, possibly related issue: When connecting my Bluetooth earphones, it shows them as "connected" for about a second, then immediately disconnects them again. The earphones don't notice a connection. Of course, no sound output. I already have had an issue with Bluetooth earphones and tried its solution, but to no avail.

These problems all have something to do with sound/media playback and I noticed them at around the same time, so I believe, they may be related. Except for regular updates, I haven't changed my audio stack on my system and I believe this problem started after having installed the video conferencing software WebEx.

Of course, I already applied the newest updates, tried to restart the computer, and uninstalled WebEx. Restarting Pipewire does not work, nor restarting pulseaudio, nor does reinstalling and reloading the bluetooth module of pulseaudio.

pactl load-module module-detect, as suggested here printed 23 and it gave me two sound devices: Built-in sound output device and Speakers, of which the first one is selected. When I select "Speakers", it re-activates the sound. However,

all sound works fine until I reboot again. I have to run the pactl command every time after a reboot.

is not very ideal. Something is still broken. It also does only solve the sound problem temporarily, not the video playback and bluetooth phones problem.

How to solve this issue?

Update: I found that pulseaudio and pipewire are installed and running on my computer and pipewire-pulseaudio was listed in apt as 'configuration required'. After uninstalling pulseaudio and re-installing pipewire-pulseaudio together with other packages, such as pipewire-audio and now, video playback works, but no sound output whatsoever - neither via cable earphones, speakers or HDMI. Also the bluetooth headphones continue to be automatically disconnected after a second.

Update 2: Since I couldn't find a better solution and limited available time, I decided to reset my system to an older state with TimeShift. Everything is working now.

How to switch between Gnome & MATE desktops? https://askubuntu.com/questions/1459096/how-to-switch-between-gnome-mate-desktops

When I reinstalled the OS, I had only one, Ubuntu 22.04 Gnome desktop, option. I got used to MATE desktop. Therefore I installed MATE desktop too. Having two desktop environments, MATE & Gnome, how to switch between them? I cannot just remove Gnome as it affects LibreOffice. Do you have any suggestions?

Installing python: who is deadsnakes and why should I trust them? https://askubuntu.com/questions/1398568/installing-python-who-is-deadsnakes-and-why-should-i-trust-them

I want to install Python 3.9 on my Ubuntu 20.04, and all tutorials I can find include a step as follows:

sudo add-apt-repository ppa:deadsnakes/ppa

I am concerned about security. I've looked into this question: Are PPAs safe to add to my system and what are some "red flags" to watch out for?

According to the answers, some of the main points to consider are:

Attempts to search the internet for deadsnakes only brought me into tutorials on how to install Python, which is where I started...

How to change the webcam aspect ratio and zoom for MS Teams video conferencing https://askubuntu.com/questions/1343961/how-to-change-the-webcam-aspect-ratio-and-zoom-for-ms-teams-video-conferencing
  • System: Ubuntu 18.04
  • Webcam: Logitech C920 / C922

I use mostly the Microsoft Teams Ubuntu app (v1.4) to join work video calls. I also make Zoom and Meet work video calls on occasion.

The webcam resolution during Microsoft Teams (and also Zoom and Meet) work video calls seems to be something like 16:9, which shows a lot more of my (messy working from home) background than I want.

I would like to set the aspect ratio as 4:3 and zoom in a bit so that my profile is centred on the screen. How can I do this in Ubuntu?

I installed V4L2 Test Bench from Ubuntu software and this allows me to set the aspect ratio for video within that app, but these settings do not apply to the video conferencing apps.

How to install and configure mDNS on Ubuntu 18.04? https://askubuntu.com/questions/1335936/how-to-install-and-configure-mdns-on-ubuntu-18-04

According to the link. https://www.howtoinstall.me/ubuntu/18-04/avahi-daemon/

The method it provides for installing mDNS consists of just two lines of command:

sudo apt update
sudo apt install avahi-daemon

According to the link: What is mDNS? Is it possible to make mDNS query without mdns service running?

One friend replied:

Ubuntu systems just need avahi-daemon and libnss-mdns installed.

So the first question is :

What is the standard method for installing mDNS on ubuntu 18.04?

The second question is:

After installing mDNS, how should I configure mDNS?

The third question is:

How can I verify the functionality of mDNS?

Vmware - gcc version (null) was not found https://askubuntu.com/questions/1280719/vmware-gcc-version-null-was-not-found

I couldn't install my VMware on Ubuntu. Whenever I execute sudo vmware, I receive a popup asking me to choose the version of gcc. However, unlike other errors similar to this, I am faced to choose a gcc version(null). Can you please help me out?

Tried but failed:

■ I tried mentioning the path as,

• /usr/bin/gcc 
• /usr/bin/gcc-9
• /usr/bin/gcc-10

■ tried updating linux-headers

Note: I currently have gcc version 10 and 9 installed.

Here is the popup message showing error

Error with psmouse serio1: Failed to deactivate/enable on Dell XPS 15 7590 https://askubuntu.com/questions/1234345/error-with-psmouse-serio1-failed-to-deactivate-enable-on-dell-xps-15-7590

I am having these "psmouse" errors

$ dmesg | grep -i psmouse

[   13.463294] psmouse serio1: Failed to deactivate mouse on isa0060/serio1: -5
[   13.943488] psmouse serio1: Failed to enable mouse on isa0060/serio1
[   18.454190] psmouse serio1: Failed to enable mouse on isa0060/serio1

I do not know how to disable/blacklist this psmouse and how to fix this error because when I power off my laptop this error gets a lot of time to vanish (or the error itself or a blinking dash).

I am on a Dell XPS 15 7590 runnnig Ubuntu 20.04 on 5.4 kernel.

Ubuntu freeze on boot purple screen https://askubuntu.com/questions/1143309/ubuntu-freeze-on-boot-purple-screen

After a day of restarting my computer i finally given up. I had Ubuntu 18.10 installed and worked perfectly and then i got the upgrade prompt and upgraded to 19.04. The upgrade crashed and after that the system was still booting except 80% of the time. Most of the boots resulted in a purple screen and that is all. I tried everything on the web and nothing seams to work. It is very very random. Couldn't find a way to see where it hangs. The frozen boots fo not appear in the journal. If i try to boot the recovery both messages appear so loads the kernel and the other thing and then it hangs. I reinstalled Ubuntu 18.10 (with updates) and had the same problem. I did the upgrade (which this time worked) to 19.04 and same problem. Now I installed Ubuntu 18.04.2 without any updates and i got it working 4/4 boots. I did the updates 400ish mb of updates and then started doing the same thing with the purple screen. I reinstalled the 18.04.2 and didn't do the updates.

I have no other options than to hope.. I have a Zenbook UX433FA and dualboot with Windows. I guess it is one of the packages that gets updated on 18.04.2 but i don't know which one.

Thank you.

edit: before the 18.10 reinstall i did a fresh reinstall of 19.04

Change default file manager Ubuntu 18.04 https://askubuntu.com/questions/1141722/change-default-file-manager-ubuntu-18-04

I use Thunar instead of Nautilus on Ubuntu 18.04. This works fine, but any application still uses Nautilus instead of Thunar when saving/opening etc or when opening directories/mounted drives from the desktop.

I have already tried running:

xdg-mime default nemo.desktop inode/directory

This had no effect

That possible solution was from this thread:

https://askubuntu.com/a/1043504/953041

update-initramfs issue https://askubuntu.com/questions/1134079/update-initramfs-issue

Can someone explain what this error means and how i can resolve it please?

update-initramfs: Generating /boot/initrd.img-4.15.0-47-generic
cryptsetup: WARNING: failed to detect canonical device of /dev/nvme0n1p3
cryptsetup: WARNING: could not determine root device from /etc/fstab
W: Possible missing firmware /lib/firmware/ast_dp501_fw.bin for module ast
I: The initramfs will attempt to resume from /dev/nvme0n1p4
I: (UUID=868cf117-ffc8-40ae-a29e-128a42a8c1a1)
I: Set the RESUME variable to override this.

Thanks in advance

Can't open terminal https://askubuntu.com/questions/1126236/cant-open-terminal

So for some reason I haven't been able to open the terminal in ubuntu anymore, I already tried the solutions from these threads

Terminal does not start on Remote Desktop; how to fix it?

Can't open terminal in Ubuntu 18.04 after upgrade from 17.10

and none of them have worked for me.

With the solution where I need to run locale.gen,I kept getting an error that I did not have an application to open it properly, I then got prompted to downloaded the Games app but it couldn't open it either (wasn't surprised)

With the solutions where I'm being told to run some commands with the terminal, it's not possible as I can't even open the terminal (and I'm not to sure what the gnome terminal is, I tried searching for it on my system but it just led me back to the regular terminal)all I can do is press on the terminal icon and then nothing happens. I'm pretty new to using ubuntu so I was hoping I could find some help here. I am running ubuntu 18.04

thanks

Windows partitions not showing up when installing Ubuntu 14.04? https://askubuntu.com/questions/857542/windows-partitions-not-showing-up-when-installing-ubuntu-14-04

I have a 1TB of harddrive on which windows 10 is installed. I previously had Ubuntu installed on the system but deleted it as I wanted to install the 14.04. I deleted the partition from Windows 10.

When I am trying to install using the live CD, I can only see the disk as a single drive and not seeing all the partitions. I am not sure what is wrong. Is it something related to my partitioning?

See the attached partition table

I need to use the J drive to install ubuntu 14.04 and I drive for 16.04.

Update 2: When running the command from live cd

ubuntu@ubuntu:~$ sudo fdisk -lu

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x233b0d33

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63       80324       40131   de  Dell Utility
Partition 1 does not start on physical sector boundary.
/dev/sda2   *    27967488  1706840062   839436287+   7  HPFS/NTFS/exFAT
/dev/sda3      1706840064  1707761663      460800   27  Hidden NTFS WinRE
/dev/sda4           81857  1953520064   976719104    f  W95 Ext'd (LBA)
Partition 4 does not start on physical sector boundary.
/dev/sda5           81920    27953099    13935590   83  Linux
/dev/sda6      1707773952  1953520064   122873056+   7  HPFS/NTFS/exFAT

Partition table entries are not in disk order
  • Gparted is showing the disk with unallocated sign. [Attached picture]
  • I merged one of the drives with the C drive. The left unused empty drive is NTFS with about 115 GB on which I wish to install Ubuntu 14.04.
How to change network proxy settings in Kubuntu 15.10 https://askubuntu.com/questions/712277/how-to-change-network-proxy-settings-in-kubuntu-15-10

I am new to linux and I have kubuntu 15.10. I connect to a internet network at my university which has proxy settings. So wanted to know how to make changes at the Kubuntu system level for this proxy.

I went to System Settings > Network > Proxy and in the available options, I chose the manual options (Use Manually Specified Proxy Configuration) and entered the appropriate values. [At the firefox side, I have set "Use System Proxy".] But this setting is not working. If I enter the appropriate values in the firefox network settings, I am able to connect to the internet.

Can someone please tell how to make system level proxy changes? And also, why the configuration I set at Network>Proxy>Manual Proxy does not work?

Thanks for your time!

Unable to turn on bluetooth ubuntu 13.10 https://askubuntu.com/questions/414510/unable-to-turn-on-bluetooth-ubuntu-13-10

After upgrade to 13.10 my bluetooth stoped to work: - I don't see bluetooth indicator at all - I am not able to turn it on and serch for devices

I've already checked some fixes like - instaled fixed a bazaar fork indicator-bluetooth - added my user to bluetooth group

Below are some outputs that show my config / issues

$ dmesg | grep -i bluetooth
[    2.732391] usb 5-2: Product: Bluetooth V2.0 Dongle
[    2.732394] usb 5-2: Manufacturer: Bluetooth v2.0
[    2.758748] Bluetooth: Core ver 2.16
[    2.758786] Bluetooth: HCI device and connection manager initialized
[    2.758797] Bluetooth: HCI socket layer initialized
[    2.758800] Bluetooth: L2CAP socket layer initialized
[    2.758805] Bluetooth: SCO socket layer initialized
[    8.178551] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    8.178556] Bluetooth: BNEP filters: protocol multicast
[    8.178567] Bluetooth: BNEP socket layer initialized
[    8.210172] Bluetooth: RFCOMM TTY layer initialized
[    8.210187] Bluetooth: RFCOMM socket layer initialized
[    8.210189] Bluetooth: RFCOMM ver 1.11

** list of usb devices

$ lsusb 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 005 Device 002: ID 04f2:0833 Chicony Electronics Co., Ltd 
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

** installed bluetooth packages

$ dpkg -l | grep -i blue
ii  blueman                                         1.23+update1-2ubuntu1                      amd64        Graphical bluetooth manager
ii  bluewho                                         0.1-1                                      all          notifies new discovered bluetooth devices
ii  bluez                                           4.101-0ubuntu8b1                           amd64        Bluetooth tools and daemons
ii  bluez-compat                                    4.101-0ubuntu8b1                           amd64        BlueZ 3.x compatibility binaries
ii  bluez-cups                                      4.101-0ubuntu8b1                           amd64        Bluetooth printer driver for CUPS
ii  bluez-hcidump                                   2.5-1                                      amd64        Analyses Bluetooth HCI packets
ii  bluez-tools                                     0.1.38+git662e-3                           amd64        Set of tools to manage Bluetooth devices for linux
ii  gir1.2-gnomebluetooth-1.0                       3.8.1-2ubuntu2                             amd64        Introspection data for GnomeBluetooth
ii  gnome-bluetooth                                 3.8.1-2ubuntu2                             amd64        GNOME Bluetooth tools
ii  indicator-bluetooth                             0.0.6daily13.02.19-0ubuntu1                amd64        System bluetooth indicator.
ii  libbluetooth3:amd64                             4.101-0ubuntu8b1                           amd64        Library to use the BlueZ Linux Bluetooth stack
ii  libgnome-bluetooth-dev                          3.8.1-2ubuntu2                             amd64        GNOME Bluetooth tools - support library development files
ii  libgnome-bluetooth11                            3.8.1-2ubuntu2                             amd64        GNOME Bluetooth tools - support library
ii  pulseaudio-module-bluetooth                     1:4.0-0ubuntu6                             amd64        Bluetooth module for PulseAudio sound server
ii  python-bluez                                    0.18-2                                     amd64        Python wrappers around BlueZ for rapid bluetooth development

** not able to set it as UP

$ hciconfig -a
hci0:   Type: BR/EDR  Bus: USB
    BD Address: 00:1B:10:00:11:DC  ACL MTU: 1017:8  SCO MTU: 64:0
    DOWN 
    RX bytes:457 acl:0 sco:0 events:16 errors:0
    TX bytes:68 acl:0 sco:0 commands:16 errors:0
    Features: 0xff 0xff 0x8d 0xfe 0x9b 0xf9 0x00 0x80
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
    Link policy: 
    Link mode: SLAVE ACCEPT 


$ sudo hciconfig hci0 up
Can't init device hci0: Operation not supported (95)

$ hcitool scan
Device is not available: No such device

$ rfkill list 
0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no

** loaded modules:

$ lsmod 
Module                  Size  Used by
rfcomm                 69070  0 
bnep                   19564  2 
binfmt_misc            17468  1 
nls_iso8859_1          12713  1 
vesafb                 13828  1 
btusb                  28267  0 
bluetooth             371874  12 bnep,btusb,rfcomm
nvidia              10675220  49 
coretemp               13435  0 
kvm_intel             138538  0 
kvm                   431315  1 kvm_intel
hid_generic            12548  0 
gpio_ich               13476  0 
ppdev                  17671  0 
usbhid                 53014  0 
hid                   101512  2 hid_generic,usbhid
microcode              23518  0 
lpc_ich                21080  0 
serio_raw              13413  0 
snd_hda_codec_realtek    51465  1 
snd_hda_intel          48171  3 
parport_pc             32701  1 
snd_hda_codec         188738  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep              13602  1 snd_hda_codec
mac_hid                13205  0 
snd_pcm               102033  2 snd_hda_codec,snd_hda_intel
drm                   296739  2 nvidia
snd_page_alloc         18710  2 snd_pcm,snd_hda_intel
snd_seq_midi           13324  0 
snd_seq_midi_event     14899  1 snd_seq_midi
snd_rawmidi            30095  1 snd_seq_midi
snd_seq                61560  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         14497  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              29433  2 snd_pcm,snd_seq
snd                    69141  16 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_h    da_intel,snd_seq_device,snd_seq_midi
soundcore              12680  1 snd
lp                     17759  0 
parport                42299  3 lp,ppdev,parport_pc
floppy                 69370  0 
r8169                  67341  0 
mii                    13934  1 r8169


$ ps axu | grep -i blue | grep -v grep
root       723  0.0  0.0  19264  1720 ?        Ss   16:10   0:00 /usr/sbin/bluetoothd
myuser    1571  0.0  0.1 448968  5604 ?        Sl   16:10   0:00 /usr/lib/x86_64-linux-gnu/indicator-bluetooth/indicator-bluetooth-service

** /etc/bluetooth/main.conf without comments:

$ grep -v '#'  /etc/bluetooth/main.conf | grep .
[General]
Name = %h-%d
Class = 0x000100
DiscoverableTimeout = 0
PairableTimeout = 0
PageTimeout = 8192
AutoConnectTimeout = 60
InitiallyPowered = true
RememberPowered = true
ReverseServiceDiscovery = true
NameResolving = true
DebugKeys = false
EnableGatt = false

All advices will be appreciated.

How to disable mouse scrolltabs ubuntu chrome https://askubuntu.com/questions/250619/how-to-disable-mouse-scrolltabs-ubuntu-chrome

When I hover on tabs in chrome and scroll the mouse wheel, the tabs are changing focus. This feature is really annoying for me and i want to turn it off. Any ideas?

P.S. The way I usually close an opened tab is to hover the pointer over that tab and click the wheel (also known as middle button). This feature is kind of a convention and is available in many applications.

Mirror Ubuntu desktop onto PS3 via wifi (DLNA etc) https://askubuntu.com/questions/105461/mirror-ubuntu-desktop-onto-ps3-via-wifi-dlna-etc

I'm looking to mirror my Ubuntu destop onto my TV by using my PS3. All done via wifi. Similar to the 'AirPlay Mirroring' in Mac OS X Mountain Lion. http://www.apple.com/macosx/mountain-lion/features.html#airplay

Is this possible? How would I go about it. To be clear, I don't want to share movies in particular, rather to send my screen exactly as I see it.

Printing Comments with PDF https://askubuntu.com/questions/46804/printing-comments-with-pdf

Is there a way to print the comments that are associated with a pdf on the linux version of Adobe Acrobat 9? Both acroread and evince display the comments just fine, however the linux version of the reader lacks the button in the print dialogue to enable printing comments.

Specifically I'm looking to recreate this feature (image taken from adobe.com) where the comments are printed on a seperate page with lines to the main document indicating where the comment was inserted.

enter image description here

Please Note: I am not asking to modify or write comments and annotations (typically a feature associated with Acrobat Pro), but to merely print them in a conveniently readable way.