https://wiki.archlinux.org/api.php?action=feedcontributions&user=Dazoe&feedformat=atomArchWiki - User contributions [en]2024-03-28T20:27:20ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Pacman_GUI_Frontends&diff=544543Pacman GUI Frontends2018-09-28T20:19:49Z<p>Dazoe: Fix redirect</p>
<hr />
<div>#REDIRECT [[Pacman/Tips and tricks#Graphical]]</div>Dazoehttps://wiki.archlinux.org/index.php?title=Pptpd&diff=180972Pptpd2012-01-29T06:50:53Z<p>Dazoe: Figure this would be a more appropriate place to re-direct to</p>
<hr />
<div>#REDIRECT [[PPTP_Server]]</div>Dazoehttps://wiki.archlinux.org/index.php?title=Lighttpd&diff=175464Lighttpd2011-12-21T19:43:49Z<p>Dazoe: server.indexfiles is depreciated and has been replaced by index-file.names</p>
<hr />
<div>{{i18n|Lighttpd}}<br />
[[Category:Web Server (English)]]<br />
{{merge|Lighttpd For Both SSL And Non-SSL}}<br />
<br />
[http://www.lighttpd.net/ Lighttpd] is "a secure, fast, compliant, and very flexible [[Wikipedia:Web server|web-server]] that has been optimized for high-performance environments. It has a very low memory footprint compared to other webservers and takes care of cpu-load. Its advanced feature-set ([[Wikipedia:FastCGI|FastCGI]], [[Wikipedia:Common Gateway Interface|CGI]], Auth, Output-Compression, URL-Rewriting and many more) make lighttpd the perfect webserver-software for every server that suffers load problems."<br />
<br />
==Installation==<br />
Lighttpd is available in the extra repository so:<br />
# pacman -S lighttpd<br />
<br />
==Configuration==<br />
===Basic Setup===<br />
The lighttpd configuration file is: {{Filename|/etc/lighttpd/lighttpd.conf}}. By default it should produce a working test page. <br />
<br />
To check your {{filename|lighttpd.conf}} for bugs you can use this command - helps finding misconfigurations very fast:<br />
<br />
$ lighttpd -t -f /etc/lighttpd/lighttpd.conf<br />
<br />
The default configuration file specifies {{Filename|/srv/http/}} as the document directory served.<br />
<br />
It may be necessary to add a user and group for http if you do not already have one. That user needs to have write permissions to {{Filename|/var/log/lighttpd}} as well, so we will make it the owner of the folder:<br />
# groupadd http<br />
# adduser http<br />
# chown -R http /var/log/lighttpd<br />
<br />
To test the install<br />
# rc.d start lighttpd<br />
# touch /srv/http/index.html<br />
# chmod 755 /srv/http/index.html<br />
# echo 'TestMe!' >> /srv/http/index.html<br />
<br />
Then point your browser to localhost, and you should see the test page.<br />
<br />
You may want to add lighttpd to the daemons list in {{Filename|/etc/rc.conf}} to start the server on boot.<br />
<br />
Example configuration files are available in {{ic|/usr/share/doc/lighttpd/}}.<br />
<br />
==FastCGI==<br />
<br />
Install fcgi<br />
# pacman -S fcgi<br />
Now you have lighttpd with fcgi support. If it was that what you wanted you are all set. People that want Ruby on Rails and/or PHP should continue.<br />
{{Box Note | New default user and group: Instead of group "nobody" lighttpd now runs as user/group "http" by default.}}<br />
<br />
The following needs adding to the config file, {{filename|/etc/lighttpd/conf.d/fastcgi.conf}}<br />
server.modules += ( "mod_fastcgi" )<br />
<br />
#server.indexfiles += ( "dispatch.fcgi" ) #this is depreciated<br />
index-file.names += ( "dispatch.fcgi" ) #dispatch.fcgi if rails specified<br />
<br />
server.error-handler-404 = "/dispatch.fcgi" #too<br />
fastcgi.server = (<br />
".fcgi" => (<br />
"localhost" => ( <br />
"socket" => "/var/run/lighttpd/rails-fastcgi.sock",<br />
"bin-path" => "/path/to/rails/application/public/dispatch.fcgi"<br />
)<br />
)<br />
)<br />
<br />
Then in {{filename|/etc/lighttpd/lighttpd.conf}}:<br />
include "conf.d/fastcgi.conf"<br />
<br />
For PHP or Ruby on Rails see the next sections.<br />
<br />
===PHP===<br />
<br />
Install php and required modules (see also [[PHP]] and [[LAMP]]):<br />
# pacman -S php php-cgi<br />
<br />
Check that php-cgi is working {{Ic|php-cgi --version}}<br />
<br />
PHP 5.3.1 with Suhosin-Patch (cgi-fcgi) (built: Nov 23 2009 21:12:29)<br />
Copyright (c) 1997-2009 The PHP Group<br />
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies<br />
<br />
If you get a similar output then php is installed correctly.<br />
<br />
{{Note|Please keep in mind if you receive errors like ''No input file found'' after attempting to access your php files then make sure {{filename|/etc/php/php.ini}} has the directives enabled:}}<br />
cgi.fix_pathinfo=1<br />
open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/another/path:/second/path<br />
And that the files are world readable, <br />
# chmod -R 755<br />
<br />
In {{filename|/etc/lighttpd/conf.d/fastcgi.conf}} add:<br />
server.modules += ( "mod_fastcgi" )<br />
<br />
#server.indexfiles += ( "index.php" ) #this is depreciated<br />
index-file.names += ( "index.php" )<br />
<br />
fastcgi.server = (<br />
".php" => (<br />
"localhost" => ( <br />
"bin-path" => "/usr/bin/php-cgi",<br />
"socket" => "/var/run/lighttpd/php-fastcgi.sock",<br />
"max-procs" => 4, # default value<br />
"bin-environment" => (<br />
"PHP_FCGI_CHILDREN" => "1", # default value<br />
),<br />
"broken-scriptfilename" => "enable"<br />
))<br />
)<br />
<br />
Then in {{filename|/etc/lighttpd/lighttpd.conf}}:<br />
include "conf.d/fastcgi.conf"<br />
<br />
==== Using php-fpm ====<br />
<br />
There is no adaptive spawning anymore in recent lighttpd releases. For dynamic management of PHP processes, you can use {{Package Official|php-fpm}}.<br />
# pacman -S php-fpm<br />
# rc.d start php-fpm<br />
{{Note|You can configure the number of servers in the pool and tweak other configuration options by editing the file {{Filename|/etc/php/php-fpm.conf}}. More details on ''php-fpm'' can be found on the [http://php-fpm.anight.org/ php-fpm website]. You should also note that when you make changes to /etc/php/php.ini you will need to restart php-fpm}}<br />
<br />
In {{filename|/etc/lighttpd/conf.d/fastcgi.conf}} add:<br />
server.modules += ( "mod_fastcgi" )<br />
<br />
index-file.names += ( "index.php" ) <br />
<br />
fastcgi.server = (<br />
".php" => (<br />
"localhost" => ( <br />
"socket" => "/var/run/php-fpm/php-fpm.sock",<br />
"broken-scriptfilename" => "enable"<br />
))<br />
)<br />
<br />
===Ruby on Rails===<br />
Install and configure FastCGI. (See [[#FastCGI]] above.)<br />
<br />
Install [[ruby]] from [extra] and {{Package AUR|ruby-fcgi}} from [[AUR]].<br />
<br />
Follow instructions on [[RubyOnRails]].<br />
<br />
=== Python FastCGI ===<br />
Install flup<br />
# pacman -S python-flup<br />
Configure:<br />
fastcgi.server = (<br />
".py" =><br />
(<br />
"python-fcgi" =><br />
(<br />
"socket" => socket_dir + "fastcgi.python.socket",<br />
"bin-path" => "test.py",<br />
"check-local" => "disable",<br />
"max-procs" => 1,<br />
)<br />
))<br />
<br />
== SSL ==<br />
Generate an SSL Cert, e.g. like that: <br />
# mkdir /etc/lighttpd/certs<br />
# openssl req -x509 -nodes -days 7300 -newkey rsa:2048 -keyout /etc/lighttpd/certs/www.example.com.pem -out /etc/lighttpd/certs/www.example.com.pem<br />
# chmod 600 /etc/lighttpd/certs/www.example.com.pem<br />
<br />
Edit {{Filename|/etc/lighttpd/lighttpd.conf}}.<br />
To make lighttpd SSL-only (you probably need to set the server port to 443 as well)<br />
ssl.engine = "enable" <br />
ssl.pemfile = "/etc/lighttpd/certs/www.example.com.pem"<br />
To enable SSL in addition to normal HTTP<br />
$SERVER["socket"] == ":443" {<br />
ssl.engine = "enable" <br />
ssl.pemfile = "/etc/lighttpd/certs/www.example.com.pem" <br />
}<br />
If you want to serve different sites, you can change the document root inside the socket conditional:<br />
$SERVER["socket"] == ":443" {<br />
server.document-root = "/srv/ssl" # use your ssl directory here<br />
ssl.engine = "enable"<br />
ssl.pemfile = "/etc/lighttpd/certs/www.example.com.pem" # use the path where you created your pem file<br />
}<br />
or as alternative you can use the scheme conditional to distinguish between secure and normal requests. <br />
$HTTP["scheme"] == "https" {<br />
server.document-root = "/srv/ssl" # use your ssl directory here<br />
ssl.engine = "enable"<br />
ssl.pemfile = "/etc/lighttpd/certs/www.example.com.pem" # use the path where you created your pem file<br />
}<br />
Note that you cannot use the scheme conditional around ssl.engine above, since lighttpd needs to know on what port to enable SSL.<br />
<br />
==== Server Name Indication ====<br />
<br />
To use [http://en.wikipedia.org/wiki/Server_Name_Indication SNI] with lighttpd, simply put additional ssl.pemfile configuration directives inside host conditionals. It seems a default ssl.pemfile is still required, though.<br />
<br />
$HTTP["host"] == "www.example.org" {<br />
ssl.pemfile = "/etc/lighttpd/certs/www.example.org.pem" <br />
}<br />
<br />
$HTTP["host"] == "mail.example.org" {<br />
ssl.pemfile = "/etc/lighttpd/certs/mail.example.org.pem" <br />
}<br />
<br />
=== Redirect HTTP requests to HTTPS ===<br />
You should add "mod_redirect" in server.modules array in {{Filename|/etc/lighttpd/lighttpd.conf}}:<br />
server.modules = (<br />
...<br />
"mod_redirect", <br />
...<br />
}<br />
<br />
$SERVER["socket"] == ":80" {<br />
$HTTP["host"] =~ "example.org" {<br />
url.redirect = ( "^/(.*)" => "https://example.org/$1" )<br />
server.name = "example.org" <br />
}<br />
}<br />
<br />
$SERVER["socket"] == ":443" {<br />
ssl.engine = "enable" <br />
ssl.pemfile = "/etc/lighttpd/ssl/server.pem" <br />
server.document-root = "..." <br />
}<br />
<br />
To redirect all hosts to their secure equivalents use the following in place of the socket 80 configuration above:<br />
$SERVER["socket"] == ":80" {<br />
$HTTP["host"] =~ "(.*)" {<br />
url.redirect = ( "^/(.*)" => "https://%1/$1" )<br />
}<br />
}<br />
<br />
To redirect all hosts for part of the site (e.g. secure or phpmyadmin):<br />
$SERVER["socket"] == ":80" {<br />
$HTTP["url"] =~ "^/secure" {<br />
url.redirect = ( "^/(.*)" => "https://example.com/$1" )<br />
}<br />
}<br />
<br />
== Output Compression ==<br />
<br />
In {{filename|/etc/lighttpd/lighttpd.conf}} add<br />
var.cache_dir = "/var/cache/lighttpd"<br />
Then create directory for a compressed files:<br />
# mkdir /var/cache/lighttpd/compress<br />
# chown http:http /var/cache/lighttpd/compress<br />
Copy example configuration file:<br />
# mkdir /etc/lighttpd/conf.d<br />
# cp /usr/share/doc/lighttpd/config/conf.d/compress.conf /etc/lighttpd/conf.d/<br />
Add following in {{filename|/etc/lighttpd/lighttpd.conf}}:<br />
include "conf.d/compress.conf"<br />
{{Box Note | You can not do this (copy compress.conf) and add a needed content in {{filename|/etc/lighttpd/lighttpd.conf}} instead.}}<br />
<br />
==Troubleshooting==<br />
=== Lighttpd downloads .php files ===<br />
If lighttpd downloads {{filename|.php}} files instead of "initializing" them you probably missed to add these lines to your {{Filename|/etc/lighttpd/lighttpd.conf}}.<br />
<br />
<pre><br />
server.modules = (<br />
"mod_fastcgi",<br />
)<br />
<br />
fastcgi.server = ( ".php" => ((<br />
"bin-path" => "/usr/bin/php-cgi", #depends where your php-cgi has been installed. Default here.<br />
"socket" => "/tmp/php.socket",<br />
"max-procs" => 2,<br />
"bin-environment" => (<br />
"PHP_FCGI_CHILDREN" => "16",<br />
"PHP_FCGI_MAX_REQUESTS" => "10000"<br />
),<br />
"bin-copy-environment" => (<br />
"PATH", "SHELL", "USER"<br />
),<br />
"broken-scriptfilename" => "enable"<br />
)))<br />
<br />
</pre><br />
<br />
=== Styles (CSS) not working properly ===<br />
The default lighttpd config does not include a mimetype definition for CSS so when standards compliant browsers get text/html instead of text/css they get confused and nothing displays properly. To fix this add an entry for CSS.<br />
<br />
<pre><br />
mimetype.assign = (<br />
".html" => "text/html",<br />
".txt" => "text/plain",<br />
".jpg" => "image/jpeg",<br />
".png" => "image/png",<br />
".css" => "text/css"<br />
)<br />
</pre><br />
New lines are not needed and are only used here for readability.<br />
<br />
== See also ==<br />
* [http://redmine.lighttpd.net/projects/lighttpd/wiki Lighttpd wiki]</div>Dazoehttps://wiki.archlinux.org/index.php?title=Git&diff=146743Git2011-06-19T20:12:35Z<p>Dazoe: </p>
<hr />
<div>[[Category: Development (English)]]<br />
{{Stub}}<br />
{{Article summary start}}<br />
{{Article summary text|Installing and using the Git VCS}}<br />
{{Article summary heading|Related}}<br />
{{Article summary wiki|Super Quick Git Guide}}: Generally about contributing to pacman, although it still serves as a practical Git tutorial<br />
{{Article summary wiki|Gitweb}}<br />
{{Article summary end}}<br />
<br />
'''Git''' is the version control system (VCS) coded by Linus Torvalds (the creator of the Linux kernel) when he was criticized for using the proprietary BitKeeper with the Linux kernel. Git is now used by the Linux kernel and by many other projects, including [[Pacman]], Arch's package manager.<br />
<br />
==Gitk==<br />
If you get launching git's GUI '''gitk''' like<br />
/usr/bin/gitk: line 3: exec: wish: not found.<br />
you should make sure that '''tk''' is installed.<br />
<br />
==Cheatsheet==<br />
Parts from everywhere, much from the wonderful tutorial here: http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html<br />
<br />
Additionally see [[Super Quick Git Guide]].<br />
<br />
Pull the network scripts with<br />
git clone http://archlinux.org/~james/projects/network.git<br />
Update an existing clone<br />
git pull origin<br />
Commit changes<br />
git commit -a -m "changelog message"<br />
To create a new branch<br />
git branch somebranch<br />
Change to a different branch<br />
git checkout differentbranch<br />
Merge a branch to current active branch<br />
git merge somebranch<br />
Delete a branch<br />
git branch -d somebranch<br />
Diff between two branches<br />
git diff master..somebranch<br />
Diff between two commit ID's (found in git log)<br />
git diff e9780c7cba2855350e914fde227a79bb63c1351d..8b014e40346b38b3b9bfc41359b4e8a68e804c0d<br />
Diff between the last two commits<br />
git diff HEAD^ HEAD<br />
Patchset between two branches (follows same syntax as git diff afaik)<br />
git format-patch master..somebranch<br />
Or better: http://wiki.winehq.org/GitWine#head-f7a29e7ed999b5924748a60c5a1cd4a019032d26<br />
git format-patch -o out origin<br />
Set nano as default editor<br />
git config --global core.editor "nano -w"<br />
Start remote repository<br />
http://www.adeal.eu/starting-with-git.php [broken as of 31DEC10]</div>Dazoehttps://wiki.archlinux.org/index.php?title=Git&diff=146742Git2011-06-19T20:11:56Z<p>Dazoe: </p>
<hr />
<div>[[Category: Development (English)]]<br />
{{Stub}}<br />
{{Article summary start}}<br />
{{Article summary text|Installing and using the Git VCS}}<br />
{{Article summary heading|Related}}<br />
{{Article summary wiki|Super Quick Git Guide}}: Generally about contributing to pacman, although it still serves as a practical Git tutorial<br />
{{Article summary wiki|Gitweb}}<br />
{{Article summary end}}<br />
<br />
'''Git''' is the version control system (VCS) coded by Linus Torvalds (the creator of the Linux Kernel) when he was criticized for using the proprietary BitKeeper with the Linux kernel. Git is now used by the Linux kernel and by many other projects, including [[Pacman]], Arch's package manager.<br />
<br />
==Gitk==<br />
If you get launching git's GUI '''gitk''' like<br />
/usr/bin/gitk: line 3: exec: wish: not found.<br />
you should make sure that '''tk''' is installed.<br />
<br />
==Cheatsheet==<br />
Parts from everywhere, much from the wonderful tutorial here: http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html<br />
<br />
Additionally see [[Super Quick Git Guide]].<br />
<br />
Pull the network scripts with<br />
git clone http://archlinux.org/~james/projects/network.git<br />
Update an existing clone<br />
git pull origin<br />
Commit changes<br />
git commit -a -m "changelog message"<br />
To create a new branch<br />
git branch somebranch<br />
Change to a different branch<br />
git checkout differentbranch<br />
Merge a branch to current active branch<br />
git merge somebranch<br />
Delete a branch<br />
git branch -d somebranch<br />
Diff between two branches<br />
git diff master..somebranch<br />
Diff between two commit ID's (found in git log)<br />
git diff e9780c7cba2855350e914fde227a79bb63c1351d..8b014e40346b38b3b9bfc41359b4e8a68e804c0d<br />
Diff between the last two commits<br />
git diff HEAD^ HEAD<br />
Patchset between two branches (follows same syntax as git diff afaik)<br />
git format-patch master..somebranch<br />
Or better: http://wiki.winehq.org/GitWine#head-f7a29e7ed999b5924748a60c5a1cd4a019032d26<br />
git format-patch -o out origin<br />
Set nano as default editor<br />
git config --global core.editor "nano -w"<br />
Start remote repository<br />
http://www.adeal.eu/starting-with-git.php [broken as of 31DEC10]</div>Dazoehttps://wiki.archlinux.org/index.php?title=Git&diff=146741Git2011-06-19T20:11:26Z<p>Dazoe: </p>
<hr />
<div>[[Category: Development (English)]]<br />
{{Stub}}<br />
{{Article summary start}}<br />
{{Article summary text|Installing and using the Git VCS}}<br />
{{Article summary heading|Related}}<br />
{{Article summary wiki|Super Quick Git Guide}}: Generally about contributing to pacman, although it still serves as a practical Git tutorial<br />
{{Article summary wiki|Gitweb}}<br />
{{Article summary end}}<br />
<br />
'''Git''' is the version control system (VCS) coded by Linus Torvalds (the creator of Linux Kernel) when he was criticized for using the proprietary BitKeeper with the Linux kernel. Git is now used by the Linux kernel and by many other projects, including [[Pacman]], Arch's package manager.<br />
<br />
==Gitk==<br />
If you get launching git's GUI '''gitk''' like<br />
/usr/bin/gitk: line 3: exec: wish: not found.<br />
you should make sure that '''tk''' is installed.<br />
<br />
==Cheatsheet==<br />
Parts from everywhere, much from the wonderful tutorial here: http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html<br />
<br />
Additionally see [[Super Quick Git Guide]].<br />
<br />
Pull the network scripts with<br />
git clone http://archlinux.org/~james/projects/network.git<br />
Update an existing clone<br />
git pull origin<br />
Commit changes<br />
git commit -a -m "changelog message"<br />
To create a new branch<br />
git branch somebranch<br />
Change to a different branch<br />
git checkout differentbranch<br />
Merge a branch to current active branch<br />
git merge somebranch<br />
Delete a branch<br />
git branch -d somebranch<br />
Diff between two branches<br />
git diff master..somebranch<br />
Diff between two commit ID's (found in git log)<br />
git diff e9780c7cba2855350e914fde227a79bb63c1351d..8b014e40346b38b3b9bfc41359b4e8a68e804c0d<br />
Diff between the last two commits<br />
git diff HEAD^ HEAD<br />
Patchset between two branches (follows same syntax as git diff afaik)<br />
git format-patch master..somebranch<br />
Or better: http://wiki.winehq.org/GitWine#head-f7a29e7ed999b5924748a60c5a1cd4a019032d26<br />
git format-patch -o out origin<br />
Set nano as default editor<br />
git config --global core.editor "nano -w"<br />
Start remote repository<br />
http://www.adeal.eu/starting-with-git.php [broken as of 31DEC10]</div>Dazoehttps://wiki.archlinux.org/index.php?title=Compiz_Troubleshooting&diff=113294Compiz Troubleshooting2010-08-04T04:55:45Z<p>Dazoe: </p>
<hr />
<div>[[Category: Eye candy (English)]]<br />
{{i18n|Compiz Troubleshooting}}<br />
<br />
== KDE fallback ==<br />
<br />
If you are using KDE and something is not right, for example you don’t see borders for your window, you can switch back to kwin with this command:<br />
<br />
kwin --replace<br />
<br />
== GNOME fallback ==<br />
<br />
If you are using GNOME and something is not right, for example you don’t see borders for your window, you can switch back to metacity with this command:<br />
<br />
metacity --replace<br />
<br />
== XFCE fallback ==<br />
<br />
If you are using XFCE and something is not right, for example you don’t see borders for your window, you can switch back to metacity with this command:<br />
<br />
xfwm --replace<br />
<br />
== Missing GLX_EXT_texture_from_pixmaps when trying to run Compiz Fusion on ATI ==<br />
<br />
=== First solution ===<br />
http://bbs.archlinux.org/viewtopic.php?id=50073<br />
If you run into the following error when trying to run Compiz Fusion on an ATI card:<br />
<br />
Missing GLX_EXT_texture_from_pixmap<br />
<br />
This is because Compiz Fusion's binary was compiled against Mesa's OpenGL library rather than ATI's OpenGL library (which is what you are using). Re-install libgl-dri (yes you will have to uninstall fglrx temporarily) to get Mesa's OpenGL library. <br />
<br />
copy the library into a directory to keep it because ATI's drivers will over write it. <br />
<br />
mkdir /lib/mesa<br />
cp /usr/lib/libGL.so.1.2 /lib/mesa<br />
<br />
Once you have it copied, you can reinstall your fglrx drivers (It should have been removed when you installed libgl-dri). Now you can start Compiz Fusion using the following example syntax: <br />
<br />
LD_PRELOAD=/lib/mesa/libGL.so.1.2 compiz --replace &<br />
<br />
=== Second solution ===<br />
<br />
An other problem could arise with GLX_EXT_texture_from_pixmap, it is possible that the card could only render it indirectly, then you have to pass the option to your libgl like that :<br />
<br />
LIBGL_ALWAYS_INDIRECT=1 compiz --replace ccp &<br />
<br />
(Workaround tested on the following card : ATI Technologies Inc Radeon R250 [Mobility FireGL 9000] (rev 02))<br />
<br />
<br />
== Missing GLX_EXT_texture_from_pixmaps when trying to run Compiz Fusion on Intel chip ==<br />
First off, check that you're using the intel driver as opposed to i810. Then, run the following command to run compiz (must use this every time.).<br />
LIBGL_ALWAYS_INDIRECT=true compiz --replace --sm-disable ccp &<br />
If you then don't have borders, run<br />
emerald --replace<br />
As at 17-Oct-07 the [http://wiki.compiz-fusion.org/Troubleshooting Compiz-Fusion Wiki] states: <i>"If you are using an Intel GMA card with AIGLX, you will need to start Compiz Fusion with LIBGL_ALWAYS_INDIRECT=1 appended.</i>"<br />
<br />
== Fusion-Icon showing up as red "X" in status bar, icon missing in menus ==<br />
<br />
The GTK icon cache needs to be refreshed (hopefully this will be added in the .install file of the package). Run the following command:<br />
# gtk-update-icon-cache -f /usr/share/icons/hicolor<br />
if this fails try installing the package hicolor-icon-theme:<br />
# pacman -S hicolor-icon-theme<br />
Fixed with new community package.<br />
<br />
== Compiz starts, but no effects are visible ==<br />
<br />
If you have installed compiz-decorator-gtk:<br />
Check if GConf schema was correctly installed: <br />
gconftool-2 -R /apps/compiz/plugins | grep plugins<br />
make sure that all plugins are listed (not only fade!). If not, try to install compiz schema manually (do this as normal user, not as root!!!): <br />
gconftool-2 --install-schema-file=/usr/share/gconf/schemas/compiz-decorator-gtk.schemas<br />
<br />
Note: Compiz basic plugins are not enabled by default. You should enable "Move Window", "Resize Window", and "Window decoration" plugins in settings manager from fusion-icon to have a usable window manager.<br />
<br />
== Compiz starts, but gtk-window-decorator does not ==<br />
<br />
It is a configuration problem for gconf and gconfd. I solved it by removing ".gconf" dir in my home, but I'm using KDE. If you are using Gnome you should enter your ".gconf" directory and remove all compiz keys. This will erase your compiz settings, so be sure to reconfigure.<br />
Finally exec as user:<br />
<br />
gconftool-2 --install-schema-file=/usr/share/gconf/schemas/compiz-decorator-gtk.schemas<br />
<br />
== Compiz appears to start, but there are no window borders ==<br />
<br />
When you run fusion-icon from commandline, you get output like this:<br />
<br />
* Detected Session: gnome<br />
* Searching for installed applications...<br />
* NVIDIA on Xorg detected, exporting: __GL_YIELD=NOTHING<br />
* Using the GTK Interface<br />
* Metacity is already running<br />
* Setting window manager to Compiz<br />
... executing: compiz --replace --sm-disable --ignore-desktop-hints ccp<br />
compiz (core) - Warn: No GLXFBConfig for depth 32<br />
compiz (core) - Warn: No GLXFBConfig for depth 32<br />
compiz (core) - Warn: No GLXFBConfig for depth 32<br />
compiz (core) - Warn: No GLXFBConfig for depth 32<br />
compiz (core) - Warn: No GLXFBConfig for depth 32<br />
compiz (core) - Warn: No GLXFBConfig for depth 32<br />
<br />
All you need to do is edit your /etc/X11/xorg.conf and find the "Depth" directive inside the "Screen" section; change all occurences of this value to 24. This occured to me with my colour depth set to 16; but also happens when it is set to 32.<br />
<br />
----<br />
<br />
You may also try adding ''Option "AddARGBGLXVisuals" "True"'' & ''Option "DisableGLXRootClipping" "True"'' to your "Screen" section if you are using the Nvidia binary driver. (Radeon, and the open 'nv' driver will not work with this option as far as I can tell.) If you used any other Options elsewhere in xorg.conf to get compiz working and still have no luck, try commenting them out and using only the aformentioned ARGBGLXVisuals and GLXRootClipping Options.<br />
<br />
'''Note''': Check that "Window decoration", "Move" and "Resize" plugins are enabled with Compiz Settings Manager or gconf-editor.<br />
<br />
With gconf-editor you can easly enable "Window decoration", "Move" and "Resize" plugins.<br />
<br />
$ gconf-editor<br />
<br />
Navigate to apps/compiz/general/allscreens/options<br />
<br />
Add/Edit "active_plugins" Key (Name: active_plugins, Type: List, List type: String).<br />
<br />
Add "decoration", "move", and "resize" to the list.<br />
<br />
== Compiz starts and borders appear, but windows won't move ==<br />
<br />
Be sure you have the "Move Window" plugin installed and enabled in the compiz settings manager.<br />
<br />
==Blank screen on resume from suspend-to-ram using the Nvidia binary drivers==<br />
<br />
If you receive a blank screen with a responsive cursor upon resume, try disabling sync to vblank:<br />
<br />
gconftool -s /apps/compiz/general/screen0/options/sync_to_vblank-t boolean false<br />
<br />
==fusion-icon doesn't start==<br />
If you get an output like this from the command line:<br />
[andy@andylaptop ~]$ fusion-icon<br />
* Detected Session: gnome<br />
* Searching for installed applications...<br />
Traceback (most recent call last):<br />
File "/usr/bin/fusion-icon", line 57, in <module><br />
from FusionIcon.interface import choose_interface<br />
File "/usr/lib/python2.5/site-packages/FusionIcon/interface.py", line 23, in <module><br />
import start<br />
File "/usr/lib/python2.5/site-packages/FusionIcon/start.py", line 36, in <module><br />
config.check()<br />
File "/usr/lib/python2.5/site-packages/FusionIcon/util.py", line 362, in check<br />
os.makedirs(self.config_folder)<br />
File "/usr/lib/python2.5/os.py", line 172, in makedirs<br />
mkdir(name, mode)<br />
OSError: [Errno 13] Permission denied: '/home/andy/.config/compiz'<br />
<br />
the problem is with the permission on ~/.config/compiz. You have set the owner of a folder in your area as root. To change this, run (as root)<br />
chown <username> /home/<username>/.config/compiz<br />
<br />
==Video Playback==<br />
If you can't see video playback on Compiz, change the video output to something like OpenGL. In VLC you go to Settings->Video->Output modules and tick the advanced options box.<br />
<br />
==CCSM Locale Errors==<br />
If you get locale errors when starting ccsm, make sure you have set your locale in /etc/rc.conf and in /etc/locale.gen, and then run (as root), <br />
locale-gen<br />
You might have to try a couple different locales for your language to get it to work properly.<br />
<br />
===Second option===<br />
Your second option is to fix Python 2.5 - If one of your errors points you to a line in locale.py - jot down the line number and switch user to a root account.<br />
<br />
Open "/usr/lib/python2.5/locale.py" in the editor of your choice as your root account and surf on down to the line number you jotted down earlier (as of this writing it is 476) and change:<br />
return _setlocale(category, locale)<br />
to<br />
return _setlocale(category, None)<br />
<br />
<br />
==Poor Performance on Intel cards==<br />
{{Box|Obsolete|Current Intel drivers no longer support XAA. Try UXA instead (modeline should be activated from boot though).|#DF0000|#FFDFD0}}<br />
This works on the Intel 945GM, but has not been tested on other Intel cards. For smooth compositing effects you will need to add these lines into your <tt>Device</tt> section:<br />
<br />
Option "DRI" "True"<br />
Option "NoDDC" "True"<br />
Option "XAANoOffscreenPixmaps" "True"<br />
Option "EnablePageFlip" "True"<br />
Option "RenderAccel" "True"<br />
Option "AccelMethod" "XAA"<br />
<br />
And ensure that you have the following somewhere:<br />
<br />
Section "Extensions"<br />
Option "Composite" "Enable"<br />
EndSection<br />
<br />
==Choppy animations, even though everything configured correctly==<br />
If everything is configured correctly but you still have poor performance on some effects, try disabling CCSM->General Options->Display Settings->"Detect Refresh Rate" and instead choose a value manually. Tested on both nvidia and intel chips. Can work wonders.<br />
<br />
Alternatively, if your chip is nvidia and you are experiencing an inadequate refresh rate with "Detect Refresh Rate" enabled in Compiz, it's likely due to an option called DynamicTwinView being enabled by default which plays a factor in accurately reporting the maximum refresh rate that your card and display support. You can disable DynamicTwinView by adding the following line to the "Device" or "Screen" section of your xorg.conf file, and then restarting your computer:<br />
<br />
Option "DynamicTwinView" "False"<br />
<br />
Doing so will allow XrandR to accurately report the refresh rate to anything that detects it, including Compiz. You should be able to leave "Detect Refresh Rate" enabled and get excellent performance. Once again, this only applies to nvidia chips.<br />
<br />
==Fix Gnome Screenshot==<br />
To re-enable gnome-screenshot (the default behavior caused by hitting {{Keypress|PrtScn}}) simply go to Settings Manager>Commands and map 'gnome-screenshot' to the 'PrtScn' key. This is advantageous because you can also use the Compiz-Fusion 'Screenshot' plugin at the same time since the action that enables it is <Super>Button1 thereby giving you two methods to do a screen capture (one of which gives a full screen capture in a single keystroke).<br />
<br />
==Get GNOME Workspace Switcher work with Compiz-Fusion==<br />
In older versions of Compiz, the Gnome Workspace Switcher applet would actually work with Compiz-Fusion (i.e. rotate cube/move plane etc.), but recent versions seem not to. This is due to a new feature introduced in Compiz, which allows real seperate workspaces. For example, if you have a desktop plane with four planes, and have four desktops enabled in Gnome, it sums up to a total of 16 different workspaces. Currently, there is no animation associated with "real" workspace changing. To get the Workspace Switcher work, do the following:<br />
<br />
In GConf, set the following options:<br />
<br />
/apps/compiz/general/screen0/options/number_of_desktops = '''1'''<br />
/apps/compiz/general/screen0/options/hsize = 4 (this is an example)<br />
/apps/compiz/general/screen0/options/vsize = 1 (this is an example)<br />
<br />
== Slow resizing of windows with compiz/emerald and ATI videocards ==<br />
<br />
I was surprised to see that ATI has a poor performance when resizing windows in emerald. I googled around and found out that the problem is with the normal setting in the resize window plugin.<br />
To fix this simple change the "Default Resize Mode" setting in the plugin settings to anything other than Normal then, you'll resize windows quickly again.<br />
<br />
'''Brief explanations about the resize options:'''<br />
<br />
'''Rectangle:''' Renders a rectangle that represents the new size of the window while resizing. The window is resized after you stop dragging. While resizing, the window is still visible in the background at the original size.<br />
<br />
'''Outline:''' Same as the rectangle mode but there is an outline instead of a filled rectangle.<br />
<br />
'''Stretch:''' The window is stretched to the size of the dragging rectangle and doesn't actually repaint until you are finished dragging.<br />
<br />
== Screen flicks with NVIDIA card ==<br />
<br />
For fixing it, create /etc/modprobe.d/nvidia.conf file and add line:<br />
options nvidia NVreg_RegistryDwords="PerfLevelSrc=0x2222"<br />
<br />
== Fix Custom Cursor Theme on Gnome 2.30==<br />
<br />
Create or edit /usr/share/icons/default/index.theme for default, or per user '''(non-root)''' ~/.icons/default/index.theme, and add this lines:<br />
<br />
[Icon Theme]<br />
#Name=''foo''<br />
Name=''foo''<br />
#Inherits=''foo''<br />
Inherits=''foo''<br />
[Desktop Entry]<br />
Name[en_US]=index.theme<br />
<br />
"Foo" is the name of the cursor theme.<br />
<br />
== Screen artifacts on Firefox / Thunderbird ==<br />
<br />
{{Note|Altough this issue is not strictly related to Compiz, it has been added here due to popular misconception that Compiz itself may be the cause.<br />
}} <br />
Some users noticed a strange behavior with AMD/ATI Catalyst drivers starting from 10.6 release. Artifacts are visible mainly with Mozilla applications, where the GUI shows black spots of variable size. This is caused by different 2D acceleration tecnique introduced with Catalyst 10.6.<br />
The problem can be fixed following the troubleshooting steps in the [http://wiki.archlinux.org/index.php/ATI_Catalyst#Black.2Fgrey.2Fwhite_boxes.2Fartifacts_mainly_in_firefox.2Fthunderbird ATI Catalyst page]</div>Dazoehttps://wiki.archlinux.org/index.php?title=Lenovo_IdeaPad_s10-3t&diff=107154Lenovo IdeaPad s10-3t2010-05-25T01:17:52Z<p>Dazoe: </p>
<hr />
<div>[[Category:Lenovo (English)]]<br />
=System Sepcification=<br />
*CPU: Intel Atom N450 (1.66 GHz) or N470?<br />
*Memory: 1GB DDR2 - can be upgraded to max of 2GB<br />
*Ethernet: Broadcom NetLink BCM57780 Gigabit<br />
*WiFi: Broadcom BCM4313<br />
*Hard-Drive: 160GB standard with larger sizes available<br />
*Optical Drive: None<br />
*Integrated Graphics: Intel Pineview Integrated graphics<br />
*Touchscreen: ??? (2081:0A01)<br />
*Sound: ??? (14F1:5066)<br />
*Screen: 10" LCD (1024x600)<br />
*SD Card Reader<br />
*Webcam: Lenovo Easycam?<br />
<br />
=Network=<br />
==Wired Ethernet==<br />
Have to load module broadcom then tg3.<br />
eg: MODULES=(broadcom tg3)<br />
==Wireless==<br />
The Broadcom BCM4313 card requires the [http://aur.archlinux.org/packages.php?ID=19514 broadcom-wl] module which is available in the AUR.<br />
<br />
=Graphics=<br />
*This came from [http://wiki.archlinux.org/index.php/Lenovo_ideapad_s10 Lenovo ideapad s10] ...<br />
*So far I have not been able to get keyboard/touchpad to work with or without xorg.conf<br />
<br />
The xf86-video-intel driver works well with no xorg.conf. After installing xorg,<br />
pacman -S xf86-video-intel<br />
If you startx at this point, you may not have a working keyboard or touchpad. Installing the keyboard and synaptics drivers should fix that.<br />
pacman -S xf86-input-keyboard xf86-input-synaptics<br />
If you want to use an external mouse, you may also need<br />
pacman -S xf86-input-mouse<br />
<br />
While you can run a full DE like KDE or GNOME, it will be a little sluggish on the S10. If you only have 512 MB of RAM, you will use it up quickly. XFCE runs with more acceptable speed. LXDE (or just Openbox) feels even more responsive. Lighter is definitely better on this machine, especially if you haven't installed more RAM.<br />
<br />
=TouchScreen=<br />
...<br />
<br />
=Sound=<br />
...<br />
<br />
=SD Card Reader=<br />
Works right out of the box (in fact you can even install arch directly on it with grub.)<br />
<br />
=Webcam=<br />
...</div>Dazoehttps://wiki.archlinux.org/index.php?title=Lenovo_Ideapad_s10_3t&diff=107153Lenovo Ideapad s10 3t2010-05-25T01:15:28Z<p>Dazoe: moved Lenovo Ideapad s10 3t to Lenovo Ideapad s10-3t:&#32;wanted to add the dash</p>
<hr />
<div>#REDIRECT [[Lenovo Ideapad s10-3t]]</div>Dazoehttps://wiki.archlinux.org/index.php?title=Lenovo_IdeaPad_s10-3t&diff=107152Lenovo IdeaPad s10-3t2010-05-25T01:15:28Z<p>Dazoe: moved Lenovo Ideapad s10 3t to Lenovo Ideapad s10-3t:&#32;wanted to add the dash</p>
<hr />
<div>[[Category:Lenovo (English)]]<br />
=System Sepcification=<br />
*CPU: Intel Atom N450 (1.66 GHz) or N470?<br />
*Memory: 1GB DDR2 - can be upgraded to max of 2GB<br />
*Ethernet: Broadcom NetLink BCM57780 Gigabit<br />
*WiFi: Broadcom BCM4313<br />
*Hard-Drive: 160GB standard with larger sizes available<br />
*Optical Drive: None<br />
*Integrated Graphics: Intel Pineview Integrated graphics<br />
*Touchscreen: ??? (2081:0A01)<br />
*Sound: ??? (14F1:5066)<br />
*Screen: 10" LCD (1024x600)<br />
*SD Card Reader<br />
*Webcam: Lenovo Easycam?<br />
<br />
=Network=<br />
==Wired Ethernet==<br />
Have to load module broadcom then tg3.<br />
eg: MODULES=(broadcom tg3)<br />
==Wireless==<br />
The Broadcom BCM4313 card requires the [http://aur.archlinux.org/packages.php?ID=19514 broadcom-wl] module which is available in the AUR.<br />
<br />
=Graphics=<br />
*This came from [http://wiki.archlinux.org/index.php/Lenovo_ideapad_s10 Lenovo ideapad s10] ...<br />
*So far I have not been able to get keyboard/touchpad to work with or without xorg.conf<br />
<br />
The xf86-video-intel driver works well with no xorg.conf. After installing xorg,<br />
pacman -S xf86-video-intel<br />
If you startx at this point, you may not have a working keyboard or touchpad. Installing the keyboard and synaptics drivers should fix that.<br />
pacman -S xf86-input-keyboard xf86-input-synaptics<br />
If you want to use an external mouse, you may also need<br />
pacman -S xf86-input-mouse<br />
<br />
While you can run a full DE like KDE or GNOME, it will be a little sluggish on the S10. If you only have 512 MB of RAM, you will use it up quickly. XFCE runs with more acceptable speed. LXDE (or just Openbox) feels even more responsive. Lighter is definitely better on this machine, especially if you haven't installed more RAM.<br />
<br />
=TouchScreen=<br />
...<br />
<br />
=Sound=<br />
...<br />
<br />
=SD Card=<br />
Works right out of the box (in fact you can even install arch directly on it with grub.)<br />
<br />
=Webcam=<br />
...</div>Dazoehttps://wiki.archlinux.org/index.php?title=Lenovo_IdeaPad_s10-3t&diff=107151Lenovo IdeaPad s10-3t2010-05-25T01:14:49Z<p>Dazoe: </p>
<hr />
<div>[[Category:Lenovo (English)]]<br />
=System Sepcification=<br />
*CPU: Intel Atom N450 (1.66 GHz) or N470?<br />
*Memory: 1GB DDR2 - can be upgraded to max of 2GB<br />
*Ethernet: Broadcom NetLink BCM57780 Gigabit<br />
*WiFi: Broadcom BCM4313<br />
*Hard-Drive: 160GB standard with larger sizes available<br />
*Optical Drive: None<br />
*Integrated Graphics: Intel Pineview Integrated graphics<br />
*Touchscreen: ??? (2081:0A01)<br />
*Sound: ??? (14F1:5066)<br />
*Screen: 10" LCD (1024x600)<br />
*SD Card Reader<br />
*Webcam: Lenovo Easycam?<br />
<br />
=Network=<br />
==Wired Ethernet==<br />
Have to load module broadcom then tg3.<br />
eg: MODULES=(broadcom tg3)<br />
==Wireless==<br />
The Broadcom BCM4313 card requires the [http://aur.archlinux.org/packages.php?ID=19514 broadcom-wl] module which is available in the AUR.<br />
<br />
=Graphics=<br />
*This came from [http://wiki.archlinux.org/index.php/Lenovo_ideapad_s10 Lenovo ideapad s10] ...<br />
*So far I have not been able to get keyboard/touchpad to work with or without xorg.conf<br />
<br />
The xf86-video-intel driver works well with no xorg.conf. After installing xorg,<br />
pacman -S xf86-video-intel<br />
If you startx at this point, you may not have a working keyboard or touchpad. Installing the keyboard and synaptics drivers should fix that.<br />
pacman -S xf86-input-keyboard xf86-input-synaptics<br />
If you want to use an external mouse, you may also need<br />
pacman -S xf86-input-mouse<br />
<br />
While you can run a full DE like KDE or GNOME, it will be a little sluggish on the S10. If you only have 512 MB of RAM, you will use it up quickly. XFCE runs with more acceptable speed. LXDE (or just Openbox) feels even more responsive. Lighter is definitely better on this machine, especially if you haven't installed more RAM.<br />
<br />
=TouchScreen=<br />
...<br />
<br />
=Sound=<br />
...<br />
<br />
=SD Card=<br />
Works right out of the box (in fact you can even install arch directly on it with grub.)<br />
<br />
=Webcam=<br />
...</div>Dazoehttps://wiki.archlinux.org/index.php?title=Lenovo_IdeaPad_s10-3t&diff=107150Lenovo IdeaPad s10-3t2010-05-25T01:04:46Z<p>Dazoe: Created page with 'Category:Lenovo (English) =System Sepcification= *CPU: Intel Atom N450 (1.66 GHz) or N470? *Memory: 1GB DDR2 - can be upgraded to max of 2GB *WiFi: Broadcom BCM4313 *Hard-Dri…'</p>
<hr />
<div>[[Category:Lenovo (English)]]<br />
=System Sepcification=<br />
*CPU: Intel Atom N450 (1.66 GHz) or N470?<br />
*Memory: 1GB DDR2 - can be upgraded to max of 2GB<br />
*WiFi: Broadcom BCM4313<br />
*Hard-Drive: 160GB standard with larger sizes available<br />
*Optical Drive: None<br />
*Integrated Graphics: Intel Pineview Integrated graphics<br />
*Sound: ??? (14F1:5066)<br />
*Screen: 10" LCD (1024x600)<br />
*SD Card Reader<br />
*Webcam: Lenovo Easycam?<br />
*Touchscreen: ??? (2081:0A01)</div>Dazoe