Skip to main content

void audio

#installing  

extract void tarball
example:https://alpha.de.repo.voidlinux.org/live/current/void-x86_64-ROOTFS-20181111.tar.xz
#cfdisk
#mkfs.ext4 /dev/sdax
#mount /dev/sdax /mn
$ cd Downlaods
#mv void-x86_64-ROOTFS-20181111.tar.xz /mnt
#tar -xvpf  void-x86_64-ROOTFS-20181111.tar.xz
#arch-chroot /mnt or
https://wiki.voidlinux.org/Installation_on_UEFI,_via_chroot
# mount -t proc proc /mnt/proc
# mount -t sysfs sys /mnt/sys
# mount -o bind /dev /mnt/dev
# mount -t devpts pts /mnt/dev/pts
# cp -L /etc/resolv.conf /mnt/etc/
# cd /mnt
# chroot /mnt
 
# passwd root
# chown root:root /
# chmod 755 / 
 
#blkid
replace uuid here to ur own of /dev/sdax of root partition 
UUID=162ba999-40d6-4825-8011-49bbeba1143f / ext4 rw,noatime,discard 0 1


#vi /etc/default/libc-locales
#uncomment needed locales
en_US.UTF-8 UTF-8
 
#xbps-reconfigure -f glibc-locales
 
sudo xbps-install leafpad
xbps-query  xbacklight xwinfo xprop ranger polybar i3 xorg-minimal sxiv st firefox
 

sudo vi /etc/dhcpcd.conf 
#using cloudflare dns use 8.8.8.8 or opendns
static domain_name_serverS=1.0.0.1
  

 

Network

 
esc :wq to write quit vi or ZZ to write quit 
 
vi ~/wpa_supplicant.conf 
 ctrl_interface=/run/wpa_supplicant 
ctrl_interface_group=wheel
network={
ssid="your_ssid"
psk="wpa2password"
}
 
https://wiki.archlinux.org/index.php/Wpa_supplicant

 
 
vi ~/wify.sh
sudo  wpa_supplicant -B  -i wlp0s20u3  -c ~/wpa_supplicant.conf 

run with sh wify.sh
 

man wpa_supplicant

man wpa_supplicant.conf


 
vi ~/dh.sh
sudo dhcpcd wlp0s20u3









ip link to show interface here its wlp0s20u3


i3 configs

#alsa audio
bindsym XF86AudioRaiseVolume exec "amixer -c 1 sset Master,0 1+ unmute"
bindsym XF86AudioLowerVolume exec "amixer -c 1 sset Master,0 1- unmute"
bindsym XF86AudioMute exec "amixer -c 1 sset Master,0 toggle"
#floating
for_window [class="st-256color"] floating enable
for_window [class="Leafpad"] floating enable
for_window [window_role="pop-up"] floating enable
for_window [window_role="bubble"] floating enable
for_window [window_role="task_dialog"] floating enable
for_window [window_role="Preferences"] floating enable
for_window [window_type="dialog"] floating enable
for_window [window_type="menu"] floating enable
for_window [class="Gnome-mpv"] floating enable
for_window [window_role="app"] floating enable
for_window [window_role="GtkFileChooserDialog"] resize set 800 600
for_window [window_role="GtkFileChooserDialog"] move position center
for_window [class="java"] floating enable
#brightness mode

set $mode_brightness brightness

bindsym $mod+b mode "$mode_brightness"
mode "$mode_brightness" {
    bindsym plus  exec --no-startup-id xbacklight -time 50 -inc 1
    bindsym minus exec --no-startup-id  xbacklight -time 50 -dec 1
    bindsym Shift+plus  exec --no-startup-id xbacklight -time 50 -inc 1
    bindsym Shift+minus exec --no-startup-id xbacklight -time 50 -dec 1

    bindsym 0     mode "default", exec --no-startup-id xbacklight -time 50 -set 100
    bindsym 1     mode "default", exec --no-startup-id xbacklight -time 50 -set 10
    bindsym 2     mode "default", exec --no-startup-id xbacklight -time 50 -set 20
    bindsym 3     mode "default", exec --no-startup-id xbacklight -time 50 -set 30
    bindsym 4     mode "default", exec --no-startup-id xbacklight -time 50 -set 40
    bindsym 5     mode "default", exec --no-startup-id xbacklight -time 50 -set 50
    bindsym 6     mode "default", exec --no-startup-id xbacklight -time 50 -set 60
    bindsym 7     mode "default", exec --no-startup-id xbacklight -time 50 -set 70
    bindsym 8     mode "default", exec --no-startup-id xbacklight -time 50 -set 80
    bindsym 9     mode "default", exec --no-startup-id xbacklight -time 50 -set 90

    bindsym Return mode "default"
    bindsym Escape mode "default"
}

# Sreen brightness controls
bindsym XF86MonBrightnessUp exec xbacklight -inc 1
bindsym XF86MonBrightnessDown exec xbacklight -dec 1

#polkit auth
#exec_always --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
#exec_always --no-startup-id dunst


sudo rm /var/service/agetty-tty6
sudo rm /var/service/agetty-tty5
sudo rm /var/service/agetty-tty4
sudo rm /var/service/agetty-tty3

audio


usermod -aG video username
usermod -aG audio username


xbps-install alsa-tools alsa-utils sox
 
speaker-test -t sin -f 800
speaker-test
 
 
aplay -l
 
 
~/.asoundrc 

--------------------------------------

pcm.!default {
 type plug
 slave.pcm "dmixer"
}

pcm.dmixer  {
  type dmix
  ipc_key 1024
  slave {
  pcm "hw:1,0"
  period_time 0
  period_size 1024
  buffer_size 4096
  rate 44100
 }
 bindings {
  0 0
  1 1
 }
}

ctl.dmixer {
 type hw
 card 1
}
-----------------------------------------------------------
 

Time 

ln -sf /usr/share/zoneinfo/Zone/SubZone /etc/localtime
 

src
https://wiki.voidlinux.org/Main_Page
http://www.troubleshooters.com/linux/void/voidtips.html

Comments

Popular posts from this blog

sxhkd volume andbrightness config for dwm on void

xbps-install  sxhkd ------------ mkdir .config/sxhkd cd .config/sxhkd nano/vim sxhkdrc -------------------------------- XF86AudioRaiseVolume         amixer -c 1 -- sset Master 2db+ XF86AudioLowerVolume         amixer -c 1 -- sset Master 2db- XF86AudioMute         amixer -c 1 -- sset Master toggle alt + shift + Escape         pkill -USR1 -x sxhkd XF86MonBrightnessUp          xbacklight -inc 20 XF86MonBrightnessDown          xbacklight -dec 20 ------------------------------------------------------------- amixer -c card_no -- sset Interface volume run alsamixer to find card no and interface names xbps-install -S git git clone https://git.suckless.org/dwm xbps-install -S base-devel libX11-devel libXft-devel libXinerama-devel  vim config.mk # FREETYPEINC = ${X11INC}/freetype2 #comment for non-bsd make clean install   cp config.def.h config.h vim config.h xbps-install -S font-symbola #for emoji on statusbar support     void audio config xbps-i

Hidden Wiki

Welcome to The Hidden Wiki New hidden wiki url 2015 http://zqktlwi4fecvo6ri.onion Add it to bookmarks and spread it!!! Editor's picks Bored? Pick a random page from the article index and replace one of these slots with it. The Matrix - Very nice to read. How to Exit the Matrix - Learn how to Protect yourself and your rights, online and off. Verifying PGP signatures - A short and simple how-to guide. In Praise Of Hawala - Anonymous informal value transfer system. Volunteer Here are five different things that you can help us out with. Plunder other hidden service lists for links and place them here! File the SnapBBSIndex links wherever they go. Set external links to HTTPS where available, good certificate, and same content. Care to start recording onionland's history? Check out Onionland's Museum Perform Dead Services Duties. Introduction Points Ahmia.fi - Clearnet search engine for Tor Hidden Services (allows you

download office 2021 and activate

get office from here  https://tb.rg-adguard.net/public.php open powershell as admin (win+x and a ) type cmd  goto insall dir 1.         cd /d %ProgramFiles(x86)%\Microsoft Office\Office16 2.           cd /d %ProgramFiles%\Microsoft Office\Office16 try 1 or 2 depending on installation  install volume license  for /f %x in ('dir /b ..\root\Licenses16\ProPlus2021VL_KMS*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x" activate using kms cscript ospp.vbs /setprt:1688 cscript ospp.vbs /unpkey:6F7TH >nul cscript ospp.vbs /inpkey:FXYTK-NJJ8C-GB6DW-3DYQT-6F7TH cscript ospp.vbs /sethst:s8.uk.to cscript ospp.vbs /act Automatic script (windefender may block it) ------------------------------------------------------------------------------------------------------------------- @echo off title Activate Microsoft Office 2021 (ALL versions) for FREE - MSGuides.com&cls&echo =====================================================================================&