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.
#Notes From some random users
I had a nearly identical problem a few months ago. Switching into a console from the LightDM login screen (Ctrl-Alt-F1), logging in with administrative username and password, and entering the following commands resolved the issue:
I had a nearly identical problem a few months ago. Switching into a console from the LightDM login screen (Ctrl-Alt-F1), logging in with administrative username and password, and entering the following commands resolved the issue:
sudo mv ~/.Xauthority ~/.Xauthority.backupsudo service lightdm restart!Screenshot
Issue: After a reboot, the boot process drops to the BusyBox shell and I end up at the Initramfs prompt:
Cause: 1. Unexpected powerloss and shock to the harddisk in a some way example charging a device while system being shutdown and causing bad superblock in system.
Solution:
Firstly, boot into a live CD or USB
Find out your partition number by using
Then, list all superblocks by using the command:
Replace "sda2" to your drive number
Now, to check and repair a Linux file system using alternate superblock # 32768:
The -y flag is used to skip all the Fix? questions and to answer them all with a yes automatically
Now try mounting the partition:
Now, try to browse the filesystem with the following commands:
If you are able to perform the above commands, you have most probably fixed your error.
Now, restart you computer and you should be able to boot normally.
(source)
#errors #Notes #fixes
Issue: After a reboot, the boot process drops to the BusyBox shell and I end up at the Initramfs prompt:
BusyBox v1.18.5 (Ubuntu 1:1.18.5-1ubuntu4) built-in shell (ash) Enter 'help' for a list of built-in commands. (initramfs)
Cause: 1. Unexpected powerloss and shock to the harddisk in a some way example charging a device while system being shutdown and causing bad superblock in system.
Solution:
Firstly, boot into a live CD or USB
Find out your partition number by using
sudo fdisk -l|grep Linux|grep -Ev 'swap' Then, list all superblocks by using the command:
sudo dumpe2fs /dev/sda2 | grep superblockReplace "sda2" to your drive number
Now, to check and repair a Linux file system using alternate superblock # 32768:
sudo fsck -b 32768 /dev/sda2 -yThe -y flag is used to skip all the Fix? questions and to answer them all with a yes automatically
Now try mounting the partition:
sudo mount /dev/sda2 /mntNow, try to browse the filesystem with the following commands:
cd /mnt mkdir test ls -l cp file /path/to/safe/locationIf you are able to perform the above commands, you have most probably fixed your error.
Now, restart you computer and you should be able to boot normally.
(source)
#errors #Notes #fixes
aomei.rar
23.5 MB
Not Exactly linux tool but used on windows to convert mbr into gpt partition table. #Apps
Recharge for this month ended.
Gonna spend this month mostly offline and reading (got some linux and haskell books) preparing for exam.
Gonna spend this month mostly offline and reading (got some linux and haskell books) preparing for exam.