https://wiki.archlinux.org/api.php?action=feedcontributions&user=Knap&feedformat=atomArchWiki - User contributions [en]2024-03-29T12:46:38ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=DeveloperWiki:KDE&diff=94727DeveloperWiki:KDE2010-02-01T15:15:06Z<p>Knap: </p>
<hr />
<div>[[Category:DeveloperWiki]]<br />
=Packagers=<br />
==Plan==<br />
# <s>add kde-build-scripts to projects.archlinux.org</s><br />
## <s>make it work with "any" packages</s><br />
## evaluate if chrootpkg can be used<br />
# <s>contact ProgDan (http://bbs.archlinux.org/viewtopic.php?id=76245) and share some information</s><br />
## <s>http://git.progdan.homelinux.net/cgi-bin/cgit/cgit.cgi/kde-snapshots/</s><br />
## <s>have a look at https://users.archlinux.de/~pierre/tmp/diff.patch</s><br />
# <s>find a best practice for the qt/phonon/backend nightmare</s><br />
# check for new/removed dependencies<br />
# <s>check for new/removed sub modules (we have a script for that)</s><br />
## we should probably add some replaces<br />
# <s>update package descriptions (we have a script for that)</s><br />
# <s>evaluate switching to polkit-1</s><br />
# <s>remove "-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'"; its set by makepkg anyway.</s><br />
# <s>remove any versioned deps if not necessary</s><br />
# <s>base kde-unstable on testing and jpng repo</s><br />
# recheck kde-meta<br />
# create on split kde-l10n pkgbuild (they are adding and removing languages all the time)<br />
## maybe remerge createPKGBUILD with kde-build scripts<br />
# <s>review build logs</s><br />
# evaluate splitting of kdebase-workspace to reduce deps for non-KDE users: http://bugs.archlinux.org/task/17962<br />
# check packages which are not part of KDE SC but depend on it or Qt<br />
## check for phonon deps etc.<br />
## automatically create a rebuild list<br />
<br />
==Packages==<br />
===kdebase-workspace===<br />
* add GPS support? (needs gpsd from community)<br />
===kdeedu===<br />
* add Xplanet support to KStars? (needs xplanet from community)<br />
===kdeaccessibility===<br />
* add speech synthesis support? (needs speechd from AUR; see http://aur.archlinux.org/packages.php?ID=16975)<br />
===kdegames===<br />
* use a better sound engine for games? (needs gluon-git from AUR)<br />
** There is no release yet; so I prefer we stay with phonon (Pierre)<br />
===kdepim===<br />
* add KMail integration with libindicate Indicators? (needs libindicate-qt from AUR)<br />
** seems to be Ubuntu-specific; I don't see any benefit for us (Pierre)<br />
===kdenetwork===<br />
* mediastreamer: Required to enable voice clips support in WLM plugin and needed to build Google Talk libjingle audio call support in Kopete.<br />
* meanwhile: A library for protocol support for connection to Sametime servers<br />
<br />
==Todo / Notes==<br />
===common tasks===<br />
* change url to application homepage (e.g. http://utils.kde.org/projects/ark/ instead of just kde.org)<br />
** wait for kde.org relaunch<br />
* write a Howto for packaging KDE-related apps<br />
* check this Bug report: https://bugs.kde.org/show_bug.cgi?id=189465<br />
* update [[KDE]] <s>and [[KDE Packages]]</s><br />
<br />
===packages to be removed===<br />
* kdelibs-experimental<br />
* iodbc (community)<br />
* blogilo (community)<br />
* kde-l10n-* from svn<br />
* kdeplasma-applets-networkmanager<br />
<br />
=Users=<br />
==Using the kde-unstable repository==<br />
# kde-unstable is based upon testing. Therefor you need to enable the repositories in the following order: '''kde-unstable, testing, core, extra, community-testing, community'''. <br />
# To update from a previous KDE installation run: pacman -Sy qt; pacman -Su<br />
# If you don't have KDE installed you might have difficulties to install it by using groups (limitation of pacman)<br />
# '''subscribe and read arch-dev-public'''<br />
# report packaging bugs to our bugtracker (don't forget to mention you are using kde-unstable)<br />
<br />
==Known issues==<br />
* -Syu to kde-unstable wont work due some kind of pacman bug (todo: report it). This will (hopefully) be gone when qt, phonon etc. are moved to extra.<br />
* bitmap fonts like terminus will be messed up when using the proprietary nvidia driver<br />
* Updating from previous versions of nepumuk/strigi/soprano/virtuoso might not work. Remove ''.kde4/share/apps/nepomuk'' and re-setup nepomuk<br />
* If any problem occours try a new user or (re)move ~/.kde4 /tmp/kde-* /var/tmp/kdecache-*<br />
* kdebindings-csharp are currently broken<br />
<br />
==(Packaging) Changes from 4.3==<br />
* Dropped phonon support from Qt. This also removes HTML5 video/audio support from QtWebkit.<br />
* The java-based sesame2 backend for nepomuk has been replaced by the faster virtuoso backend. A java-runtime is no longer needed.<br />
* The phonon-gstreamer package can now be removed and replaced by phonon-xine.<br />
* Support for policykit-0.9 dropped; we use polkit-1 instead.<br />
<br />
==Broken packages which are not part of KDE SC==<br />
* kbluetooth</div>Knaphttps://wiki.archlinux.org/index.php?title=Man_page&diff=92222Man page2010-01-14T23:44:28Z<p>Knap: Fixed argument in man2html example</p>
<hr />
<div>[[Category:Utilities (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{Article summary start|Summary}}<br />
{{Article summary text|Information on man pages, along with recommendations on how to improve their usage}}<br />
{{Article summary heading|Language}}<br />
{{i18n_entry|English|Man Page}}<br />
<!--<br />
{{Article summary heading|Related}}<br />
{{Article summary wiki|}}<br />
--><br />
{{Article summary end}}<br />
{{expansion}}<br />
'''Man pages''' (abbreviation for "manual pages") are the extensive documentation that comes preinstalled with almost all substantial UNIX-like operating systems, including Arch Linux. The command used to display them is {{codeline|man}}.<br />
<br />
In spite their scope, man pages are designed to be self-contained documents, consequentially limiting themselves to referring to another man page when it comes to related subjects. This is a sharp contrast with the hyperlink-aware info files, GNU's attempt at replacing the traditional man page format.<br />
<br />
==Colored man pages==<br />
For some users, color-enabled man pages allow for a clearer presentation and easier digestion of the content. Given that users new to Linux are prone to spend a considerable amount of time familiarizing themselves with basic userspace tools, setting up a comfortable environment is a necessity to most.<br />
<br />
There are two prevalent methods for achieving colored man pages: using {{Codeline|most}}, or opting for {{Codeline|less}}. The former is simpler to configure, at the expense of the advanced functionality that is native to {{Codeline|less}}.<br />
<br />
===First method: using 'most'===<br />
Install {{package Official|most}} using [[pacman]]:<br />
# pacman -S most<br />
This is similar to {{Codeline|less}} and {{Codeline|more}}, yet allows rendering colored text in an easier way.<br />
<br />
Edit {{Filename|/etc/man_db.conf}}, uncomment the pager definition and change it to:<br />
DEFINE pager most -s<br />
Test the new setup by typing:<br />
$ man whatever_man_page<br />
<br />
Modifying the color values requires editing {{Filename|~/.mostrc}} (creating the file if it is not present) or editing {{Filename|/etc/most.conf}} for system-wide changes. Example {{Filename|~/.mostrc}}:<br />
% Color settings<br />
color normal lightgray black<br />
color status yellow blue<br />
color underline yellow black<br />
color overstrike brightblue black<br />
Another example showing keybindings similar to {{Codeline|less}} (jump to line is set to 'J'):<br />
% less-like keybindings<br />
unsetkey "^K"<br />
unsetkey "g"<br />
unsetkey "G"<br />
unsetkey ":"<br />
<br />
setkey next_file ":n"<br />
setkey find_file ":e"<br />
setkey next_file ":p"<br />
setkey toggle_options ":o"<br />
setkey toggle_case ":c"<br />
setkey delete_file ":d"<br />
setkey exit ":q"<br />
<br />
setkey bob "g"<br />
setkey eob "G"<br />
setkey down "e"<br />
setkey down "E"<br />
setkey down "j"<br />
setkey down "^N"<br />
setkey up "y"<br />
setkey up "^Y"<br />
setkey up "k"<br />
setkey up "^P"<br />
setkey up "^K"<br />
setkey page_down "f"<br />
setkey page_down "^F"<br />
setkey page_up "b"<br />
setkey page_up "^B"<br />
setkey other_window "z"<br />
setkey other_window "w"<br />
setkey search_backward "?"<br />
setkey bob "p"<br />
setkey goto_mark "'"<br />
setkey find_file "E"<br />
setkey edit "v"<br />
<br />
===Second method: using 'less'===<br />
:<small>''Source: [http://nion.modprobe.de/blog/archives/572-less-colors-for-man-pages.html nion's blog - less colors for man pages]''</small><br />
<br />
Alternatively, getting an approximate coloured result in manual pages with {{Codeline|less}} is also a possibility. This method has the advantage that {{Codeline|less}} has a bigger feature set than {{Codeline|most}}, and that might be the preference for advanced users.<br />
<br />
Add the following to a shell configuration file. For [[Bash]] it would be {{Filename|~/.bashrc}}:<br />
<pre><br />
export LESS_TERMCAP_mb=$(printf "\e[1;37m")<br />
export LESS_TERMCAP_md=$(printf "\e[1;37m")<br />
export LESS_TERMCAP_me=$(printf "\e[0m")<br />
export LESS_TERMCAP_se=$(printf "\e[0m")<br />
export LESS_TERMCAP_so=$(printf "\e[1;47;30m")<br />
export LESS_TERMCAP_ue=$(printf "\e[0m")<br />
export LESS_TERMCAP_us=$(printf "\e[0;36m")<br />
</pre><br />
<br />
To customize the colors, see [[Wikipedia:ANSI escape code]] for reference.<br />
<br />
==Reading man pages with a browser==<br />
Instead of the standard interface, using browsers such as [[elinks]] and [[Firefox]] to view man pages effectively enables info pages' main benefit; hyperlinked text.<br />
<br />
First, install {{package AUR|man2html}} using [[yaourt]] or another [[AUR helper]]:<br />
$ yaourt -S man2html<br />
<br />
Now, convert a man page:<br />
$ man bash | man2html -compress -cgiurl man$section/$title.$section$subsection.html > ~/man/bash.html<br />
<br />
Another use for {{codeline|man2html}} is exporting to raw, printer-friendly text:<br />
$ man bash | man2html -bare > ~/bash.txt</div>Knaphttps://wiki.archlinux.org/index.php?title=Laptop&diff=73108Laptop2009-08-01T10:57:18Z<p>Knap: </p>
<hr />
<div>[[Category:HOWTOs (English)]]<br />
[[Category:Laptops (English)]]<br />
<br />
= Setting Up For Laptops =<br />
This page should contain links to pages needed for configuring a laptop for the best experience. Setting up a laptop is in many ways the same as setting up a desktop. However, there are a few key differences. When setting up a laptop with Arch Linux, the following points should be taken into consideration:<br />
<br />
* Power consumption (how do I make the battery last the longest per charge?). Which leads to power management:<br />
* Hard drive spindown. After how many minutes of inactivity should the hard drive be spun down?<br />
* Screen shut off. After how many minutes of inactivity should the screen be shut off? (Not just blanked with a screensaver but completely shut off).<br />
* CPU frequency scaling. How should the CPU's frequency change depending on load to minimize power usage?<br />
* Suspend and hibernate. How do I get suspend and hibernate to work with my laptop?<br />
* Screen brightness. How do I manage screen brightness?<br />
<br />
* Network and wireless. How do I get my wireless working?<br />
* Media buttons. How do I configure the function of those buttons on my laptop?<br />
* Touchpad. How do I configure the sensativity, acceleration, button function and scroll borders for my Synaptics or Alps touchpad?<br />
<br />
All of these points are important to take into consideration when getting a laptop set up the way you like. Fortunately, Arch Linux provides all the tools and programs necessary to take complete control of your laptop. These programs and utilities are highlighted below, with appropriate tips tutorials.<br />
<br />
<br />
Note: the following links may be useful:<br />
<br />
* [http://www.linux-on-laptops.com/ http://www.linux-on-laptops.com/]<br />
* [http://www.linlap.com/ http://www.linlap.com/]<br />
<br />
= Power Management =<br />
Power management is very important for anyone who wishes to make good use of their battery capacity. The following tools and programs help to increase battery life and keep your laptop cool and quiet.<br />
<br />
== Cpufrequtils ==<br />
<br />
[[Cpufrequtils]] provides CPU Frequency Scaling, a technology used primarily by notebooks which enables the OS to scale the CPU speed up or down, depending on the current system load and/or power scheme. For quick and easy installation and setup, please view the [[CPU Frequency Scaling]] article.<br />
<br />
== Pm-utils ==<br />
[[Pm-utils]] provides a suspend and powerstate setting framework. Pm-utils should be used with cpufrequtils to provide a complete power management solution.<br />
<br />
== Lapsus ==<br />
[[Asus_G1#The_Lapsus_daemon_.26_KDE_applet|Lapsus]] is a set of programs providing easy access to many features of various laptops. It currently supports most features provided by asus-laptop kernel module from ACPI4Asus project, such as additional LEDs, hotkeys, backlight control etc. It also has support for some IBM laptops features provided by IBM ThinkPad ACPI Extras Driver and NVRAM device.<br />
<br />
== Install powertop ==<br />
This handy util from Intel will tell you what hardware/processes are using the most power on your system, and provides instructions on how to stop/remove power-wasting services. Works great for mobile Intel CPUs; provides the current CPU state and suggestions for power saving. Also works on AMD systems, but does not provide as much information about the CPU state. Install with:<br />
<br />
# pacman -S powertop<br />
<br />
== Laptop mode tools ==<br />
Install laptop-mode-tools with:<br />
<br />
# pacman -S laptop-mode-tools<br />
<br />
* The configuration file can be found in /etc/laptop-mode/laptop-mode.conf.<br />
* Be sure to add ''laptop-mode'' to the DAEMONS line in /etc/rc.conf<br />
<br />
See [http://bbs.archlinux.org/viewtopic.php?id=39258 this thread] for more information.<br />
<br />
== Suggestions for saving power ==<br />
=== Disk-related tweaks ===<br />
Disable file access time: every time you access (read) a file the filesystem writes an access time to the file metadata. You can disable this on individual files by using the chattr command, or you can enable it on an entire disk by setting the ''noatime'' option in your fstab, as follows:<br />
<br />
/dev/sda1 / ext3 defaults,noatime 1 2<br />
<br />
[http://www.faqs.org/docs/securing/chap6sec73.html Source]<br />
<br />
<br />
To allow the CD/DVD rom to spin down after a while, run the following: <br />
<br />
/usr/bin/hal-disable-polling --device /dev/scd0<br />
<br />
=== Other tweaks ===<br />
These are some generic suggestions that will work with most laptops.<br />
<br />
Add the following to ''/etc/modprobe.conf'':<br />
<br />
options usbcore autosuspend=1<br />
<br />
<br />
Add the following to ''/etc/sysctl.conf''<br />
<br />
vm.dirty_writeback_centisecs=1500<br />
vm.laptop_mode=5<br />
<br />
<br />
Add the following to ''/etc/rc.local'' (and make sure it gets executed at boot time)<br />
<br />
/usr/sbin/iwpriv your_wireless_interface set_power 5<br />
<br />
Source: [http://www.nervous.it/2007/11/linux-dell-xps-m1330/ here]<br />
<br />
=== Hard drive spin down problem ===<br />
Documented [https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/59695 here]<br />
<br />
To prevent your laptop hard drive from spinning down too often (result of too aggressive APM defaults) do the following:<br />
<br />
Add the following to ''/etc/rc.local''<br />
<br />
hdparm -B 255 /dev/sdX ''where X is your hard drive device''<br />
<br />
<br />
<br />
Add the following to ''/etc/pm/sleep.d/50-hdparm_pm''<br />
<br />
#!/bin/sh<br />
<br />
if [ -n "$1" ] && ([ "$1" = "resume" ] || [ "$1" = "thaw" ]); then<br />
hdparm -B 255 /dev/your-hard-drive > /dev/null<br />
fi<br />
<br />
and run "chmod +x /etc/pm/sleep.d/50-hdparm_pm" to make sure it resets after suspend.<br />
<br />
Now APM should be turned off for your hard drive.<br />
<br />
For some laptops, the option -S to hdparm can also be relevant (sets the spindown time for the drive). Note that all these options can also be configured using the laptop-mode tool.<br />
<br />
<br />
=== Tweaking the scheduler ===<br />
For multicore and hyperthreading-enabled processors you may use sched_mc_power_savings and sched_smt_power_savings options respectively to make the scheduler keep idle as many cores as possible. To enable these options you can do<br />
echo 1 > /sys/devices/system/cpu/sched_mc_power_savings<br />
or<br />
echo 1 > /sys/devices/system/cpu/sched_smt_power_savings<br />
Echoing 0 will disable them. Also laptop-mode can be used to control shed_mc_power_savings (see the appropriate config file in /etc/laptop-mode/conf.d).<br />
<br />
= Touchpad =<br />
To get your touchpad working properly, see the [[Touchpad Synaptics]] page. Note that your laptop may have an ALPS touchpad (such as the DELL Inspiron 6000), and not a Synaptics touchpad. In either case, see the link above.<br />
<br />
= Special Buttons =<br />
To configure any special keys or buttons on your laptop, please refer to the following article: [http://www.linux.com/feature/118179 Customize your laptop keyboard with X and KDE]. Note that KDE is not required.<br />
<br />
= HDAPS =<br />
To protect your hard drive from shocks, consider installing some form of [[HDAPS|Hard Disk Active Protection System]].</div>Knaphttps://wiki.archlinux.org/index.php?title=Talk:Java&diff=47935Talk:Java2008-08-20T22:03:50Z<p>Knap: New page: Looking for someone with some more experience to update the page with icedtea6 instructions.</p>
<hr />
<div>Looking for someone with some more experience to update the page with icedtea6 instructions.</div>Knaphttps://wiki.archlinux.org/index.php?title=Java&diff=47934Java2008-08-20T22:01:57Z<p>Knap: Initial edit of Java page</p>
<hr />
<div>[[Category:HOWTOs (English)]]<br />
<br />
== Introduction ==<br />
<br />
From [http://en.wikipedia.org/wiki/Java_(programming_language) Wikipedia]<br />
<br />
Java is a programming language originally developed by Sun Microsystems and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities. Java applications are typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless of computer architecture.<br />
<br />
== Installation instructions ==<br />
<br />
To be able to run Java programs you can install JRE<br />
<br />
pacman -S jre<br />
<br />
To create Java programs you can install Sun's own JDK<br />
<br />
pacman -S jdk</div>Knaphttps://wiki.archlinux.org/index.php?title=Dell_XPS_M1330_/_M1530&diff=42107Dell XPS M1330 / M15302008-05-28T09:10:40Z<p>Knap: </p>
<hr />
<div>[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{stub}}<br />
<br />
== Summary ==<br />
<br />
Dell XPS M1330 works quite well out of the box with Arch. I have to report only two small problems : <br />
*sound is not working for some people with Alsa 1.0.16 and kernel 2.6.24.4<br />
*suspend with pm-suspend having acpi-cpufreq running causes CPU1 to stop<br />
<br />
== Extra media keys ==<br />
<br />
They are recognized by default with evdev so you can directly bind them.<br />
<br />
If you use Gnome, go in System->Preferences->Keyboard Shortcuts. <br />
<br />
The remote control should work fine too.<br />
<br />
== Sound ==<br />
<br />
For some users, sound doesn't appear to work with Alsa 1.0.16 and kernel 2.6.24.4. You can do an ugly fix by recompiling alsa-drivers : first download [ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.16.tar.bz2 alsa-driver] (for alsa 1.0.16 <b>ONLY</b>), extract them and in alsa-driver folder do :<br />
./configure --with-cards=hda-intel --with-card-options=hda-codec-sigmatel<br />
make<br />
sudo make install-modules<br />
Reboot and your sound should working !<br />
See related [http://bbs.archlinux.org/viewtopic.php?id=43755 post] in Archlinux forum.<br><br />
This has been reported as a [http://bugs.archlinux.org/task/10009 bug].<br />
<br />
<br />
== Touchpad Synaptics ==<br />
<br />
To configure the touchpad, you can refer to: [[Touchpad Synaptics]] Page.<br />
<br />
== Fingerprint reader ==<br />
<br />
As of today, the device manufacturer is SGS Thomson Microelectronics (you can check with a "lsusb"). Install it using [[ThinkFinger]].<br />
<br />
== Network ==<br />
<br />
=== Ethernet Setup ===<br />
<br />
the ethernet card is recognized by the kernel, simply load the network module to use it, or use a connection manager (see [[Wireless Setup]] for a list of programs)<br />
<br />
=== Wireless Setup ===<br />
<br />
According to [[Wireless_Setup|Arch Wireless Setup]], the correct wireless driver to install is iwlwifi-4965-ucode<br />
<br />
=== Bluetooth ===<br />
<br />
Install bluez-utils & bluez-libs from extra repository:<br />
<br />
pacman -S bluez-utils bluez-libs<br />
<br />
Edit /etc/conf.d/bluetooth:<br />
DAEMON_ENABLE="true"<br />
HIDD_ENABLE="true"<br />
<br />
Restart bluetooth service:<br />
/etc/rc.d/bluetooth restart<br />
<br />
A list of utilities for bluetooth managing is present in AUR database<br />
<br />
== nVidia Graphics ==<br />
For those of you with the nVidia 8400GM chipset, using the nvidia driver package works fine.<br />
<br />
=== Compiz Fusion ===<br />
Works just great with the nVidia chipset. You might like to tweak the nVidia Powermizer for maximum battery life. I have forced my graphics chipset to the lowest performance level and Compiz-Fusion runs satisfactorily with a little slowdown here and there. [[NVIDIA#Force Powermizer performance level (for laptops)| See this part of the Arch nVidia wiki]] for more details on how to set this up.<br />
<br />
To have better performance with nVidia drivers, you should use "loose binding" in Compiz Fusion (bug with Geforce 8 series). If you use Fusion Icon, just right click it, then "Compiz Options"->"Loose Binding".<br />
<br />
== Suspend ==<br />
<br />
With acpi-freq running, you might notice that CPU1 is deactivated after using pm-suspend. To fix this you have to unload acpi-freq module. Unfortunately you have to recompile your kernel to authorize module unloading.<br />
See this [http://bbs.archlinux.org/viewtopic.php?id=44500 forum topic] and this [http://bugs.archlinux.org/task/9955 "bug"].<br />
<br />
== Hard Drive ==<br />
<br />
If your hard drive clicks regurlarly, you may suffer from this [http://bbs.archlinux.org/viewtopic.php?id=39258 problem]. To fix it, add those lines to your /etc/rc.local :<br />
<br />
hdparm -B 254 /dev/sdX >> /dev/null<br />
<br />
or :<br />
<br />
hdparm -B 224 /dev/sdX >> /dev/null<br />
<br />
(replace X in "sdX" by the letter of your drive, e.g : sda)<br />
<br />
<br />
== SD Card Reader ==<br />
The device is recognized by the kernel.The Adapter module is: sdhci<br />
<br />
== External Resources ==<br />
<br />
[http://intr.overt.org/blog/?page_id=56 This page] describes all of the various driver modules required to make the hardware in the XPS M1330 work.<br><br />
French speaking people can also refer to [http://www.atlas95.com/blog/category/dell/xps-1330/ this page].</div>Knap