summaryrefslogtreecommitdiff
path: root/.a/Docs
diff options
context:
space:
mode:
Diffstat (limited to '.a/Docs')
-rw-r--r--.a/Docs/Fedora configs links.md20
-rw-r--r--.a/Docs/Funtoo usage notes.md214
-rw-r--r--.a/Docs/fedora-openbox.sh38
3 files changed, 0 insertions, 272 deletions
diff --git a/.a/Docs/Fedora configs links.md b/.a/Docs/Fedora configs links.md
deleted file mode 100644
index 5c132aa..0000000
--- a/.a/Docs/Fedora configs links.md
+++ /dev/null
@@ -1,20 +0,0 @@
-|About|Description|Link|
-|---|---|---|
-|***Commands***|||
-|Fedora/GRUB|Fedora update grub command|[zeldor.biz](https://zeldor.biz/2013/02/fedora-update-grub/)|
-|Fedora|A good list of useful dnf commands (fedora package manager)|[rootusers](https://www.rootusers.com/25-useful-dnf-command-examples-for-package-management-in-linux/)|
-|Fedora|Get currently pressed key names|[superuser](https://superuser.com/a/1000765)|
-|SELinux|Disable SELinux permanently or temporarely|[linuxconfig](https://linuxconfig.org/how-to-disable-selinux-on-linux)|
-|***Bug fixes***|||
-|Dotnet|Fix for `dotnet new` instance of an object error|[github issues](https://github.com/dotnet/templating/issues/2189#issuecomment-568675397)|
-|Fedora/Dotnet|Fix of many dotnet issues on fedora (install dotnet packages from microsoft repo, not from fedora repo)|[github issues](https://github.com/OmniSharp/omnisharp-vscode/issues/4360#issuecomment-779086868)|
-|Fedora/Dotnet|Fix of missing `compat-openssl-10` when trying to install dotnet (5) on Fedora 34|[github issues](https://github.com/OmniSharp/omnisharp-vscode/issues/4360#issuecomment-829013522)|
-|Fedora/Kernel|Potential fix of not restored system after hibernation|[bugzilla](https://bugzilla.redhat.com/show_bug.cgi?id=1795422#c5)|
-|Fedora/Kernel|Fix for "A stop job is running for Session 1" after shutdown|[bugzilla](https://bugzilla.redhat.com/show_bug.cgi?id=1088619#c46)|
-|Wireless|How to turn off wireliess powermanagement (fixed slow bootup time)|[unix stackexchange](https://unix.stackexchange.com/a/315400/416793)|
-|***Configurations***|||
-|Fedora|Turn off wireless power management via TLP|[unix stackexchange](https://unix.stackexchange.com/a/473753/416793)|
-|Fedora/Samba|Simplest way to setup samba on fedora|[ask fedora](https://ask.fedoraproject.org/t/how-to-setup-samba-on-fedora-the-easy-way/2551/24)|
-|Openbox/PulseAudio|Most correct way to start pulseaudio on openbox launch|[freedesktop wiki](https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Startup/#openbox)|
-|PulseAudio|pulseaudio's built in equalizer **(use pulseeffects instead)**|[freedesktop wiki](https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#module-equalizer-sink)|
-|PulseAudio|qpaeq: pulseaudio equalizer gui|[freedesktop wiki](https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Equalizer/#gettingtheguipqaeq:)|
diff --git a/.a/Docs/Funtoo usage notes.md b/.a/Docs/Funtoo usage notes.md
deleted file mode 100644
index 8bcb9ba..0000000
--- a/.a/Docs/Funtoo usage notes.md
+++ /dev/null
@@ -1,214 +0,0 @@
-## Configs
-
-#### Default browser
-[https://askubuntu.com/a/1076085/1085672]( https://askubuntu.com/a/1076085/1085672)
-- `xdg-settings set default-web-browser chromium-browser.desktop`
-
-#### Custom repo
-[https://linuxreviews.org/HOWTO_make_your_own_Gentoo_ebuild](https://linuxreviews.org/HOWTO_make_your_own_Gentoo_ebuild)
-- setup
-```
-mkdir -p /usr/local/portage
-
-```
-add `PORTDIR_OVERLAY=/usr/local/portage` to `/etc/portage/make.conf`
-- The folder structure in your overlay folder should be the same as found in /usr/portage so if you wanted to make an ebuild for a theme you would put that in /usr/local/portage/x11-themes.
-```
-// copy files to /usr/local/portage/CATEGORY_FOLDER/PACKAGE_NAME_FOLDER/PACKAGE.ebuild
-
-# ebuild /usr/local/portage/CATEGORY_FOLDER/PACKAGE_NAME_FOLDER/PACKAGE.ebuild digest
-```
-
-#### Installing electron apps (example with Min)
-```
-sudo emerge -q nodejs && sudo npm install -g npm
-npm install && npm run build && npm exec electron-packager . && sudo sh -c 'mv ./Min-linux-x64 /opt && ln -s /opt/Min-linux-x64/Min /usr/bin/min'
-```
-
-#### Winamp on Adacious
-[https://hisham.hm/2011/04/23/audacious-with-classic-winamp-1x-skin/](https://hisham.hm/2011/04/23/audacious-with-classic-winamp-1x-skin/) [https://ubuntugeneration.wordpress.com/2009/06/30/audacious-player-with-winamp-skin/ ](https://ubuntugeneration.wordpress.com/2009/06/30/audacious-player-with-winamp-skin/) [https://www.gnome-look.org/p/1008363](https://www.gnome-look.org/p/1008363)
-- download and unzip the skin (last link) and then do
-```
-mkdir -p ~/.local/share/audacious/Skins
-mv Winamp ~/.local/share/audacious/Skins
-```
-
-#### libinput config
-[https://wiki.gentoo.org/wiki/Libinput#Touchpad_tap-to-click](https://wiki.gentoo.org/wiki/Libinput#Touchpad_tap-to-click)
-- `/etc/X11/xorg.conf.d/40-libinput.conf` Adding tap-to-click
-```
-Section "InputClass"
- Identifier "libinput touchpad catchall"
- MatchIsTouchpad "on"
- MatchDevicePath "/dev/input/event*"
- Option "Tapping" "True"
- Option "TappingDrag" "True"
- Driver "libinput"
-EndSection
-```
-- `/etc/X11/xorg.conf.d/40-libinput.conf` Adding natural scrolling
-```
-
-Section "InputClass"
- Identifier "libinput touchpad catchall"
- MatchIsTouchpad "on"
- MatchDevicePath "/dev/input/event*"
- Option "NaturalScrolling" "True"
- Driver "libinput"
-EndSection
-```
-
-#### Dotnet
-[https://wiki.gentoo.org/wiki/Eselect/Repository](https://wiki.gentoo.org/wiki/Eselect/Repository)
-```
-# emerge --ask app-eselect/eselect-repository
-# eselect repository enable dotnet
-# emerge --sync
-```
-
-#### My Epson Scanner
-1. Download and extract https://filite.syndamia.com/f/eps2bu
-2. Have rpm installed
-3.
-```
-sudo rpm -Uvh --nodeps ./epsonscan2-bundle-6.6.2.4.x86_64.rpm/core/epsonscan2-6.6.2.4-1.x86_64.rpm
-sudo rpm -Uvh --nodeps ./epsonscan2-bundle-6.6.2.4.x86_64.rpm/plugins/epsonscan2-non-free-plugin-1.0.0.4-1.x86_64.rpm
-```
-
-## Fixes
-
-#### chroot: No such file or directory (lubuntu)
-[https://forums.funtoo.org/topic/864-is-ubuntu-1404-lts-a-good-live-cd-for-a-funtoo-install/?do=findComment&comment=4298](https://forums.funtoo.org/topic/864-is-ubuntu-1404-lts-a-good-live-cd-for-a-funtoo-install/?do=findComment&comment=4298)
-```
-# /usr/bin/env -i HOME=/root TERM=$TERM /usr/sbin/chroot . bash -l
-```
-
-#### delete partition after mkfs
-[https://superuser.com/a/1281363/1258400](https://superuser.com/a/1281363/1258400) [https://linux.die.net/man/8/wipefs](https://linux.die.net/man/8/wipefs)
-- `# wipefs --all /dev/DEVICE`
-
-
-#### Failed to load /dev/dri/card0
-[https://forums.funtoo.org/topic/2904-failed-to-load-devdricard0/?do=findComment&comment=12821](https://forums.funtoo.org/topic/2904-failed-to-load-devdricard0/?do=findComment&comment=12821)
-- get rid of the nomodeset in /etc/boot.conf re-run `ego boot update` and reboot
-
-#### grub2-install: "this GPT partition label contains no BIOS Boot Partition"
-[https://superuser.com/a/1610045/1258400](https://superuser.com/a/1610045/1258400)
-- You already have this tiny partition, so kk the first partition starts not with 1 but with 2048
-
-```
-/dev / sda1 2048 411647 409600 200M Linux file system (/boot)
-```
-You need to change the label type, from boot to bios_grub for example through parted:
-```
-parted /dev/sda
-set 1 boot off
-set 1 bios_grub on
-q
-```
-Then again:
-```
-grub2-install /dev/sda
-```
-
-#### Audacious fix
-- write (to turn on the arch)
- ```
- media-sound/audacious **
- media-plugins/audacious-plugins **
- ```
- into /etc/portage/package.accept_keywords/audacious
-- add the gentoo_ice-wmms line from [https://gitweb.gentoo.org/repo/gentoo.git/tree/media-sound/audacious/Manifest](https://gitweb.gentoo.org/repo/gentoo.git/tree/media-sound/audacious/Manifest) into `/var/git/meta-repo/kits/media-kit/media-sound/audacious/Manifest`
-
-#### Dunst dbus session
-[https://www.reddit.com/r/artixlinux/comments/n4vm53/how_to_get_notifications_to_work_with_dunst/](https://www.reddit.com/r/artixlinux/comments/n4vm53/how_to_get_notifications_to_work_with_dunst/)
-> Adding these lines to .xinitrc fixed it
->
-> ```
-> if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
-> eval "$(dbus-launch --sh-syntax --exit-with-session)"
-> fi
-> ```
-> Test it with echo "$DBUS_SESSION_BUS_ADDRESS". If you get a directory as output, then you have a dbus session id for these programs to use.
-
-#### polkit / consolekit
-[https://forums.gentoo.org/viewtopic-t-1051966-start-0.html](https://forums.gentoo.org/viewtopic-t-1051966-start-0.html)
-- run as root and reboot
-```
-rc-update add consolekit
-rc
-rc-update show
-rc-status
-```
-
-#### Run loginctl as user
-[https://www.linuxquestions.org/questions/slackware-14/slackware-current-is-possible-to-run-loginctl-hibernate-as-user-4175696586/#post6263112](https://www.linuxquestions.org/questions/slackware-14/slackware-current-is-possible-to-run-loginctl-hibernate-as-user-4175696586/#post6263112)
-```
-cat /etc/polkit-1/rules.d/88-hibernate.rules
-polkit.addRule(function(action, subject) {
- if (action.id == "org.freedesktop.login1.hibernate" &&
- subject.isInGroup("power")) {
- return polkit.Result.YES;
- }
-});
-```
-
-#### ElectronMail "No native build was found"
-Package the app, even if you can't do it all the way. So just run
-```
-npm run electron-builder:dist:linux:rpm
-```
-even if it gives an error, the app should be working. To test, do `npm run start:electron`
-
-#### clang undefined reference to `setupterm' ninja -v -j4 -l0 distribution failed
-[https://github.com/dougpuob/cppnamelint/issues/24](https://github.com/dougpuob/cppnamelint/issues/24)
-Rebuild llvm without ncurses flag
-
-### circular dependencies
-[https://forums.gentoo.org/viewtopic-t-1078738-start-0.html](https://forums.gentoo.org/viewtopic-t-1078738-start-0.html)
-Try to emerge each one with `--nodeps`.
-
-### piper and ratbagctl can't connect to ratbagd
-[https://github.com/libratbag/piper/issues/559#issue-677712902](https://github.com/libratbag/piper/issues/559#issue-677712902)
-`sudo usermod -aG games USERNAME` and reboot (logout is not enough!).
-
-### libreoffice --draw and --impress show "loading component library libsdlo.so failed"
-[https://bugs.funtoo.org/browse/FL-8035](https://bugs.funtoo.org/browse/FL-8035)
-Emerge `app-office/libreoffice-bin` with the `zeroconf` flag. Potentially beforehand do `emerge -C app-office/libreoffice-bin && rm -rf /usr/lib64/libreoffice/`.
-If that doesn't work, try installing libavahi. Draw doesn't use it and Impress uses it for Remote Control.
-
-[https://forum.slitaz.org/topic/libreoffice-problems-libsdloso](https://forum.slitaz.org/topic/libreoffice-problems-libsdloso)
-
-Only if **both** fail, you could try making a "blank" libavahi:
-```
-echo 'int avahi_client_new(void) { return 0; }' > libavahi-client.c
-echo 'int avahi_threaded_poll_new(void) { return 0; }' > libavahi-common.c
-gcc -c libavahi-client.c libavahi-common.c
-gcc -shared -o libavahi-client.so.3 libavahi-client.o
-gcc -shared -o libavahi-common.so.3 libavahi-common.o
-cp libavahi-*.so.3 /usr/lib64/libreoffice/program/
-```
-
-## Resources
-
-#### Install
-[https://www.funtoo.org/Install](https://www.funtoo.org/Install)
-- [https://packages.gentoo.org/categories/x11-drivers](https://packages.gentoo.org/categories/x11-drivers)
-- [https://wiki.gentoo.org/wiki/NetworkManager#OpenRC](https://wiki.gentoo.org/wiki/NetworkManager#OpenRC) [https://computingforgeeks.com/use-virt-manager-as-non-root-user/](https://computingforgeeks.com/use-virt-manager-as-non-root-user/)
-
-#### Track download status of portage stuff
-`tail -f /var/log/emerge-fetch.log` `tail -f /var/tmp/portage/dev-qt/qtwebengine-5.15.5/temp/build.log`
-#### How long package build took
-`sudo splat PACKAGE_NAME`
-
-#### Fingerprint unsuppported devices list
-[https://gitlab.freedesktop.org/libfprint/wiki/-/wikis/Unsupported-Devices](https://gitlab.freedesktop.org/libfprint/wiki/-/wikis/Unsupported-Devices)
-
-#### Funtoo tlp
-[https://github.com/dywisor/tlp-portage](https://github.com/dywisor/tlp-portage)
-
-#### Power management guide
-[https://wiki.gentoo.org/wiki/Power_management/Guide](https://wiki.gentoo.org/wiki/Power_management/Guide)
-
-#### Have atleast 32GB of RAM+Swap!
-[https://bugs.funtoo.org/browse/FL-7012?jql=text%20~%20%22subcommand%20failed%22](https://bugs.funtoo.org/browse/FL-7012?jql=text%20~%20%22subcommand%20failed%22)
diff --git a/.a/Docs/fedora-openbox.sh b/.a/Docs/fedora-openbox.sh
deleted file mode 100644
index fd0e84c..0000000
--- a/.a/Docs/fedora-openbox.sh
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/bash
-
-# A small and badly written script I use for installing most of what I need in my Openbox installation setup.
-# It's meant to be used while having an installation without any desktop environment (fedora netinstaller - minimal).
-
-sudo dnf install -y openbox xbacklight feh conky xorg-x11-drv-libinput tint2 volumeicon xorg-x11-server-utils network-manager-applet terminator
-sudo dnf install -y xorg-x11-server-common
-sudo dnf install -y xinit
-
-sudo dnf install -y xdm
-sudo systemctl enable xdm
-echo "exec openbox-session" > .xsession
-chmod +x .xsession
-sudo systemctl set-default graphical.target
-
-sudo dnf install -y xrdb
-sudo dnf install -y xorg-x11-drv-*
-sudo dnf install -y sessreg
-
-sudo dnf install -y jgmenu
-sudo dnf install -y arandr
-
-mkdir Downloads
-cd Downloads
- git clone https://github.com/Leinnan/lwa-hot-corners.git
- make
- sudo make install
-cd ~
-
-sudo dnf install -y cinnamon-themes
-sudo dnf install -y gnome-terminal
-sudo dnf install -y i3lock xautolock
-
-cd Downloads
- git clone https://github.com/xkbmon/xkbmon.git
- make
- sudo cp xkbmon /bin
-cd ~