diff --git a/README.md b/README.md index 27037f1..c52523c 100644 --- a/README.md +++ b/README.md @@ -211,6 +211,7 @@ All moving macros with ``, `g`, and the recording with `q` are disabled. --- ## Useful Information +- If you have an error similar to `Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.quickshell'")` see `./modules/other/desktopEntries.nix` - `ls` is an alias for `eza`. If you want more info than the normal `ls` run `eza`, `l`, `ll` or `la` - `qtbatticon` is a custom battery icon tray, because `cbatticon` and `batticonplus` did not work. Click on it to get more info about the battery. - `man` and `manix` use `fzf` for fuzzy search of pages. diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index 89c7336..b4a7192 100755 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -250,6 +250,8 @@ black nixd # for caelestia + kdePackages.qtdeclarative # provides qmlls and other things + quickshell # we have it but adding it there solves "WARN qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.quickshell'")" gpu-screen-recorder fuzzel papirus-icon-theme diff --git a/hosts/laptop/home.nix b/hosts/laptop/home.nix index a141748..5ff844f 100755 --- a/hosts/laptop/home.nix +++ b/hosts/laptop/home.nix @@ -36,6 +36,8 @@ #../../modules/home-manager/obsidian.nix obsidian was replaced with a custom solution ../../modules/home-manager/thunderbird.nix # email client ../../modules/home-manager/eza.nix # ls replacement + + ../../modules/other/desktopEntries.nix # creates .desktop files ]; #programs.nixvim = { diff --git a/modules/other/desktopEntries.nix b/modules/other/desktopEntries.nix new file mode 100644 index 0000000..d47438e --- /dev/null +++ b/modules/other/desktopEntries.nix @@ -0,0 +1,22 @@ +{ + ... +}: +# add a desktop entry here if you have an error like +# Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.quickshell'") + +{ + home.file.".local/share/applications/org.quickshell.desktop" = { + enable = true; + text = '' + [Desktop Entry] + Name=QuickShell + Comment=QuickShell application + Exec=quickshell + Icon=utilities-terminal + Type=Application + Categories=Utility; + StartupNotify=true + X-DBUS-ServiceName=org.quickshell + ''; + }; +}