2013. december 31.

Word Wrapping inside tables on Blogger

I've had a little difficulty with one of my blogs.
I wanted to do a table with 3 columns, however, whatever I set for table with or column with it did nothing to fit the table into the required space.

Here's the solution, that worked for me:
<table style="table-layout: fixed; width: 100%;">
<tr><td style="word-wrap: break-word;">LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongWord</td></tr>

2013. december 30.

DVD playback

I bought an external DVD RW today. (Samsung SE-208DB/TSBS Black)

I had to install libdvdcss to be able to playback a regular DVD Video.

And still have to use -vo gl2 to get the picture right.

Get libdvdcss
Last version of libdvdcss is 1.2.13.
Our Debian/Ubuntu repository can be accessed by adding the following content to /etc/apt/sources.list
deb http://download.videolan.org/pub/debian/stable/ /
deb-src http://download.videolan.org/pub/debian/stable/ /
And by running
wget -O - http://download.videolan.org/pub/debian/videolan-apt.asc|sudo apt-key add -
libdvdcss is available through Git or by browsing the releases.
Go to Synaptic and browse libraries (without "verse") for libdvdcss.
Source: http://www.videolan.org/developers/libdvdcss.html

To play it with Mplayer:
For the complete list of available options, please read the man page. The syntax to play a standard DVD is as follows:
mplayer dvd:// [-dvd-device ]
mplayer dvd://1 -dvd-device /dev/hdc

my command line looked like this:
 ~$ mplayer dvd://1 -dvd-device /media/DVDMEDIA/ -vo gl2

2013. december 17.

Libreoffice Functions

date to text:

this is in A1: 04/30/13
want it to look like this: 2013-04

the function is: =YEAR(A1)&"-"&TEXT(MONTH(A1),"00")

2013. november 10.

Win95 @ VirtualBox

I'm trying to get After Dark screensaver work for me out of simple nostalgia.

Therefor I installed windows 95. And After Dark 4.0.
But still have a bunch of problems:

  1. File sharing:
    VB shared folders don't work, so I created an iso image on ubuntu and read it through the virtual drive in win95.
  2. there's no sound, but I need it.
    Here's how to get the sounds work: http://www.youtube.com/watch?v=sIfmB18ey4o
  3. colorspace is 16 color, and I need 256.
    By changing the Display Driver to standard Super VGA, I achieved 800x600 resolution, but no change in colorspace.
    Here's how to fix this: https://forums.virtualbox.org/viewtopic.php?t=9918
    1. Download and install SciTech Display Doctor
    2. On the main menu you see "disabled" to a couple of things, go to SciTech driver and enable it. Restart. Voila.
  4. Okay, so, now some After Dark screensaver freeze the system.... :-(
    Well, now the whole program is down :-(

Win95 is missing these files at every startup:



I couldn't get the IMA floppy images to work, and simply writing the extension to .img only caused VB to show it in the list, but not to open.

2013. november 8.

Video playback is lagging

Tips I've read some places:

What solved it:

using -vo gl2 option in mplayer
$mplayer myvideo.avi -vo gl2

Does not help:
  • changing the refresh rate of the laptop display and the vga monitor to the same amount (75 or 60 Hz)
  • installing mga_vid, or at least trying to install it.

2013. november 2.

Media file video stream showing nothing (black screen)

From one day to the other, video media files I could play fine earlier, stopped showing video output, and instead of that they put out a black screen, which held frozen any movement that was done in front of it (window openings, etc, like, when a software freezes...)

Solution came from this thread:
pietrino (pietrino) said :#13
Thanks Eliah and sorry for the confusion I generated.
I manged to view video correctly in totem by alt+F2, typing "gstreamer-properties" and in the video tab selecting X window system (no Xv). This looks like a pretty general hint that might serve different people. In the case of vlc, others hinted at setting the X11 display in the video properties of the program, though haven't tried that yet.
Sorry once more

2013. június 26.

Nautilus Open-in-terminal

Beside of using Nautilus script to open a specific nautilus folder in terminal,
it is possible to use the nautilus-open-terminal software.

Download it with
sudo apt-get install nautilus-open-terminal
Then restart nautilus with logging out and in again, or with
nautilus -q
This should do the trick.
&& Have fun using it!