Benutzer-Werkzeuge

Webseiten-Werkzeuge


becki:linux:app_install_config_tips

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
becki:linux:app_install_config_tips [2009-05-25 08:17]
becki
— (aktuell)
Zeile 1: Zeile 1:
-====== Linux Application Installation and Configuration Tips ====== 
-===== Xine == 
-==== DVD Playback == 
- 
-Add the users e.g. becki & meli to the group <​del>​disk</​del>​ cdrom in /etc/group, switch off window manager, log out, log in again and start WM 
- 
-Download libdvdcss from www.slackbuilds.org & install it 
- 
-==== Playback of wmv-Files == 
-=== Slack11 == 
- 
-Get mplayer-codecs-all buildscript for Slack11 from www.SlackBuilds.org and the newest ''​all-<​DATE>​.tar.bz2''​ codecs from [[http://​www7.mplayerhq.hu/​MPlayer/​releases/​codecs/​|here]] (The codecs link at SlackBuilds.org may be outdated). Then adjust the ''​VERSION''​-varible in ''​mplayer-codecs-all.SlackBuild''​ to the date of ''​all-<​DATE>​.tar.bz2''​. Build the package and install it. 
- 
-=== Slack12 == 
- 
-xine seems to be able to play wmv files natively. But it can't harm to additonally install mplayer-codecs-all for Slack12 as described obove. 
- 
-===== VLC == 
- 
-According to the [[http://​www.videolan.org/​vlc/​download-slackware.html|VLC Homepage]], VLC 0.9.8 is available as Slack package for 12.2 (and 12.1) [[http://​slackware.org.uk/​3rd-party/​alien/​restricted_slackbuilds/​vlc/​pkg/​|here]]. 
- 
-Note that - like xine - VLC also depends on libdvdcss for DVD playback. 
- 
-===== MPlayer == 
- 
-Get buildscripts for MPlayer and mplayer-codecs-all from www.SlackBuilds.org. Build and install the packages. ​ 
- 
-For Slack11 you must download a theme before building the MPlayer package (see README), otherwise only the ''​mplayer''​ not the ''​gmplayer''​ (with GUI) command will work.  
- 
-Howto build the mplayer-codecs-all package is described above in the xine section. 
- 
-===== Firefox == 
-==== Installation with Generic binary Tarball == 
- 
-  - Get localized tarball from http://​www.mozilla.com/​firefox/​all.html or US tarball from www.mozilla.com 
-  - Unpack archive in /​usr/​local/​lib 
-  - /​usr/​local/​lib#​ mv firefox firefox-[version] 
-  - /​usr/​local/​lib#​ ln -s firefox-[version] firefox 
-  - /usr/bin# mv firefox firefox.org 
-  - /usr/bin# ln -s ../​lib/​firefox/​firefox # don't use /​usr/​local/​bin cause KDE won't find it! 
- 
-FIXME Untested yet: Allow firefox to auto-update itself for all users: 
- 
-  - /​usr/​local/​lib#​ chgrp -R users firefox 
-  - /​usr/​local/​lib#​ chmod -R g+w firefox 
- 
-==== Plugins == 
-=== gXine == 
- 
-Firefox comes with gxine plugin preinstalled,​ but it didn't work properly for me on Slack 12.0. To remove it, rename the file ''/​usr/​lib/​gxine/​gxineplugin.so''​ to something else, eg: ''/​usr/​lib/​gxine/​gxineplugin.so.off''​. FIXME Any better solution? 
- 
-=== Java == 
- 
-  * /​usr/​local/​lib/​firefox/​plugins#​ ln -s /​usr/​lib/​java/​jre/​plugin/​i386/​ns7/​libjavaplugin_oij.so (peeked form /​usr/​lib/​mozilla/​plugins) 
-  * check with about:​plugins 
- 
-=== RealPlayer 10 == 
- 
-  * /​usr/​local/​lib/​firefox/​plugins#​ ln -s  /​usr/​local/​share/​RealPlayer10/​mozilla/​nphelix.so 
-  * /​usr/​local/​lib/​firefox/​plugins#​ ln -s  /​usr/​local/​share/​RealPlayer10/​mozilla/​nphelix.xpt 
- 
-This is what the install script of RealPlayer 10 has done 
- 
-=== Macromedia Flash == 
- 
-See [[http://​plugindoc.mozdev.org/​linux.html#​Flash|plugindoc]]. 
- 
-== Version 7 == 
- 
-Copy libflashplayer.so to your Mozilla plugins directory (/​usr/​lib/​firefox/​plugins) and flashplayer.xpt to your Mozilla components directory 
- 
-== Version 9 == 
- 
-Download "​Download Installer for Linux",​ not the Standalone player. Move libflashplayer.so into your system browser installed plugins directory (usually located): /​usr/​lib/​firefox/​plugins 
- 
-== Flash on/off Switch == 
- 
-On some internet pages flash content can be rather annoying. This script switches flash on and off just by renaming the flash solib: 
-<code bash> 
-#!/bin/bash 
-# Switches Flash in Firefox on or off 
-# Installation:​ Copy this script to /​usr/​local/​bin/​sbflash 
-# Usage: Just type '​sbflash'​ to switch flash on or off 
- 
-flashlib='/​usr/​lib/​firefox/​plugins/​libflashplayer.so'​ 
- 
-if [ -r $flashlib ]; then 
-    mv $flashlib "​$flashlib.off"​ 
-    echo "Flash is OFF now." 
-elif [ -r "​$flashlib.off"​ ]; then 
-    mv "​$flashlib.off"​ $flashlib 
-    echo "Flash is ON now." 
-    echo "Point firefox to '​about:​config'​ to enable flash!"​ 
-else 
-    echo "​Error:​ Flash is not available."​ 
-fi 
-</​code>​ 
- 
-==== Configuration == 
- 
-[[http://​kb.mozillazine.org/​About:​config_entries|Description]] of all <​html><​a href="​about:​config"​ class="​urlextern">​about:​config</​a></​html>​ entries 
- 
-=== System wide configration riddle == 
- 
-DELETEME ''​firefox-1.0.6/​defaults/​profile/​prefs.js''​ says: "To make a manual change to preferences,​ you can visit the URL <​html><​a href="​about:​config">​about:​config</​a></​html>​ . For more information,​ see [[http://​www.mozilla.org/​unix/​customizing.html#​prefs|customizing mozilla]]. In newer versions a sytem wide prefs.js doesn'​t exist any more, but there is a ''​greprefs/​all.js''​ & ''​defaults/​pref/​firefox.js'',​ maybe that can be used for system wide defaults. 
- 
-FIXME http://​kb.mozillazine.org/​Editing_configuration 
- 
-=== Remote control == 
- 
-Descricption of command line control for firefox: http://​www.mozilla.org/​unix/​remote.html 
- 
-=== Printing with kprinter == 
-== Firefox 2 == 
- 
-Search for the file prefs.js in ''​~/​.mozilla/​firefox''​ & create a new file called user.js in the same dir where prefs.js is located: 
- 
-<code javascript>​ 
-// user.js: 
-user_pref("​print.postscript.cups.enabled",​ false); 
-user_pref("​print.print_command",​ "​kprinter"​);​ // works only when cups disabled 
-</​code>​ 
- 
-Attempts to configure this system wide for all users in ''/​usr/​lib/​firefox/​firefox.js''​ failed. 
- 
-Sources: [[http://​www.linuxquestions.org/​questions/​showthread.php?​t=476039|linuxquestions.org]],​ [[http://​ubuntuforums.org/​showthread.php?​t=205050|ubuntuforums.org]] & [[http://​www.mozilla.org/​unix/​customizing.html#​prefs|customizing mozilla]] 
- 
-== Firefox 3 == 
- 
-FIXME No solution found yet! 
- 
-=== Disable Animations == 
- 
-To disable animated GIF images set ''​image.animation_mode''​ to ''​once''​ or ''​none''​ in about:​config 
- 
-===== Programmer'​s Text Editor Jedit == 
- 
-Get java based installer from [[http://​jedit.org/​index.php?​page=download&​platform=unix|jedit.org]] and run ''#​ java -jar jedit4.3pre8install.jar text''​ 
- 
-  Installation directory: [/​root/​jedit/​4.3pre8] /​usr/​local/​jedit-4.3pre8 
-  Install shortcut in: [/​usr/​local/​bin] 
-  Install manual page in: [/​usr/​local/​man/​man1] 
- 
-Make a version-independent symlink: /usr/local# ln -s jedit-4.3pre8 jedit 
- 
-Remove absolte pathnames and reuse always the same instance of jedit when specifing files on the command line in /​usr/​local/​bin/​jedit:​ 
-<code bash> 
-#exec "​$JAVA_HOME/​bin/​java"​ -server -mx${JAVA_HEAP_SIZE}m ${JEDIT} -classpath "/​usr/​local/​jedit/​4.3pre8/​jedit.jar"​ \ 
-#​org.gjt.sp.jedit.jEdit $@ 
-exec java -server -mx${JAVA_HEAP_SIZE}m ${JEDIT} -classpath "/​usr/​local/​jedit/​jedit.jar"​ \ 
-org.gjt.sp.jedit.jEdit -reuseview $@ 
-</​code>​ 
- 
-Usefull script to insert current date and time (e.g.: ''​2007-05-03 13:​55''​),​ save it to ''​~/​jedit/​macros''​ or ''/​usr/​local/​jedit/​macros''​ and define a shortcut for it: 
-<code java> 
-/* Inserts the current date and time at the caret position 2007-05-03 */ 
-void nuAd(StringBuilder sb, int zahl) { 
-    if (zahl<​10) sb.append("​0"​);​ 
-    sb.append(zahl);​ 
-} 
-Calendar now = Calendar.getInstance();​ 
-StringBuilder sb= new StringBuilder();​ 
-nuAd(sb, now.get(Calendar.YEAR));​ 
-sb.append("​-"​);​ nuAd(sb, now.get(Calendar.MONTH)+1);​ 
-sb.append("​-"​);​ nuAd(sb, now.get(Calendar.DATE));​ 
-sb.append("​ "); nuAd(sb, now.get(Calendar.HOUR_OF_DAY));​ 
- 
-sb.append(":"​);​ nuAd(sb, now.get(Calendar.MINUTE));​ 
-//​sb.append(":"​);​ nuAd(sb, now.get(Calendar.SECOND));​ 
-textArea.setSelectedText(sb.toString());​ /* insert date and time to textarea */ 
-</​code>​ 
- 
-===== Open Office == 
-==== Installation == 
- 
-I got [[http://​www.prooo-box.org|PrOOo-Box]] V 2.0.3. It contained only rpm's. Converted them with rpm2tgz. Checked installation target by issuing ''​tar -tzf *.tgz | most''​. Target was always /​opt/​openOpffice... : IYES. Installed with ''​installpkg *.tgz''​ 
- 
-  * Symlink /​opt/​open... -> /opt/ooo 
-  * Symlink /​usr/​local/​bin/​soffice -> /​opt/​ooo/​program/​soffice 
-  * Start OOo with command ''​soffice''​ 
- 
-FIXME [[http://​go-oo.org/​|Go-OO]] is said to be better than the original oOO , see [[http://​www.linux.com/​feature/​154364|linux.com]] ​ --- 2008-12-05 
- 
-==== Tips == 
- 
-  * Alternatively download OOo from http://​distribution.openoffice.org/​p2p/​ via Bittorrent 
-  * To convert files of different formats from the command line by help of OOo, e.g. to convert Word -> PDF see [[http://​www.oooforum.org/​forum/​viewtopic.phtml?​t=3772|oooforum.org]] and [[http://​ooomacros.org/​user.php#​95532|ooomacros.org]] 
-  * Manipulate OOo documents without OOo: [[http://​www.developer.com/​open/​print.php/​3653101|Introduction to OpenOffice.org Writer Files]] 
-  * [[http://​api.openoffice.org/​docs/​DevelopersGuide/​DevelopersGuide.xhtml|Developers Guide]] (also for scripting) 
-  * The CD contains also document templates in cdrom/​templates 
- 
-===== RealPlayer == 
-==== RealPlayer 10 == 
- 
-Vorgehen gemäß http://​plugindoc.mozdev.org/​linux.html#​RealPlayer 
-RealPlayer10GOLD.bin runterladen,​ ausführbar machen, ausführen als root 
-Als Installationsverzeichnis /​usr/​local/​share/​RealPlayer setzen 
- 
-Es kommt die Frage "​configure system-wide symbolic links? [Y/​n]",​ bei dem ein Timeout abläuft 
-Bisher nicht rausgefunden,​ wie man diesen Vorgang abbricht. Es werden etliche Objekte auserhalb des o.a. /​usr/​local/​share/​RealPlayer angelegt, ist aber alles dokumentiert in /​usr/​local/​share/​RealPlayer/​install.log 
-Vorteil des automatischen anlegens: Die erforderlichen Symlinks werden auch gleich ins Firefox-Plugin-Dir angelegt 
- 
-Symlink zum Programmstart muß trotzdem manuell gesetzt werden: 
-root@berta:/​usr/​local/​bin#​ ln -s ../​share/​RealPlayer/​realplay 
- 
-===== CD Ripping == 
-==== abcde == 
- 
-A good command line CD ripper for ogg & mp3 is abcde which can be found at [[install_config_tips#​third-party_programs|SlackBuilds.org]]. abcde needs cd-discid, so install this first. 
- 
-You probably have to add yourself to the group ''​cdrom''​. Look at the group of the device file to which /dev/cdrom or alternatively /dev/dvd points to. Configuration is done in /​etc/​abcde.conf or in ~/​.abcde(:?:​) 
- 
-FIXME Neither http://​freedb.freedb.org/​~cddb/​cddb.cgi doesn'​t work any more nor mirrors seem to work any more --- 2008-03-18 
- 
-==== MP3 == 
- 
-For encoding mp3 instead of ogg (eg. with abcde), your need '​lame'​ from linuxpackages. To tag mp3 files you need id3lib also from linuxpackages. 
- 
-===== Bittorrent == 
- 
-Available eg at [[slackmirror>​slackware-12.0/​extra/​bittorrent/​]]. Install with ''​installpkg''​. 
- 
-Use ''​bittorrent-curses torrentfile.torrent''​ from the command line. 
- 
-See [[http://​bittorrent.com/​FAQ.html|FAQ]] for generic information and [[slackmirror>​slackware-12.0/​extra/​bittorrent/​README|slack readme]] for usage with a browser. 
- 
-FIXME Test bittorrent-console 
- 
-===== Command line CD burning == 
- 
-Get Scsi device number of your burner with ''​cdrecord -scanbus'',​ eg. 0.0.0 or 1.5.0. Then create the file ''/​etc/​default/​cdrecord''​ with the device number, example: 
-<​code>​ 
-CDR_DEVICE=0,​0,​0 
-CDR_SPEED=4 
-</​code>​ 
-speed 4 for recording is a conservative choice. No speed specification at all or CDR_SPEED=0 means highest possible speed for the specific drive e.g. 24. This may cause write errors (Happend on Slack10.2 / HP Compaq nc6000). See man cdrecord. --- 2007-07-25 
- 
-To allow other users than root to read & burn cdroms, make the tools suid root. See also man cdrecord / readcd: 
-<​code>​ 
-chmod 4711 /​usr/​bin/​cdrecord 
-chmod 4711 /​usr/​bin/​readcd 
-</​code>​ 
- 
-See [[commands#​cdrtools|commands -> cdrtools]] for burning cd's. 
- 
-FIXME what abour cdrdoao? 
- 
-===== SVG with Inkscape == 
- 
-For Slack12.2 sources and buildscripts are available at www.slackbuilds.org. Build packages in this order: ​ 
-  - boost  
-  - libsigc++ -> glibmm -> cairomm -> gtkmm 
-  - gc 
-  - inkscape 
-Install each package before building the next. Build packages as root! 
- 
-For Slack12.0 sources and buildscripts are available at www.slackbuilds.org. Build packages in this order: cairomm, gc, libsigc++, glibmm, gtkmm, inkscape. Install each package before building the next. Build packages as root! 
- 
-For Slack11.0 inkscape and all depending packages are available at www.linuxpackages.net. 
- 
-===== DVD ripping with HandBrake == 
- 
-The easiest way by far to get copies of your DVD movies is command line app [[http://​handbrake.fr/​|HandBrake]]. It has no dependencies,​ everithing is build in. Both a binary version for Linux and the source code is available [[http://​handbrake.fr/?​article=download|here]]. Just download the binary and copy it to ''/​usr/​local/​bin''​. 
- 
-How to use HandBrake is described [[commands#​rip_dvds|here]]. 
- 
-A possible alternative HandBrake is [[http://​applications.linux.com/​article.pl?​sid=06/​03/​22/​2124208&​tid=13&​tid=39|Thoggen]],​ but it has loads of dependencies and is by far more complicated to install. 
- 
-===== Skype == 
- 
-Installation was done on Slack 12.0 with KDE as windowmanager,​ KDE soundsystem (artsd) running. The static version skype_static-2.0.0.72 was necessary. For dynamic version shared libraries were missing (''​ldd skype''​ shows which). 
- 
-==== Installation == 
- 
-  * :!: Important: Start KMix, activate ''​switches -> mic''​ and set ''​inputs -> digital''​ to 100%. Otherwise the microphone will not work. The level of the other mic controls in output and input of KMix do not matter, they can be 0. Store sound config with ''​alsactl store''​ 
-  * Add all users wich will use skype to the groups ''​audio''​ and ''​video''​ in ''/​etc/​group''​. Without ''​audio'',​ the mic for non-root users will not work. Without ''​video''​ the webcam (see below) will not work.  
-  * Unpack [[http://​skype.com/​go/​getskype-linux-static|tarball]] to /usr/local and cd into the new skype dir. Type ''​kdesu skype''​ and a test call should work out of the box. 
-  * Make some symlinks as root (There is also a Skype package at www.SlackBuilds.org. If you prefere to use this instead of the binary provided by skype.com, this step is not necessary): 
-<code bash> 
-# make a version-free symlink to ease upgrades: 
-cd /usr/local 
-ln -s skype_static-2.0.0.72 skype 
- 
-# make skype easy startable: 
-cd /​usr/​local/​bin 
-ln -s ../​skype/​skype/​ 
- 
-# make ressources findable by skype (see README of skype tarball): 
-cd /usr/share 
-mkdir skype 
-cd skype 
-ln -s /​usr/​local/​skype/​avatars 
-ln -s /​usr/​local/​skype/​lang 
-ln -s /​usr/​local/​skype/​sounds 
-</​code>​ 
- 
-==== Webcam Setup == 
- 
-This section is about the //Logitech Quickcam Pro for Notebooks// webcam. It provides high resolution, good autofocus and works excellent in little lighted rooms. A backdraw is, that fast movement are rather blurry. 
- 
-{{logitecquickcanpro.jpg}} 
- 
-As of version 12.2 Slack already ships with the necessary ''​uvcvideo''​ kernel moduele and thus supports the camera out of the box. Therefore the rest of this section is useful only for Slack 12.0 or 12.1. 
- 
-The ''​lsusb''​ command reveals that the USB-ID of the webcam is ''​046d:​0991''​. (Be careful, there exist older models of the same camera type with different ID's which probably need another driver (pwc kernel module). See [[http://​www.quickcamteam.net/​hcl/​linux/​logitech-webcams|QuickCam Team]] and www.qbik.ch) 
- 
-The PDF-list at  [[http://​www.quickcamteam.net/​hcl/​linux/​logitech-webcams|QuickCam Team]] lists my 0x0991 (Asic SPCA527) and says driver ''​uvcvideo''​ is necessary: 
- 
-  - Download Linux UVC from [[http://​openfacts.berlios.de/​index-en.phtml?​title=Linux+UVC|Openfacts]] 
-  - Install it with ''​make'',​ become root, then ''​make install''​ 
-  - Reboot, in order to get the new kernel module recognized by the system 
-  - Check if the new uvcvideo module is loaded properly when webcam pluged in with ''​lsmod''​ or ''​tail -f /​var/​log/​messages''​ 
-  - Check if ''/​dev/​video0''​ gets created 
-  - Start Skype and test the webcam with Main Menu -> Options -> Video -> Test 
-  - Enjoy video! 
- 
-=== Information Sources == 
- 
-  * http://​blog.gnist.org/​article.php?​story=Linux_and_LogitechQuickCamPro9000 
-  * http://​gentoo-wiki.com/​HOWTO_Install_a_webcam#​Loading_driver tells how to create ''/​dev/​video0''​ and how to load the kernel module manually. 
-  * http://​openfacts.berlios.de/​index-en.phtml?​title=Linux+UVC has many infos about how to use uvc. 
- 
-===== Frostwire == 
- 
-  * Download //tarball bundle// from www.frostwire.com. ​ 
-  * Installation steps: 
- 
-<code bash> 
-cd /usr/local 
-tar -xfz frostwire-4.17.1.noarch.tar.gz 
-chown -R root:root frostwire-4.17.1.noarch 
-ln -s frostwire-4.17.1.noarch frostwire 
-</​code>​ 
- 
-* Create ''/​usr/​local/​bin/​frostwire''​ with the following content and make it runnable: 
- 
-<code bash> 
-#!/bin/bash 
-exec /​usr/​local/​frostwire/​runFrostwire.sh 
-</​code>​ 
  
becki/linux/app_install_config_tips.1243239423.txt.gz · Zuletzt geändert: 2009-05-25 08:17 von becki

Impressum - Datenschutzerklärung