#🐧┃Linux Discussion
1 messages · Page 20 of 1
I accidentally made an extra boot folder.
well eat that folder
How?
can you do $ls and tell me the output
where is it located in?
Under sda1 I think
you mounted sda1 on /mnt/boot right?
Yeah.
$umount /dev/sda1
hello?
bruh
thats certainly not the most pleasant thing to hear
hmm what if his electricity died?
i think he would have to remake those partitions using mk
them probably corrupted
can they be mounted?
how does a parition get currupted
maybe some partition info?
he just made those
I'm still here.
well those data about the partition type
Phone calls.
superblock?
if it had issues, wouldnt mount
what
ok
$reflector --connection-timeout 5 --download-timeout 10 --sort score --latest 20 > /etc/pacman.d/mirrorlist
use reflector for now
use some other shit after you install arch properly
then do $cat /etc/pacman.d/mirrorlist to check if that file is ok
it is the only file that will be copied to your installation
ok then move on to
$pacstrap -K /mnt base linux linux-firmware pacman
if you want other kernel you can append those
or replace linux
but i recommend having linux too as a backup
Okay.
Btw, I won't be able to finish, might have to continue tomorrow.
They're already pressuring me to sleep.
Such as?
$genfstab -U /mnt >> /mnt/etc/fstab
then if you wanna go sleep
$umount /dev/sda1
umount /dev/sda2
umount /dev/sda3
i think sda2 isnt mounted
or is it
then $poweroff
later tommorow you can do
Then?
you wanna do the next steps or sleep?
I'll continue tomorrow then.
$mount /dev/sda3 /mnt
$swapon/dev/sda2
$mount /dev/sda1 /mnt/boot
$arch-chroot /mnt
that starts for tommorow if you cant find me
Thanks for thanking for thanking you.
Anyway, I'm off
this mf butchered hyprland https://youtu.be/uZDPXFQYz0Q
The first 500 people to use my link will get a 1 month free trial of Skillshare - https://skl.sh/bog10241
Arch Linux with hyperland, I mean hyprland experience.
♟️ HOW TO PLAY THE YOUTUBE GAME (free template):
https://store.thaomaoh.com/b/youtube-game
💌 MY NEWSLETTER:
https://thaomaoh.substack.com/
🟪 WALLPAPER:
https://store.thaomaoh.com/b/s...
mac fanboy warning
@pallid marsh m8 you there?
yeah
M8?
pacman -S --needed intel-ucode networkmanager iwd micro neovim vim man-db man-pages texinfo tldr grub hyprland kitty noto-fonts noto-fonts-emoji noto-fonts-extra base-devel git yt-dlp wayland
for now i had these appear in my mind
oh also a browser
firefox maybe
append your needs at the end
What about the date and localization?
you can do that later
after installing stuff
its really easy now
the hardest part will come after installation
do you wanna use plasma or gnome or keep both?
or other other de?
Can I use the surface level stuff like before?
wdym
Oh.
So, what others are good?
Aside from gnome and kde?
xfce mate trinity cinnamon are some others
that are popular
trinity is a fork of kde
cinnamon is a fork of gnome 3
So, how good is kde?
And shouldn't I install grub?
yeah not rn
you can keep both btw
for kde
you do
plasma-meta
pacman -S firefox
pacman -S for installing
pacman -Q for searching your local packages
pacman -Ss for searching online packages
pacman -uyS or -Syu for updating system
It asks to input the provider for jack.
Jack2 and pipewire-jack
pipewire
oh also install pipewire
pipewire-alsa
pipewite-pulse
btw
never do pacman -Sy
Why?
arch doesnt officially support partial upgrades
it uodates your repos but doesnt update any software
it will cause breakages
so if you use any guide where it says to
then avoid it
Okay.
So, do I install kde now?
And also, how do I install sddm?
So, uh.... Ffmpeg or gstreamer for the qt6-multi-media backend?
ffmpeg guess
Does any of them do anything different?
they look different
thats the biggest difference
okay after these packages you are gonna do some other step
then boot into arch linux
and then setup some other things
What's the other step?
$ln -sf /usr/share/zoneinfo/Region/City /etc/localtime
replace region and city
use Tab for suggestions
How do I check if it worked?
idk i never had to
They returned no output.
now do you wanna use micro or neovim
eh ok
Neovim, I guess?
:wq
:w saves
:q quits
nvim /etc/locale.conf
LANG=en_US.UTF-8
or whatever you used
wq isn't working.
How do I save locale.conf?
:wq
Done.Now what?
$hostnamectl hostname yourhostname
Just need to write the hostname, right?
yeah one line
Done.
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
i think it will be on /boot
since you are already chrooted
It failed to get canonical path of /mnt/boot
remove /mnt
Eifbootmgr:not found.
shit i forgot
pacman -S grub efibootmgr
then type
efibootmgr
it should output something
It did.
Installation finished.
grub-mkconfig -o /boot/grub/grub.cfg
Done.
ok i think thats about it and now you can continue the other part from arch installation
That is?
do CTRL+D
Then?
Aight.
Here goes nothing.
Wait, why is there a seperate grub in boot menu?
3
yeah select GRUB
you might have to delete the weird ones later
the ones that are ded
The standalone one in boot menu.
Ssd one is probably corrupted.
yeah i think i might need screenshot of all the options
Shows the first pic.
welp bruh
reboot to usb
mount /dev/sda3 /mnt
swapon /dev/sda2
mount /dev/sda1 /mnt/boot
What the hell is bro doing
installing assloader
Why is so many ss for diagnosis
also known as grub
Says kernel image doesn't exist.
Skill issue on my part.
what does it say
Says target not found.
ping archlinux.org
Target not found.
are you chrooted?
type lsblk and show me the output
Wait no in root actually.
bruhhh
mount /dev/sda3 /mnt
swapon /dev/sda2
mount /dev/sda1 /mnt/boot
arch-chroot /mnt
Command not found.
Mkinit or booster for core?
what
We'll have to continue later.
Ar night maybe.
Linux is installed.
Mkinicpio worked.
how did bro forgot to install linux in GNU/Linux
GM
Git Gud
GM
Git Gud
Gm
hi
hi
I'm ur special that's why u pinged me ik
Don't need to praise me
I'm that good
real
well you are better than those 2 people
they just GM and forgot this thread exists
Then
There are people like me who annoy the entire forum with their problems.
then there is lifeless me who only yaps and has a fully messed up life
At least you know your stuff.
what do i even know
look at catfish
he is a successful man
he knows programming
i have skill issues
discipline issues
addiction issues
Literally me.
nah
except i cant fix them
Same.
yo have you installed arch?
I'll dive tomorrow.
Btw, what are the final steps?
did you do grub-mkconfig after installing linux?
I did mkincpio -P.
well grub needs to update its config for linux kernel to appear
So, how do I do that?
Anyone tried running a Ubuntu VPS on GitHub?
Well it's not a VPS technically but ykyk
you get limiited ci/cd time
you get 6 hour total of the vm being alive
use oracle cloud free tier vps, 24gb ram 4 ampere arm core(slower than rasp pi 4)
and 0,5gb ram (1/6) vcore amd cpu(1 core split 6 ways) , you get 2 of this amd vps for free
GM
dont you need credit card
Yes you do
But you will never be charged in that configuration
4 core 24 gb ram is free
freeloaders aint doin that
Those hardware never see light of the day, they dont lose much by letting you have them by free if that sways you to have your infrastructure in oracle(dont)
I'd say less than 30% of the people end up being free loaders
thats kinda crazy
Oracle has no spot, go aws if you have money, go with azure if you poor, go gcloud if balaced
And after that?
try rebooting
and see if grub works
or if i should explode you
if it boots to arxh we can start with the next steps
damn thats one hell of a skill issue
yo dude what happened?
Shouldn't I have to make a user first?
yeah wait
useradd -m madagascar
login
Where?
Does it have to be madagascar?
no it was just a name 💀
User name right?
Then?
or lifeless-fart
then
$passwd madagascar
then setup your passsword
$pacman -S --needed sudo
there is space after -S
Wait I got it.
-S and --needed are different flags
Be right back after 5 minutes.
Then?
$EDITOR=nvim visudo
Okay
Now what?
It's empty.
uhh a screenshot?
uncomment %wheel ALL=(ALL:ALL) ALL
Sure?
you dont want sudo?
the one under root
%wheel
not without a password
why would you use sudo without password
thats some risky shit
So how do I comment the without password one?
there is to a # in front of it
once done press ESC or CTRL + C
then type :wq
if you did something wrong it wont let you
Says it's not valid
wait i did it wrong
groupadd wheel
the percent wont be there
use Up arrow key
to go up the commands
Wheel already exists.
then remove percent
Now what?
i meant change madagascar to your username
what
It's still in root.
So now what?
Ntp doesn't exist.
Didn' work.
Still didn't work.
hmm that can be done later
What was that?
pacman -Q kitty
time service
Then?
i forgot the name
Kitty'd.
Yeah.
good that means its installed
sudo systemctl enable --now sddm.service
does ugly sddm appear?
Yes.
now hop into hyprland
Okay.
you can also use tty to login to hyprland if you dont like display manager
its just
$Hyprland
okay in hyprland open kitty
Then?
W8
How do you do the,~ in keyboard?
Nd uh.... It didn't show the config file either.
I got that.
skill issue maybe
But there's no config file.
damn why is it that i keep forgetting to charge my laptop while using it
yes
Then?
nvim ~/.config/hypr/hyprland.conf
btw remember if it doesnt find hyprland it should throw up error
you probably did some command wrong which made it create new line
Workedm
remove that line
Done.
save and exit
hmm
maybe try
SUPER+M
then log back into hyprland
otherwise i need the configs screenshot
Wit, i forgot to save.
💀
Fixed.
dude
Now whatM
Ntpd command not found.
bruhh what
sudo pacman -S --needed ntp
probably isnt installed then
once you do that
sudo pacman -S xdg-desktop-portal-hyprland xdg-desktop-portal-gtk
bind = $mainMod, K, exec, grim -g "$(slurp)" $HOME/Screenshots/$(date +'%s_grim.png') | wl-copy -t image/png && notify-send "Screenshot Taken"
bind = $mainMod, H, exec, grim -g "0,0 1366x768" $HOME/Screenshots/$(date +'%s_grim.png') | wl-copy -t image/png && notify-send "Screenshot Taken"
if you add these 2 lines and change the resolution it should be able to take proper screenshot for you
make sure to install grim and slurp
$ping archwiki.org
Temporary failure in name resolution.
does it ping?
No.
no internet L
$iwctl
[iwd]# adapter phy0 set-property Powered on
i think you do that
for ethernet
Should I do ctrl c?
yeah it will never start
lspci -v
check if it shows your ethernet
it should have a line with kernel driver in use
which would mean its working
There's an ethernet controller.
With a kernel drive in use.
ok good
Now what?
Worked.
good
now download ntp
then
$sudo ntpd -u ntp:ntp
$sudo systemctl enable --now ntpd.service
what
yeah
install xdg-desktop-portal-hyprland
xdg-desktop-portal-gtk
these are things for things like file picker and screen sharing etc
ok i gave you two binds to append to your config so you can screenshot properly
you can copy them by now opening firefox
instead of having to type them
bind = $mainMod, K, exec, grim -g "$(slurp)" $HOME/Screenshots/$(date +'%s_grim.png') | wl-copy -t image/png && notify-send "Screenshot Taken"
bind = $mainMod, H, exec, grim -g "0,0 1366x768" $HOME/Screenshots/$(date +'%s_grim.png') | wl-copy -t image/png && notify-send "Screenshot Taken"
you need to install three things for it work btw
wl-clipboard grim slurp
and also
change your resolution
How do install grim?
mine is 1366x768
How do I change resolution?
1600x900
In the phone?
i hope you know basic hyprland keybinds
I remember the ones from the dot files.
bruh
anyways
download the file
cd Downloads/
cat append.file >> ~/.config/hypr/hyprland.conf
Super+K to pick a part of your screen
Super+H to screenshot the entire screen
it should also copy to your clipboard
How do I paste?
where?
in the chat?
CTRL+V
Also how do I close stuff?
in terminal it is CTRL+SHIFT+C
SUPER+C
Ctrl v isnt working
it should work in firefox
ctrl + v
It isn't pasting
hmm open kitty and type$ wl-paste
Nothing happened
in the append file?
you can upload files from using the + button in discord
yeah i have skill issues
So..now what?
well uhh
install file manager
your bar
application launcher
wlogout
fastfetch
btop
hyprpaper and waypaper
you can also use swww instead of hyprpaper
The documentation for Hyprland.
start with getting started
then read the master tutorial
to get an idea
It is not finding wlogout.
Mako or swaync?
m8?
I installed rofi, qt stuff, nwg, and other stuff.
you there?
uninstall rofi
how?
sudo pacman -Rns rofi
$sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si
to install yay
it says i need root
even with sudo
what
only pacman needs root
pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
makepkg -si
do them step by step instead
so it worked?
you got yay maybe
$yay -S rofi-wayland wlogout
some tools are not on pacman
there's none.
there's none.
damn
so now what
remove make dependencies?
y
GM
idk
you got rofi and wlogout
add them to your config
add the top
exec-once = rofi -show drun
Wayland sucks.
just like xorg
xorg created Wayland
wayland is the grandfather of xorg
xorg is the god father
xorg is my ballz
I agree. Xorg thr goat
damn your goat has ballz?
last time i saw my goat was when i was eating it
and the ballz were gone
just like yours is gone now
My goat created your goat. Goat+Goat=Goat
Goat+Goat = 2Goat
btw read the wiki and read the binds part
learn about binds
and add wlogout as a bind
how?
arch or hyprland?
should i use exec once?
actually exec
hypr
rofi keeps saying failed to set locale
bn_BD UTF-8
en_US.UTF-8 UTF-8
dude from bangladesh?
Credit card 😭
L kid moment
can we focus at the problem at hand for now?
i cant when my pc just shutdown and i need to reopen all forums
Okay.
btw do you wanna remove bd bd or what
I'll try fixing the ss's then.
the ss one i got solution
the rofi problem to be precise
uhh
What about code space? It runs Ubuntu server
and the extra utf
unless you want your pc to have bengali language
sudo nvim /etc/locale.gen
comment out
then
and the ss?
$sudo locale-gen
no
well then you can configure icons later
w8 should i enter de now?
what
## SCREENSHOT UTILITY ##
# Screenshot full screen and copy to clipboard
bind = $mainMod SHIFT, H, exec, grim -g "0,0 1366x768" - | wl-copy -t image/png && notify-send "Screenshot Taken" "Copied to clipboard"
# Screenshot full screen and save to ~/Screenshots
bind = $mainMod, H, exec, grim -g "0,0 1366x768" $HOME/Screenshots/$(date +'%s_grim.png') && notify-send "Screenshot Taken" "Copied to Screenshots folder"
# Screenshot a selected area and copy to clipboard
bind = $mainMod SHIFT, K, exec, grim -g "$(slurp)" - | wl-copy -t image/png && notify-send "Screenshot Taken" "Copied to clipboard"
# Screenshot a selected area and save to ~/Screenshots
bind = $mainMod, K, exec, grim -g "$(slurp)" $HOME/Screenshots/$(date +'%s_grim.png') && notify-send "Screenshot Taken" "Copied to Screenshots folder"
delete the old stuff i told you to append
and replace them
oh you need to configure neovim for that
first delete the screenshot bind that i gave you before from your config
Command restricted to admins (Discord permissions: administrator). Use $restrict to allow specific roles.
chill the fk out of here deepshit
then
Oh yeah I was gonna ask a question
Don't u have a file explorer you can use IN the terminal?
$cat append.file >> file
Like VIM and Nano
yes you can use ranger
Just using them as an example
Kool
Yeah it runs on the terminal that's why I was using it as an example
Cuz there are text editors outside the terminal ofc
still doesn't work
Thx
but swaync is working
hmm great i think i might have even more problem
What happened?
bruh my screenshot bind is opening hyprland
what an ass tool
here is my hyprland
even bigger
So, should we deal with it later?
screenshot?
yeah?
did you try the one i gave you?
yeah
does it not work?
still doesn't work.
grim -g - | wl-copy -t image/png && notify-send "Screenshot Taken" "Copied to clipboard"
try this one
in your terminal first
i did
what happens
invalid geometry
grim - | wl-copy -t image/png && notify-send "Screenshot Taken" "Copied to clipboard"
this one should work
mf grim
i hope this time its all good
remove the old screenshot tool
and use this one
cd Downloads/
cat append.file >> ~/.config/hypr/hyprland.conf
doesn't work
what happens?
can you show me that part of your config
anyway how do u take full ss pic?
super shift h for clipboard super h for ~/Screenshots
hmm maybe your cursor is an L
a blur means slurp is working
super h ?
super h doesn't work
dragging is working
i forgot the resolution
but it gives no output
you need to change your resolution
bruh
where?
super shift k
remove -g "0,0 1366x768"
from first one
from second one change resolution to 1600x900
wait
is it not working because there is no HOME\Screenshots
so now it's taking them.
but not taking them to the clipboard.
Well, as long as it works.......
thats intentional
shift puts it to clipboard
without shift it goes to screenshots
i unfortunately couldnt do both
So....can we move on to actually seeing the de?
no worries
I'll have to figure it out later.
you can try using other tools
grim and slurp are very barebones
hyprshot is a great one
grimblast is another
swaapy i think is also another
flameshot is shit but works
I'll try out wappy.
i am just lazy ass
if you wanna record or stream then you need to tweak some things
you were a big help
thanks for thanking me
that'll have to wait
its in the wiki if i die
Okay.
human meat
How do I change all my gpu drivers from Nvidia to amd?
Do I just remove the old nvidias and install amd?
install amd drivers?
what
i think you remove nvidia
shut down
change nvidia gpu
hop in amd gpu
turn on
i still got questions on wdym by install amd
I had a nvida gpu
With nvida drivers
Now I wanna switch to an amd gpu
Obv nvidia drivers ain't gonna work with amd right
amd doesnt require proprietary drivers though unless you got some weird ass feature that you love
Amd gpu drivers
Got it
I knew but I was confused if I need to tinker with grub or the kernel or smthn
well thats nvidia for ya
Never switched drivers so I'm clueless here
Nvidia er khetre drivers blacklist kora na korar bohut kahini ase
Tai ar ki
Amd te erkm pera hoar kotha na
nvidia te mkinitcpio te module add kora lage ar aro problem
but initially nouveau diye ogula kora lage na
Nouveau te game khele performance paoa jai na
tai nvidia teo run korbe just driver ta bhalo na
astese
Amr old ass gpu te na
well kind of ese gese
Gt710 er jonno je driver silo eitai onk
amar old pc tar driver e abondoned 💀