You are not logged in.
Pages: 1
I've been working off of Sway for the past year or so. I wanted to have a Xorg native environment (I have a hidpi monitor and xwayland on sway doesn't scale properly) so I installed gnome (I use the Xorg version). I couldn't open any of my snapcraft applications afterwords. I look at /etc/profile and its been completely rewritten.
I pulled gnome from the common package. Just used `sudo pacman -S gnome`. The only other package I installed was an AUR called `evesetup` which shouldn't have touched anything in /etc/.
Last edited by yoyou446 (2020-08-16 17:33:27)
Offline
What is '/etc/path'? It isn't provided by any official repo package, and there's no mention of it on the wiki.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I'm sorry I ment /etc/profile. I'm fixing it now
Offline
Let's start with the basics:
pacman -Qo /etc/profileThis should be owned by filesystem.
Next, what exactly do you mean by "completely rewritten"? Post the contents.
Third: do you have .pacsave file(s) around for /etc/profile? What makes you sure that it was changed by a package?
Offline
It's owned by the filesystem. I'm also getting pulseaudio issues. I can't be sure it was changed directly from the package. I think it was probably one of its dependencies but my installing of `gnome` is the only thing that was changed.
When I type 'echo $PATH' I get '/usr/local/bin:/usr/local/sbin:/usr/bin'. My '~/.profile' however has 'PATH=$PATH:~/opt/bin' and 'PATH=$PATH:~/go/bin' in there. So bash is somehow skipping over my home .profile. My home directory is the same. My `$HOME` is the same. `whoami` prints my username. Even when I type 'bash' and relaunch it in the home directory it still passes over my '~/.profile'. It's also reconfigured PulseAudio. I had Bluetooth working on Sway. I downloaded 'gnome' and while I can still connect through 'bluetoothctl' and my headphones say 'connected' but PulseAudio doesn't recognise any new output devices except my inbuilt speakers. I've rechecked all the configs too.
Last edited by yoyou446 (2020-08-20 19:28:37)
Offline
Why do you think /etc/profile has been altered when your issue is with ~/.profile? Does `pacman -Qkk filesystem` show:
backup file: filesystem: /etc/profile (Modification time mismatch)
backup file: filesystem: /etc/profile (Size mismatch)Offline
I think /etc/profile has been altered because I had altered it. I had manually added more paths (e.g. /sbin/). Those paths that I added are no longer there. I always add a comment to any config I edit with my username, date, and time. My snapcraft path is also missing and is not showing up when I type `echo $PATH`.
pacman -Qkk filesystem
warning: filesystem: /etc/arch-release (Modification time mismatch)
warning: filesystem: /etc/arch-release (Size mismatch)
backup file: filesystem: /etc/fstab (Modification time mismatch)
backup file: filesystem: /etc/fstab (Size mismatch)
backup file: filesystem: /etc/group (Modification time mismatch)
backup file: filesystem: /etc/group (Size mismatch)
backup file: filesystem: /etc/gshadow (Modification time mismatch)
backup file: filesystem: /etc/gshadow (Size mismatch)
backup file: filesystem: /etc/hosts (Modification time mismatch)
backup file: filesystem: /etc/hosts (Size mismatch)
backup file: filesystem: /etc/passwd (Modification time mismatch)
backup file: filesystem: /etc/passwd (Size mismatch)
backup file: filesystem: /etc/profile (Modification time mismatch)
backup file: filesystem: /etc/profile (Size mismatch)
backup file: filesystem: /etc/resolv.conf (Modification time mismatch)
backup file: filesystem: /etc/resolv.conf (Size mismatch)
backup file: filesystem: /etc/shadow (Modification time mismatch)
backup file: filesystem: /etc/shadow (Size mismatch)
backup file: filesystem: /etc/shells (Modification time mismatch)
backup file: filesystem: /etc/shells (Size mismatch)
filesystem: 116 total files, 1 altered file
Last edited by yoyou446 (2020-08-20 19:29:55)
Offline
Please post the full contents of /var/log/pacman.log. See the tip box from pastebin.
Please use code tags for commands and their outputs.
sbin is a symlink to /usr/bin which is in the default path.
Offline
~/.profile is only sourced by bash if bash is a login shell, try "bash --login"
What brings us to the next question: did you "Just use[d] `sudo pacman -S gnome`" or did the login process also change (eg. gnome installs GDM) and how do you login to begin with?
What's $PATH on a console login (w/o gnome)?
Offline
You added /sbin/ to $PATH? Sounds like this isn't Arch, as /sbin is just a symlink on Arch.
Offline
You added /sbin/ to $PATH? Sounds like this isn't Arch, as /sbin is just a symlink on Arch.
warning: filesystem: /etc/arch-release (Modification time mismatch) warning: filesystem: /etc/arch-release (Size mismatch)
Offline
-` ********@******.*****
.o+` ----------------------
`ooo/ OS: Arch Linux x86_64
`+oooo: Host: HP Spectre Folio
`+oooooo: Kernel: 5.8.1-arch1-1
-+oooooo+: Uptime: 6 hours, 21 mins
`/:-:++oooo+: Packages: 1096 (pacman), 11 (snap)
`/++++/+++++++: Shell: bash 5.0.18
`/++++++++++++++: Resolution: 3840x2160
`/+++ooooooooooooo/` WM: sway
./ooosssso++osssssso+` Theme: Adwaita [GTK2/3]
.oossssso-````/ossssss+` Icons: Adwaita [GTK2/3]
-osssssso. :ssssssso. Terminal: kitty
:osssssss/ osssso+++. CPU: Intel i7-8565U (8) @ 4.600GHz
/ossssssss/ +ssssooo/- GPU: Intel UHD Graphics 620
`/ossssso+/:- -:/+osssso+- Memory: 3266MiB / 15621MiB
`+sso+:-` `.-/+oso:
`++:. `-/+/
.` `/
Offline
Fixed it by taking the profile of another arch install and running the snap.sh script
Offline
Pages: 1