https://wiki.archlinux.org/api.php?action=feedcontributions&user=Mentallaxative&feedformat=atomArchWiki - User contributions [en]2024-03-19T01:54:51ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Opera&diff=55290Opera2008-12-12T01:30:36Z<p>Mentallaxative: </p>
<hr />
<div>[[Category:Internet and Email (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
{{i18n_links_start}}<br />
{{i18n_entry|English|:Opera}}<br />
{{i18n_entry|Español|:Opera (Español)}}<br />
{{i18n_links_end}}<br />
<br />
==Introduction==<br />
[http://www.opera.com Opera] is a full-featured web suite by Opera Software ASA, a Norwegian IT company.<br />
<br />
==Why should I use Opera?==<br />
* It's fast and lightweight.<br />
* It's standards-compliant.<br />
* It's very customizable.<br />
* Out-of-the-box provides web browsing with mouse gestures and ad-blocking, mail client, BitTorrent client and IRC client all in one! And then some more too...<br />
* It's got a professional touch: ''no software bloat, no memory leaks, no freezes, no crashes''.<br />
<br />
==Why should I NOT use Opera?==<br />
* It is not [http://www.gnu.org/philosophy/free-sw.html free]. It's [http://en.wikipedia.org/wiki/Proprietary_software proprietary software].<br />
* If you use GNOME or some window manager based on GTK+, it is needed to load additional libraries because Opera it's a [http://en.wikipedia.org/wiki/Qt_(toolkit) Qt] application.<br />
* Some webpages don't display correctly because they are not following the web standards (Opera sticks to standards).<br />
<br />
==Installation==<br />
To install the latest stable Opera:<br />
# pacman -S opera<br />
<br />
''Note: this will install Qt4 shared build.<br>Note 2: on x86_64, it will install Qt3.''<br />
<br />
== Other options ==<br />
===Microsoft Fonts and Opera===<br />
If you have at the time of Opera package installation the package ttf-ms-fonts Opera will then use those fonts which may look unattractive.<br />
To make Opera use by default Gnome fonts or whatever is default on your system remove the ttf-ms-fonts package and then install Opera.<br />
<br />
Also note that all fonts are configurable at ''Tools -> Preferences -> Advanced -> Fonts''<br />
<br />
===Optional tweaks===<br />
* To remove the tray icon, launch Opera with the ''-notrayicon'' option.<br />
* To make the menus look nice, do<br />
# pacman -S polymer<br />
then run '''qtconfig''' (it will be located in /opt/qt/bin) and set the ''polymer'' theme for Qt applications.<br />
* To disable "ugly" non anti-aliased fonts, type <tt>opera:config</tt> in the Opera address bar, then search for "core X fonts" and disable them.<br />
* To improve the (flash) plugin performance in opera, just issue this command before starting opera or add it to your /etc/profile:<br />
# export OPERAPLUGINWRAPPER_PRIORITY=0<br />
<br />
==Troubleshooting==<br />
<br />
=== Missing shared object file ===<br />
* If you get the following error:<br />
<br />
/usr/lib/opera/9.27-20080331.6/opera: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory<br />
<br />
Create a symlink (as root):<br />
# ln -s /opt/qt/lib/libqt-mt.so.3 /usr/lib/libqt-mt.so.3<br />
That should fix the problem.<br />
* If you sometimes have rendering problems, like duplicated pixel rows, turn of "smooth scrolling" (''Tools -> Preferences -> Advanced -> Browsing -> Smooth scrolling'')<br />
<br />
=== Fix ugly menues (Fix two) ===<br />
Not sure what this caused by. But here is another solution. Be sure to remove opera before you proceed.<br />
<br />
* Add the this to the bottom of /etc/rc.conf: ('''NB!''' Remember to choose the correct architecture. (If allready present, please skip this step.))<br />
[archlinuxfr]<br />
Server = http://repo.archlinux.fr/i686<br />
<br />
[archlinuxfr]<br />
Server = http://repo.archlinux.fr/x86_64<br />
<br />
* Install Opera using the latest snapshot:<br />
# sudo pacman -S opera-snapshot<br />
<br />
Vital that you have done the [[Opera#Optional_tweaks|above]], installed polymer and executed qtconfig. (Note that qtconfig can set your font to 6 when run multiple times.)<br />
<br />
It should now function properly. If not, please use the [[Talk:Opera|talk section]] of this article.</div>Mentallaxativehttps://wiki.archlinux.org/index.php?title=Bash&diff=52385Bash2008-10-31T12:22:42Z<p>Mentallaxative: bad information--affects makepkg</p>
<hr />
<div>[[Category:Command shells (English)]]<br />
[[Category:General (English)]]<br />
{{i18n_links_start}}<br />
{{i18n_entry|English|Bash}}<br />
{{i18n_entry|Italiano|Bash (Italiano)}}<br />
{{i18n_entry|简体中文|Bash (简体中文)}}<br />
{{i18n_links_end}}<br />
<br />
Bash is the Arch Linux default shell. <br />
<br />
= Resources =<br />
<br />
* [http://tldp.org/LDP/abs/html/ Advanced Bash Scripting Guide] - Very good resource regarding shell scripting using bash<br />
* [http://www.gnu.org/software/bash/manual/bashref.html Bash Reference Manual] - Official reference (654K!)<br />
* [http://www.gnu.org/software/bash/manual/bash.html man page]<br />
* [http://wooledge.org/mywiki/BashFaq FAQ/Wiki]<br />
* [http://www.mlug.ca/cms/content/view/80/57 Readline Guide]<br />
* [http://www.grymoire.com/Unix/Quote.html Quote Tutorial]<br />
* [http://www.caliban.org/bash Completion Guide]<br />
<br />
= Tips & Tricks =<br />
<br />
== 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 />
"\e[A":history-search-backward<br />
"\e[B":history-search-forward<br />
<br />
==Enabling Bash Completion==<br />
<br />
Enabling bash completion is quite simple. Here's how.<br />
<br />
<pre>pacman -Sy bash-completion</pre><br />
<br />
Edit ~/.bashrc and add the following:<br />
<br />
<pre><br />
# enable bash completion in interactive shells<br />
if [ -f /etc/bash_completion ]; then<br />
. /etc/bash_completion<br />
fi<br />
</pre></div>Mentallaxativehttps://wiki.archlinux.org/index.php?title=Bash&diff=51802Bash2008-10-26T17:31:08Z<p>Mentallaxative: fast access to subdirectories from cd</p>
<hr />
<div>[[Category:Command shells (English)]]<br />
[[Category:General (English)]]<br />
{{i18n_links_start}}<br />
{{i18n_entry|English|Bash}}<br />
{{i18n_entry|Italiano|Bash (Italiano)}}<br />
{{i18n_entry|简体中文|Bash (简体中文)}}<br />
{{i18n_links_end}}<br />
<br />
Bash is the Archlinux default shell. <br />
<br />
= Resources =<br />
<br />
* [http://tldp.org/LDP/abs/html/ Advanced Bash Scripting Guide] - Very good resource regarding shell scripting using bash<br />
* [http://www.gnu.org/software/bash/manual/bashref.html Bash Reference Manual] - Official reference (654K!)<br />
* [http://www.gnu.org/software/bash/manual/bash.html man page]<br />
* [http://wooledge.org/mywiki/BashFaq FAQ/Wiki]<br />
* [http://www.mlug.ca/cms/content/view/80/57 Readline Guide]<br />
* [http://www.grymoire.com/Unix/Quote.html Quote Tutorial]<br />
* [http://www.caliban.org/bash Completion Guide]<br />
<br />
= Tips & Tricks =<br />
<br />
== 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 />
"\e[A":history-search-backward<br />
"\e[B":history-search-forward<br />
<br />
==Enabling Bash Completion==<br />
<br />
Enabling bash completion is quite simple. Here's how.<br />
<br />
<pre>pacman -Sy bash-completion</pre><br />
<br />
Edit ~/.bashrc and add the following:<br />
<br />
<pre><br />
# enable bash completion in interactive shells<br />
if [ -f /etc/bash_completion ]; then<br />
. /etc/bash_completion<br />
fi<br />
</pre><br />
<br />
==Fast access to subdirectories from cd==<br />
<br />
The normal behaviour of cd <directory name> only searches for directories within your current working directory to change into. If you find yourself constantly changing into a particular directory to access its subdirectories, consider placing it in CDPATH in .bashrc:<br />
<br />
<pre> export CDPATH=/etc/</pre><br />
<br />
By implementing this, you are able to change into any directory within /etc, and any subdirectory within your current directory. For example, you will be able to perform <tt>cd conf.d</tt> without actually being in /etc.</div>Mentallaxativehttps://wiki.archlinux.org/index.php?title=Talk:VCS_package_guidelines&diff=51383Talk:VCS package guidelines2008-10-18T05:48:11Z<p>Mentallaxative: git & darcs</p>
<hr />
<div>Q: Any reason for using 'svn co' instead of 'svn export'? export is way faster for these situations and it doesn't create all the .svn files.<br />
<br />
A: Look at http://bbs.archlinux.org/viewtopic.php?pid=245213<br />
<br />
<br />
----<br />
<br />
<br />
Just wondering if the versionpkg part will be removed - I hear that makepkg now has versionpkgs functionality...<br />
--[[User:Ak5|ak5]] 16:55, 8 June 2008 (EDT)<br />
<br />
-- done (wide-eye)<br />
<br />
<br />
----<br />
<br />
The title for this article indicate guidelines for CVS and SVN, but git and darcs are also included. Perhaps the title should be changed to reflect this, or git and darcs guidelines should be separated off into their own articles. --[[User:Mentallaxative|mentallaxative]] 01:48, 18 October 2008 (EDT)</div>Mentallaxativehttps://wiki.archlinux.org/index.php?title=Dwm&diff=50599Dwm2008-10-03T12:36:12Z<p>Mentallaxative: piping commands into the status bar</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
==Abstract==<br />
This is a howto for the [http://www.suckless.org/wiki/dwm dwm] window manager. dwm is a dynamic window manager for X and is extremely light weight and extremely fast. Note, it is not for novice users as almost, if not, all of the extras of KDE and Gnome that you are used do not exist in dwm.<br />
<br />
==Getting Started==<br />
dwm is now available from Arch's community repository. You can install it by issuing this command:<br />
<br />
pacman -Sy dwm <br />
<br />
==Post Installation==<br />
After you have downloaded and installed dwm using pacman you go ahead and get started using it. It should be noted that currently dwm is configured through its source. If you simply download and install it, then you'll be given the default setup.<br />
<br />
Fire up your favorite text editor and add dwm to your xinitrc script:<br />
<br />
<pre>su<br />
nano -w /etc/X11/xinit/xinitrc</pre><br />
<br />
Your's should look something like this:<br />
<br />
<pre>#!/bin/sh<br />
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $<br />
<br />
userresources=$HOME/.Xresources<br />
usermodmap=$HOME/.Xmodmap<br />
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources<br />
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap<br />
<br />
# merge in defaults and keymaps<br />
<br />
if [ -f $sysresources ]; then<br />
xrdb -merge $sysresources<br />
fi<br />
<br />
if [ -f $sysmodmap ]; then<br />
xmodmap $sysmodmap<br />
fi<br />
<br />
if [ -f $userresources ]; then<br />
xrdb -merge $userresources<br />
fi<br />
<br />
if [ -f $usermodmap ]; then<br />
xmodmap $usermodmap<br />
fi<br />
<br />
# start some nice programs<br />
exec dwm</pre><br />
<br />
When I installed it on my laptop I had to use the following line:<br />
<pre>DISPLAY=my_host:0 exec dwm</pre><br />
instead of<br />
<pre>exec dwm</pre><br />
Finally, now all you need to do is<br />
<pre>startx</pre><br />
at the command line.<br />
<br />
Enjoy.<br />
<br />
==Using dwm with a login manager==<br />
If you are using the [[SLIM]] login manager, then there's no need to worry, as SLiM reads .xinitrc by default. For [[GDM]], copy your .xinitrc to .Xclients and select "Run XClient Script" from the Sessions menu.<br />
<br />
==Applications on startup==<br />
In .xinitrc replace ''exec dwm'' with ''exec ~/.dwm-launch''<br />
<br />
Edit ~/.dwm-launch with the programs you want to launch<br />
vi ~/.dwm-launch<br />
~/.setbg&<br />
autocutsel&<br />
termirssi&<br />
urxvt&<br />
dwm<br />
<br />
Note all programs have ''&'' at the end, except dwm.<br />
<br />
==Piping commands into the status bar==<br />
<br />
Piping stdin from another command into dwm will reproduce the contents of that command in the status bar. A simple example here prints the date. From the previous step edit ~/.dwm-launch. <br />
<br />
while true<br />
do<br />
echo `date +"[ %a %d %b ] [ %I:%M %p ]"`<br />
sleep 2<br />
done | dwm<br />
<br />
This is another example for a laptop (make sure you have acpid installed):<br />
<br />
while true <br />
do<br />
acpi | awk '{ print $3, $4 }' | sed s/","//g<br />
done | exec dwm<br />
<br />
This displays the amount of charge left and its status (charging/discharging). The awk command trims away the unneeded text from acpi, and sed removes the commas.<br />
<br />
Make sure there is only one dwm in ~/.dwm-launch. Combining everything together, it should look like:<br />
~/.setbg<br />
autocutsel&<br />
termirssi&<br />
urxvt&<br />
while true<br />
do<br />
echo `date +"[ %a %d %b ] [ %I:%M %p ]"`<br />
sleep 2<br />
done | dwm<br />
<br />
<br />
==Other Resources==<br />
[http://www.xsnake.net/howto/dwm/dwm-eng.php HowTo by Snake]</div>Mentallaxativehttps://wiki.archlinux.org/index.php?title=AbiWord&diff=47529AbiWord2008-08-13T11:44:07Z<p>Mentallaxative: improved desc</p>
<hr />
<div>[[Category:Office (English)]]<br />
<br />
{{i18n_links_start}}<br />
{{i18n_entry|English|Abiword}}<br />
{{i18n_entry|Ελληνικά|Abiword (Ελληνικά)}}<br />
{{i18n_links_end}}<br />
<br />
Abiword is a word processor that provides a lighter alternative than OpenOffice Writer.<br />
<br />
<br />
Before you install, you'll want to install dictionaries if you want spell check.<br />
pacman -S aspell-en<br />
<br />
To install, run:<br />
pacman -S abiword<br />
<br />
For additional plugins:<br />
pacman -S abiword-plugins<br />
<br />
<br />
{{stub}}</div>Mentallaxativehttps://wiki.archlinux.org/index.php?title=Window_manager&diff=47528Window manager2008-08-13T11:39:37Z<p>Mentallaxative: cleanup</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:General (English)]]<br />
<br />
==Window Managers, Desktop Environments and X==<br />
Linux is like a stack of papers, it is layered. Different layers do different things. The bottom layer is the kernel, it is the core, manages memory and provides an interface to devices. It does much more, but that is out of the scope of this document.<br />
<br />
Above that is X, the X Window System, X11. X is the blank canvas of an artist. It provides the ability for GUI applications to run. It not only provides the screen, but the ability for programs to receive and interpret key presses, mouse movements and clicks. Programs which run on X are 'X Clients', they connect to the X Server, it gives them the screen real estate, and they start.<br />
<br />
On top of X can go window managers and desktop environments.<br />
<br />
==What are Window Managers==<br />
Window managers (WM) are X Clients which provide the border around the window. The window manager controls the appearance of an application and how it is managed: the border, titlebar, size, and ability to resize a window are handled by window managers. Many window managers provide other things such as places to stick dockapps (http://www.dockapps.org), a menu to start programs, menus to configure the WM and other useful things. [[Fluxbox]] for example has the ability to tab windows.<br />
<br />
Window managers generally don't provide things like desktop icons. These are commonly seen in desktop environments, though it is possible to have icons in a WM through another program (http://idesk.timmfin.net/).<br />
<br />
Because of the lack of 'extras', WMs are much lighter on system resources.<br />
<br />
==What are Desktop Environments==<br />
Desktop Environments (DE) are different to the Window Manager in that they provide much more, a whole environment. DEs bring together a range of different X clients: a window manager, a panel for applets, starters and menus, desktop icons and an integrated file manager are common. Other extras provided may be games, music players, and office suites. [[GNOME]] uses Metacity as its window manager by default and [[KDE]] includes its own KWin. These window managers can be changed.<br />
<br />
DEs provide more features than window managers, and this is reflected in their heavier use of system resources.</div>Mentallaxativehttps://wiki.archlinux.org/index.php?title=Conky&diff=47527Conky2008-08-13T11:09:44Z<p>Mentallaxative: cleanup</p>
<hr />
<div>[[Category:System Monitor]]<br />
[[Category:HOWTOs (English)]]<br />
[[Category:Eye candy (English)]]<br />
{{i18n_links_start}}<br />
{{i18n_entry|English|Conky}}<br />
{{i18n_entry|Italiano|Conky (Italiano)}}<br />
{{i18n_links_end}}<br />
==Introduction==<br />
Conky is a system monitor software for the X Window System. It is available for Linux and FreeBSD. It is free software released under the terms of the BSD license. Conky is able to monitor many systems variables including CPU, memory, swap, disk space, temperature, top, upload, download, system messages, and much more. It is extremely configurable, however, the configuration can be a little hard to understand. Conky is a fork of torsmo.<br />
<br />
==Installation & Configuration==<br />
*Conky is available in the Extra repository<br />
# pacman -S conky<br />
*Edit config file using an example configuration file from [http://conky.sourceforge.net/screenshots.html homeproject-screenshot]<br />
$ nano ~/.conkyrc<br />
==How to prevent flickering==<br />
Conky needs Double Buffer Extension (DBE) support from X server to prevent flickering, because it can't update window fast enough without it. It can be enabled in /etc/X11/xorg.conf with Load "dbe" line in Section "Module". To enable double-buffer check to have in ~/.conkyrc<br />
double_buffer yes<br />
==Integration with Kdesktop==<br />
Conky with screenshot configuration generate problems with icons visualization. So there are some steps to follow.<br />
*Add these lines to ~/.conkyrc<br />
own_window yes<br />
own_window_type normal<br />
own_window_transparent yes<br />
own_window_hints undecorated,below,sticky,skip_taskbar,skip_page<br />
*if this setting is on, comment it out or delete the line<br />
minimum_size<br />
*To autostart conky create this link<br />
$ ln -s /usr/bin/conky ~/.kde/Autostart/conkylink<br />
*Install feh<br />
# pacman -S feh<br />
*Make this script to allow transparency with the desktop<br />
$ nano -w ~/.kde/Autostart/fehconky <br />
<br />
#!/bin/bash<br />
feh --bg-scale `dcop kdesktop KBackgroundIface currentWallpaper 1`<br />
use --bg-center if you use a centered wallpaper<br />
*Make it executable<br />
$ chmod +x ~/.kde/Autostart/fehconky<br />
*Optionally instead using a script you can add this line to the bottom of .conkyrc<br />
$ nano ~/.conkyrc<br />
<br />
${exec feh --bg-scale `dcop kdesktop KBackgroundIface currentWallpaper 1`}<br />
<br />
== External links ==<br />
*[http://bbs.archlinux.org/viewtopic.php?id=39906 Conky Configs on arch forums]<br />
*[http://conky.sourceforge.net/ Official website]<br />
*[http://freshmeat.net/projects/conky/ Conky] on [[wikipedia:Freshmeat|Freshmeat]]<br />
*[http://sourceforge.net/projects/conky/ Conky] on [[wikipedia:sourceforge.net|SourceForge]]<br />
*[irc://chat.freenode.org/conky #conky] IRC chat channel on [[wikipedia:Freenode|freenode]]<br />
*[http://novel.evilcoder.org/wiki/index.php/ConkyFAQ FAQ]</div>Mentallaxativehttps://wiki.archlinux.org/index.php?title=Accents_on_US_keyboards&diff=47526Accents on US keyboards2008-08-13T11:03:38Z<p>Mentallaxative: Removed 1st person POV and cleaned up writing</p>
<hr />
<div>[[Category: Input devices (English)]]<br />
{{i18n_links_start}}<br />
{{i18n_entry|English|Accents on US keyboards}}<br />
{{i18n_entry|Español|Acentos en teclados US (Español)}}<br />
{{i18n_links_end}}<br />
Typing in foreign languages such as French, Italian and German can be problematic on an American keyboard. To remedy this, the Xmodmap utility that is supplied with Xorg can allow the user to completely remap the keyboard. The following is an example configuration:<br />
<br />
Note: AltGr is the Alt key on the right-hand side of the space bar.<br />
<br />
AltGr + e -> é<br />
AltGr + r -> è<br />
AltGr + a -> à<br />
AltGr + u -> ù<br />
AltGr + i -> ì<br />
AltGr + o -> ò<br />
AltGr + c -> ç<br />
AltGr + [ -> «<br />
AltGr + ] -> »<br />
AltGr + ; -> dead diaresis (ï, ü, etc.)<br />
AltGr + 6 -> dead circumflex (î, ê, etc.) <br />
<br />
= A useful utility to produce a xmodmap file =<br />
<br />
On [http://www.jwz.org/xkeycaps this page] you'll find XKeyCaps, a graphical front-end to xmodmap which makes it easier to produce an ideal xmodmap file.<br />
<br />
= Example xmodmap file =<br />
<br />
This is an xmodmap file which remaps keys to match the above example.<br />
<br />
clear Mod1<br />
clear Mod2<br />
! us.map with a few redefinitions<br />
keycode 9 = Escape Escape<br />
keycode 10 = 1 exclam<br />
keycode 11 = 2 at at<br />
keycode 12 = 3 numbersign<br />
keycode 13 = 4 dollar dollar<br />
keycode 14 = 5 percent currency<br />
keycode 15 = 6 asciicircum dead_circumflex<br />
keycode 16 = 7 ampersand braceleft<br />
keycode 17 = 8 asterisk bracketleft<br />
keycode 18 = 9 parenleft bracketright<br />
keycode 19 = 0 parenright braceright<br />
keycode 20 = minus underscore backslash<br />
keycode 21 = equal plus<br />
keycode 22 = BackSpace Delete<br />
keycode 23 = Tab Tab<br />
keycode 24 = q<br />
keycode 25 = w<br />
keycode 26 = e E eacute<br />
keycode 27 = r R egrave<br />
keycode 28 = t<br />
keycode 29 = y<br />
keycode 30 = u U ugrave<br />
keycode 31 = i I igrave<br />
keycode 32 = o O ograve<br />
keycode 33 = p<br />
keycode 34 = bracketleft braceleft guillemotleft<br />
keycode 35 = bracketright braceright guillemotright<br />
keycode 36 = Return<br />
keycode 37 = Control_L<br />
keycode 38 = a A agrave<br />
keycode 39 = s<br />
keycode 40 = d<br />
keycode 41 = f<br />
keycode 42 = g<br />
keycode 43 = h<br />
keycode 44 = j<br />
keycode 45 = k<br />
keycode 46 = l<br />
keycode 47 = semicolon colon dead_diaeresis<br />
keycode 48 = apostrophe quotedbl<br />
keycode 49 = grave asciitilde dead_grave<br />
keycode 50 = Shift_L<br />
keycode 51 = backslash bar<br />
keycode 52 = z<br />
keycode 53 = x<br />
keycode 54 = c C ccedilla<br />
keycode 55 = v<br />
keycode 56 = b<br />
keycode 57 = n<br />
keycode 58 = m<br />
keycode 59 = comma less apostrophe<br />
keycode 60 = period greater quotedbl<br />
keycode 61 = slash question<br />
keycode 62 = Shift_R<br />
keycode 63 = KP_Multiply<br />
keycode 64 = Alt_L Meta_L<br />
keycode 65 = space space<br />
keycode 66 = Caps_Lock<br />
keycode 67 = F1 F11<br />
keycode 68 = F2 F12<br />
keycode 69 = F3 F13<br />
keycode 70 = F4 F14<br />
keycode 71 = F5 F15<br />
keycode 72 = F6 F16<br />
keycode 73 = F7 F17<br />
keycode 74 = F8 F18<br />
keycode 75 = F9 F19<br />
keycode 76 = F10 F20<br />
keycode 77 = Num_Lock<br />
keycode 78 = Scroll_Lock<br />
keycode 79 = KP_7<br />
keycode 80 = KP_8<br />
keycode 81 = KP_9<br />
keycode 82 = KP_Subtract<br />
keycode 83 = KP_4<br />
keycode 84 = KP_5<br />
keycode 85 = KP_6<br />
keycode 86 = KP_Add<br />
keycode 87 = KP_1<br />
keycode 88 = KP_2<br />
keycode 89 = KP_3<br />
keycode 90 = KP_0<br />
keycode 94 = less greater bar<br />
keycode 95 = F11 F11<br />
keycode 96 = F12 F12<br />
keycode 108 = KP_Enter<br />
keycode 109 = Control_R<br />
keycode 112 = KP_Divide<br />
keycode 113 = Mode_switch<br />
keycode 114 = Break<br />
keycode 110 = Find<br />
keycode 98 = Up<br />
keycode 99 = Prior<br />
keycode 100 = Left<br />
keycode 102 = Right<br />
keycode 115 = Select<br />
keycode 104 = Down<br />
keycode 105 = Next<br />
keycode 106 = Insert<br />
keycode 116 = Mode_switch<br />
! right windows-menu key, redefined as Compose key<br />
keycode 117 = Multi_key<br />
add Mod1 = Alt_L<br />
add Mod2 = Mode_switc<br />
<br />
= What to do with the xmodmap file =<br />
<br />
To use this configuration, put it in a hidden file called xmodmaprc in your home directory:<br />
<br />
~/.xmodmaprc<br />
<br />
Some desktop environments such as [[GNOME]] will automatically detect the file and ask you if you want to use it. If you are using a desktop environment or a window manager which does not do this, you will have to add a line to an executable file called .xinitrc, located in your home directory. This file contains a list of commands that are executed after you log in. <br />
<br />
If you already have a .xinitrc file, type these commands in a terminal:<br />
<br />
cd<br />
echo "xmodmap ~/.xmodmaprc" >> .xinitrc<br />
<br />
If you don't have a .xinitrc file, do this:<br />
<br />
cd<br />
echo "xmodmap ~/.xmodmaprc" > .xinitrc<br />
chmod 755 .xinitrc</div>Mentallaxative