This file contains 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 | |
LOCALDATA=$(dirname "$(readlink -f "$0")") | |
export WINEPREFIX=$(dirname $LOCALDATA) | |
PATH=$WINEPREFIX/wine/bin:$PATH | |
choice=$(zenity --title "Sid Meier's Colonization" --text "Select an item to launch from the list below." --window-icon $LOCALDATA/colwin.png --ok-label "Launch" --list --radiolist --hide-header --column x --column y TRUE "Sid Meier's Colonization for Windows" FALSE "Select map when starting in AMERICA" FALSE "Map Editor" FALSE "Instruction manual" FALSE "Browse installation path") | |
case "$choice" in | |
"Sid Meier's Colonization for Windows") | |
swdrv insert "$LOCALDATA/Colonize.toc" | |
wine cmd /c md "%UserProfile%\My Documents\Sid Meier's Colonization" | |
wine cmd /c "C:&&cd %UserProfile%\My Documents\Sid Meier's Colonization&&C:\MPS\COLWIN\colonize" |
This file contains 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 | |
# | |
# INSTALLATION... | |
# | |
# echo -e 'SUBSYSTEM=="block", ENV{ID_VENDOR}=="SWDrv", ENV{UDISKS_IGNORE}="1"' | sudo tee /etc/udev/rules.d/99-swdrv.rules | |
# sudo udevadm control -R | |
# until cdemu device-id 1; do cdemu add-device; done | |
# sudo wget http://gist.github.com/Lantizia/2d292dda74765ad588c232dc9de14071/raw/swdrv -O /usr/local/bin/swdrv | |
# sudo chmod +x /usr/local/bin/swdrv | |
# |
This file contains 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
[Toplevel left] | |
expand=true | |
orientation=left | |
size=56 | |
[Toplevel bottom] | |
expand=true | |
orientation=bottom | |
size=56 |
This file contains 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
[Toplevel left] | |
expand=true | |
orientation=left | |
size=56 | |
[Toplevel bottom-2] | |
expand=true | |
orientation=bottom | |
size=56 |
This file contains 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
[Toplevel left] | |
expand=true | |
orientation=left | |
size=56 | |
[Toplevel bottom-2] | |
expand=true | |
orientation=bottom | |
size=56 |
This file contains 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
[Toplevel bottom] | |
expand=true | |
orientation=bottom | |
size=56 | |
[Object menu] | |
object-type=menu | |
toplevel-id=bottom | |
position=0 | |
use-custom-icon=true |
This file contains 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: Hide unmanaged interfaces | |
Author: Campbell Vertesi <[email protected]> | |
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1458322 | |
--- a/src/applet-device-broadband.c | |
+++ b/src/applet-device-broadband.c | |
@@ -710,7 +710,7 @@ add_connection_item (NMDevice *device, | |
gtk_widget_show (item); | |
} | |
This file contains 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
### Ubuntu MATE 18.04 with encryption and hibernation side-by-side another OS | |
############################################################################## | |
### | |
### All filesystems/labels/layouts/sizes/etc... used are the defaults that would | |
### be used in an entire disk with encryption install. | |
### | |
### Exceptions are... | |
### 2 GiB for /boot to allow for plenty of older kernels | |
### 20 GiB for swap to account for 16 GiB RAM hibernating plus a bit extra | |
### |
This file contains 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
[Re-enable hibernate by default in upower] | |
Identity=unix-user:* | |
Action=org.freedesktop.upower.hibernate | |
ResultActive=yes | |
[Re-enable hibernate by default in logind] | |
Identity=unix-user:* | |
Action=org.freedesktop.login1.hibernate;org.freedesktop.login1.handle-hibernate-key;org.freedesktop.login1;org.freedesktop.login1.hibernate-multiple-sessions;org.freedesktop.login1.hibernate-ignore-inhibit | |
ResultActive=yes |