Monday, August 29, 2022

VOID LINUX COMMANDS

http://tinycorelinux.net/corebook.pdf
 

TAR COMMAND WILL AUTO UNZIP .tar.bz / tar.gzip
# tar xf "*.tar.bz"

FIND LINUX KERNEL VERSION
# uname -r
# cat /proc/version
# dmesg | grep Linux
# hostnamectl | grep Kernel

UPDATE VOID LINUX TO LATEST VERSION
# xbps-install -Su

UPDATE VOID PACKAGE MANAGER
# xbps-install -u xbps
# xbps-install -Su gedit-plugins

# xbps-install -S nftables


NO AUDIO AFTER VOID INSTALL
    http://www.troubleshooters.com/linux/void/voidtips.htm#audio
    ALSA channels have to be unmuted manually.
First install alsa-utils:
= install alsa-tools, alsa-utils, and sox:
# xbps-install -S alsa-utils
# xbps-install -S alsa-tools
# xbps-install -S sox
= Unmute the desired channels with alsamixer:
$ alsamixer

Use the arrow keys to select a channel and the mkey to unmute it. Muted channels are indicated by a MM label & unmuted channels by 00 label.

LIBREWOLF BROWSER INSTALL ON VOID LINUX
https://gitlab.com/librewolf-community/browser/source
https://gitlab.com/librewolf-community/browser/source/-/releases

UNABLE TO MOUNT / READ NTFS VOLUMES
= Install the ntfs-3g package
# xbps-install -S ntfs-3g

CREATE USB BOOTABLE FROM ISO
dd bs=4M if=/run/media/kalki/root/home/kalki/Downloads/software.downloads/linux.os/alpine-standard-3.16.2-x86_64.iso of=/dev/sdc conv=fdatasync status=progress

INSTALL GUI WITH i3 WINDOW MANAGER

https://www.reddit.com/r/voidlinux/comments/c84117/noob_question_installing_i3/ 

https://youtu.be/nSHOb8YU9Gw?t=880

When you are staring at text characters in the terminal after installation and you want to change that into a graphical environment with i3, you need two three things basically:

  1. A way to display graphical environments. For that, you use xorg, which is called a "display server".

  2. A way to start this graphical environment, and then start your preferred "desktop environment". For that, you can use either startx with the necessary configuration, or a "display manager" which does this automatically for you and that is automatically started when you boot your system. A display manager asks you to provide login credentials and then starts your preferred desktop environment.

  3. The desktop environment itself.

If you want to take the easy route, just install full xorg:

sudo xbps-install -S xorg xterm

In addition, you may want to install dedicated video card drivers for hardware acceleration. This makes everything way smoother.

After that, you need to install your desktop environment:

sudo xbps-install -S i3

Now you can take two routes. First, you can configure starting your desktop environment manually:

  1. echo "exec i3" >> ~/.xinitrc.

  2. Now you can use startx in your terminal to start i3.

Second, use a display manager and add this as a service. After reboot, it automatically starts the graphical environment and lets you start i3:

sudo xbps-install -S lightdm lightdm-gtk3-greeter
ln -s /etc/sv/dbus /var/service/dbus
ln -s /etc/sv/lightdm /var/service/lightdm

Additional notes:

  • To communicate between graphical and other apps, and to share hardware resources, software is required to do this. dbus takes care of this, and so does consolekit. You install them as follows:


sudo xbps-install ConsoleKit2 dbus

If you want to start your desktop environment by hand, you have to start i3 differently. Instead of above, put this in ~/.xinitrc:

echo "exec ck-launch-session dbus-launch --sh-syntax --exit-with-x11 i3" >> ~/.xinitrc

All this info can be found here in the wiki:  

https://wiki.voidlinux.org/Post_Installation#Graphical_User_Interface

The i3 Status package is called i3status, not i3-status.

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@


https://opensource.com/article/19/9/linux-commands-hardware-information

[BHISHMA ~]# neofetch


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

void auto config

.backups/ .bh .p/ .pcbankdetail/ .profig.os .tmpb/ Alarms/ Android/ DCIM/.thumbnails/ DCIM/100ANDRO/ DemoContent.txt Notifications/ Podcasts...

/* BMV WEB CSS STYLE ENDS */