Dark Launch

This is a Dark Launch.

Wrong architecture 'i386', AMD 64 platform, fixed

Code
 
sudo apt-get install libnspr4-dev
 

Code
 
sudo dpkg -i --force-architecture install_flash_player_10_linux.deb
 

Run gnome-terminal in path, set working directory

Code
 
gksudo "gnome-terminal --working-directory=/home/user/Desktop/"
 

WebSVN "Error running this command", "Permission denied" fixed

Example error:


Code
 
Error running this command:
 
svn --non-interactive --config-dir /tmp list --xml 'file:///mnt/example/www.example.com/web/repository/@'
 
Unable to open an ra_local session to URL
Unable to open repository 'file:///mnt/example/www.example.com/web/repository'
Can't open file '/mnt/example/www.example.com/web/repository/format': Permission denied
 

How to fix:


Edit quoteCommand() in ../include/command.php
quoteCommand() should read:
PHP
 
function quoteCommand($cmd) {
global $config;
 
// On Windows machines, the whole line needs quotes round it so that it's
// passed to cmd.exe correctly
 
if ($config->serverIsWindows) {
$cmd = '"'.$cmd.'"';
}
else {
$cmd = 'sudo -u root ' . $cmd;
}
 
return $cmd;
}

Add: else { $cmd = 'sudo -u root ' . $cmd; } to give svn permission.

WinSplit Revolution for Ubuntu

Code
 
1360x768 monitor:
 
Top Left:
wmctrl -r :ACTIVE: -b remove,maximized_vert,maximized_horz; wmctrl -r :ACTIVE: -e 1,0,25,672,341
 
Top:
wmctrl -r :ACTIVE: -b remove,maximized_vert,maximized_horz; wmctrl -r :ACTIVE: -e 1,0,25,1352,327
 
Top Right:
wmctrl -r :ACTIVE: -b remove,maximized_vert,maximized_horz; wmctrl -r :ACTIVE: -e 1,680,25,672,341
 
Left:
wmctrl -r :ACTIVE: -b remove,maximized_vert,maximized_horz; wmctrl -r :ACTIVE: -e 1,0,25,676,682
 
Center (toggle maximize):
handled by keyboard shortcut: "Toggle maximization state"
 
Right:
wmctrl -r :ACTIVE: -b remove,maximized_vert,maximized_horz; wmctrl -r :ACTIVE: -e 1,676,25,676,682
 
Bottom Left:
wmctrl -r :ACTIVE: -b remove,maximized_vert,maximized_horz; wmctrl -r :ACTIVE: -e 1,0,366,672,341
 
Bottom:
wmctrl -r :ACTIVE: -b remove,maximized_vert,maximized_horz; wmctrl -r :ACTIVE: -e 1,0,380,1352,327
 
Bottom right:
wmctrl -r :ACTIVE: -b remove,maximized_vert,maximized_horz; wmctrl -r :ACTIVE: -e 1,680,366,672,341