https://wiki.archlinux.org/api.php?action=feedcontributions&user=Kosta&feedformat=atomArchWiki - User contributions [en]2024-03-29T13:58:09ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Browser_plugins&diff=15116Browser plugins2006-09-03T10:21:53Z<p>Kosta: help for sound issues</p>
<hr />
<div>[[Category:Desktop]]<br />
<br />
{{i18n_links_start}}<br />
{{i18n_entry|English|Mozilla and Mozilla Firefox browser plugins}}<br />
{{i18n_entry|简体中文|Flash 和 Adobe Acrobat 浏览器插件}}<br />
{{i18n_links_end}}<br />
<br />
= Updated Version! Use the information in this header=<br />
==Java, Adobe Reader, Flash==<br />
===For Adobe Acrobat Reader, Flash, and Java plugins===<br />
pacman -S flashplugin acroread j2re<br />
<br />
That should work!<br />
<br />
=== Sound issues ===<br />
<br />
If sound is not working in flash movies, install & run the enlightment sound daemon:<br />
<br />
pacman -S esd<br />
esd &<br />
<br />
(You might want to use a script to run esd at startup)<br />
<br />
= Old information for reference on old installations... Or whatever (OUTDATED)=<br />
<br />
==Using Mozilla==<br />
<br />
===For Adobe Acrobat Reader plugin===<br />
pacman -S acroread<br />
ln -s /opt/mozilla-plugins/nppdf.so /opt/mozilla/lib/mozilla/plugins/<br />
<br />
===For Shockwave Flash===<br />
pacman -S flashplugin<br />
ln -s /opt/mozilla-plugins/flashplayer.xpt /opt/mozilla/lib/mozilla/plugins/<br />
ln -s /opt/mozilla-plugins/libflashplayer.so /opt/mozilla/lib/mozilla/plugins/<br />
<br />
Restart Mozilla if it was running.<br />
<br />
Note: Flash is known to have bad support for Linux.<br />
Flash Player 7 has problems regarding sound output with alot of people.<br />
Flash Player 8 and higher are not (yet?) available for Linux!<br />
<br />
There is a GNU project going on ([[Gnash]]) that should be an open source alternative for showing Flash.<br />
As of 17 may 2006 it is still in development, but it is already able to run alot of Flash 7 content.<br />
<br />
==Using Mozilla Firefox==<br />
<br />
===For Adobe Acrobat Reader plugin===<br />
pacman -S acroread<br />
ln -s /opt/mozilla-plugins/nppdf.so /opt/mozilla/lib/firefox/plugins/<br />
<br />
===For Shockwave Flash===<br />
pacman -S flashplugin<br />
ln -s /opt/mozilla-plugins/flashplayer.xpt /opt/mozilla/lib/firefox/plugins/<br />
ln -s /opt/mozilla-plugins/libflashplayer.so /opt/mozilla/lib/firefox/plugins/<br />
<br />
Note: Flash is known to have bad support for Linux.<br />
Flash Player 7 has problems regarding sound output with alot of people.<br />
Flash Player 8 and higher are not (yet?) available for Linux!<br />
<br />
There is a GNU project going on ([[Gnash]]) that should be an open source alternative for showing Flash.<br />
As of 17 may 2006 it is still in development, but it is already able to run alot of Flash 7 content.<br />
<br />
===For Java Plugin===<br />
pacman -S j2re<br />
ln -s /opt/java/jre/plugin/i386/ns7-gcc29/libjavaplugin_oji.so /opt/mozilla/lib/firefox/plugins/<br />
<br />
(for me it's: ln -s /opt/java/jre/plugin/i386/ns7/libjavaplugin_oji.so /opt/mozilla/lib/firefox/plugins/, note the missing gcc29)<br />
<br />
Use the Tab key to navigate easier through the directories.</div>Kostahttps://wiki.archlinux.org/index.php?title=Xorg7&diff=8957Xorg72006-02-22T11:32:45Z<p>Kosta: mouse wheel</p>
<hr />
<div>[[Category:XServer]]<br />
X.Org 7 is modular (eg. split into many many packages). If you installed them all, it's like you have previous Xorg releases and in that case everything should work fine. If you want to have just the stuff you need, you should play fair.<br />
==A Quick Fix for the Bitstream-Vera Problem==<br />
If you see a message that ttf-bitstream-vera conflicts with xorg:<br />
#Exit the pacman session by answering no.<br />
#Run <code>pacman -Rd xorg</code><br />
#Run <code>pacman -Syu</code><br />
#Run <code>pacman -S xorg</code><br />
#Update your paths in /etc/X11/xorg.conf<br />
<br />
==A Quick Fix for file conflicts in /usr/include==<br />
If you see messages about file conflicts in /usr/include/X11 and /usr/include/GL:<br />
#Run <code>rm /usr/include/{GL,X11}</code><br />
#Run <code>pacman -Su</code><br />
<br />
The symlinked directories removed by this operation are replaced by real directories in the new xorg package, causing these file conflicts to appear.<br />
<br />
== Most Common Packages ==<br />
<br />
Make sure you install drivers for mouse, keyboard and videocard. For mouse and keyboard, '''xf86-input-keyboard''' and '''xf86-input-mouse''' should get installed. Other '''xf86-input-*''' packages are available for different input devices.<br />
<br />
For the videodriver, find out which driver is required and install the right '''xf86-video-*''' package. ATI and Nvidia users should install the non-free drivers for their hardware instead ([[How to install NVIDIA driver]], [[ATI Radeon & Kernel 2.6]]).<br />
<br />
To install all drivers in one run, the '''xorg-input-drivers''' and '''xorg-video-drivers''' are available.<br />
<br />
== OpenGL 3D Acceleration ==<br />
<br />
X.Org 7.0 on archlinux uses a modular design for mesa, the OpenGL rendering system. Several implementations are available:<br />
* libgl-dri: Opensource DRI OpenGL implementation. Falls back to software rendering when no DRI driver is installed<br />
* some other driver providing libgl (ati, nvidia)<br />
When pacman installs an application that needs mesa, it will install one of these packages. To be sure about the right library for your setup, install the library you want prior to installing Xorg. Installing the right package afterwards is also possible, though this gives some dependency errors sometimes, which can be ignored with the -d switch.<br />
<br />
== Changed paths (and configuration) ==<br />
<br />
'''See this entry for additional upgrade info:''' http://www.archlinux.org/blog/2006/01/02/how-to-upgrade-xorg/<br />
<br />
Modular X.Org 7 installs everything in <code>/usr</code>, where the older versions installed in <code>/usr/X11R6</code>. Several configuration files need updates:<br />
* ''/etc/X11/xorg.conf''<br />
** Fontpaths live in /usr/share/fonts now<br />
** RGB database is in /usr/share/X11/rgb<br />
** module path is /usr/lib/xorg/modules<br />
<br />
Also note that some X configuration tools might stop working. The easiest way to configure X.org is installing the correct driver packages and run ''Xorg -configure'', which results in a <code>/root/xorg.conf.new</code> which only needs modification in the resolutions, mouse configuration and keyboard layouts.<br />
<br />
Some packages have hardcoded references to <code>/usr/X11R6</code>. These packages need fixing. In the meanwhile, look what packages install files in <code>/usr/X11R6</code>, uninstall those, make a symlink from <code>/usr</code> to <code>/usr/X11R6</code> and reinstall the affected packages. Another option is to move the contents of <code>/usr/X11R6</code> to <code>/usr</code> and make the symlink.<br />
<br />
== Mouse Wheel ==<br />
<br />
Appearently, the Protocol "Auto" does not support mouse wheel scrolling anymore.<br />
In the Mouse entry, change Protocol to "IMPS/2".<br />
<br />
== Troubleshooting ==<br />
<br />
* Some programs don't work and say unable to load font `(null)'.<br />
These packages would like some extra fonts. Some programs only work with bitmap fonts.<br />
Two major packages with bitmap fonts are available, xorg-fonts-75dpi and xorg-fonts-100dpi. You don't need both, one should be enough. To find out which one would be the best in your case, try this:<br />
<br />
xdpyinfo | grep resolution<br />
<br />
and grab what is closer to you (75 or 100 instead of XX)<br />
<br />
pacman -S xorg-fonts-XXdpi<br />
<br />
* KDE taskbar doesn't work and the desktop icons disappear<br />
Install the packages libxcomposite and libxss.It will be fine.<br />
<br />
pacman -S libxcomposite libxss<br />
<br />
== KDM/GDM ==<br />
<br />
* You try to run kdm/gdm and nothing happens.<br />
KDM/GDM is failing to start because it searches for X in the wrong place, you might have to run following commands to fix it:<br />
<br />
mkdir -p /usr/X11R6/bin/<br />
ln -s /usr/bin/X /usr/X11R6/bin/X<br />
<br />
now, try it again, it should work.<br />
<br />
<br />
----<br />
<br />
It might be better to edit the appropriate config files for KDM/GDM rather than using symlinks.<br />
<br />
For GDM edit the gdm.conf file and replace all occurances of /usr/X11R6/bin/X to /usr/bin/X<br />
<br />
vim /opt/gnome/etc/gdm/gdm.conf<br />
<br />
Replace command for vi<br />
<br />
:%s/\/usr\/X11R6\/bin\/X/\/usr\/bin\/X/g<br />
<br />
I'm not quite sure where/what config files to change for KDM. YMMV<br />
<br />
<br />
hint: you might instead wish to switch to SLIM; which I find easier to "get how you want it"(just set up a custom session by putting progs in .xinitrc for example) is much smaller & faster and which fixes a lot of crash-bugs iv'e had with both KDM/GDM and ati(fglrx).</div>Kostahttps://wiki.archlinux.org/index.php?title=Bash&diff=8798Bash2006-02-13T17:59:32Z<p>Kosta: some links & a hint</p>
<hr />
<div>[[Category:Shell]]<br />
<br />
bash is your default shell. <br />
<br />
== Hint: history-search ==<br />
<br />
Usually, pressing the <up> key will cause the last command to be shown, no matter what you typed so far. However, many users find it more practical to only past commands that begin with the current input.<br />
<br />
Consider this list of commands:<br><br />
ls /usr/src/linux-2.6.15-ARCH/kernel/power/Kconfig<br><br />
who<br><br />
mount<br><br />
man mount<br />
<br />
Usually, when typing 'ls' and pressing <up>, your current input will be replaced with man mount. If you are using history seach, only past commands beginning with 'ls' (the current input) will be shown, in this case 'ls /usr/src/linux-2.6.15-ARCH/kernel/power/Kconfig'.<br />
<br />
You can enable this mode by adding to /etc/inputrc or your ~/.inputrc<br><br />
"\e[A":history-search-backward<br><br />
"\e[B":history-search-forward<br><br />
<br />
== External Resources ==<br />
<br />
Many tutorials are available on the net. Here are some of them:<br />
<br />
[http://www.grymoire.com/Unix/Quote.html Quote Tutorial]<br><br />
[http://wooledge.org/mywiki/BashFaq FAQ/Wiki]<br><br />
[http://www.gnu.org/software/bash/manual/bash.html man page]<br><br />
[http://tldp.org/LDP/abs/html Advanced Bash Shell Scripting Guide]<br><br />
[http://www.caliban.org/bash Completion Guide]<br><br />
[http://www.mlug.ca/cms/content/view/80/57 Readline Guide]<br></div>Kostahttps://wiki.archlinux.org/index.php?title=Windows_Network_Share&diff=8797Windows Network Share2006-02-13T17:18:34Z<p>Kosta: cifs</p>
<hr />
<div>[[Category:Network]]<br />
<br />
{{stub}}<br />
<br />
== Samba==<br />
* First of all, you need to have [[Setting up Samba | Samba]] installed and configured on the Linux machine.<br />
* Not to forget, there should also be a working tcp/ip network connection between the Linux and the Windows computers. For my example,<br />
* the windows machine's name is ''limette'', the share is named ''2Share''<br />
* the linux' one is called ''orange''<br />
* both should be part of the workgroup ''zitrusgarden''.<br />
<br />
* Find or create the mount point, where the share could be mounted to.<br />
<br />
# mkdir -p /mnt/shares/limette<br />
<br />
<br />
* Mount the share using the <code>smbmount</code> command.<br><br />
Syntax:<br><br />
smbmount //''server''/''sharename'' ''mountpoint'' -o workgroup=''workgroup'' username=''username'' ip=''serverip''<br><br />
<b>''server''</b> is the name of the Windows computer.<br><br />
<b>''sharename''</b> is the name of the share.<br><br />
<b>''mountpoint''</b> is the directory that you are mounting the share to.<br><br />
<b>-o</b> Options to smbmount.<br><br />
<b>workgroup=</b> used to specify the workgroup. As default the workgroup is "WORKGROUP".<br><br />
<b>username=</b> used if you need to specify a username to mount the share as, commonly used for Windows NT shares.<br><br />
<b>ip=</b> used if the Linux computer can't find the Windows computer by name (dns, wins, hosts entry), ''serverip'' is the IP address of the server.<br><br />
<br />
<b>NOTE:</b> in latest samba, you can also use <b>cifsmount</b> which is preferred cause some win2k and win2k3 won't work with smbmount. Also, if you have problems like unreliable samba shares ("too many open files"), cifs is known to solve problems.<br />
<br />
<br />
# smbmount //limette/Folder2Share /mnt/shares/limette -o workgroup zitrusgarden username pink_chick ip=192.168.23.132<br />
<br />
<b>NOTE:</b> //limette/Folder2Share<b>/</b> WILL <b>NOT</b> WORK! (so don't type the trailing / )<br />
<br />
* Use <code>smbumount</code> to quit the share: <small>smbumount mountpoint</small>.<br />
<br />
* Adding the share to /etc/fstab for easy mounting<br><br />
<br />
//limette/2Share /mnt/shares/limette smbfs noauto,user,noatime,username<code>guest,password</code>,workgroup=YOURWORKGROUP 0 0<br />
<br />
<br />
* Allowing users to mount Samba shares<br />
For users to be allowed to mount and unount the Samba share, the following two files have to be set UID like this:<br />
<br />
chmod u+s /usr/bin/smbmnt<br />
chmod u+s /usr/bin/smbumount<br />
<br />
<br />
If you still get a "permission denied" problem, you might have to change the owner of the mount point to the user that wants to mount the share. I don't know, whether it is the best solution for this problem, but it works for me.<br />
<br />
chown YOURUSER:YOURGROUP /mnt/shares/limette<br />
<br />
<br />
Now you should be able to mount and unmount your Samba shares with<br />
<br />
# mount /mnt/shares/limette<br />
# smbumount /mnt/shares/limette<br />
<br />
<br />
----<br />
<br />
== RC Script for LISA (KDE LAN Browsing Daemon) ==<br />
<br />
Topic: http://bbs.archlinux.org/viewtopic.php?t=3231<br />
<br />
If you want to easily browse Samba and other shares on your local network (with KDE), LISA is what you need. It comes with the kdenetwork package. To start it on every boot add <code>lisa</code> to the DAEMONS array in /etc/rc.conf.</div>Kosta