#Steps to install Unity on Kubuntu

1 messages · Page 1 of 1 (latest)

tired grotto
#

Configure GNOME Keyring for compatibility (KWallet has issues)

Both systems will remain installed.
We won't use the same Socket for both.

sudo apt install gnome-keyring seahorse

seahorse is the GUI for gnome-keyring

Create a systemd user service for GNOME Keyring Secrets Daemon

in order to avoid the .desktop autostart issues, and also to have logging, etc, configure as a user service.:

mkdir -p ~/.config/systemd/user

kate ~/.config/systemd/user/gnome-keyring.service

Enter the following into the file we just opened/created with kate ⬇️

[Unit]
Description=GNOME Keyring Secrets Daemon
After=graphical.target

[Service]
Type=simple
ExecStart=/usr/bin/gnome-keyring-daemon --start --components=secrets
Restart=on-failure
Environment=DISPLAY=:0
Environment=XDG_RUNTIME_DIR=%h/.cache/keyring

[Install]
WantedBy=default.target

**Save The File ** this

Now:

systemctl --user daemon-reload
#Restarts the daemon to recognize the new service.

systemctl --user enable gnome-keyring.service
#Enables the service, at a user level.

systemctl --user start gnome-keyring.service
#Starts the service

Then:

systemctl --user status gnome-keyring.service

Confirm the Service is loaded, enabled, and, started

in 'System Setting>KDE Wallet>', Disable the "Use KWallet for the Secret Service Interface" option

REBOOT! (Logout and back in, at minimum)


#

Unity Hub Install

/usr/share/keyrings Ensure it exists.

wget -qO - https://hub.unity3d.com/linux/keys/public | gpg --dearmor | sudo tee /usr/share/keyrings/Unity_Technologies_ApS.gpg > /dev/null
sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/Unity_Technologies_ApS.gpg] https://hub.unity3d.com/linux/repos/deb stable main" > /etc/apt/sources.list.d/unityhub.list'
sudo apt update

sudo apt-get install unityhub

Unity_Technologies_ApS.gpg ensure read permissions to this file, especially if Login is required every time.


#

to the best of my memory, that is how i got it working, and not asking for login each time i launched Hub, or after reboots.

tired grotto
#

i've removed the section on dotnet installation due to a current version mismatch.
I am attempting to integrate the community language models with VSCodium, removing reliance on MS and their shenanigans.

tired grotto
#

the fastest path i found to getting autocompletion to work, is to just install vs code and let it grab its own internal requirements, instead of trying to use the system version. if left to it own devices, VS Code will download what it needs, after you install the Unity Extension, which pulls the C# Dev extension, etc. then, it will pull the dotnet requirements it needs, and keep them within its own hierarchy. this is particularly useful if your release does not offer the version of dotnet that it wants.

tired grotto
#

Ok, decided to break it (uninstall and reinstall the software) , so i could make sure i had things correct. turns out that in addition to letting vs code pull its reqs, i also had to install v10.x of dotnet-sdk. for some reason, it just did not want to see my 9.0.3x and refused to accept the 9.0.1 that the distro had.