Saturday, March 29, 2014
Rufus - Create bootable USB drives the easy way
I normally use UNetbootin for my bootable USB drives but Rufus worked great when I used it recently.
Saturday, March 22, 2014
config.txt for (Raspberry PI) + (HDMI to VGA Video + Audio Adapter)
Here's our known-good /boot/config.txt which will set the resolution to 800x600 and enable the audio out of the adapter. we have a couple other resolution options documented as well!:
# uncomment if you get no picture on HDMI for a default "safe" mode #hdmi_safe=1 # uncomment this if your display has a black border of unused pixels visible # and your display can output without overscan #disable_overscan=1 # uncomment the following to adjust overscan. Use positive numbers if console # goes off screen, and negative if there is too much border #overscan_left=16 #overscan_right=16 #overscan_top=16 #overscan_bottom=16 # uncomment to force a console size. By default it will be display's size minus # overscan. #framebuffer_width=1280 #framebuffer_height=720 # uncomment if hdmi display is not detected and composite is being output #hdmi_force_hotplug=1 # uncomment to force a specific HDMI mode (this will force VGA) hdmi_group=2 hdmi_mode=87 # Put your VGA monitor resolution below # hdmi_cvt =# width width in pixels # height height in pixels # framerate framerate in Hz # aspect aspect ratio 1=4:3, 2=14:9, 3=16:9, 4=5:4, 5=16:10, 6=15:9 # margins 0=margins disabled, 1=margins enabled # interlace 0=progressive, 1=interlaced # rb 0=normal, 1=reduced blanking # For example, 800x600 @ 60 Hz hdmi_cvt=800 600 60 1 0 0 1 # or maybe 800x480 @ 60 Hz #hdmi_cvt=800 480 60 6 0 0 1 # or, 1024 x 768 @ 50 Hz #hdmi_cvt=1024 768 60 1 0 0 1 # or if you're not sure, nothing beats 640x480 #hdmi_cvt=640 460 60 1 0 0 1 # see http://www.raspberrypi.org/forum/viewtopic.php?f=29&t=24679 # uncomment to force a HDMI mode rather than DVI. This can make audio work in # DMT (computer monitor) modes ############################################################### ### THIS LINE IS WHAT ENABLES THE AUDIO OUT OF THE ADAPTER! ### hdmi_drive=2 ############################################################### # uncomment to increase signal to HDMI, if you have interference, blanking, or # no display #config_hdmi_boost=4 # uncomment for composite PAL #sdtv_mode=2 #uncomment to overclock the arm. 700 MHz is the default. #arm_freq=800 # for more options see http://elinux.org/RPi_config.txt
[Taken from http://www.adafruit.com/products/1151#Technical_Details]
Monday, March 17, 2014
TVheadend playlist
The playlist with the TV channels available from TVheadend is http://tv_headend_ip:9981/playlist/channels .
Source: http://astrolinux22.blogspot.com.es/2013/06/auto-generate-vlcsmplayer-tv-playlists.html
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
VLC streaming - link soup
Streaming examples and how to use the telnet interface
https://www.videolan.org/doc/streaming-howto/en/ch05.html
How to use :sout-keep to keep the playlist streaming
https://wiki.videolan.org/Documentation:Streaming_HowTo_New/
“The combination of :sout-keep and dst=gather:std mean that the stream is kept open and subsequent items are played through the same stream.”
How to stream content using the GUI
https://wiki.videolan.org/Documentation:Streaming_HowTo/Easy_Streaming_Newer_Versions/
Sunday, March 16, 2014
Split flac by cue file in Linux
Just two steps:
Source: http://bytebin.wordpress.com/2009/11/20/split-flac-by-cue-file-in-linux/
#Split
shnsplit -f sample.cue -o flac -t “%n. %t” sample.flac
#Transfer tags
cuetag sample.cue *.*.flac
Source: http://bytebin.wordpress.com/2009/11/20/split-flac-by-cue-file-in-linux/
Saturday, March 8, 2014
How to move Ubuntu to an SSD
How to move Ubuntu to an SSD:
My fstab has only two entries:
I need to create two partitions on the SSD, format then (16 GB for swap, 100 GB for root) and set the labels accordingly. After that just follow the procedure.
To activate trim read this and decide what to do: option
You want to copy the FILES, not the whole partition (including its free space), so you don't need to resize the partition first. Boot from the livecd and mount both the HD and SSD (after formatting a partition on the SSD of course), then copy all of the files over:
sudo cp -ax /media/hd /media/ssd
Use the correct names for the hd and ssd mount points of course. Then you just need to edit the /etc/fstab on the ssd to point to the new fs UUID (you can look it up with blkid
). Finally you need to install grub on the ssd:
sudo -s
for f in sys dev proc ; do mount --bind /$f /media/ssd/$f ; done
chroot /media/ssd
grub-install /dev/ssd
update-grub
Of course, use the correct device for /dev/ssd. The whole disk, not a partition number. Finally reboot and make sure your bios is set to boot from the SSD.
My fstab has only two entries:
LABEL=LINUX-ROOT / ext4 errors=remount-ro,noatime 0 1
LABEL=LINUX-SWAP none swap sw 0 2
I need to create two partitions on the SSD, format then (16 GB for swap, 100 GB for root) and set the labels accordingly. After that just follow the procedure.
To activate trim read this and decide what to do: option
discard
in fstab (automatic trim) or fstrim /
(periodic trim via a cron job).
Subscribe to:
Posts (Atom)