Maintenance reference: Difference between revisions
No edit summary |
No edit summary |
||
(24 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]] | ||
[[ | [[Bash basics]] - [[OS X basics]] - [[DOS basics]] - [[Update gentoo kernel]] | ||
[[udev: Assign unique names to your devices]] | [[SSL certificate instructions]] - [[Networking]] | ||
[[systemd]] - [[udev: Assign unique names to your devices]] | |||
[[Automatically mount and unmount your devices]] | [[Automatically mount and unmount your devices]] | ||
Line 27: | Line 29: | ||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! Ubuntu | ! Upgrade Ubuntu | ||
|- | |- | ||
| To update ubuntu from an i3 terminal: | | To update ubuntu from an i3 terminal: | ||
su - | |||
apt-get update # Fetches the list of available updates | |||
apt-get upgrade # Strictly upgrades the current package | |||
apt-get dist-upgrade # Installs updates (new major versions, i think) | |||
update-manager -d # kick off the update manager to migrate to new release when available | |||
Or just call the script that does the same thing: | |||
upgrade_ubuntu | |||
I'm currently migrating everything to 16.04 Xenial Xerus. | |||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
Line 44: | 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 137: | Line 138: | ||
--> | --> | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! | ! Tips and tricks | ||
|- | |- | ||
| | | | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| 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" | {| 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 354: | Line 226: | ||
! BOX: bitpost | ! BOX: bitpost | ||
|- | |- | ||
| | |[[Update gentoo kernel]] | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! drives | ! drives | ||
Line 434: | 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 523: | Line 385: | ||
| | | | ||
cat /var/lib/misc/dnsmasq.leases | cat /var/lib/misc/dnsmasq.leases | ||
|} | |||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! | ! BOX: viper | ||
|- | |||
| 2016 ASUS Republic of Gaming laptop | |||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! Trackpad | |||
|- | |- | ||
| | | | ||
* Adjust it so that palms do not interfere! Ideally, require start with finger in center, then use full pad | |||
# configure trackpad of asus | |||
su - | |||
xinput --list | |||
xinput disable 12 # to turn it off | |||
# to dynamically test the settings... | |||
|} | |||
|} | |||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! BOX: wimpy | |||
|- | |||
| 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 | |||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! BOX: case | |||
|- | |||
| | |||
=== Fixing boot === | |||
Windows Updates tend to clobber the EFI boot setup. | |||
THen you have to set BIOS to boot with "UEFI+Legacy", and put the UEFI "USB" drive first in front of the "Windows Boot Manager" one. | |||
THen reboot, you should get grub. | |||
Go into Ubuntu and reinstall refind. | |||
Boot back into bios, and set back to UEFI boot. Leave the USB drive first. Reboot and yhou should get refind again. FU Bill. | |||
=== Install Ubuntu === | |||
To originally install ubuntu, I had to add [... --- nomodeset] to the boot line in the grub booter. | |||
Then I had to use a desktop 1080p monitor - the 4k Sony would not come up for some reason. | |||
The Seiki is working fine now, go figure. | |||
|} | |||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! BOX: Raspberry Pi 2 and 4k | |||
|- | |||
|You can override settings in /flash/config.txt; here's how, from [http://wiki.openelec.tv/index.php/Config.txt here]: | |||
mount -o remount,rw /flash | |||
nano /flash/config.txt | |||
# Make your changes, then ctrl+x to save. | |||
mount -o remount,ro /flash | |||
reboot | |||
Settings for 4k (from [https://www.raspberrypi.org/forums/viewtopic.php?f=38&t=79330&start=25 here])... | |||
disable_overscan=1 | |||
hdmi_ignore_edid=0xa5000080 | |||
hdmi_cvt 3840 2160 30 | |||
framebuffer_width=3840 | |||
framebuffer_height=2160 | |||
hdmi_group=2 | |||
hdmi_mode=87 | |||
hdmi_pixel_freq_limit=400000000 | |||
max_framebuffer_width=3840 | |||
max_framebuffer_height=2160 | |||
I couldn't get 4K to stick in OpenELEC tho (except for the splash screen(!))... | |||
Settings->System->System->Video->Refresh->30Hz | |||
Settings->System->System->Video->Resolution->3840x2160 | |||
(it won't come up, just drops back to 1080p.. just as well, video at 30fps sucks...) | |||
And to overclock the Pi 2 (from [http://haydenjames.io/raspberry-pi-2-overclock/ here]): | |||
# OVERCLOCKING TO 1.1 GHz, EXTREME | |||
# default is 700 | |||
# this will NOT void the warranty :-) | |||
arm_freq=1000 | |||
sdram_freq=500 | |||
core_freq=500 | |||
over_voltage=6 | |||
temp_limit=80 #Will throttle to default clock speed if hit. | |||
# | |||
# there is also the "turbo" thingee (that "voids warranty", hot!!) | |||
#force_turbo=1 | |||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
Line 588: | Line 568: | ||
|} | |} | ||
(dead...) | |||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! BOX: tdm | ! BOX: tdm | ||
Line 682: | 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...)
|