Alice@Ubuntu

This is a tutorial for HP-Compaq TC4400 Users on Ubuntu. Note, that I'm a total beginner with Linux, so this page will contain everything I did with my Notebook called Alice :-)

2012. február 21., kedd

Manual Wireless Network Configuration

Unencrypted WLAN connect manually

sudo ifconfig wlan0 down
sudo dhclient -r wlan0
sudo ifconfig wlan0 up

iwconfig

sudo iwconfig wlan0 essid "Name Of Network"
sudo iwconfig wlan0 mode Managed
sudo iwconfig wlan0 ap MA:CA:DD:RE:SS:ZZ
sudo dhclient wlan0

Search For Networks:
sudo iwlist scan

Possible Network Handling Software:

netapplet
wifi-radar

gtkwifi
kwifimanager
netswitch

getwifi

2011. december 28., szerda

Splitting a GEDCOM family tree

Use PAF (Personal Ancestral File), a free product of FamilySearch, to export a part of your tree.
It's a Windows software. Install through WINE.
PAF has a very good selection mechanism in exporting, and this makes it possible to split a GEDCOM Family Tree.

2011. november 17., csütörtök

Workaround with TwinView

FINALLY:

xsetwacom --set "Serial Wacom Tablet" "TwinView" horizontal
xinput -set-prop "Serial Wacom Tablet" "Wacom Tablet Area" -24780, -12390, 0, 18630
xsetwacom --set "Serial Wacom Tablet eraser" "TwinView" none
xinput -set-prop "Serial Wacom Tablet eraser" "Wacom Tablet Area" -24780, -12390, 24780, 18630

or, sometimes they work with the same settings... still testing... still testing...:

xsetwacom --set "Serial Wacom Tablet" "TwinView" none
xinput -set-prop "Serial Wacom Tablet" "Wacom Tablet Area" -24780, -12390, 24780, 18630
xsetwacom --set "Serial Wacom Tablet eraser" "TwinView" none
xinput -set-prop "Serial Wacom Tablet eraser" "Wacom Tablet Area" -24780, -12390, 24780, 18630

-----------------------------
Let's pretend we are surprised that the whole thing does not work if we want to rotate the display of the tablet..

So these will work for the tablet screen rotated upside down:

xsetwacom --set "Serial Wacom Tablet" twinview none
xinput -set-prop "Serial Wacom Tablet" "Wacom Tablet Area" -24780, -12390, 24780, 18630
xsetwacom --set "Serial Wacom Tablet eraser" twinview none
xinput -set-prop "Serial Wacom Tablet eraser" "Wacom Tablet Area" -24780, -12390, 24780, 18630

Amazing, these are the same settings :-)
------------------------------------------------
Let's pretend we are surprised when turning back, some other settings apply correctly:

xsetwacom --set "Serial Wacom Tablet" twinview none
xinput -set-prop "Serial Wacom Tablet" "Wacom Tablet Area" -24780, -12390, 24780, 18630
xsetwacom --set "Serial Wacom Tablet eraser" twinview horizontal
xinput -set-prop "Serial Wacom Tablet eraser" "Wacom Tablet Area" -24780, -12390, 24780, 18630
:-)
this will be fun, setting it up every time differently.
--------------------------------------------------

WORKAROUND:

Written here wisely:

UPDATE: since version 0.10.11
support for TwinView and Multimonitor has been removed from the driver.
to map the tablet to only one screen use something similar to this:

xsetwacom get "Wacom BambooFun 2FG 4x5 Pen stylus" Area
0 0 14720 9200

to map it to the left screen, double the third value and set like:
xsetwacom set "Wacom BambooFun 2FG 4x5 Pen stylus" Area "0 0 29440 9200"
for the right screen use the negative third value as the first:
xsetwacom set "Wacom BambooFun 2FG 4x5 Pen stylus" Area "-14720 0 14720 9200"


If I want to apply it for my 1024x768 Tablet PC environment with a 1024x1280 Monitor on the left side, I'll have to:

xsetwacom --set "Serial Wacom Tablet" "TwinView" horizontal

Now, for some reason xinput -set-prop "Serial Wacom Tablet" "Wacom Tablet Area" 0, 0, 12390, 18630 maps my tablet monitor in single view.
And it maps the complete 2048x1280 area in twin view.

In theory these numbers are: TopX, TopY, BottomX, BottomY
Where X is the horizontal and Y is the vertical value.

xinput -set-prop "Serial Wacom Tablet" "Wacom Tablet Area" 0, 0, 24780, 18630
this maps the 1024x1280 screen, which is to the left of the tablet monitor.

xinput -set-prop "Serial Wacom Tablet" "Wacom Tablet Area" -24780, -12390, 0, 18630
for some reason this maps the stylus tablet area :-)

I have to map the eraser separately
xinput -set-prop "Serial Wacom Tablet eraser" "Wacom Tablet Area" 0, 0, 24780, 18630
this maps my eraser in singleview. (white stylus is in twinview)
xinput -set-prop "Serial Wacom Tablet eraser" "Wacom Tablet Area" -24780, -12390, 24780, 18630
for some reason this maps the eraser tablet area in singleview :-)


Wacom options

xsetwacom --list
xsetwacom --list --verbose
xsetwacom --list param
xsetwacom --get "[device]" all
xsetwacom set "[device]" "[option]" [parameters]

xinput list
xinput list-props [id]
xinput set-prop "[device]" "[option]" [parameters]

man wacom

gedit /usr/lib/X11/xorg.conf.d/10-wacom.conf

2011. május 30., hétfő

Software checklist

For image editing:
  • Gimp
  • ImageMagick (convert, mogrify, identify)
  • mkbitmap in Potrace
  • DjvuLibre-bin (cjb2, djvm)
  • PdfJam (pdfjoin)
  • Ubuntu's ps2pdf12
  • Ubuntu's pdfimages
  • InkScape
  • FontForge for fonts
For windows programs:
  • VirtualBox
  • wine
For office stuff:
  • OpenOffice
  • Gedit
For E-Books:
  • Sigil
  • Calibre
  • Comic2lrf
Internet tools:
  • Firefox with Sun Java 6 JRE plugin for comfort
  • Chrome for stability
  • FileZilla for FTP
  • Transmission for Bittorent
  • DC++
  • Skype
  • Seamonkey for HTML editing
Viewing /editing media:
  • Ubuntu Movie Player
  • Mplayer & Mencoder
  • SoundConverter with MP3 plugin
  • Ubuntu Sound Recorder
Burning DVDs, CDs:
  • K3B
System configurations:
File manipulations:
  • Nautilus
  • MuCommander
  • RSync
Tablet tools:
  • Xournal
  • Cellwriter
  • OnBoard

2011. április 22., péntek

NOTE: Making movies from image files using mencoder / ffmpeg

Here's a site. It describes something I wanted to do / did half a year ago but made no blog-post of it.

What I originally wanted to do was to have a single image as a video, and put some music to it and post it on youtube.

I somehow managed it, but I have no idea anymore how.
And I also found mp3tube, so I don't really need this anymore, if I don't care to have a special picture for my music.

Mplayer is too quiet

Actually my problem was only, that MPlayer's own volume wasn't turned up.
Key 9 and 0 are used for volume - and + on your keyboard.

However, here's the manual on MPlayer volume adjustment.