# Anki doesn't display certain buttons and card contents on linux window managers

**URL:** <https://forums.ankiweb.net/t/anki-doesnt-display-certain-buttons-and-card-contents-on-linux-window-managers/18808>\
**Category:** Help\
**Created:** [April 4, 2022, 9:17am UTC](https://forums.ankiweb.net/t/anki-doesnt-display-certain-buttons-and-card-contents-on-linux-window-managers/18808 "2022-04-04T09:17:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![data-stepper](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/data-stepper/32/8939_2.png) [@data-stepper](https://forums.ankiweb.net/u/data-stepper)\
**Post date:** [April 4, 2022, 9:17am UTC](https://forums.ankiweb.net/t/anki-doesnt-display-certain-buttons-and-card-contents-on-linux-window-managers/18808/1 "2022-04-04T09:17:05Z")

</div>

Hey so I am running arch linux with linux kernel 5.17.1-arch1-1 and installed anki through the AUR package anki-official-binary-bundle anki version: 2.1.49.

Anki itself starts but it only shows the buttons File edit tools, … and doesn’t render any other buttons / cards when I want to study decks.

I can login to ankiweb by pressing the y shortcut for sync (and probably also the other shortcuts), but when I click study deck (’/’ shortcut) then it doesn’t display anything to me 😕

I am running i3 with xorg via startx and I have already tried the following:  
run anki with environment variable QT\_AUTO\_SCREEN\_SCALE\_FACTOR=0  
run with environment variable ANKI\_NOGHIHDPI=1

Maybe anyone has the same issue? Thanks for any help 🙂

---

<div class="post-metadata">

**Author:** ![kleinerpirat](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/kleinerpirat/32/19863_2.png) [@kleinerpirat](https://forums.ankiweb.net/u/kleinerpirat)\
**Post date:** [April 4, 2022, 11:23am UTC](https://forums.ankiweb.net/t/anki-doesnt-display-certain-buttons-and-card-contents-on-linux-window-managers/18808/2 "2022-04-04T11:23:13Z")

</div>

This might allow the webviews to load:

> [@Anki on Arch Linux - two application-breaking problems](https://forums.ankiweb.net/t/anki-on-arch-linux-two-application-breaking-problems/17773/3):
>
> Running anki with `--no-sandbox` or QTWEBENGINE\_CHROMIUM\_FLAGS=“–no-sandbox” should work

I have the same issue on the official packaged build for 2.1.49 and this flag solves the issue.

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [April 5, 2022, 3:51am UTC](https://forums.ankiweb.net/t/anki-doesnt-display-certain-buttons-and-card-contents-on-linux-window-managers/18808/3 "2022-04-05T03:51:52Z")

</div>

It’s mentioned on [Blank Main Window - Anki Manual](https://docs.ankiweb.net/platform/linux/blank-window.html)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [May 1, 2023, 4:26am UTC](https://forums.ankiweb.net/t/anki-doesnt-display-certain-buttons-and-card-contents-on-linux-window-managers/18808/4 "2023-05-01T04:26:49Z")

</div>


