Posts

Showing posts from May, 2016

X remote display

To eliminate logging errors:

unset XDG_RUNTIME_DIR

To run apps and display remotely

$ DISPLAY=:1 gedit

or

export DISPLAY=:1
gedit

Ubuntu open new tab in same terminal

Need xdotool


WID= xprop -root | grep "_NET_ACTIVE_WINDOW(WINDOW)"| awk '{print $5}'; xdotool windowfocus $WID; xdotool key ctrl+shift+t $WID

Android Studio on Ubuntu Look & Feel

StackOverflow

download a color scheme for IntelliJ such as "Classic Eclipse" fromhttp://www.ideacolorthemes.org/home/ It a jar file then you do File > Import Settings... and open the jar file and restart. You should also go into Preferences > Keymap and change to the dropdown to be eclipse sortcuts so that you can get about easier.

Internet tunnel to localhost

ngrok

expose a local server behind a NAT or firewall to the internet