I just realised that creating new youtube account was not a successful idea. The home feed is filled with unrelated videos (non linux videos) which I never even opted for.
This media is not supported in your browser
VIEW IN TELEGRAM
Finnally, bended the youtube recommendations feed the way I wanted.
So today I learned
### How to format USB to Correct way. (Or How to turn it to normal)
- run
- know your device
unmount it
- format it
- then write filesystem and mount it
if nothing work to return your pendrive to normal there is one last thing you can do.
- Open Terminal, make sure device is unmounted and run this command
-
- IT CAN TAKE MUCH TIME so wait for atleast 5 minute
- and then every thing is successful and message shows there is no space left in device then consider its normal
- now you can use above methods to create partition table and format it to vfat.
Thanks to this video It helped me to figure out.
https://youtu.be/V6m5ZPGIbcI
#notes
### How to format USB to Correct way. (Or How to turn it to normal)
- run
df or 'sudo fdisk -l' to list devices- know your device
unmount it
sudo umount /dev/sdc1 - format it
sudo wipefs --all /dev/sdc
- now partition it properly with sudo cfdisk /dev/sdc
[select msdos for usbs` and create partion as default if not found vfat option in type leave it as linux 83]- then write filesystem and mount it
sudo mkfs.vfat -n 'MYUSB' -I /dev/sdc1
[The first command will wipe entire data and restore every sector to zero and original so this process is also helpful when formating bootable usbs to normal usbs]if nothing work to return your pendrive to normal there is one last thing you can do.
- Open Terminal, make sure device is unmounted and run this command
-
sudo dd if=/dev/zero of=/dev/sdc (No need to add number)- IT CAN TAKE MUCH TIME so wait for atleast 5 minute
- and then every thing is successful and message shows there is no space left in device then consider its normal
- now you can use above methods to create partition table and format it to vfat.
Thanks to this video It helped me to figure out.
https://youtu.be/V6m5ZPGIbcI
#notes
YouTube
How to Format a Bootable USB to Normal
This video will show you how to restore a bootable USB to its normal state on Linux.
Free download USB data recovery software for Windows (sponsored): https://bit.ly/2BaRcn6
After you created a bootable USB, for example as I showed here https://youtu.be/rpGgTTFKwiU…
Free download USB data recovery software for Windows (sponsored): https://bit.ly/2BaRcn6
After you created a bootable USB, for example as I showed here https://youtu.be/rpGgTTFKwiU…
Finally I learned how to make conky work everytime i boot up with autostart script
How to set autostart script in openbox
When you log in with the "Openbox" session type, or launch Openbox with the openbox-session command, the environment script will be executed to set up your environment, and the autostart script can launch any applications you want to run at startup.
_Here I wanted launch conky theme at every boot up._
Once Openbox starts, the system-wide default script, located at
So I edited the file autostart from above loacation and added my line
# load conky
Courtesy [this page](http://openbox.org/wiki/Help:Autostart)
How to set autostart script in openbox
When you log in with the "Openbox" session type, or launch Openbox with the openbox-session command, the environment script will be executed to set up your environment, and the autostart script can launch any applications you want to run at startup.
_Here I wanted launch conky theme at every boot up._
Once Openbox starts, the system-wide default script, located at
/etc/xdg/openbox/autostart, will be run. Then the user script at ~/.config/openbox/autostart is run afterward. So I edited the file autostart from above loacation and added my line
# load conky
conky -c /home/archsarang/.config/conky/ArchLabs.conkyrc &
and it workedCourtesy [this page](http://openbox.org/wiki/Help:Autostart)
Learning openbox was amazing experience.
- Now i prefer openfox over xfce.
- It made me think how little scripting and tinkering with
- tin2 panel is great
- openbox themes also nice.
- loved
- Actually learning vim via vimtutor
- now i can escape out of vim thats a great improvement.
- keybindings help me stop using mouse now i dont need to feed him cheese more often.
Now moved onto i3 a week ago.
- set keybindings for my needs
- copied some layout and theming configs from DistroTube's dotfiles.
- Inspired by luke smith and DT trying more suckless utilities like
- now configuring some statusbar and adding some modules into it.
- Now i prefer openfox over xfce.
- It made me think how little scripting and tinkering with
openbox configs can help me manage my workflow.- tin2 panel is great
- openbox themes also nice.
- loved
rofi, dmenu, sxiv, nnn, vifm,vim, nitrogen and keep using them- Actually learning vim via vimtutor
- now i can escape out of vim thats a great improvement.
- keybindings help me stop using mouse now i dont need to feed him cheese more often.
Now moved onto i3 a week ago.
- set keybindings for my needs
- copied some layout and theming configs from DistroTube's dotfiles.
- Inspired by luke smith and DT trying more suckless utilities like
st and surf.- now configuring some statusbar and adding some modules into it.
1. My all notes are inaccessible to me untill i remeber the correct password i encrypted them with in
I think i used re-encryption to the encrypted database so basically I made it more difficult to decrypt myself.
Some joplin appimage refuse to synchronize with previous encrypted notes.
I think its best to mirror my notes in here with #notes
2. I break my ArchLabs with trying forcefully installing
So instead trying fix it in frustration I formated with nearby
3. Good news: I sorted my partition order.
In this process I used sort option in cfdisk to sort wrong partition table order. And also I switched to new hard drive as
4. In new archlabs installation I first time tried for
Ps. I am distro hopping again and my next hop is endevour os.
joplin.I think i used re-encryption to the encrypted database so basically I made it more difficult to decrypt myself.
Some joplin appimage refuse to synchronize with previous encrypted notes.
I think its best to mirror my notes in here with #notes
2. I break my ArchLabs with trying forcefully installing
foliate reader. It needed dependancies after dependancies which were not in repositories so i have to hunting them manually in aur and eventually breaking my init dependancies in process.So instead trying fix it in frustration I formated with nearby
Pop OS 19.10 rubber ducky. I loved it for nearly one night and next half day. And the. I got bored And then i switch back to Archlabs craving for my old fashion i3 setup. 3. Good news: I sorted my partition order.
In this process I used sort option in cfdisk to sort wrong partition table order. And also I switched to new hard drive as
/dev/sda device. Plus i did more copy and paste the partitioning to arrange all partitons in correct order.4. In new archlabs installation I first time tried for
ly (ncurses based) login manager and something goes again wrong and not even lightdm worked so lxdm currently saving day. Ps. I am distro hopping again and my next hop is endevour os.
Installing Dwm
#notes
1.
3. Edit
Look for
and
save it and compile it with sudo make clean install
4. goto
and create a dwm.desktop file
and write these lines in it
save it and exit i3 to and launch dwm
#notes
1.
Git clone git.suckless.org/dwm
2. make -C /dwm3. Edit
config.mk fileLook for
X11NC and change values to /usr/include/X11and
usr/lib/X11save it and compile it with sudo make clean install
4. goto
/usr/share/xsessions/and create a dwm.desktop file
and write these lines in it
[Desktop Entry]
Encoding=UTF-8
Name=dwm
Comment=dwm window manager
Exec=/usr/local/bin/dwm
Type=Application save it and exit i3 to and launch dwm
Encrypt your passwords with pass
----------------------------------------
- Install pass:
- see your password
--------------------------------------------
- manually decrypting .gpg file
- change directory to where is your gpg keys located
- Type
--------------------------------------------
Accessing Password from dmenu
- create an keybinding from passmenu
- passmenu copies the password into clipboard for 45 sec
- and also add this line into passmenu file to get notify
`notify-send "Password for $password copied to clipboard for 45sec."
Courtesy: #Distrotube Pass - The Standard Unix Password Manager
#notes #enc
----------------------------------------
- Install pass:
sudo pacman -S pass
- Generate gpg key: gpg --full-generate-key
- Remember you key or for see again itgpg --list-secret-keys --keyid-format LONG
- Initialize your key pass init "gpg-key"
- save your password pass insert testsite.com
- Enter pass to see a list of your saved password- see your password
pass testsite.com
- enter your passphrase--------------------------------------------
- manually decrypting .gpg file
- change directory to where is your gpg keys located
- Type
gpg -d testsite.com.gpg
- enter your passphrase--------------------------------------------
Accessing Password from dmenu
- create an keybinding from passmenu
- passmenu copies the password into clipboard for 45 sec
- and also add this line into passmenu file to get notify
`notify-send "Password for $password copied to clipboard for 45sec."
Courtesy: #Distrotube Pass - The Standard Unix Password Manager
#notes #enc
How I set up my Ncmpcpp
[This setup is based on Luke Smith's voidrice config]
#notes
Step 1 : Install
- create config files:
- paste the content from here:
[ncmpcpp/config]
[ncmpcpp/bindings]
- Go to
- create/edit config file
- paste the content from here:
[mpd/mpd.conf]
- Edit them according to your need like changing music directory and all.
- Inside
-
-
Step 3 : Initialize mpd and start ncmpcpp
- open terminal and follow instruction
- kill mpd process
- start mpd
- start ncmpcpp
Enjoy!
[This setup is based on Luke Smith's voidrice config]
#notes
Step 1 : Install
sudo pacman -S ncmpcpp
oryay -s ncmpcpp
sudo pacman -S mpd mpc
Step 2 : Configure- create config files:
nvim ~/.config/ncmpcpp/config
nvim ~/.config/ncmpcpp/bindings- paste the content from here:
[ncmpcpp/config]
[ncmpcpp/bindings]
- Go to
~/.config/mpd folder- create/edit config file
- paste the content from here:
[mpd/mpd.conf]
- Edit them according to your need like changing music directory and all.
- Inside
config/mpd folder create these files and folder too-
mkdir playlists-
touch mpd.conf mpd.db mpd.log mpd.pid mpdstateStep 3 : Initialize mpd and start ncmpcpp
- open terminal and follow instruction
- kill mpd process
killall mpd- start mpd
mpd- start ncmpcpp
ncmpcppEnjoy!
Weather ☔ Update:
- Display manager is gonna absent from now on.
- Gnome is completely disappeared
- No Xfce either
- No terrible slowing and crashing of systemd will stop you running fast
- No annoying GUI and mouse needed
- Luke's Rice growing in scratch waters of xbps.
- Wisdom of choice is finally realized.
Welcome to Void!
- Display manager is gonna absent from now on.
- Gnome is completely disappeared
- No Xfce either
- No terrible slowing and crashing of systemd will stop you running fast
- No annoying GUI and mouse needed
- Luke's Rice growing in scratch waters of xbps.
- Wisdom of choice is finally realized.
Welcome to Void!
Void linux was mysteriously felt awesome. Nobody can tell why.
But I had my own complains:
- repos doesnt have enough packages as arch
- No aur support.
- I had hard time installing xmonad.
- xmonad-contrib file doesnt have any files other than license.
- may be i didnt enabled multilib repo but the packages i want wast available in main repo like
I loved void linux but dont know why, it felt strangely light and attractive but lots of people like me couldnt figure out why.
I had to switch to artix. And still now i am having hard time seting up xmonad. Its installed easily. But xmobar aint coming up on screen.
But I had my own complains:
- repos doesnt have enough packages as arch
- No aur support.
- I had hard time installing xmonad.
- xmonad-contrib file doesnt have any files other than license.
- may be i didnt enabled multilib repo but the packages i want wast available in main repo like
wine32bit, libxft-bgra and etc etcI loved void linux but dont know why, it felt strangely light and attractive but lots of people like me couldnt figure out why.
I had to switch to artix. And still now i am having hard time seting up xmonad. Its installed easily. But xmobar aint coming up on screen.
Back to Dwm with Noto Sans Emojis because libxft-bgra is dead for very long time)
Found this amazing article for mouse navigation through keyboard
https://linuxreviews.org/HOWTO_use_the_numeric_keyboard_keys_as_mouse_in_XOrg
#Notes
https://linuxreviews.org/HOWTO_use_the_numeric_keyboard_keys_as_mouse_in_XOrg
#Notes
Yesterday I had experienced first time in my life windows 7 shutting down scenario in Atm machines.