A következő címkéjű bejegyzések mutatása: feisty. Összes bejegyzés megjelenítése
A következő címkéjű bejegyzések mutatása: feisty. Összes bejegyzés megjelenítése

2008. szeptember 7.

installing nspluginwrapper 1.

I reinstalled feisty, because during trying to install gnash I installed and uninstalled so many packages, I had to make it normal again.

so I downloaded nspluginwrapper 1.0.0 tar.gz, unpacked it, went to the directory, and
./configure
make
sudo make install
during make I got some errors, so I had to install following packages:
  • libc6-dev-i386
  • g++
  • gcc
  • xorg-dev
  • libgtk2.0-dev
  • libc6-dev
I may missed something.
----------
I could install it, but it still doesn't work. I get these error messages:
*** NSPlugin Viewer *** preloader not found
nspluginwrapper: no appropriate viewer found for libflashplayer.so

2008. szeptember 6.

youtube & firefox & amd64

1. 32bit firefox --> works
2. gnash --> following the instructions: don't work.
3. nspluginwrapper --> don't work (ia32-libs newer version not available on feisty)

installing GNASH

Trying to get firefox play flash files (youtube) I'm installing Gnash.
Earlier I tried installing 32bit firefox, and that's working.

Now I'm following these instructions.

./configure
There was a lot of missing packages, I finished with 2 warnings remaining, because I didn't find them in synaptic.

make
There was some problem with not finding G++. Following this and this, making a symbolic link solved this problem:
sudo ln -s /usr/bin/g++-3.3 /usr/bin/g++

make is extremly slow, I hope it will work.
--> no luck:
collect2: ld returned 1 exit status
make[3]: *** [libgnashserver.la] Error 1
make[3]: Leaving directory `/home/agi/Desktop/gnash-0.8.3/server'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/agi/Desktop/gnash-0.8.3/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/agi/Desktop/gnash-0.8.3'
make: *** [all] Error 2


I don't know what to do...

Back to feisty

Somehow I found that Gutsy is a bit slow for me, and I reinstalled Feisty. I don't know why, but now my upper menu bar is english, but the submenus are hungarian, as they should be. And the second time I wanted to boot the new Feisty, it froze.

Another thing, that came up: partitioning the winchester: if not automated, you have to make 2 real and a logical partition.
device /dev/sda1 directory / type ex3 size 15000 MB
device /dev/sda2 directory /home type ex3 size 65000 MB
device /dev/sda5 directory type swap size 2500 MB (logical, at the end)

2008. június 7.

problems #5

OSK - OnScreen Keyboard.

Well... onboard is installed, but I can't open it, so I consider is broken or something.
I tried Cellwriter, but it's only for i368 or whatever, but not for amd64.
Right now ubuntu packages is down, so i'll try synaptic with
1.) GOK. - However this was too complicated for me.
2.) Matchbox OSK

... I updated to Gutsy, I'll check this out later...

2008. június 4.

problems #4

I have Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02) and kernel version 2.6.20-16-generic.
I'll try to set up my wifi using this site.

I don't have any errors reported for modprobe mac80211, and lsmod lists the modul, so I only have to install the iwl3945.

While trying to make I get this error:
mh@Alice:~/Desktop/iwlwifi-1.2.25$ make
Makefile:24:
Makefile:25: WARNING: $SHELL not set to bash.
Makefile:26: If you experience build errors, try
Makefile:27: 'make SHELL=/bin/bash'.
Makefile:28:
Kernel Makefile not found at '/lib/modules/2.6.20-16-generic/source'
chmod: "compatible/*" nem érhető el: Nincs ilyen fájl vagy könyvtár
/bin/sh: cannot create compatible/kversion: Directory nonexistent
-e
Makefile has been modified by generate_compatible, please run `make' again

make: *** [compatible/kversion] Error 1
I linked the folders:
ln -s /usr/src/linux-headers-`uname -r` /lib/modules/`uname -r`/source
I get error message:

mac80211 headers not found in:

/lib/modules/2.6.20-16-generic/source/include/net/

Please install the mac80211 subsystem.


How to get the 3 onscreen tablet buttons working?

ATTENTION! THIS POST IS OUTDATED!

1. Download the latest LinuxWacom.
2. Install the following packages through Synaptic:
  • tcl8.4
  • tcl8.4-dev
  • tk8.4
  • tk8.4-dev
  • xserver-xorg-dev
  • libncurses5-dev
...and dependancies.

3. Unpack the linuxwacom tar.gz
4. Modify the /src/xdrv/wcmISDV4.c as follows (add the lines in blue):
/* Coordinate data bit check */
if (data[0] & 0x40)
{
if ((int)data[0] == 0xc1)
{
if (data[1] & 0x07)
{
ds = &common->wcmChannel[0].work;
/* Now fool it into thiking it's in proximity */
ds->proximity = 1;
ds->buttons = ((data[1] & 0x07) << 3);
xf86WcmEvent(common,0,ds);
}
}
return common->wcmPktLength;
}
}
5. Modify the src/xdrv/wcmCommon.c as follows (one change in blue)
/*****************************************************************************
* xf86WcmSendButtons --
* Send button events by comparing the current button mask with the
* previous one.
****************************************************************************/

static void xf86WcmSendButtons(LocalDevicePtr local, int buttons, int rx, int ry,
int rz, int v3, int v4, int v5)
{
int button, mask, bsent = 0;
WacomDevicePtr priv = (WacomDevicePtr) local->private;
WacomCommonPtr common = priv->common;
DBG(6, priv->debugLevel, ErrorF("xf86WcmSendButtons "
"buttons=%d for %s\n", buttons, local->name));

/* Tablet PC buttons. */
if ( common->wcmTPCButton && !IsCursor(priv) && !IsPad(priv) && !IsEraser(priv) )
{
if ( buttons & 57 )
{
if ( !(priv->flags & TPCBUTTONS_FLAG) )
{
priv->flags |= TPCBUTTONS_FLAG;

bsent = 0;

/* send all pressed buttons down */
for (button=2; button<=MAX_BUTTONS; button++) { mask = 1 << (button-1); if ( buttons & mask ) { bsent = 1; /* set to the configured button */ sendAButton(local, button-1, 1, rx, ry, rz, v3, v4, v5); } }
6. Go to the folder in the Terminal and type:
./configure
sudo make
7. Now you should have a wacom_drv.so in the /src/xdrv directory. Make a backup of your old wacom_drv.so:

sudo mv /usr/lib/xorg/modules/input/wacom_drv.so /usr/lib/xorg/modules/input/wacom_drv.so.bak
and copy the new one over:

cd src/xdrv
sudo cp wacom_drv.so /usr/lib/xorg/modules/input/wacom_drv.so
8. Edit your profile:
sudo nano /etc/profile

# enable buttons on HP TC4400
xsetwacom set stylus Button2 "3"
xsetwacom set stylus Button4 "core key shift F1"
xsetwacom set stylus Button5 "core key shift F2"
xsetwacom set stylus Button6 "core key shift F3"

9. Reboot.

10. Set the global keybindings and keybinding commands in the Configuration Editor /Apps /Metacity:
Global Keybindings:
run_command_1 F1
run_command_2
F2
run_command_3
F3

Keybinding Commands:
command_1 xournal
command_2 sh /usr/bin/rotate.sh
command_3 [onscreen keyboard - I don't use it yet]
------------
Thanks to Ubuntu Forum Community.

[SOLVED] problems #3

I'm working on activating the 3 tablet buttons.

I already tried this method, but I sucked at assigning programs to the mouse buttons.


This other method somehow didn't work for me, but I will try again...

...I tried again, and it worked!

2008. június 1.

problems #2 - Xournal

After some time Xournal just didn't start.
I got a tip, that this is the software-s problem, and I should use another handwriting-notepad. Next step is to find one.

For Xournal I had to reinstall ubuntu, hoping Xournal starts, because I saved some important notes in its format.

NEWS: Actually, I reinstalled Ubuntu, and installed the newest Xournal (0.4.2.1) according to the instructions on the xournal homepage. I hope it will work. From now on I will save everything to pdf :-)

2008. május 31.

Sound control buttons & No Sound problem

Volume Control buttons:
I opened the System / Preferences / Hotkeys and redefined the buttons for sound controlling.

No Sound problem:
This was very trivial...
I opened the Volume Control and found the PCM mute :-)

Making Firefox work with Flash and Java plugin

I found a great solution on this page:
http://ubuntuforums.org/showthread.php?p=1174435

It is based on installing a 32bit version Firefox.
Follow the instructions on the page :-)

Follow this guide to enable universe and multiverse repositories.

How to rotate the display?

ATTENTION! THIS POST IS OUTDATED!
The scripts I use now to rotate the display can be copied from this post.

I found a great soultion on this page!

It needs a little alternation, so I'll copy and modify it here.

Problems #1

I've already installed Wacom-tools and Xserver-Xorg-Input-Wacom.
I didn't install Wacom-Kernel-Source, because it gave me some errors like kernel versions don't match.

So the first problems:
- pen button to right button - solved
- advanced input setting in gimp: can't modify the settings for the pen. -solved
- how to rotate the display - solved
- which program to use to note - solved
- can't install flash plugin under firefox - solved
- how to transfer files with bluetooth from my Nokia phone like in the Windows nokia software -solved
- problems with sounds (adjusting buttons, mic-in, headphone, NO SOUND!) -solved
- how to connect to another computer (using windows) -solved

Which Ubuntu?

Now the Ubuntu 8.04 Hardy Heron is out, however installing this version on my tc4400, Alice, was not a good idea :-)
The tablet didn't work at all.

Trying to make my tablet alive, I decided, to install an earlier version.
So second time, I installed Ubuntu 7.04 Feisty Fawn.
The tablet works fine, but I've got some other problems, which I will try to solve.