-
Install TightVNC Server
sudo apt-get install tightvncserver
-
Run TightVNC Server
tightvncserver
Note: By default this will set up a VNC session on display 1 (i.e. port 5901)
- Set password
-
Install Avahi Netatalk
sudo apt-get install netatalk
-
Make VNC service available via Bonjour
- Create a file /etc/avahi/services/rfb.service (as root) with this content:
<?xml version="1.0" standalone='no'?>
# cdf: cd to frontmost window of Finder
cdf ()
{
currFolderPath=$( /usr/bin/osascript <<" EOT"
tell application "Finder"
try
set currFolder to (folder of the front window as alias)
on error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# --------------------------------------------------------------------------- | |
# | |
# Description: This file holds all my BASH configurations and aliases | |
# | |
# Sections: | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3. File and Folder Management | |
# 4. Searching | |
# 5. Process Management |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" standalone='no'?> | |
<!DOCTYPE service-group SYSTEM "avahi-service.dtd"> | |
<service-group> | |
<name replace-wildcards="yes">%h</name> | |
<service> | |
<type>_rfb._tcp</type> | |
<port>5900</port> | |
</service> | |
</service-group> |
sudo apt-get purge wolfram-engine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# cpustatus | |
# | |
# Prints the current state of the CPU like temperature, voltage and speed. | |
# Temperature is reported in degrees Fahrenheit (F) - converting from C requires bc | |
# CPU speed is calculated in megahertz (MHz). | |
function convert_to_MHz { | |
let value=$1/1000 | |
echo "$value" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# getload | |
# | |
# This miniscule script is a hack to return the current | |
# CPU load. It is simply stripping off the first | |
# value returned from loadavg. | |
cat /proc/loadavg | head -n1 | cut -d " " -f1 | |
exit 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
+-----+ | |
+----[PWR]-------------------| USB |--+ | |
| +-----+ | | |
| GND/RST2 [ ][ ] | | |
| MOSI2/SCK2 [ ][ ] A5/SCL[ ] | C5 | |
| 5V/MISO2 [ ][ ] A4/SDA[ ] | C4 | |
| AREF[ ] | | |
| GND[ ] | | |
| [ ]N/C SCK/13[ ] | B5 |
sudo apt-get remove --purge libreoffice*
sudo apt-get clean
sudo apt-get autoremove