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

fix idm integration on chrome

Chrome Browser Integration I do not see IDM extension in Chrome extensions list. How can I install it?  How to configure IDM extension for Chrome? Please note that all IDM extensions that can be found in Google Store are fake and should not be used. You need to install IDM extension manually from IDM installation folder. Read in step 2 how to do it . 1. Please update IDM to the latest version by using  "IDM Help->Check for updates..."  menu item 2.  I don't see  "IDM Integration module"  extension in the list of extensions in  Chrome . How can I install it? Press on  Chrome  menu ( arrow 1  on the image), select  "Settings"  menu item ( arrow 2  on the image) and then select  "Extensions"  tab ( arrow 3  on the image). After this open IDM installation folder ( "C:\Program Files (x86)\Internet Download Manager"  by default,  arrow 4  on the image) and drag and drop  "IDMGCExt.crx"  ( arrow 5  on the image) file int

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

Explainer: The nico-teen brain

Explainer: The nico-teen brain The adolescent brain is especially vulnerable to the addictive effects of nicotine BY  TERESA SHIPLEY FELDHAUSEN   7:00AM, AUGUST 19, 2015 Nicotine (black triangle towards center left) tricks the nerve cell (neuron) into sending a message to release more dopamine (yellow dots). Those molecules enter the space (synapse) between one nerve cell and the next. When they get picked up by neighboring cells, this gives users a feel-good high. It also creates the risk of addiction and other health problems.  EMail  Print  Twitter  Facebook  Reddit  Google+ NATIONAL INSTITUTE ON DRUG ABUSE, ADAPTED BY J. HIRSHFELD Nicotine is the addictive chemical in tobacco smoke and e-cigarette vapors. And doctors say the teenage brain is no place for it to end up. Nicotine can reach the brain within seven seconds of puffing on a cigar, hookah, cigarette or electronic cigarette. The area of the brain responsible f