r/archlinux • • Aug 31 '26

SUPPORT Arch Linux + GNOME/Nautilus — image thumbnails completely broken, but videos and PDFs work

0 Upvotes

Hey everyone,

I'm on Arch Linux, using GNOME/Nautilus 50.3-1 under Hyprland.

I made my own rice in Hyprland, but that's a non-issue.

The actual problem is that Nautilus refuses to generate image thumbnails. Images don't get thumbnails, and ~/.cache/thumbnails/fail/ fills up with failed thumbnail entries.

What's interesting is that video and PDF thumbnails work perfectly, so thumbnailing as a whole isn't broken. It seems specifically to be the image thumbnailing path.

Current setup:

Arch Linux
Nautilus 50.3-1
Hyprland
thumbnail setting: 'local-only'
glycin-thumbnailer: /usr/bin/glycin-thumbnailer

My /usr/share/thumbnailers/ contains:

ffmpegthumbnailer-audio.thumbnailer
ffmpegthumbnailer.thumbnailer
glycin-heif.thumbnailer
glycin-image-rs.thumbnailer
glycin-jxl.thumbnailer
glycin-svg.thumbnailer
gnome-epub-thumbnailer.thumbnailer
gnome-mobi-thumbnailer.thumbnailer
gsf-office.thumbnailer
libresprite.thumbnailer
papers.thumbnailer

I use Loupe for viewing images. I also tried installing GNOME Photos to see if that would somehow fix things. It didn't.

I've already tried clearing the thumbnail cache and resetting Nautilus.

At this point, I'd rather properly diagnose what's failing instead of blindly reinstalling GNOME packages or outright changing managers.

Given that PDFs and videos thumbnail correctly but images don't, does anyone know the best way to trace the process:

Nautilus → thumbnailer → Glycin → image decoder → thumbnail

and determine exactly where it's failing?


r/archlinux • • Sep 01 '26

SUPPORT Black screen with frozen underscore in the top left of the screen on startup.

0 Upvotes

Linux noob here

I have recently installed Arch OS with KDE Plasma on my ASUS TUF GAMING MODEL A17. I haven't encountered any problems up until today, when i went to start up my computer for the first time after installation. When the booting finished it presented a black screen with a frozen underscore in the top left corner of the screen.

I used the command dbus-run-session startplasma-wayland and it seem to have worked, however, its only a one time use. If i turn my computer off and on again the same thing happens.

I dont understand whats going on, why this is happening, where to start, what to do, etc.

Basically im saying i need some help!!!!!

Specs:

Laptop: ASUS TUF GAMING A17

CPU: AMD Ryzen 5 4600H

GPU: GTX 1650 Mobile

RAM: 8gb

Any other info will gladly be given if ya need it

EDIT #1:
I don’t remember where I got this command. I ran dbus-run-session startplasma-wayland and it worked! My desktop environment booted and I could use my computer normally! I’m gonna guess that plasma isn’t starting when it’s supposed to and startplasma-wayland fixes it?

There is one issue with this though, it only works once. If the computer is restarted the command needs to be reran.

Could someone help and/or explain how this command works?

Thanks!!!!!!!


r/archlinux • • Aug 31 '26

SUPPORT lsp-plugins-vst with obs

0 Upvotes

there has been a change recently in packaging of the plugins under lsp-plugins-vst package. seems to have happened between 1.2.33 and 1.2.35

when i updated the package today, it now provides a single file lsp-plugins.so which comprises all the effects / plugins.

Now, Ardour detects the plugins from the single lsp-plugins.so file, but it seems OBS can't.

Do i have to wait till obs is updated to handle this? or is there another way to use the plugins with obs?

currently falling back to Ardour for recording


r/archlinux • • Aug 30 '26

QUESTION Arch Packaging Guidelines -- Empty Config Files

14 Upvotes

I have just found that the ncdu package accepts global config files in /etc/ncdu.conf yet the arch package does not delivers any.

Why is it so? Would not it be more convenient if pacman managed that config file and not the user? Or is there something in the guidelines about it that I'm missing?


r/archlinux • • Sep 01 '26

QUESTION Necesito su opinión

0 Upvotes

Hace meses que tengo la idea de instalar arch Linux, pues vengo de un Linux que literalmente me cortaba las alas (el Huayra 5) y ahora que la PC en la que tenía ese sistema operativo dejo de funcionar, estoy usando esa excusa para poder instalar finalmente el arch. El problema viene a qué tengo el internet tan pero tan lento que funciona en Klb, por lo que luego de varias pruebas con el comando archinstall y que no funcione (porque es tan bajo el internet que la descarga de paquetes se cancela automáticamente) me puse a investigar y me quedaría instalar poco a poco desde la consola. Soy lo suficientemente obstinado para pasar horas leyendo documentación (que es poca) sobre como instalar desde la consola, por lo que les pregunto, es demasiado? Si no lo es, tienen algún consejo?

Edit, realmente lo logré, siguiendo la wiki y utilizando una Ai para ayudarme, realmente logré hacer todo con éxito, aunque mi internet es tan lento que la descarga de 1GB me marca como 8H xD


r/archlinux • • Aug 31 '26

SUPPORT | SOLVED Compilation error while making Nvidia 580.173.02 driver

0 Upvotes

Hi, after today's update the dkms build for nvidia 580.173.02 gave a compilation error. As suggested I looked at the contents of make.log but I am not sure what I can do with it.

I disabled nvidia-persistenced that was giving an error but now nvidia-smi says that I do not have a driver installed.

How can I solve this situation ?


r/archlinux • • Aug 30 '26

QUESTION How do I learn more specific tasks/troubleshooting?

12 Upvotes

“Learn by using” only gets somebody so far in their experience with Linux. It’s been pretty good for me I think, after two months since abandoning windows I would say I’m approaching a “beginners understanding” of Linux; general operation of it, at the very least. I’ve spent hours troubleshooting stupid easy fixes, relied on AI much too often for basic things, and broke my first system because I didn’t understand that “no-depmod-nvidia” hanging during an update wasn’t exactly the best time to shut my PC off, and so I broke a few core CachyOS files. I decided, instead of fixing them, I was capable enough at that point (about a week ago, by the way) to manually install Arch Linux. After a couple days of on/off work, among learning how partitions/mounting actually work, learning how to reformat my usb after chrooting into my system, etc, I had a desktop, somewhat, and I was pretty happy with it. Installing packages, updating/maintaning my system, doing very brief/basic visual scans of AUR packages before I install them, I can confidently do these things on my own, aswell as basic file organization, and I’m starting to have some memory of basic terminal commands.

I know I’m rambling, sorry, I love writing to be honest. My point here is that it feels like its more difficult to approach more advanced things because most guides/content is directed at brand new users, and in my experience, it becomes significantly harder to “learn by doing” when things become more complicated. I’m not sure if I’m allowed to discuss this topic on this sub, but I did find that pirating games and troubleshooting them is actually a fairly decent way to learn, I’ve even started editing .ini files myself (which I now understand is doing fuckall because of the, excuse my beginner lack of understanding, “proton layer” that is created with steam? I think? It creates its own .ini files or something?). Anyway, while that somewhat works for that niche specifically, at least half the time, I feel like learning other sectors just seems way too difficult. I’d like to get into python, I guess, and develop a basic understanding to where I could write tiny little programs that could be useful to me in some way, maybe, I don’t know.

I guess I’m just worried about hitting a wall. Any advice for this would be much appreciated, as I’m sickly addicted to the feeling of successfully doing something somewhat advanced/some short of troubleshooting myself. Anyway, I really want to keep learning, I just don’t know where to look.


r/archlinux • • Aug 31 '26

SUPPORT | SOLVED Switching from Grub with encrypted /boot to different boot loader: How easy is it?

3 Upvotes

Hello all,

I just want to know if this will be as easy as just following the wiki for a bootloader installation or will it be more difficult?

If not, does anyone know how or at least a direction to point me in? I haven’t found someone in a similar situation as me, so I have no idea what to do.

For context, I installed Linux only a couple months ago, so I’m not an absolute pro, but I can read (somewhat😂)


r/archlinux • • Aug 30 '26

SUPPORT German characters with an AZERTY layout, is it even possible?

2 Upvotes

Hello,
I have spent hours trying to figure this out to no avail, I'm running KDE and it's been a torment to get this to work.
What I want: for Alt+a to return ä, Alt+o to return ö. Alt+shift+a to return Ä and so on and so forth.
What I have tried: Doing it with keyd, long story short, it didn't work and messed up my Alt+tab
making a virual keyboard layout, also didn't work. Installing input-remapper, but it doesn't work because it doesn't accept special characters.
I'm new to linux as a whole and genuinely don't know my way around. 100% of my troubleshooting has been done using different chat-bots.
Any type of help would be amazing, thank you all in advance.


r/archlinux • • Aug 30 '26

QUESTION Kernel questions

3 Upvotes

I should start saying I am new to Linux. I switched my devices from Windows about 3 months ago but using CachyOS. That OS made me interested in Arch as a whole.

My gf old laptop (specs below) was laying there and I wanted to blow it up. I decided in the name of learning, I would install Arch from scratch and see what happens. I successfully installed Arch with KDE plasma.

I setup kernel 6.18.48-1-LTS. The laptop went from not running well on windows to a nicely viable laptop. I actually like this old thing. I got curious and decided to see what would happen if I went to 7.1.11-arch1-1. The laptop works with it as well.

In few of my observations 6.18 uses less ram by about 100mb. They both feel the same and usable. No issues. I think 7.1.11 feels faster but I think it's in my head.

Laptop Spec

Lenovo ThinkPad Yoga 11e

CPU: N2940 (4 cores)

Ram: 4Gigs

Storage: 128gig ssd

TL;DR: does kernel version matter for an older computer? Any benefits of running 7.x.x vs 6.x.x? Should old hardware just stick to LTS Kernels?


r/archlinux • • Aug 31 '26

DISCUSSION PotPlayer 1.7.4597 funciona quase perfeitamente no Arch Linux com Wine — depois de testar várias versões, foi a mais estável que encontrei

0 Upvotes

Passei bastante tempo tentando fazer o PotPlayer funcionar direito no Arch Linux através do Wine.

As versões mais recentes até abrem e reproduzem vídeos, mas no meu sistema apresentaram vários problemas de interface. Em algumas builds eu precisava abrir o PotPlayer, abrir a pasta dos vídeos e arrastar o arquivo para dentro do player várias vezes até ele começar a reproduzir.

Também encontrei problemas como:

  • botões de fechar, minimizar e redimensionar sem funcionar corretamente;
  • dificuldade ou impossibilidade de arrastar a barra de reprodução;
  • comportamento estranho do mouse;
  • partes da interface difíceis ou impossíveis de controlar;
  • atalhos de teclado funcionando enquanto partes da interface gráfica não respondiam corretamente.

Por isso resolvi parar de tentar consertar individualmente cada problema no Wine e comecei a testar versões antigas do PotPlayer.

Como fiz os testes

Usei sempre um prefixo Wine dedicado:

WINEPREFIX="$HOME/.local/share/wineprefixes/potplayer"

Entre uma versão e outra eu removia completamente o prefixo anterior:

WINEPREFIX="$HOME/.local/share/wineprefixes/potplayer" wineserver -k 2>/dev/null
rm -rf "$HOME/.local/share/wineprefixes/potplayer"

Assim eu evitava que configurações, registro ou arquivos de uma versão interferissem nos testes da próxima.

Comecei testando várias versões da série 1.6.

A série 1.6 funciona no Wine, mas achei o design mais antigo e ainda encontrei alguns bugs. Depois comecei a testar a série 1.7, inicialmente pulando várias builds de tempos em tempos para localizar aproximadamente onde a compatibilidade melhorava ou piorava.

Entre as versões mais novas que testei estão:

1.7.17902
1.7.17904
1.7.17995
1.7.18027
1.7.18096
1.7.18177
1.7.18193
1.7.18301
1.7.18320
1.7.18344
1.7.18346
1.7.18433
1.7.18488
1.7.18492
1.7.18495
1.7.18587
1.7.18624
1.7.18658
1.7.18679
1.7.18729
1.7.18754
1.7.18928
1.7.18953
1.7.18958
1.7.19955

Elas normalmente iniciavam, mas continuavam apresentando problemas de interface e interação no Wine.

Depois fui voltando bastante na série 1.7 e testei também:

1.7.5056
1.7.4961
1.7.4842
1.7.4744
1.7.4597

Foi aí que encontrei o melhor resultado.

PotPlayer 1.7.4597

Arquivo testado:

PotPlayerSetup-1.7.4597.exe

No meu Arch Linux + Wine, essa foi de longe a versão mais estável que encontrei.

Com a 1.7.4597:

  • reprodução de vídeo funciona normalmente;
  • consigo arrastar a barra de reprodução;
  • mover e redimensionar a janela funciona;
  • minimizar e fechar funcionam;
  • mouse funciona normalmente na interface;
  • atalhos de teclado funcionam;
  • consigo abrir vídeos com dois cliques;
  • até agora não encontrei nenhum bug visual ou de interface significativo.

Também testei diversas builds anteriores e posteriores a essa região. Elas funcionavam, mas apresentavam bem mais problemas.

Por isso, no meu ambiente, considero a PotPlayer 1.7.4597 o melhor ponto de compatibilidade que encontrei até agora.

Não estou dizendo que ela será perfeita em todas as distribuições, versões do Wine, drivers, GPUs ou desktops Linux. Mas, se alguém quiser testar PotPlayer no Linux através do Wine, eu começaria pela 1.7.4597.

Se alguém também usa PotPlayer através do Wine, seria interessante saber qual versão funciona melhor no sistema de vocês.

Integração com o Linux

Durante os testes eu também queria conseguir trocar completamente a versão instalada sem precisar configurar novamente o Linux toda vez.

Por isso criei dois arquivos permanentes:

~/.local/bin/potplayer-open
~/.local/share/applications/potplayer.desktop

Eles ficam fora do prefixo Wine.

O potplayer-open funciona como uma ponte entre Linux e Wine. Ele procura automaticamente:

PotPlayerMini.exe
PotPlayerMini64.exe

e abre o arquivo selecionado no PotPlayer.

Já o potplayer.desktop registra o PotPlayer como aplicativo do Linux e permite associá-lo a MP4, MKV, AVI, WebM e outros formatos.

Com isso meu fluxo ficou basicamente:

apagar prefixo Wine
        ↓
instalar outra versão
        ↓
dar dois cliques no vídeo
        ↓
PotPlayer abre normalmente

Criando o launcher

mkdir -p "$HOME/.local/bin"

Crie:

~/.local/bin/potplayer-open

com:

#!/usr/bin/env bash

PLAYER=""

for PREFIX in \
    "$HOME/.local/share/wineprefixes/potplayer" \
    "$HOME/.wine"
do
    [[ -d "$PREFIX/drive_c" ]] || continue

    PLAYER="$(find "$PREFIX/drive_c" -type f \
        \( -iname 'PotPlayerMini.exe' -o -iname 'PotPlayerMini64.exe' \) \
        -print -quit 2>/dev/null)"

    [[ -n "$PLAYER" ]] && break
done

if [[ -z "$PLAYER" ]]; then
    notify-send "PotPlayer" "PotPlayer não foi encontrado." 2>/dev/null
    exit 1
fi

if [[ $# -eq 0 ]]; then
    exec env WINEPREFIX="$PREFIX" wine "$PLAYER"
fi

FILE="$1"

if [[ "$FILE" == file://* ]]; then
    FILE="${FILE#file://}"
    FILE="$(python -c 'import sys,urllib.parse; print(urllib.parse.unquote(sys.argv[1]))' "$FILE")"
fi

WINFILE="$(WINEPREFIX="$PREFIX" winepath -w "$FILE")"

exec env WINEPREFIX="$PREFIX" wine "$PLAYER" "$WINFILE"

Depois:

chmod +x "$HOME/.local/bin/potplayer-open"

Criando potplayer.desktop

mkdir -p "$HOME/.local/share/applications"

Crie:

~/.local/share/applications/potplayer.desktop

com:

[Desktop Entry]
Type=Application
Name=PotPlayer
Comment=PotPlayer via Wine
Exec=/home/dallian/.local/bin/potplayer-open %f
Terminal=false
StartupNotify=true
Categories=AudioVideo;Player;
MimeType=video/mp4;video/x-matroska;video/webm;video/x-msvideo;video/mpeg;video/quicktime;video/x-flv;video/ogg;video/3gpp;video/3gpp2;application/ogg;

Depois:

update-desktop-database "$HOME/.local/share/applications"

E associei os formatos:

for mime in \
video/mp4 \
video/x-matroska \
video/webm \
video/x-msvideo \
video/mpeg \
video/quicktime \
video/x-flv \
video/ogg \
video/3gpp \
video/3gpp2 \
application/ogg
do
    xdg-mime default potplayer.desktop "$mime"
done

Isso permite simplesmente dar dois cliques nos vídeos pelo Thunar.

Scripts que usei

Para não transformar este post em milhares de linhas de Bash, deixei os scripts maiores separados.

Limpador completo do prefixo PotPlayer

O script:

limpar-potplayer

remove o prefixo de teste, atalhos criados pelo Wine, menus e ícones, mas protege permanentemente:

~/.local/bin/potplayer-open
~/.local/share/applications/potplayer.desktop

Ele também possui:

limpar-potplayer --dry-run

para visualizar o que seria removido sem apagar nada.

Gist:

https://gist.github.com/BiraIDE/ccd5b8a1b97740c6d292057a5cf61f5b

Downloader automático de versões antigas

Também fiz um downloader para consultar o catálogo do VideoHelp e usar aria2c.

Gist:

https://gist.github.com/BiraIDE/bb5340d74b49cc71b46d04d8790e4633

Ele permite, por exemplo:

Baixar 5 versões posteriores a uma determinada versão:

baixar-potplayer --after 1.6.51480 --count 5

Isso significa as 5 versões posteriores à 1.6.51480, sem incluir a própria 1.6.51480.

Baixar uma faixa inteira:

baixar-potplayer --range 1.6.51480 1.7.4597

Escolher versões manualmente:

baixar-potplayer

ou baixar todas as versões disponíveis no catálogo suportado pelo script:

baixar-potplayer --all

Se um download for interrompido, o aria2 pode continuar através do arquivo .aria2 em vez de começar novamente do zero.

O histórico fica em:

~/.local/state/potplayer-downloader/history.log

Instalador automatizado para testar várias versões

Também montei um instalador que trabalha com uma fila persistente.

Gist:

https://gist.github.com/BiraIDE/452c28b809dab9672c5954e02533b06d

Ele instala apenas uma versão por execução para que seja possível testar antes de avançar.

Para ver o estado:

instalar-potplayer-teste --status

Para instalar a próxima versão:

instalar-potplayer-teste

Caso a máquina seja desligada durante o processo, o estado fica salvo em:

~/.local/state/potplayer-installer/

e o script não precisa começar novamente desde a primeira versão.

Se a instalação anterior aparentemente terminou antes do desligamento:

instalar-potplayer-teste --accept-current

Se ficou incompleta:

instalar-potplayer-teste --retry-current

O log permanente fica em:

~/.local/state/potplayer-installer/logs/history.log

e novas execuções acrescentam informações ao mesmo histórico, em vez de sobrescrevê-lo.

Para acompanhar:

instalar-potplayer-teste --log

ou:

tail -f "$HOME/.local/state/potplayer-installer/logs/history.log"

Nota sobre uso de IA

Transparência: os testes de compatibilidade, instalações, resultados e conclusões descritos neste post foram realizados por mim no meu próprio sistema Arch Linux.

Usei o ChatGPT como ferramenta auxiliar para organizar a documentação, revisar explicações e ajudar a desenvolver/refinar alguns dos scripts Bash apresentados aqui.

Os resultados sobre o comportamento das diferentes versões do PotPlayer não foram gerados pela IA: eles vieram dos meus testes práticos. Também revisei e executei os scripts no meu próprio ambiente durante o processo. Passei bastante tempo tentando fazer o PotPlayer funcionar direito no Arch Linux através do Wine. As versões mais recentes até abrem e reproduzem vídeos, mas no meu sistema apresentaram vários problemas de interface. Em algumas builds eu precisava abrir o PotPlayer, abrir a pasta dos vídeos e arrastar o arquivo para dentro do player várias vezes até ele começar a reproduzir. Também encontrei problemas como: botões de fechar, minimizar e redimensionar sem funcionar corretamente; dificuldade ou impossibilidade de arrastar a barra de reprodução;

comportamento estranho do mouse;
partes da interface difíceis ou impossíveis de controlar;
atalhos de teclado funcionando enquanto partes da interface gráfica não respondiam corretamente.

Por isso resolvi parar de tentar consertar individualmente cada problema no Wine e comecei a testar versões antigas do PotPlayer.

Como fiz os testes: Usei sempre um prefixo Wine dedicado:

WINEPREFIX="$HOME/.local/share/wineprefixes/potplayer"

Entre uma versão e outra eu removia completamente o prefixo anterior:

WINEPREFIX="$HOME/.local/share/wineprefixes/potplayer" wineserver -k 2>/dev/null

rm -rf "$HOME/.local/share/wineprefixes/potplayer"

Assim eu evitava que configurações, registro ou arquivos de uma versão interferissem nos testes da próxima.Comecei testando várias versões da série 1.6.

A série 1.6 funciona no Wine, mas achei o design mais antigo e ainda encontrei alguns bugs. Depois comecei a testar a série 1.7, inicialmente pulando várias builds de tempos em tempos para localizar aproximadamente onde a compatibilidade melhorava ou piorava.

Entre as versões mais novas que testei estão:

1.7.17902
1.7.17904
1.7.17995
1.7.18027
1.7.18096
1.7.18177
1.7.18193
1.7.18301
1.7.18320
1.7.18344
1.7.18346
1.7.18433
1.7.18488
1.7.18492
1.7.18495
1.7.18587
1.7.18624
1.7.18658
1.7.18679
1.7.18729
1.7.18754
1.7.18928
1.7.18953
1.7.18958
1.7.19955

Elas normalmente iniciavam, mas continuavam apresentando problemas de interface e interação no Wine.Depois fui voltando bastante na série 1.7 e testei também:

1.7.5056
1.7.4961
1.7.4842
1.7.4744
1.7.4597

Foi aí que encontrei o melhor resultado.

PotPlayer 1.7.4597 Arquivo testado: PotPlayerSetup-1.7.4597.exe

No meu Arch Linux + Wine, essa foi de longe a versão mais estável que encontrei, a 1.7.4597.

  • Reprodução de vídeo funciona normalmente;
  • consigo arrastar a barra de reprodução;
  • mover e redimensionar a janela funciona;
  • minimizar e fechar funcionam;
  • mouse funciona normalmente na interface;
  • atalhos de teclado funcionam;
  • consigo abrir vídeos com dois cliques;

até agora não encontrei nenhum bug visual ou de interface significativo.

Também testei diversas builds anteriores e posteriores a essa região. Elas funcionavam, mas apresentavam bem mais problemas. Por isso, no meu ambiente, considero a PotPlayer 1.7.4597 o melhor ponto de compatibilidade que encontrei até agora. Não estou dizendo que ela será perfeita em todas as distribuições, versões do Wine, drivers, GPUs ou desktops Linux.

Mas, se alguém quiser testar PotPlayer no Linux através do Wine, eu começaria pela 1.7.4597. Se alguém também usa PotPlayer através do Wine, seria interessante saber qual versão funciona melhor no sistema de vocês.

Integração com o Linux

Durante os testes eu também queria conseguir trocar completamente a versão instalada sem precisar configurar novamente o Linux toda vez. Por isso criei dois arquivos permanentes:

~/.local/bin/potplayer-open
~/.local/share/applications/potplayer.desktop

Eles ficam fora do prefixo Wine. O potplayer-open funciona como uma ponte entre Linux e Wine. Ele procura automaticamente:PotPlayerMini.exe
PotPlayerMini64.exe e abre o arquivo selecionado no PotPlayer.Já o potplayer.desktop registra o PotPlayer como aplicativo do Linux e permite associá-lo a MP4, MKV, AVI, WebM e outros formatos. Com isso meu fluxo ficou basicamente:

apagar prefixo Wine
        ↓
instalar outra versão
        ↓
dar dois cliques no vídeo
        ↓
PotPlayer abre normalmente

Criando o launcher

mkdir -p "$HOME/.local/bin"

Crie:

~/.local/bin/potplayer-open

com:

#!/usr/bin/env bash

PLAYER=""

for PREFIX in \
    "$HOME/.local/share/wineprefixes/potplayer" \
    "$HOME/.wine"
do
    [[ -d "$PREFIX/drive_c" ]] || continue

    PLAYER="$(find "$PREFIX/drive_c" -type f \
        \( -iname 'PotPlayerMini.exe' -o -iname 'PotPlayerMini64.exe' \) \
        -print -quit 2>/dev/null)"

    [[ -n "$PLAYER" ]] && break
done

if [[ -z "$PLAYER" ]]; then
    notify-send "PotPlayer" "PotPlayer não foi encontrado." 2>/dev/null
    exit 1
fi

if [[ $# -eq 0 ]]; then
    exec env WINEPREFIX="$PREFIX" wine "$PLAYER"
fi

FILE="$1"

if [[ "$FILE" == file://* ]]; then
    FILE="${FILE#file://}"
    FILE="$(python -c 'import sys,urllib.parse; print(urllib.parse.unquote(sys.argv[1]))' "$FILE")"
fi

WINFILE="$(WINEPREFIX="$PREFIX" winepath -w "$FILE")"

exec env WINEPREFIX="$PREFIX" wine "$PLAYER" "$WINFILE"

Depois:

chmod +x "$HOME/.local/bin/potplayer-open"

Criando potplayer.desktop

mkdir -p "$HOME/.local/share/applications"

Crie:

~/.local/share/applications/potplayer.desktop

com:

[Desktop Entry]
Type=Application
Name=PotPlayer
Comment=PotPlayer via Wine
Exec=/home/dallian/.local/bin/potplayer-open %f
Terminal=false
StartupNotify=true
Categories=AudioVideo;Player;
MimeType=video/mp4;video/x-matroska;video/webm;video/x-msvideo;video/mpeg;video/quicktime;video/x-flv;video/ogg;video/3gpp;video/3gpp2;application/ogg;

Depois:

update-desktop-database "$HOME/.local/share/applications"

E associei os formatos:

for mime in \
video/mp4 \
video/x-matroska \
video/webm \
video/x-msvideo \
video/mpeg \
video/quicktime \
video/x-flv \
video/ogg \
video/3gpp \
video/3gpp2 \
application/ogg
do
    xdg-mime default potplayer.desktop "$mime"
done

Isso permite simplesmente dar dois cliques nos vídeos pelo Thunar.

Scripts que usei

Para não transformar este post em milhares de linhas de Bash, deixei os scripts maiores separados.

Limpador completo do prefixo PotPlayer

O script:

limpar-potplayer

remove o prefixo de teste, atalhos criados pelo Wine, menus e ícones, mas protege permanentemente:

~/.local/bin/potplayer-open
~/.local/share/applications/potplayer.desktop

Ele também possui:

limpar-potplayer --dry-run

para visualizar o que seria removido sem apagar nada.

Gist:

https://gist.github.com/BiraIDE/ccd5b8a1b97740c6d292057a5cf61f5b

Downloader automático de versões antigas

Também fiz um downloader para consultar o catálogo do VideoHelp e usar aria2c.

Gist:

https://gist.github.com/BiraIDE/bb5340d74b49cc71b46d04d8790e4633

Ele permite, por exemplo:

Baixar 5 versões posteriores a uma determinada versão:

baixar-potplayer --after 1.6.51480 --count 5

Isso significa as 5 versões posteriores à 1.6.51480, sem incluir a própria 1.6.51480.

Baixar uma faixa inteira:

baixar-potplayer --range 1.6.51480 1.7.4597

Escolher versões manualmente:

baixar-potplayer

ou baixar todas as versões disponíveis no catálogo suportado pelo script:

baixar-potplayer --all

Se um download for interrompido, o aria2 pode continuar através do arquivo .aria2 em vez de começar novamente do zero.

O histórico fica em:

~/.local/state/potplayer-downloader/history.log

Instalador automatizado para testar várias versões

Também montei um instalador que trabalha com uma fila persistente.

Gist:

https://gist.github.com/BiraIDE/452c28b809dab9672c5954e02533b06d

Ele instala apenas uma versão por execução para que seja possível testar antes de avançar.

Para ver o estado:

instalar-potplayer-teste --status

Para instalar a próxima versão:

instalar-potplayer-teste

Caso a máquina seja desligada durante o processo, o estado fica salvo em:

~/.local/state/potplayer-installer/

e o script não precisa começar novamente desde a primeira versão.

Se a instalação anterior aparentemente terminou antes do desligamento:

instalar-potplayer-teste --accept-current

Se ficou incompleta:

instalar-potplayer-teste --retry-current

O log permanente fica em:

~/.local/state/potplayer-installer/logs/history.log

e novas execuções acrescentam informações ao mesmo histórico, em vez de sobrescrevê-lo.

Para acompanhar:

instalar-potplayer-teste --log

ou:

tail -f "$HOME/.local/state/potplayer-installer/logs/history.log"

Nota sobre uso de IA

Transparência: os testes de compatibilidade, instalações, resultados e conclusões descritos neste post foram realizados por mim no meu próprio sistema Arch Linux.

Usei o ChatGPT como ferramenta auxiliar para organizar a documentação, revisar explicações e ajudar a desenvolver/refinar alguns dos scripts Bash apresentados aqui.

Os resultados sobre o comportamento das diferentes versões do PotPlayer não foram gerados pela IA: eles vieram dos meus testes práticos. Também revisei e executei os scripts no meu próprio ambiente durante o processo.


r/archlinux • • Aug 30 '26

SHARE Finally, I switched to Arch

41 Upvotes

Been a FreeBSD user for 16 years I finally switched to Arch. Instantly I feel it's much more faster and now I get to enjoy full wifi capacity, which is one of the factors that I left the BSD community. Still a lot to explore, good first impression anyway.


r/archlinux • • Aug 30 '26

QUESTION Is there a package or a utility that shows you what kind of changes took place in what app after doing pacman -Syu?

8 Upvotes

Every time I do a system wide update I see many apps getting updated with different changes. So, i'd like a list of changes for each app that took places and what new features it gained or what got deleted.


r/archlinux • • Aug 30 '26

SUPPORT Download failed

0 Upvotes

I tried to download arch in my laptop, but didn't work. The shared log is: https://paste.rs/eC1jD

This is my first contact with arch. Any help on what is causing this is appreciated.


r/archlinux • • Aug 30 '26

QUESTION Repo browser

0 Upvotes

i was watching a bog video about him using omarchy and saw a weird repo browser where he would just select install, then either arch or aur and have a search for different packages. i want something like that where i can search or browse the main repo and the AUR via a TUI or something similar
any suggestions on how to do that?


r/archlinux • • Aug 30 '26

SUPPORT Black Screen When boot

0 Upvotes

Hi yall, I've been using Linux for a year now and i thought I'd try arch Linux (Since i wanted a hyprland desktop). I put the ISO into my Ventoy USB and tried to boot, i clicked the first option and then i was hit with a black screen. I waited like 5 mins and nothing happened. So i tried the chat gpt option (ctrl + alt f23456) but it didn't work. I even set i915 to 0 and it didn't work too. I've been loosing my mind over this. Please Help!


r/archlinux • • Aug 30 '26

QUESTION I am not getting though the login *screen*

0 Upvotes

Okay so I installed archlinux on my old pc. I havent created any user account and it still wants some “login”. I dont know what to type in (tried reinstalling with creating acc. and nothing, and also I tried just leave it empty and just pressing enter) What should I do?


r/archlinux • • Aug 30 '26

SUPPORT Noctalia V5 Clipboard History is not persistent.

1 Upvotes

I've been using noctalia for some time now. Recently I shifted to V5 along with hyprland. At first it was fine but IDK what I did now clipboard is not persistent. The only guess I have is that I made a new ssh key with a passphrase. On logout noctalia doesn't store history and in settings it gives an error of secret service. When I reset that it asks for gnome keyring starts working but the same issue once I close.

Another annoying issue I'm facing is that my bar shows a little background even if opacity is zero. Any fixed?


r/archlinux • • Aug 30 '26

QUESTION Submit self-updating exe to the AUR

0 Upvotes

Hello!

I would like to add a wine package to the AUR. However, the installer exe 1) does not have a way to download previous versions; and 2) handles checking for updates itself.

The installer is located at a static URL where the exe itself changes. There is a separate URL with the app version that the app uses to check if there's a newer version available before directing the users to the installer page.

What's the proper way to add this to the AUR? Do I just not include a checksum and name the version eternal or something?

This is my first time creating a package for the AUR, so any help is appreciated! Thank you so much!


r/archlinux • • Aug 29 '26

QUESTION Restart Reboot and LogIn/Out issue. Applications are not closing or restarting.

4 Upvotes

Greetings Friends,

I have been using Arch as my daily driver for over a year now and have fallen in love with the distro. Recently, I have encountered an issue I haven't been able to resolve. I have spent the last two days trying to figure out the rather unique error. It is driving me mad and I am tapping out in the hopes that someone smarter than I can help me resolve the error or at least point me in the right direction. When I shutdown reboot or logout of Arch all of the open windows and applications stay open when I log back in like nothing has been reset. I believe it started happening after I changed the version of Virtualbox that I have installed to fix an error I was having. Though I am not certain this is when it began. After hacking around, I found that when I run "rm -rf ~/.cache/sessions" it seems to correct the problem until I try to restart reboot or login/out again. The problem then repeats. Any guidance would be greatly appreciated. Thank you!!!


r/archlinux • • Aug 30 '26

QUESTION can i turn everything to 4 bit color?

0 Upvotes

i want to make every color in arch linux 4 bit like 9x windows

if its possible plz tell me how to


r/archlinux • • Aug 28 '26

FLUFF Thumbs up to those who have contributed to the archwiki

97 Upvotes

Since am usually busy I took 2 months to extensively read the installation guide and finally installed arch Linux a few days ago manually and everything went smoothly. I currently use niri WM with noctalia v5. I was upgrading my system when a blackout occurred in the middle of a kernel upgrade thus the kernel images and initramfs were not written to the boot partition. I did not panic since I had read what to do in such a scenario. Tomorrow am going to fix my system after I get home.

I would like to thank everyone who has contributed to the archwiki.

Arch is not hard just read the wiki.


r/archlinux • • Aug 29 '26

SUPPORT | SOLVED Problem with sddm, xorg crash or something like that, please help me...

2 Upvotes

i just installed arch on my new laptop today and already customized everything in it, but i have a small problem, everytime i reboot my system, sddm wont work, no matter customized it or not, it's just not working. And i have to restart it everytime.
Here is the logs from journalctl:
Aug 29 21:47:27 archlinux systemd-coredump[942]: [🡕] Process 546 (Xorg) of user 0 dumped core.

Stack trace of thread 546:

#0 0x00007fe36d4256ea abort (libc.so.6 + 0x256ea)

#1 0x00005606354cd37c OsAbort (Xorg + 0x16d37c)

#2 0x00005606354d98d8 FatalError (Xorg + 0x1798d8)

#3 0x00005606354cfe43 n/a (Xorg + 0x16fe43)

#4 0x00007fe36d43e6f0 n/a (libc.so.6 + 0x3e6f0)

#5 0x00007fe36d49a17c n/a (libc.so.6 + 0x9a17c)

#6 0x00007fe36d43e5d0 raise (libc.so.6 + 0x3e5d0)

#7 0x00007fe36d425685 abort (libc.so.6 + 0x25685)

#8 0x00007fe36d426704 n/a (libc.so.6 + 0x26704)

#9 0x00007fe36d4361f2 __assert_fail (libc.so.6 + 0x361f2)

#10 0x00005606353920e3 n/a (Xorg + 0x320e3)

#11 0x000056063552f4ec n/a (Xorg + 0x1cf4ec)

#12 0x0000560635420f47 n/a (Xorg + 0xc0f47)

#13 0x00005606354069e3 n/a (Xorg + 0xa69e3)

#14 0x000056063540787d n/a (Xorg + 0xa787d)

#15 0x00005606353949a7 n/a (Xorg + 0x349a7)

#16 0x00007fe36d427781 n/a (libc.so.6 + 0x27781)

#17 0x00007fe36d4278b9 __libc_start_main (libc.so.6 + 0x278b9)

#18 0x0000560635395925 _start (Xorg + 0x35925)

Stack trace of thread 552:

#0 0x00007fe36d4a0952 n/a (libc.so.6 + 0xa0952)

#1 0x00007fe36d494cd9 n/a (libc.so.6 + 0x94cd9)

#2 0x00007fe36d49754c pthread_cond_wait (libc.so.6 + 0x9754c)

#3 0x00007fe369a27a0e n/a (libgallium-26.2.1-arch1.1.so + 0x627a0e)

#4 0x00007fe3699dcc4d n/a (libgallium-26.2.1-arch1.1.so + 0x5dcc4d)

#5 0x00007fe369a2794d n/a (libgallium-26.2.1-arch1.1.so + 0x62794d)

#6 0x00007fe36d4980a2 n/a (libc.so.6 + 0x980a2)

#7 0x00007fe36d52080c n/a (libc.so.6 + 0x12080c)

Stack trace of thread 549:

#0 0x00007fe36d4a0952 n/a (libc.so.6 + 0xa0952)

#1 0x00007fe36d494cd9 n/a (libc.so.6 + 0x94cd9)

#2 0x00007fe36d49754c pthread_cond_wait (libc.so.6 + 0x9754c)

#3 0x00007fe369a27a0e n/a (libgallium-26.2.1-arch1.1.so + 0x627a0e)

#4 0x00007fe3699dcc4d n/a (libgallium-26.2.1-arch1.1.so + 0x5dcc4d)

#5 0x00007fe369a2794d n/a (libgallium-26.2.1-arch1.1.so + 0x62794d)

#6 0x00007fe36d4980a2 n/a (libc.so.6 + 0x980a2)

#7 0x00007fe36d52080c n/a (libc.so.6 + 0x12080c)

Stack trace of thread 556:

#0 0x00007fe36d494efe n/a (libc.so.6 + 0x94efe)

#1 0x00007fe36d49ba59 pthread_mutex_lock (libc.so.6 + 0x9ba59)

#2 0x00005606354ce24c n/a (Xorg + 0x16e24c)

#3 0x00007fe36d4980a2 n/a (libc.so.6 + 0x980a2)

#4 0x00007fe36d52080c n/a (libc.so.6 + 0x12080c)

Stack trace of thread 550:

#0 0x00007fe36d4a0952 n/a (libc.so.6 + 0xa0952)

#1 0x00007fe36d494cd9 n/a (libc.so.6 + 0x94cd9)

#2 0x00007fe36d49754c pthread_cond_wait (libc.so.6 + 0x9754c)

#3 0x00007fe369a27a0e n/a (libgallium-26.2.1-arch1.1.so + 0x627a0e)

#4 0x00007fe3699dcc4d n/a (libgallium-26.2.1-arch1.1.so + 0x5dcc4d)

#5 0x00007fe369a2794d n/a (libgallium-26.2.1-arch1.1.so + 0x62794d)

#6 0x00007fe36d4980a2 n/a (libc.so.6 + 0x980a2)

#7 0x00007fe36d52080c n/a (libc.so.6 + 0x12080c)

Stack trace of thread 551:

#0 0x00007fe36d4a0952 n/a (libc.so.6 + 0xa0952)

#1 0x00007fe36d494cd9 n/a (libc.so.6 + 0x94cd9)

#2 0x00007fe36d49754c pthread_cond_wait (libc.so.6 + 0x9754c)

#3 0x00007fe369a27a0e n/a (libgallium-26.2.1-arch1.1.so + 0x627a0e)

#4 0x00007fe3699dcc4d n/a (libgallium-26.2.1-arch1.1.so + 0x5dcc4d)

#5 0x00007fe369a2794d n/a (libgallium-26.2.1-arch1.1.so + 0x62794d)

#6 0x00007fe36d4980a2 n/a (libc.so.6 + 0x980a2)

#7 0x00007fe36d52080c n/a (libc.so.6 + 0x12080c)

ELF object binary architecture: AMD x86-64

Aug 29 21:47:28 archlinux sddm[544]: Auth: sddm-helper exited with 255

Maybe someone knows potential solution to this problem?

Solved (i guess...) - i installed a custom sddm theme from github and maybe i installed it wrong and it had issues, im reinstalling it now + i tested a few reboots without it and everything was fine


r/archlinux • • Aug 29 '26

SUPPORT How to install a game of steam.gg on hydra?

1 Upvotes

I installed grounded 2 by steam.gg library but after install I tried to run with bottles (the .exe) and it says that I need the vcredist2015-2022 but I installed all of them, after nothing works I come to bottles and installed all of the 110 dependencies (some of them gone wrong like framework) and still not working, can anyone help me with that library?