PDA

View Full Version : [ubuntu] First time with linux - multimedia codecs & touchscreen help



merajchhaya
December 24th, 2008, 09:17 PM
Hi there

It's my first time with Linux, I'm truly excited to be part of an open-source community, but I'm facing quite a few problems, seeing that I'm used to Windows, and on the phone, with Symbian.

I have installed Ubuntu on my CarPC, using a Lilliput HR 701-NP 7" touchscreen, for which I cannot find drivers. The display is working fine, and it detects taps (clicks). The only problem is that it cannot follow my finger, the pointer doesn't move, unless a mouse is connected.

I've downloaded, after some research, a file called "Ubuntu_606.tar.gz", which has the folder "touchkit" inside. It is, after I read, a file that I have to compile from source. I've read a lot of documentation, but I still cannot understand how to install any software.

The biggest problem is that I have no internet connection whatsoever on the CarPC, and the only way to install software is to download it from a Vista-based PC, and transfer it via a USB drive.

The second issue, apart from these touchscreen drivers, are the multimedia codecs, in order to run DIVX, and other video formats, as well as MP3s and other audio formats. I can install it via the CarPC, but I have no internet, and I don't know which one to download from the internet, or how to install it on the computer.

So summarizing, I have three problems:
1. Don't know how to install programs (compile to source, install from file)
2. Get touchscreen drivers for the Lilliput
3. Get multimedia codecs.

I hope you can help, and that one day I can contribute!

Thanks, and Merry Christmas!

Edit: Just one more thing: How do you disable password checking at login, so that it goes directly to the "desktop"?

Nepherte
December 24th, 2008, 09:47 PM
1. To install software: https://help.ubuntu.com/community/InstallingSoftware
3. Multimedia: http://ubuntuforums.org/showthread.php?t=766683

merajchhaya
December 24th, 2008, 11:45 PM
Thank you for the reply Nepherte, but the problem is that I still don't understand how to get the whole compile source going, even though I tried to understand the many tutorials found here and at other websites.

Concerning the multimedia tutorial, I would need internet if I am not mistaken, therefore I will something in the dbe format, so that it can be quickly installed from a single file, right?

Please also do let me know how I can boot ubuntu without typing a password.

sayems
December 25th, 2008, 12:11 AM
Install everything on Ubuntu with
***********************************
* http://appnr.com/

* http://www.playdeb.net/

* http://www.getdeb.net/



Some of the things you can do after installing ubuntu on your machine .

1.Putting your repositories in order
***************************************
$ sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list

$ wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update

1.Installing Multimedia codecs for GStreamer
*********************************************
sudo apt-get install faad gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-pitfdll liblame0

sudo apt-get install ubuntu-restricted-extras

sudo apt-get install w32codecs

sudo apt-get install build-essential

3.Avant Window Navigator
**************************
echo "deb http://ppa.launchpad.net/awn-testing/ubuntu hardy main" | sudo tee -a /etc/apt/sources.list

echo "deb-src http://ppa.launchpad.net/awn-testing/ubuntu hardy main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update

sudo apt-get install awn-manager-trunk awn-extras-applets-trunk

4.Installing MPlayer with all codecs and dvd playing support
************************************************** ***********
sudo apt-get install mplayer

sudo apt-get install w32codecs

sudo apt-get install libdvdcss2 libdvdread3 libdvdnav4 build-essential debhelper fakeroot

sudo /usr/share/doc/libdvdread3/install-css.sh

5.RealPlayer
************
http://www.real.com/linux/

chmod +x RealPlayer11GOLD.bin

sudo ./RealPlayer11GOLD.bin

6.Flash and Java Support
************************
sudo apt-get install flashplugin-nonfree libflashsupport

sudo apt-get install mozilla-plugin-gnash

sudo apt-get install sun-java6-fonts sun-java6-jre sun-java6-plugin

7.Installing Microsoft fonts package
*************************************
sudo apt-get install msttcorefonts

sudo fc-cache

8.Adobe Reader
**************
sudo apt-get install acroread

9.Installing VLC Player
***********************
sudo apt-get install vlc

10.Ubuntu Tweak
***************
http://www.getdeb.net/app/Ubuntu+Tweak

11.Strata Human 1.0
*******************
https://addons.mozilla.org/en-US/firefox/addon/8105

12.Midnight Commander
*********************
sudo apt-get install mc

13.Figlet
*********
$ sudo apt-get install figlet

14.Startup Manager
******************
sudo apt-get install startupmanager

15.GParted
**********
sudo apt-get install gparted

16.NumlockX
***********
sudo apt-get install gparted


17.Hamster
**********
sudo apt-get install hamster-applet


18.Free Disk Space from APTís Cache
***********************************
sudo apt-get autoclean

19.StackSwitch and Wallpaper Plugins with Compiz 0.7.6
************************************************** ****
sudo apt-get install stackswitch

20.How to Install Cursor Themes
*******************************
http://tombuntu.com/index.php/2008/05/19/how-to-install-cursor-themes/

21.p7zip Adds Built-In 7-Zip Tools to Ubuntu
********************************************
sudo apt-get install p7zip

22.Convert Red Hat/Fedora Packages for Ubuntu/Debian Installation
************************************************** ***************
$sudo alien -k name-of-rpm-file.rpm

23.Global Menu
**************
http://www.downloadsquad.com/2008/02/21/get-mac-style-menus-on-ubuntu-with-global-menu/

24.Enable DVD Playback in Ubuntu in Two Commands
*************************************************
sudo apt-get install totem-xine libxine1-ffmpeg libdvdread3
sudo /usr/share/doc/libdvdread3/install-css.sh

25.Howto install gnome-do in Ubuntu Hardy
*****************************************
http://www.ubuntugeek.com/howto-install-gnome-do-in-ubuntu-hardy-and-gutsy.html

29.Turn Your Ubuntu Hardy to Mac OSX Leopard
************************************************** *****
http://maketecheasier.com/turn-your-ubuntu-hardy-to-mac-osx-leopard/2008/07/23

30.Install Google Gadgets for Linux on Ubuntu
*********************************************
http://tombuntu.com/index.php/2008/06/16/install-google-gadgets-for-linux-on-ubuntu/

31.(Optional) btnx Customizes a Multi-Button Mouse for Linux
************************************************** **********
http://lifehacker.com/384698/btnx-customizes-a-multi+button-mouse-for-linux

32.Watch YouTube Clips Inside GNOME's Built-In Movie Player
************************************************** ***
http://tombuntu.com/index.php/2008/04/04/play-youtube-videos-from-the-totem-movie-player/

33.Custom Compiz Effects in Ubuntu 8.04
*****************************************
http://tombuntu.com/index.php/2008/03/27/custom-compiz-effects-in-ubuntu-804/

34.(Optional) Use an OS X-Style Global Menu in Ubuntu
************************************************** *
http://lifehacker.com/359571/use-an-os-x+style-global-menu-in-ubuntu

35.Toggle Desktop Effects with Compiz-Switch
*********************************************
http://tombuntu.com/index.php/2008/01/07/toggle-desktop-effects-with-compiz-switch/

36.Rip DVDs in Linux the (Semi-)Easy Way
**************************************
http://lifehacker.com/software/linux/rip-dvds-in-linux-the-semi+easy-way-330983.php

37.Hide Partition Icons on GNOME Desktops
**************************************
http://lifehacker.com/software/linux-tip/hide-partition-icons-on-gnome-desktops-316179.php

38.Share a Firefox Profile Between Ubuntu and Windows
********************************************
http://cybernetnews.com/2007/10/24/cybernotes-share-a-firefox-profile-between-ubuntu-and-windows/

39.Banshee Media Player
***************************
http://banshee-project.org/download/

40.Gnome-Do
*************
http://do.davebsd.com/

41.Ubuntu System Panel
*********************
http://code.google.com/p/ubuntu-system-panel/wiki/Installation

1.Slab (Start Menu)
*******************
https://wiki.ubuntu.com/Slab

42.Getdeb.net


43.Playdeb - The Gaming Repository for Ubuntu
*******************************************
http://tombuntu.com/index.php/2007/10/22/the-apturl-protocol-handler-in-ubuntu-710/

44.Hamster Time Tracking for GNOME
*******************************
http://tombuntu.com/index.php/2008/08/08/hamster-time-tracking-for-gnome/

45.Replace the System Beep with a Compiz Effect
**********************************************
http://tombuntu.com/index.php/2008/08/04/replace-the-system-beep-with-a-compiz-effect/

46.Free Disk Space from APTís Cache
**********************************
http://tombuntu.com/index.php/2008/08/01/free-disk-space-from-apts-cache/

47.Install Three Experimental Compiz Plugins
******************************************
http://tombuntu.com/index.php/2008/07/31/install-three-experimental-compiz-plugins/

48.Launchy Application Launcher Released for Linux
*********************************************
http://tombuntu.com/index.php/2008/07/29/launchy-application-launcher-released-for-linux/

49.Upgrade to the Latest Compiz Fusion Release
********************************************
http://tombuntu.com/index.php/2008/07/25/upgrade-to-the-latest-compiz-fusion-release/

50.StackSwitch and Wallpaper Plugins with Compiz 0.7.6
************************************************** ****
http://tombuntu.com/index.php/2008/07/28/stackswitch-and-wallpaper-plugins-with-compiz-076/

51.Guake Drop-Down Terminal for GNOME
**************************************
http://tombuntu.com/index.php/2008/07/24/guake-drop-down-terminal-for-gnome/

52.Install Google Gadgets for Linux on Ubuntu
*********************************************
http://tombuntu.com/index.php/2008/06/16/install-google-gadgets-for-linux-on-ubuntu/

53.How to Install Cursor Themes
***********************************
http://tombuntu.com/index.php/2008/05/19/how-to-install-cursor-themes/

54.Enable Commercial DVD Playback in Ubuntu
*********************************************
http://tombuntu.com/index.php/2008/05/13/enable-commercial-dvd-playback-in-ubuntu/

55.Install Extra GNOME Themes
*************************************
http://tombuntu.com/index.php/2008/04/29/install-extra-gnome-themes/

56.Workaround for Pink Shadows with Compiz
**********************************************
sudo ln -sf /usr/lib/nvidia/libwfb.so.xserver-xorg-core /usr/lib/xorg/modules/libwfb.so

57.Vista Basic By drvdw (Desktop Themes)
*******************************************
http://art.gnome.org/themes/metacity/1337

58.Aurora by memo_mapc (Backgrounds/Wallpaper)
************************************************
http://art.gnome.org/backgrounds/abstract/2519

59.OSX (GNOME Icon)
*******************
http://www.gnome-look.org/content/show.php/OSX?content=31618

60.GNOME-colors (GNOME Icon Theme)
**********************************
http://www.gnome-look.org/content/show.php/GNOME-colors?content=82562

1.Show the Computer, Home, and Trash desktop icons in GNOME
************************************************** *********
Alt+F2: gconf-editor
Choose apps->nautilus->desktop.
Tick the box beside computer_icon_visible, home_icon_visible, and trash_icon_visible. The changes take effect immediately.

1.KDE4 Oxygenstyle update
****************************
http://kims-area.com/?q=node/63
Download KDE4 Oxygen GTK theme .DEB

1.KDE Oxygenstyle Wallpaper
**************************
http://pinheiro-kde.blogspot.com/

1.Change Gnome Panel Text Color
*******************************
$ gedit ~/.gtkrc-2.0
style "panel"
{
fg[NORMAL] = "#c6d8e1" #<--edit for panel font color
# fg[PRELIGHT] = "#000000"
# fg[ACTIVE] = "#ffffff"
# fg[SELECTED] = "#000000"
# fg[INSENSITIVE] = "#8A857C"
# bg[NORMAL] = "#000000"
# bg[PRELIGHT] = "#dfdfdf"
# bg[ACTIVE] = "#D0D0D0"
# bg[SELECTED] = "#D8BB75"

# bg[INSENSITIVE] = "#EFEFEF"
# base[NORMAL] = "#2ef60c" #yellow "#ffffff"
# base[PRELIGHT] = "#f60c22" #dark red "#EFEFEF"
# base[ACTIVE] = "#3c06ff" #blue "#D0D0D0"
base[SELECTED] = "#000000" #"#DAB566"
# base[INSENSITIVE] = "#d8d0b2" #biege "#E8E8E8"
# text[NORMAL] = "#161616"
# text[PRELIGHT] = "#000000"
# text[ACTIVE] = "#000000"
# text[SELECTED] = "#ffffff"
# text[INSENSITIVE] = "#8A857C"
}
widget "*PanelWidget*" style "panel"
widget "*PanelApplet*" style "panel"
class "*Panel*" style "panel"
widget_class "*Applet*" style "panel"
class "*notif*" style "panel"
class "*Notif*" style "panel"
class "*Tray*" style "panel"
class "*tray*" style "panel"

1.Tweak Firefox 3 full screen mode
**********************************
http://mozillalinks.org/wp/2008/06/tweak-firefox-3-full-screen-mode/

1.Ubuntu Cheat Sheet
*********************
http://fosswire.com/2008/04/22/ubuntu-cheat-sheet/

1.A Day Without X
*****************
http://www.terminally-incoherent.com/blog/2007/05/21/a-day-without-x/

1.More terminal programs you should be using Ö like a pro
************************************************** *******
http://kmandla.wordpress.com/2007/05/17/more-terminal-programs-you-should-be-using-like-a-pro/

1.Paytube: YouTube video converter for Ubuntu Linux
*************************************************
http://www.getdeb.net/release/3057

1.Ultamatix: Install 101 Applications in One click including Games,codecs,applications
************************************************** *********************************
http://www.ubuntugeek.com/ultamatix-install-101-applications-in-one-click-including-gamescodecsapplications.html
Use the Synaptic Package Manager

1.Youtube-dl - Download videos from youtube in Ubuntu
************************************************** *****
http://www.ubuntugeek.com/howto-download-videos-from-youtube-in-ubuntu.html#more-556


1.Ubuntu System Panel Setting
******************************

USP Bottom Text [Start]

Application Width - 230
Application Height - 500

Shortcut Height - 352
Shortcut Width - 180

System Height - 130
System Width - 200

1.Use a Screensaver as Desktop Wallpaper
*****************************************
http://lifehacker.com/software/linux-tip/use-a-screensaver-as-desktop-wallpaper-299410.php

1.Animated Wallpaper with Compiz Fusion on Ubuntu
http://tombuntu.com/index.php/2007/09/14/animated-wallpaper-with-compiz-fusion-on-ubuntu/

1.Fix for firefox crashes on flash contents when using libflashsupport in hardy
**********************************************
http://www.ubuntugeek.com/fix-for-firefox-crashes-on-flash-contents-when-using-libflashsupport-in-hardy.html

1.The other Firefox 3 themes
******************************
http://mozillalinks.org/wp/2008/07/the-other-firefox-3-themes/

Install VLC media player 0.9.2 in Ubuntu
******************************************
http://tombuntu.com/index.php/2008/09/16/install-vlc-media-player-092-in-ubuntu/

Customize Ubuntu A-Z
*********************
http://ubuntuforums.org/showthread.php?t=856190&highlight=panel+background

8 Ways to Maintain a Clean, Lean Ubuntu Machine
************************************************
http://maketecheasier.com/8-ways-to-maintain-a-clean-lean-ubuntu-machine/2008/10/07/


Top Bookmarks:
****************
* http://lifehacker.com/tag/ubuntu/
* http://synapticism.wordpress.com/2008/08/31/top-7-best-kept-linux-secrets/
* https://help.ubuntu.com/community/Repositories/CommandLine
* http://www.easy-ubuntu-linux.com/custom-ubuntu-repositories.html
* https://help.ubuntu.com/community/Medibuntu
* http://tombuntu.com/
* http://blog.lxpages.com/2007/07/11/101-ubuntu-tips-tricks-and-tutorials/
* http://www.ubuntux.org/forums/ubuntu-linux/tips-tricks-customization-0
* http://www.rewardprograms.org/thefreegeek/features/17_musthave_free_apps_for_new_ubuntu_users.html
* http://ubuntulinuxhelp.com/top-100-of-the-best-useful-opensource-applications/
* http://www.catswhocode.com/blog/featured/30-gnome-themes-to-enhance-your-ubuntu-experience-18
* http://www.howtogeek.com/tag/ubuntu/
* http://www.ubuntugeek.com/howto-install-gnome-do-in-ubuntu-hardy-and-gutsy.html
* http://www.getdeb.net/
* http://www.downloadsquad.com/2008/02/21/get-mac-style-menus-on-ubuntu-with-global-menu/
* http://tombuntu.com/index.php/2008/05/19/how-to-install-cursor-themes/
* http://tombuntu.com/index.php/2008/07/31/install-three-experimental-compiz-plugins/
* http://linux-noob.com/review/smoothwall/express/3/install/index.html
* http://www.linux-tip.net/cms/content/view/316/26/1/0/
* http://www.informit.com/articles/article.aspx?p=1226928
* http://linuxcommand.org/
* http://www.vtc.com/
* http://education-portal.com/articles/10_Sites_Offering_Free_Linux_Courses_Online.html
* http://beginlinux.org/
* http://www.catswhocode.com/blog/featured/20-beautiful-dark-themes-for-gnome-and-ubuntu-418
* http://www.ubuntugeek.com/
* http://gnufreakz.wordpress.com/2008/08/26/how-to-customize-ubuntu/
* http://allforlinux.blogspot.com/2008/08/best-themes-for-ubuntu.html
* http://www.sizzledcore.com/2008/08/09/ubuntu-themes-awesome-themes-for-linux/
* http://dustinkirkland.wordpress.com/2008/09/05/announcing-the-ubuntu-manpage-repository-manpagesubuntucom/
* http://www.tldp.org/LDP/Bash-Beginners-Guide/html/index.html
* http://www.dsl.org/cookbook/cookbook_toc.html
* http://ubuntu-rescue-remix.org/node/65
* http://book.opensourceproject.org.cn/distrib/ubuntu/movingtoubuntu/

Nepherte
December 25th, 2008, 12:30 AM
Compiling software from source is not always that straight forward so if you can find a .deb file of it or it's in the repositories then that's the preferred way of installing. Compiling from source generally goes as follows:

Before you can even compile software, you need to get the build tools:

sudo apt-get install build-essential linux-headers-`uname -r`
The source files are provided in an archive file, most likely in .tar.gz or .tar.bz2 format. You simply unpack the archive.
In a terminal, navigate to the directory where you unpacked the source files. When you open up a terminal, you are by default in your home directory (/home/username). You can navigate in a terminal with
cd <directory>For the sake of simplicity, I suggest you just unpack the source files directly in your home directory.
In that same terminal, type

./configure
This will configure the software. Often you can supply extra configure options. You can read more about those options with

./configure --help
but they would fall out of the scope of this small tutorial as they vary from application to application.

It's possible that the ./configure command produces errors. That means there's a dependency the application needs to build. You'll have to find out what dependency that is (perhaps it's on the application's website or in the README/INSTALL file). As long as the ./configure command produces errors, there's no point in continuing. You have to resolve this issue first
When it finally produces no errors, you can build the software:

make
When this command produces errors, you're pretty much out of luck as there are no straight forward instructions to figure out what exactly you have to do now. Again there's no point in continuing if the errors aren't resolved.
You can now install the software with:

sudo make install

The bottom line is that you have to avoid compiling as much as possible and try using the repositories or a .deb file. To install something, you will probably have to download it from the internet as well. Installing with apt-get or synaptic, will automatically try to download something from the repositories. If you want to compile, you'll have to download the source files. So you either plug the machine once on the internet (the easiest way) or you download download everything and put in on a cd or dvd or whatever it is you put it on. If the latter is what you intend to do, I suggest you take a look at https://help.ubuntu.com/community/APTonCD.

Concerning the automatic logging in with your user: https://help.ubuntu.com/6.10/ubuntu/desktopguide/C/ch12s01.html But be aware of the possible security issues!

merajchhaya
December 25th, 2008, 01:24 AM
Wow thanks guys, that's a lot of information. I managed to install VLC player, it took me hours to find out all dependancies, but it's done!

I'll have to get my Huawei E220 USB HSDPA modem working on this thing before I get into some serious (and easier) app installation.

For the first day with Linux, I'm exhausted, which means that I am loving it.

I will still have to get that compile-thing going in order to install the touchscreen drivers, seems to be the only way.

I'm going on holidays soon, so I'll have to continue this next year.

Happy holidays!