https://wiki.archlinux.org/api.php?action=feedcontributions&user=Hash&feedformat=atomArchWiki - User contributions [en]2024-03-28T08:13:14ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=The_Arch_Way_(Polski)&diff=108471The Arch Way (Polski)2010-06-10T18:48:44Z<p>Hash: </p>
<hr />
<div>[[Category:Polski]]<br />
[[Category:General (Polski)]]<br />
{{i18n|The Arch Way}}<br />
<br />
== Zasady ==<br />
<br />
Podczas przeglądania forum oraz różnych grup dyskusyjnych można dojść do wniosku, że główną drogą rozwoju Archa są zasady polegające na utrzymywaniu prostoty systemu, zachowanie jego uniksopodobnej struktury , wolności wyboru, ciągłego uczenia się oraz możliwości całkowitej kontroli nad systemem przez użytkownika.<br />
W skrócie elegancja i minimalizm.<br />
<br />
* Prostota i lekkość;<br />
* Dystrybucja kierowana jest do bardziej doświadczonych użytkowników;<br />
* Arch jest wydawany jako system gotowy do uruchomienia, jednak nie można liczyć na fajerwerki; <br />
* Dzięki przeznaczeniu serwerowemu, autorzy nie starają się wrzucić do niego mnóstwa zbędnych pakietów;<br />
* Użytkownik decydujący się na korzystanie z Archa jest zobowiązany do własnoręcznego dostosowania systemu do swoich potrzeb;<br />
* W Archu nie było, nie ma i nie będzie automatycznych konfiguratorów. Autorzy dopuszczają użytkowanie i załączanie GUI tylko wtedy, gdy nie łamie ono wyżej wymienionych zasad;<br />
* Jeśli szukasz w pełni zautomatyzowanego systemu, który ma działać bez twojej pomocy, to radzimy zmienić dystrybucję;<br />
* Nie musisz mieć specjalnego zaproszenia by rozwijać Archa. Wystarczy, że usiądziesz i spróbujesz coś zrobić dla dobra społeczności.<br />
<br />
== Filozofia ==<br />
Wartości, którymi podąża rozwój dystrybucji Arch:<br />
<br />
* Zasada KISS (ang. Keep It Simple, Stupid) jest podstawą rozwoju Archa;<br />
* W Archu pojęcie "prosty" oznacza coś innego, niż w innych dystrybucjach. Nauczenie się czegoś jest ważniejsze, niż osiągnięcie celu bez prawie żadnych własnych wysiłków;<br />
* Poleganie na graficznych interfejsach użytkownika do zbudowania/administrowania systemem prowadzi na dłuższą metę do skrzywdzenia użytkownika. W pewnym momencie będzie on przecież potrzebować funkcjonalności, którą GUI przed nim ukrywa;<br />
* Jeśli próbujesz ukryć złożoność systemu, otrzymasz jeszcze bardziej złożony system. Zamiast tego, spróbuj uczynić system przejrzystym i logicznym od samego środka;<br />
* Prędzej czy później będziesz musiał znaleźć jakieś informacje w sieci. Nauczenie się, jak i gdzie ich szukać to jedna z pierwszych rzeczy, jakie powinien opanować początkujący użytkownik Arch Linuksa;<br />
* Podczas, gdy wielu ludzi porównuje ze sobą rozmaite dystrybucje, Arch pozwala użytkownikom aktywnie włączać się w jej pełen rozwój tak długo, dopóki nie naruszają oni filozofii systemu;<br />
* Ostatecznym celem nie jest żądanie od Arch Linuksa opracowywania coraz nowszych narzędzi i dokumentacji, lecz próba zrozumienia filozofii systemu... oraz w jaki sposób różni się on od innych dystrybucji;<br />
* Najlepszą rzeczą, jeśli chodzi o wspieranie rozwoju dystrybucji jest fakt, że nie potrzebujesz niczyjej zgody, aby włączyć się w ten proces. Nikt nie może fizycznie powstrzymać Cię od stworzenia czegoś, co uznajesz za użyteczne, nawet jeśli nie zbawia to tysiąca innych ludzi. Umieść swoje dzieło na forum "Community Contributions" - jeśli użytkownikom się spodoba, otrzymasz wsparcie. Jeśli nie, to nadal nic straconego. Poświęciłeś 20 minut na stworzenie tego i przy okazji zawsze czegoś się nauczyłeś. To również jest istotne;<br />
* System jest dokładnie tym, co sobie zbudujesz.</div>Hashhttps://wiki.archlinux.org/index.php?title=The_Arch_Way_(Polski)&diff=108470The Arch Way (Polski)2010-06-10T18:44:55Z<p>Hash: literowka</p>
<hr />
<div>[[Category:Polski]]<br />
[[Category:General (Polski)]]<br />
{{i18n|The Arch Way}}<br />
<br />
== Zasady ==<br />
<br />
Podczas przeglądania forum oraz różnych grup dyskusyjnych można dojść do wniosku, że główną drogą rozwoju Archa są zasady polegające na utrzymywaniu prostoty systemu, zachowanie jego uniksopodobnej struktury , wolności wyboru, ciągłego uczenia się oraz możliwości całkowitej kontroli nad systemem przez użytkownika.<br />
W skrócie elegancja i minimalizm.<br />
<br />
* Prostota i lekkość;<br />
* Dystrybucja kierowana jest do bardziej doświadczonych użytkowników;<br />
* Arch jest wypuszczany jako system gotowy do uruchomienia, jednak nie można liczyć na fajerwerki; <br />
* Dzięki przeznaczeniu serwerowemu, autorzy nie starają się wrzucić do niego mnóstwa zbędnych pakietów;<br />
* Użytkownik decydujący się na korzystanie z Archa jest zobowiązany do własnoręcznego dostosowania systemu do swoich potrzeb;<br />
* W Archu nie było, nie ma i nie będzie automatycznych konfiguratorów. Autorzy dopuszczają użytkowanie i załączanie GUI tylko wtedy, gdy nie łamie ono wyżej wymienionych zasad;<br />
* Jeśli szukasz w pełni zautomatyzowanego systemu, który ma działać bez twojej pomocy, to radzimy zmienić dystrybucję;<br />
* Nie musisz mieć specjalnego zaproszenia by rozwijać Archa. Wystarczy, że usiądziesz i spróbujesz coś zrobić dla dobra społeczności.<br />
<br />
== Filozofia ==<br />
Wartości, którymi podąża rozwój dystrybucji Arch:<br />
<br />
* Zasada KISS (ang. Keep It Simple, Stupid) jest podstawą rozwoju Archa;<br />
* W Archu pojęcie "prosty" oznacza coś innego, niż w innych dystrybucjach. Nauczenie się czegoś jest ważniejsze, niż osiągnięcie celu bez prawie żadnych własnych wysiłków;<br />
* Poleganie na graficznych interfejsach użytkownika do zbudowania/administrowania systemem prowadzi na dłuższą metę do skrzywdzenia użytkownika. W pewnym momencie będzie on przecież potrzebować funkcjonalności, którą GUI przed nim ukrywa;<br />
* Jeśli próbujesz ukryć złożoność systemu, otrzymasz jeszcze bardziej złożony system. Zamiast tego, spróbuj uczynić system przejrzystym i logicznym od samego środka;<br />
* Prędzej czy później będziesz musiał znaleźć jakieś informacje w sieci. Nauczenie się, jak i gdzie ich szukać to jedna z pierwszych rzeczy, jakie powinien opanować początkujący użytkownik Arch Linuksa;<br />
* Podczas, gdy wielu ludzi porównuje ze sobą rozmaite dystrybucje, Arch pozwala użytkownikom aktywnie włączać się w jej pełen rozwój tak długo, dopóki nie naruszają oni filozofii systemu;<br />
* Ostatecznym celem nie jest żądanie od Arch Linuksa opracowywania coraz nowszych narzędzi i dokumentacji, lecz próba zrozumienia filozofii systemu... oraz w jaki sposób różni się on od innych dystrybucji;<br />
* Najlepszą rzeczą, jeśli chodzi o wspieranie rozwoju dystrybucji jest fakt, że nie potrzebujesz niczyjej zgody, aby włączyć się w ten proces. Nikt nie może fizycznie powstrzymać Cię od stworzenia czegoś, co uznajesz za użyteczne, nawet jeśli nie zbawia to tysiąca innych ludzi. Umieść swoje dzieło na forum "Community Contributions" - jeśli użytkownikom się spodoba, otrzymasz wsparcie. Jeśli nie, to nadal nic straconego. Poświęciłeś 20 minut na stworzenie tego i przy okazji zawsze czegoś się nauczyłeś. To również jest istotne;<br />
* System jest dokładnie tym, co sobie zbudujesz.</div>Hashhttps://wiki.archlinux.org/index.php?title=Wine&diff=71343Wine2009-06-28T12:03:21Z<p>Hash: /* KDE 4 Menu Fix[https://bugs.launchpad.net/ubuntu/+source/wine/+bug/263041] */ Fixed symlink command</p>
<hr />
<div>[[Category:Wine (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{i18n_links_start}}<br />
{{i18n_entry|English|Wine}}<br />
{{i18n_entry|Español|Wine (Español)}}<br />
{{i18n_entry|Русский|Wine (Русский)}}<br />
{{i18n_entry|简体中文|Wine (简体中文)}}<br />
{{i18n_links_end}}<br />
<br />
= About =<br />
[http://www.winehq.org/ Wine] is a translation layer (a program loader) capable of running Windows applications on GNU/Linux and other POSIX compatible operating systems. Windows programs running in Wine act as native programs would, running without the performance or memory usage penalties of an emulator, with a similar look and feel to other applications on your desktop.<br />
<br />
= Installation =<br />
== i686 ==<br />
Wine is constantly updated and available in the [extra] repository:<br />
<br />
pacman -S wine<br />
<br />
== x86_64 ==<br />
There's as of writing no x86_64 version of wine available, but that should be the case soon because the devs already have a hello world running.<br />
If you don't bother stuffing your PC with i686 libraries and binarys, then use one of the bin32-wine packages in the [[AUR]]: [http://aur.archlinux.org/packages.php?ID=7915 bin32-wine] and [http://aur.archlinux.org/packages.php?ID=16531 bin32-wine-suse].<br />
<br />
'''Important:''' If you have a '''nvidia'''-graphicscard, you'll need to do<br />
<br />
pacman -S lib32-nvidia-utils<br />
<br />
to use 3D-allocation! Or look [http://aur.archlinux.org/packages.php?K=lib32-nvidia-utils here] for other than the newest lib32-nvidia-utils version, if you use the nvidia-96xx driver version for example.<br />
<br />
= Configuration =<br />
To create configuration files do<br />
winecfg<br />
review the settings and click ok to save. The wine directory with config files resides in <br />
~/.wine<br />
and by default C:\> will be mapped to<br />
~/.wine/drive_c<br />
<br />
Ok! This is the basic configuration. You can try to run something using:<br />
wine /path/to/something.exe<br />
<br />
If you're having trouble getting DirectX apps to run properly, try adding the '''-opengl''' flag:<br />
wine /path/to/3d_game.exe '''-opengl'''<br />
<br />
==Sound==<br />
'''''I don't think this still holds. update?'''''<br />
<br />
By default sound issues may arise when running Wine applications. Ensure only one sound device is selected in ''winecfg''. Alsa should work out of the box but is still glitchy & slow in some games, there exists a patch for this issue here:<br />
<br />
http://kcat.strangesoft.net/wine_thread_prio.diff<br />
<br />
but using oss and selecting winecfg -> Sound -> Hw acceleration -> Emulation will also fix the audio issues for you provided you are using the alsa oss emulation kernel modules. (<b>Note:</b> using the aoss utility does <i>not</i> solve the issue; you must load the snd-pcm-oss module.)<br />
<br />
==Fonts==<br />
<br />
*If wine applications are not showing easily readable fonts, you may not have Microsoft's Truetype fonts installed. Luckily arch has a package for that.<br />
pacman -Sy ttf-ms-fonts<br />
After running such program, kill all wine servers and run winecfg; fonts should be legible now.<br />
<br />
Other TTF fonts you wish to install should go in $C_DRIVE/windows/fonts/ (where $C_DRIVE is usually ~/.wine/drive_c) for wine to recognize them.<br />
<br />
If the fonts look somehow smeared, enter the .wine directory and create a file fontrender.txt with the content:<br />
[HKEY_CURRENT_USER\Software\Wine\X11 Driver]<br />
"ClientSideWithRender"="N"<br />
<br />
Add the key to your wine configuration by executing the following command:<br />
regedit fontrender.txt<br />
<br />
<br />
* '''How to enable font anti-aliasing in Wine ?'''<br />
<br />
create a file with a .reg (example: aa.reg) with the following content :<br />
<br />
REGEDIT4<br />
<br />
[HKEY_CURRENT_USER\Control Panel\Desktop]<br />
"FontSmoothing"="2"<br />
"FontSmoothingType"=dword:00000002<br />
"FontSmoothingGamma"=dword:00000578<br />
"FontSmoothingOrientation"=dword:00000001<br />
<br />
run <br />
regedit <br />
and choose <br />
File -> Import registry file... <br />
<br />
and select your .reg file. Anti-aliasing fonts will be after the conclusion of regedit, and run wine applications again.<br />
<br />
==Sub-Menu==<br />
<br />
After installation, there will likely be no menu in your Desktop Manager. After installing a program using Wine, it will create a menu with your installed programs in it automatically. If you wish to add on to the menu to create a Ubuntu-like Wine sub-menu, then follow these instructions:<br />
<br />
===Create Menu Entries===<br />
<br />
First, install a Windows program using Wine to create the base menu. After the base menu is created, you can start to add the menu entries. In GNOME, right-click on the desktop and select "''Create Launcher...''". The steps might be different for KDE/Xfce. Make three launchers using these settings:<br />
<br />
'''Type''': Application<br />
'''Name''': Configuration<br />
'''Command''': winecfg<br />
'''Comment''': Configure the general settings for Wine<br />
<br />
'''Type''': Application<br />
'''Name''': Uninstall Programs<br />
'''Command''': wine uninstaller<br />
'''Comment''': Uninstall Windows programs under Wine properly<br />
<br />
'''Type''': Application<br />
'''Name''': Browse C:\ Drive<br />
'''Command''': wine winebrowser c:\\<br />
'''Comment''': Browse the files in the virtual Wine C:\ drive<br />
<br />
Now that you have these three launchers on your desktop, it is time to put them into the menu. But, first you should change the launchers to dynamically change icons when a new icon set is installed. To do this, open the launchers that you just made in your favorite text editor. Change the following settings to these new values:<br />
<br />
<br />
''Configuration'' launcher:<br />
Icon[en_US]=wine-winecfg<br />
Icon=wine-winecfg<br />
''Uninstall Programs'' launcher:<br />
Icon[en_US]=wine-uninstaller<br />
Icon=wine-uninstaller<br />
''Browse C:\ Drive'' launcher:<br />
Icon[en_US]=wine-winefile<br />
Icon=wine-winefile<br />
<br />
If these settings produce a ugly/non-existent icon, it means that there are no icons for these launchers in the icon set that you have enabled. You should replace the icon setting with the explicit location of the icon that you want. Clicking the icon in the launcher's properties menu will have the same effect. A great icon set that supports these shortcuts is [http://www.gnome-look.org/content/show.php/GNOME-colors?content=82562 GNOME-colors].<br />
<br />
Now that you have the launchers fully configured, 'now' it is time to put them in the menu. Plop them into "''~/.local/share/applications/wine/''" using a terminal or file browser.<br />
<br />
Wait a second, they aren't in the menu yet! There is one last step. Copy the following text into a text file named "''wine-utilities.menu''".<br />
<br />
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"<br />
"http://www.freedesktop.org/standards/menu-spec/menu-1.0.dtd"><br />
<Menu><br />
<Name>Applications</Name><br />
<Menu><br />
<Name>wine-wine</Name><br />
<Directory>wine-wine.directory</Directory><br />
<Include><br />
<Filename>wine-Configuration.desktop</Filename><br />
</Include><br />
<Include><br />
<Filename>wine-Browse C:\ Drive.desktop</Filename><br />
</Include><br />
<Include><br />
<Filename>wine-Uninstall Programs.desktop</Filename><br />
</Include><br />
</Menu><br />
</Menu><br />
<br />
Now, just move the newly made file to the "''~/.config/menus/applications-merged/''" folder. Go check in the menu and there should be the minty fresh options waiting to be used!<br />
<br />
===KDE 4 Menu Fix[https://bugs.launchpad.net/ubuntu/+source/wine/+bug/263041]===<br />
The Wine menu items may appear in "Lost & Found" instead of the Wine menu for KDE 4. This is because kde-applications.menu is missing the MergeDir option.<br />
<br />
Edit '''/etc/xdg/menus/kde-applications.menu'''<br />
<br />
At the end of the file add <MergeDir>applications-merged</MergeDir> after <DefaultMergeDirs/>, it should look like this:<br />
<br />
<Include><br />
<And><br />
<Category>KDE</Category><br />
<Category>Core</Category><br />
</And><br />
</Include><br />
<DefaultMergeDirs/><br />
<MergeDir>applications-merged</MergeDir><br />
<MergeFile>applications-kmenuedit.menu</MergeFile><br />
</Menu><br />
Alternatively you can create a symlink to a folder that KDE does see:<br />
ln -s ~/.config/menus/applications-merged ~/.config/menus/kde-applications-merged<br />
This has the added bonus that an update to KDE won't change it, but is per user instead of system wide.<br />
<br />
= Using Wine to execute Win16 / Win32 binaries =<br />
<br />
You can execute binaries by calling '''wine''' manually<br />
<br />
wine programsname.exe<br />
<br />
It is also possible to tell the kernel to use '''wine''' as an interpreter for all Win16/Win32 binaries. First mount the binfmt_misc filesystem:<br />
<br />
mount -t binfmt_misc none /proc/sys/fs/binfmt_misc<br />
<br />
or add this line to your '''/etc/fstab'''<br />
<br />
none /proc/sys/fs/binfmt_misc binfmt_misc defaults 0 0<br />
<br />
Then tell the kernel how to interpret Win16 and Win32 binaries:<br />
<br />
echo ':DOSWin:M::MZ::/usr/bin/wine:' > /proc/sys/fs/binfmt_misc/register<br />
<br />
You can add this line to '''/etc/rc.local''' to make this setting permanent. In this case you may want to ignore stderr to avoid error messages when changing runlevels:<br />
<br />
{ echo ':DOSWin:M::MZ::/usr/bin/wine:' > /proc/sys/fs/binfmt_misc/register; } 2>/dev/null<br />
<br />
Now try this:<br />
<br />
chmod 755 exefile.exe<br />
./exefile.exe<br />
<br />
You can even remove the '''.exe''' extension, because the kernel doesn't identify the file by its extension.<br />
<br />
==Wine Configuration Utilities==<br />
These tools will assist in the installation of typical Windows components. In most cases they should be used as a last effort, as it may severely alter your wine configuration. <br />
<br />
<br />
===WineTricks===<br />
[http://wiki.winehq.org/winetricks Winetricks] is a quick (slightly dirty) script that will allow you to install base requirements needed to run some windows programs. Installable components include DirectX 9.x, msxml (office 2007 / IE requirement), visual runtimes and many more.<br />
<br />
To install simply:<br />
pacman -S winetricks<br />
<br />
You can now start winetricks (as a normal user!) with:<br />
winetricks<br />
<br />
<br />
===WineTools assistant=== <br />
(currently slightly outdated, but working)<br />
<br />
Winetools is a program (more of a script, in fact) that facilitates in the installation of some core components for wine in order to install other programs. Note this is not necessary for wine, but does help if you want to get Internet Explorer running.<br />
<br />
[http://www.von-thadden.de/Joachim/WineTools/ WineTools Site]<br />
<br />
Keep in mind, Microsoft says you must have a license for IE6 in order to install DCOM98 or Internet Explorer 6. If you've ever owned a copy of Windows, you should be all set. Although I'm sure no one will hunt you down if you don't have the license.<br />
<br />
Now grab the [http://aur.archlinux.org/packages.php?ID=8913 PKGBUILD] from the AUR: http://aur.archlinux.org/packages.php?ID=8913<br />
<br />
and build the package as you would any PKGBUILD (if you dont know how: [[ABS - The Arch Build System]])<br />
<br />
<br />
=== Sidenet Wine Configuration Utility ===<br />
<br />
[http://sidenet.ddo.jp/winetips/config.html wine-config]<br />
<br />
* Download the latest version<br />
* unpack it<br />
* READ THE README<br />
* execute<br />
./setup<br />
* Follow the instructions<br />
<br />
'''Keep in mind''': Like stated on the [http://sidenet.ddo.jp/winetips/config.html site], you're only allowed to install DCOM98 if you possess a valid License for Windows98.<br />
<br />
<br />
===Wine-doors===<br />
<br />
[http://www.wine-doors.org/ Wine-doors]<br />
<br />
Wine-doors is a WineTools replacement. It features a GNOME GUI and works like a package manager. Works fine in 64bit. You can [http://aur.archlinux.org/packages.php?ID=11823 find it in the AUR].<br />
<br />
= Alternatives to Win16 / Win32 binaries =<br />
* [[Cedega]] - Aimed at gamers<br />
* [[CVSCedega]] - CVS source version of cedega<br />
* [[Codeweavers]] - Codeweavers' Crossover Office; Aimed at Office Users<br />
<br />
= External Resources =<br />
* http://www.winehq.com/<br />
* Installing Internet Explorer 5, 5.5 and 6 with wine: [[Ies4linux]]</div>Hashhttps://wiki.archlinux.org/index.php?title=SynCE&diff=68513SynCE2009-05-10T14:41:32Z<p>Hash: few minor corrections</p>
<hr />
<div>=Introduction=<br />
This page is a howto for connecting your Windows Mobile device with Archlinux. Afterwards you can sync and install cabs just like you can do with activesync in windows.<br />
It uses the kde app synce-kde, but gnome and *box users can relax, the only qt-deps are qscintilla-2.3.2-2 and pyqt-4.4.4-2. And they are small.<br />
<br />
=Installation=<br />
<br />
1: install synce-odccm and synce-kde (both in repos)<br />
<br />
$ pacman -S synce-odccm synce-kde<br />
<br />
2: Install sync-engine from AUR<br />
If you have [[yaourt]] installed, this is done easily by <br />
$ yaourt -S sync-engine<br />
<br />
<br />
=Connecting to your phone=<br />
<br />
<br />
1: Start odccm. It requires root privileges, so:<br />
$ sudo odccm<br />
or, as root, just<br />
# odccm<br />
<br />
2: Start sync-engine. You can use "sync-engine -d" to have it running in the background as a daemon.<br />
<br />
3: Start synce-kpm<br />
<br />
4: Connect your WM phone.<br />
<br />
Now you can sync your phone, install cabs and so on. Have fun.Before syncing you will have to crete a partnership with your phone. Just as with active sync in Windows.<br />
<br />
<br />
=Troubleshooting=<br />
If your phone does not show in synce-kpm, make sure the activesync-setting in your phone is set to "activesync", and not "mass storage device"" or similar. (Settings->Connections->USB connection settings)<br />
<br />
=Other problems=<br />
There is only one problem I have experienced with this. Sometimes it will stop working, and you will get an error report on your phone saying device.exe had a problem and was teminated.<br />
To fix this, simply go to USB-connection setting, choose "mass storage device" and select Ok, and then select "active sync" and again ok.<br />
<br />
If the above did not work, you might have to quit/kill sync-engine and odccm, and restart them. Start odccm first. This seems to be necessary when sync-engine is stuck at " Authorization pending - waiting for password on device" You will get output if you start sync-engine without the -d option.<br />
<br />
I think this problem arises after the phone has suspended, but I'm not quite sure what really causes it.</div>Hash