Maintenance reference: Difference between revisions
No edit summary |
No edit summary |
||
(15 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
! general tasks | ! general tasks | ||
|- | |- | ||
|[[Flash Drives]] - [[Scripts]] - [[Add a user]] | |[[Flash Drives]] - [[Scripts]] - [[Add a user]] - [[Linux permissions]] | ||
[[Turn off ubuntu gnome screenlock]] - [[Set ubuntu default browser]] | |||
[[Add a drive]] - [[Back up drive]] - [[Check disk]] - [[Check disk speed]] | [[Add a drive]] - [[Back up drive]] - [[Check disk]] - [[Check disk speed]] | ||
[[Bash basics]] - [[OS X basics]] - [[DOS basics]] | [[Bash basics]] - [[OS X basics]] - [[DOS basics]] - [[Update gentoo kernel]] | ||
[[SSL certificate instructions]] | [[SSL certificate instructions]] - [[Networking]] | ||
[[udev: Assign unique names to your devices]] | [[systemd]] - [[udev: Assign unique names to your devices]] | ||
[[Automatically mount and unmount your devices]] | [[Automatically mount and unmount your devices]] | ||
Line 49: | Line 51: | ||
# and I call this every ten hours to restart the idle timer. | # and I call this every ten hours to restart the idle timer. | ||
* */10 * * * /usr/bin/xscreensaver-command --deactivate >/dev/null | * */10 * * * /usr/bin/xscreensaver-command --deactivate >/dev/null | ||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
Line 145: | Line 141: | ||
|- | |- | ||
| | | | ||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! NO TEARING on Sony driven by nvidia (currently, case) | |||
|- | |||
|It's not really about Kodi settings, you have to set up nvidia settings, and they are HARD to get to stick because it's "automatic" but broken. | |||
* Ensure nvidia-settings is set to 4k at 60fps refresh rate - YOU HAVE TO DO THIS ON EVERY REBOOT until we set up an xorg.conf FML | |||
* Ensure Kodi has "sync video to display" turned ON | |||
|} | |||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! Copy from linux nautilus to android "Operation unsupported" | |||
|- | |||
| Weird assed linux prevents "SMB to USB" copies, FUCKOFF. Workaround is to copy to local drive, then copy to phone. Wow that is sickening. | |||
|} | |||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! Fix things after IP changes | ! Fix things after IP changes | ||
Line 218: | Line 226: | ||
! BOX: bitpost | ! BOX: bitpost | ||
|- | |- | ||
| | |[[Update gentoo kernel]] | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! drives | ! drives | ||
Line 298: | Line 306: | ||
** create a symlink: ln -s .music/Fresh/ELO-Secret\ Messages ELO-Secret\ Messages | ** create a symlink: ln -s .music/Fresh/ELO-Secret\ Messages ELO-Secret\ Messages | ||
** close the torrent files (ctrl-k), move the destination (ctrl-o), start again (ctrl-s) | ** close the torrent files (ctrl-k), move the destination (ctrl-o), start again (ctrl-s) | ||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
Line 387: | Line 385: | ||
| | | | ||
cat /var/lib/misc/dnsmasq.leases | cat /var/lib/misc/dnsmasq.leases | ||
|} | |} | ||
|} | |} | ||
Line 418: | Line 406: | ||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! BOX: | ! BOX: wimpy | ||
|- | |- | ||
| My | | My main gaming machine | ||
P8P67LE mobo Intel i5 quad core | |||
[http://www.asus.com/Motherboards/P8P67_LE/ website] | |||
* HARDWARE: | |||
** Plug keyboard/mouse hub into TOP USB SLOT in back or BIOS won't recognize it | |||
** Make sure you plug Vive usb into a USB 3.0 slot | |||
* ON BOOT: | |||
** REMOVE USB KVM or the keyboard won't work - most of the time that's ok because we let it go through | |||
** IF you boot into ubuntu, the USB hub didn't seem to work, i had to plug right into mobo | |||
* had to install from iso after windows update got stuck FUCK OFF | |||
it TOTALLY WENT ON A DIET | |||
my 148GB drive was only using 34GB AFTER the install and cleanup | |||
WAY better than before | |||
took the time to move EVERYTHING I COULD to fatboy | |||
steam base install, plus games | |||
origin base install, plus games | |||
visual studio ce, plus mobile, c++, game dev | |||
but it sucked up 36GB on "system drive", assholes | |||
they dump android stuff, ios stuff, all this bullshit there | |||
cest la vie | |||
installing: | |||
chrome (like pulling teeth to get it set as default) | |||
steam, games | |||
origin, games | |||
vs ce 2017 edition w/xamarin,c++,games,unity | |||
OLD NOTES: | |||
drives and partitions: | |||
* sda HDD, OLD OSes, need to wipe and reformat to ntfs; sda2 ntfs 1.1TB old?? | |||
* sdb | |||
** sdb1 fat32 300MB wimpy-efi | |||
** sdb2 ntfs 147GB windows10??? | |||
** sdb3 fat32 287MB /boot/efi | |||
** sdb4 linux-swap 7GB | |||
** sdb5 ext4 wimpy-ubuntu-ssd 216GB | |||
** sdb6 ext4 wimpy-gentoo-ssd 54GB | |||
** sdb7 ext4 wimpy-openelec 19GB | |||
** sdb9 fat32 "boot, esp" | |||
check in windows: | |||
wmic baseboard get product,Manufacturer,version,serialnumber | |||
boot is in /ubuntu/boot | |||
|} | |} | ||
Line 528: | Line 515: | ||
#force_turbo=1 | #force_turbo=1 | ||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! BOX: melange | |||
|- | |||
| My primary dev box | |||
90% ubuntu for development | |||
10% gaming machine, has steam, low end half-height video card that works fine for Risk of Rain etc. | |||
It has a mid-range video card, enough to drive 1080p x 2 for development. | |||
This used to be the primary Kodi box up until 10/2015, should still be current. | |||
It has the same high-end i5 or i7 of other 2015 boxes, fast. | |||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! drives | |||
|- | |||
| | |||
* /dev/sda contains ubuntu, kodi, windows - using ubuntu 90% of the time | |||
* /dev/sdb melange_data | |||
** formatted as exfat | |||
used gparted to remove existing partitions | |||
used gdisk to create an EFI partition table and an 8300 "linux file system" | |||
mkfs.exfat /dev/sdb1 | |||
exfatlabel /dev/sdb1 melange-data | |||
emacs /etc/fstab | |||
/dev/disk/by-label/melange-data /melange_data exfat noatime 0 0 | |||
|} | |||
|} | |||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! BOX: wallee | |||
|- | |||
| My 2009 MacbookPro 5.3 multi-boot laptop (see blog for multi-boot howto) | |||
'''Ubuntu''' | |||
Install all hardware-specific packages in one shot: | |||
sudo apt-get install firmware-b43-installer xserver-xorg-input-mtrack | |||
Post-install MUST-DOs: | |||
* broadcom "b43" wifi driver: | |||
sudo apt-get install firmware-b43-installer | |||
(reboot) | |||
* synaptic driver (for trackpad) | |||
sudo apt-get install xserver-xorg-input-mtrack | |||
# use synclient to determine what works best | |||
su - | |||
synclient -l # lists all params | |||
synclient PalmDetect=1 # temporarily change settings | |||
# save what you like, here: | |||
root@wallee:~# emacs /etc/X11/xorg.conf.d/60-synaptics.conf | |||
'''Windows 10''' | |||
** Upgraded existing Windows 8.1 | |||
** Hack the INF file of the nvidia driver to get it to install - runs PERFECTLY | |||
*** TODO add details | |||
** Add bluetooth stack - or not - i think i ended up back at the default Windows | |||
** keyboard driver to get function key working: /spiceflow/softraid/software/OS/windows/macbook_windows10_drivers/AppleKeyboardInstaller64.exe | |||
|} | |||
(dead...) | |||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! BOX: tdm | ! BOX: tdm | ||
Line 579: | Line 620: | ||
eselect opengl set xorg-x11 | eselect opengl set xorg-x11 | ||
reboot | reboot | ||
|} | |} |
Revision as of 18:57, 7 September 2018
general tasks | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Flash Drives - Scripts - Add a user - Linux permissions
Turn off ubuntu gnome screenlock - Set ubuntu default browser Add a drive - Back up drive - Check disk - Check disk speed Bash basics - OS X basics - DOS basics - Update gentoo kernel SSL certificate instructions - Networking systemd - udev: Assign unique names to your devices Automatically mount and unmount your devices udev: Autorun programs when connecting your devices
|
Tips and tricks | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Maintenance of my music collection
|
Boxes | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
(dead...)
|