Friday, 6 May 2011

vlc from across the room

Ubuntu running on "server", ie computer with screen and access to files. Ssh installed.

User on machine across the room, with some sort of ssh ability (either *nix or putty)

ssh into server :
>ssh user@

>export DISPLAY=:0
>vlc /location/of/file --intf rc

gives the options available to adjust the playing file. play, volume 500 (min 0, max 1000), seek (+seconds), f (fullscreen)


if the screensaver is on,
>gnome-screensaver-command -d
d deactivate, a activate.

sound control,

Thursday, 14 April 2011

mvn deploy:deploy

mvn deploy of file:

mvn deploy:deploy-file -DartifactId=name -Dversion=1.1.1 -Dpackaging=jar -Dfile=name-1.1.1.jar -Durl=scp://host:/folder/with/write/access

pom.xml fragment to access deployed jar: