Commands tagged Xephyr (3)

  • # from xfce session to avoid keyboard shortcut clashing # start xephyr in VGA1 monitor: Xephyr -keybd ephyr,,,xkbmodel=evdev,xkblayout=it -listen tcp -ac -reset -output VGA1 :5 # then start an xterm locally export DISPLAY=:5.0 xterm # and remote ssh (no X fw needed if local tcp with access disablesd (-tcp -ac) => UNSECURE!!! ssh remote-host export DISPLAY=notebook:5.0 xrdb -merge ~/.Xresources xterm -geometry 132x50-0+0 # start awesome dbus-launch $(which awesome) dex -a -e Awesome Show Sample Output


    0
    Xephyr -keybd ephyr,,,xkbmodel=evdev,xkblayout=it -listen tcp -ac -reset -output VGA1 :5
    hute37 · 2016-09-12 15:59:07 0
  • ssh compresion -C option ... on slow connection VNC performs better but in local LAN native secure X protocol is an option Show Sample Output


    -1
    ssh -XfC -c blowfish user@host Xephyr dpms -fullscreen -query localhost :5
    hute37 · 2012-11-01 18:59:57 1
  • XDMCP ust be enabled (gdm,lightdm,xdm etc ) Show Sample Output


    -1
    /usr/bin/Xephyr :5 -query localhost -once -fullscreen -ac -keybd "ephyr,,,xkbmodel=pc105,xkblayout=it,xkbrules=evdev,xkboption="
    hute37 · 2012-11-03 01:21:36 0

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands


Check These Out

In (any) vi, add a keystroke to format the current paragraph.
That goes into your $HOME/.exrc file. " Nice macro to reformat lines: map ^A !}fmt Note that the ^A has to be input by typing ^V^A.

Mac Sleep Timer
Schedule your Mac to sleep at any future time. Also wake, poweron, shutdown, wakeorpoweron. Or repeating with $ sudo pmset repeat wakeorpoweron MTWRFSU 7:00:00 Query with $ pmset -g sched Lots more at http://www.macenterprise.org/articles/powermanagementandschedulingviathecommandline

Show linux kernel modules dependencies
Use modprobe to list all the dependencies of a certain kernel module. Handy when debugging system issues.

record the input of your sound card into ogg file
save the input into a ogg file

Find usb device in realtime
Using this command you can track a moment when usb device was attached.

Convert seconds to [DD:][HH:]MM:SS
Converts any number of seconds into days, hours, minutes and seconds. sec2dhms() { declare -i SS="$1" D=$(( SS / 86400 )) H=$(( SS % 86400 / 3600 )) M=$(( SS % 3600 / 60 )) S=$(( SS % 60 )) [ "$D" -gt 0 ] && echo -n "${D}:" [ "$H" -gt 0 ] && printf "%02g:" "$H" printf "%02g:%02g\n" "$M" "$S" }

Download and install the OpenStore on the Ubuntu Phone
This will download and install the latest version of the open store on the ubuntu phone, this store includes unconfined applications such as the TweakGeek and the Ubuntu Touch Tweak Tool. You can see the install instructions from here: https://open.uappexplorer.com/docs#install

Disco lights in the terminal
Looks best in an 80x24 256-color terminal emulator.

Copy from host 1 to host 2 through your host

view the system console remotely
This will view the console and assumes the screen is 80 characters wide. Use /dev/vcs2 for the next virtual console.. etc.


Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: