Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3260

System and Network configuration • Setting up snap paths on a window manager setup

$
0
0
Hello. i have always had trouble with setting up snap and paths/global variables in a minimal window manager environment on debian.
This is what I do:

Code:

sudo apt install snapdsudo snap install core

now any snap I install WILL NOT be in PATH no matter how many times i restart. i use icewm and lightdm.
the file that should take care of this is ins /etc/profile.d and it will NOT be executed on gui logins. executing /etc/profile from .bashrc seems far fetched to me.
even so, that won't fix the menu issue. i would need to symlink the applications folder
the ONLY way i found this to source .profile in .xsessionrc and in turn source /etc/profile in .profile. is this the correct approach? is it alright to source /etc/profile on gui login ? i feel like i am going insane but i am finally relieved that something actually works.

Statistics: Posted by ChrisEaton — 2024-01-03 23:39 — Replies 1 — Views 64



Viewing all articles
Browse latest Browse all 3260

Trending Articles