# Automate login to Nextcloud in i3

**URL:** <https://forum.endeavouros.com/t/automate-login-to-nextcloud-in-i3/58671>\
**Category:** All WMs\
**Created:** [July 31, 2024, 11:05am UTC](https://forum.endeavouros.com/t/automate-login-to-nextcloud-in-i3/58671 "2024-07-31T11:05:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![agrandl](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/agrandl/32/48182_2.png) [@agrandl](https://forum.endeavouros.com/u/agrandl)\
**Post date:** [July 31, 2024, 11:05am UTC](https://forum.endeavouros.com/t/automate-login-to-nextcloud-in-i3/58671/1 "2024-07-31T11:05:25Z")

</div>

One problem I had after a fresh EnOS install using i3 WM based on @joekamprad fine configuration scripts: I could not get my Nextcloud Desktop app to register my login credentials and it would repeatedly open a browser instance to authorize my login. Once completed it synced my files as usual.

I came across @Buckfae’s topic [Automatically unlock gnome-keyring](https://forum.endeavouros.com/t/automatically-unlock-gnome-keyring-at-boot/24216) where he needed `visual-studio-code-bin` for code synching and so I tried adding `gnome-keyring` package as well as `seahorse` as I knew the latter program works in the Xfce4 WM.

However, after installation `seahorse` shows up in the rofi menu as “Passwords and Keys” as normally in Xfce4 but it contained no “login” entry and using its menu to add another type of key, nothing showed up. So I decided to follow the [PAM step](https://wiki.archlinux.org/title/GNOME/Keyring#PAM_method) method described in the Arch Wiki and lo and behold the “login” entry appeared in Seahorse. However it is unlocked which I think is normal, but I’d feel safer if anyone more knowledgeable could confirm this.

More usefully, though, for me now, the authorizing key to enable Nextcloud to sync my files works automatically as well and I didn’t have to enter my login credentials either. This is a bit of a mystery to me as I would have thought I’d need to at least login once manually for the key to be saved.

My other related question concerns another entry in the Arch Wiki about [Using gnome-keyring outside desktop environments](https://wiki.archlinux.org/title/GNOME/Keyring#Using_gnome-keyring-daemon_outside_desktop_environments_(KDE,_GNOME,_XFCE,_...)). Here they say that a dbus command has to be issued “during window manager startup” but I could find no mention of what the command would be for i3. Is this also necessary?

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [August 12, 2024, 7:31pm UTC](https://forum.endeavouros.com/t/automate-login-to-nextcloud-in-i3/58671/2 "2024-08-12T19:31:19Z")

</div>

a client?

[https://wiki.archlinux.org/title/Nextcloud#Synchronization](https://wiki.archlinux.org/title/Nextcloud#Synchronization)

---

<div class="post-metadata">

**Author:** ![agrandl](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/agrandl/32/48182_2.png) [@agrandl](https://forum.endeavouros.com/u/agrandl)\
**Post date:** [August 13, 2024, 7:35pm UTC](https://forum.endeavouros.com/t/automate-login-to-nextcloud-in-i3/58671/3 "2024-08-13T19:35:05Z")

</div>

Yes, not the server. I use the AppImage which works very well though updates have to be done manually. I haven’t tried the official Arch nextcloud-client package with i3, but I had problems with it using XFCE4.

---

<div class="post-metadata">

**Author:** ![system](https://forum.endeavouros.com/uploads/default/original/2X/9/9ea52f9fd5ef8e609e593c362d61a36295f48be8.png) [@system](https://forum.endeavouros.com/u/system)\
**Post date:** [December 8, 2024, 11:00am UTC](https://forum.endeavouros.com/t/automate-login-to-nextcloud-in-i3/58671/4 "2024-12-08T11:00:30Z")

</div>

Closed on December 8, 2024, 11:00am UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
