Skip to content

Instantly share code, notes, and snippets.

View sandikata's full-sized avatar

Росен Александров sandikata

View GitHub Profile
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
System: Host: GA990-FXA-UD3-FX8320 Kernel: 4.18.16-1-xanmod9 x86_64 bits: 64 Desktop: Gnome 3.30.1
Distro: Arch Linux
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Pitcairn XT [Radeon HD 7870 GHz Edition] driver: amdgpu
v: kernel
Display: wayland server: X.Org 1.20.2 driver: amdgpu resolution: 1680x1050~60Hz
OpenGL: renderer: AMD Radeon HD 7800 Series (PITCAIRN DRM 3.26.0 4.18.16-1-xanmod9 LLVM 7.0.0)
v: 4.5 Mesa 18.2.3
Info: Processes: 303 Uptime: 1d 3h 37m Memory: 15.64 GiB used: 3.62 GiB (23.2%) Shell: zsh inxi: 3.0.26
@sandikata
sandikata / gist:ca7c669b0e85c40121c4e9c6ddaddd2d
Created November 8, 2018 07:10
funtoo xorg-1.20 randrproto fix
mkdir /var/git/overlay
cd /var/git/overlay
git clone https://github.com/TemptorSent/overlay-mesa-kit.git mesa-kit
set up repo
create /etc/portage/repos.conf/mesa-kit and put following content
[mesa-kit]
location = /var/git/overlay/mesa-kit
sync-type = git
@sandikata
sandikata / gist:7eef28df21bc32902e0e04034e811100
Created December 9, 2018 10:46
debian sources.list + teamviewer
Инсталиране на нужни пакети
apt install curl wget apt-transport-https dirmngr
Добавяне на /etc/apt/sources.list
#------------------------------------------------------------------------------#
# OFFICIAL DEBIAN REPOS
#------------------------------------------------------------------------------#
###### Debian Main Repos
--- /var/git/meta-repo/kits/gnome-kit/gnome-base/gnome-control-center/gnome-control-center-3.30.2.ebuild 2018-12-15 06:13:28.056322965 +0200
+++ /home/overlay/ROKO__/gnome-base/gnome-control-center/gnome-control-center-3.30.2-r1.ebuild 2018-12-16 09:00:54.407497546 +0200
@@ -12,7 +12,7 @@
SLOT="2"
KEYWORDS="*"
-IUSE="elogind +ibus libinput systemd v4l wayland"
+IUSE="cups elogind +ibus libinput systemd v4l wayland"
REQUIRED_USE="
?? ( elogind systemd )
[ebuild U ] gnome-base/gnome-light [3.28.0:2.0::gnome-kit] [3.26.0:2.0::gnome-kit] USE="gnome-shell -cups" 0 KiB
Total: 348 packages (217 upgrades, 20 downgrades, 51 new, 8 in new slots, 52 reinstalls), Size of downloads: 1823691 KiB
Conflict: 4 blocks
The following packages are causing rebuilds:
(media-libs/libraw-0.19.0:0/19::media-kit, ebuild scheduled for merge) causes rebuilds for:
(media-libs/gegl-0.3.34:0.3/0.3::gnome-kit, ebuild scheduled for merge)
(media-libs/gegl-0.4.8-r1:0.4/0.4::gnome-kit, ebuild scheduled for merge)
System: Host: GA-990-FXA-UD3-FX8320 Kernel: 4.19.19-ARCH x86_64 bits: 64 compiler: gcc v: 8.2.1 Desktop: Gnome 3.30.2
wm: gnome-shell dm: GDM 3.30.2 Distro: Arch Linux
Machine: Type: Desktop Mobo: Gigabyte model: 990FXA-UD3 serial: N/A UEFI: American Megatrends v: F4x date: 04/01/2016
Memory: RAM: total: 23.50 GiB used: 2.93 GiB (12.5%)
Array-1: capacity: 32 GiB slots: 4 EC: None max module size: 8 GiB note: est.
Device-1: Node0_Dimm0 size: 4 GiB info: single-bank speed: 800 MT/s type: DDR3
detail: synchronous unbuffered (unregistered) bus width: 64 bits total: 64 bits manufacturer: A-DATA part-no: N/A
serial: N/A
Device-2: Node0_Dimm1 size: 8 GiB info: single-bank speed: 800 MT/s type: DDR3
detail: synchronous unbuffered (unregistered) bus width: 64 bits total: 64 bits manufacturer: N/A
System: Host: GA-990-FXA-UD3-FX8320 Kernel: 4.19.19-ARCH x86_64 bits: 64 compiler: gcc v: 8.2.1 Desktop: Gnome 3.30.2
wm: gnome-shell dm: GDM 3.30.2 Distro: Arch Linux
Machine: Type: Desktop Mobo: Gigabyte model: 990FXA-UD3 serial: N/A UEFI: American Megatrends v: F4x date: 04/01/2016
Memory: RAM: total: 23.50 GiB used: 3.04 GiB (12.9%)
Array-1: capacity: 32 GiB slots: 4 EC: None max module size: 8 GiB note: est.
Device-1: Node0_Dimm0 size: 4 GiB info: single-bank speed: 800 MT/s type: DDR3
detail: synchronous unbuffered (unregistered) bus width: 64 bits total: 64 bits manufacturer: A-DATA part-no: N/A
serial: N/A
Device-2: Node0_Dimm1 size: 8 GiB info: single-bank speed: 800 MT/s type: DDR3
detail: synchronous unbuffered (unregistered) bus width: 64 bits total: 64 bits manufacturer: N/A
System: Host: GA-990-FXA-UD3-FX8320 Kernel: 4.19.19-ARCH x86_64 bits: 64 compiler: gcc v: 8.2.1 Desktop: Gnome 3.30.2
wm: gnome-shell dm: GDM 3.30.2 Distro: Arch Linux
Machine: Type: Desktop Mobo: Gigabyte model: 990FXA-UD3 serial: N/A UEFI: American Megatrends v: F4x date: 04/01/2016
Memory: RAM: total: 23.50 GiB used: 3.07 GiB (13.1%)
Array-1: capacity: 32 GiB slots: 4 EC: None max module size: 8 GiB note: est.
Device-1: Node0_Dimm0 size: 4 GiB info: single-bank speed: 800 MT/s type: DDR3
detail: synchronous unbuffered (unregistered) bus width: 64 bits total: 64 bits manufacturer: A-DATA part-no: N/A
serial: N/A
Device-2: Node0_Dimm1 size: 8 GiB info: single-bank speed: 800 MT/s type: DDR3
detail: synchronous unbuffered (unregistered) bus width: 64 bits total: 64 bits manufacturer: N/A