Arch

Pacman tips

Find orphan packages:
pacman -Qdt

Remove them with:
pacman -Rns $(pacman -Qdtq)

Find explicit installed packages:
pacman -Qh

Find AUR packages:
pacman -Qm

By WladyX on 16 March, 2010 | Arch | A comment?

Huawei on Linux

Ubuntu 9.10:

/etc/udev/rules.d/62-option-modem-modeswitch.rules:
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="141b,RUN+="modem-modeswitch-v 0x%s{idVendor} -p 0x%s{idProduct} -t option-zerocd"

sudo /etc/init.d/udev restart

source

Arch:

Install usb_modeswitch from AUR and create:

/etc/usb_modeswitch.conf.e1550
/etc/udev/rules.d/55-e1550.rules
/usr/share/hal/fdi/preprobe/20thirdparty/10-huawei-e1550.fdi

source1
source2

By WladyX on 15 March, 2010 | Arch, General, Mobile, Scripts, Ubuntu | A comment?

Archive mounter

/usr/share/applications/mount-archive.desktop:

[Desktop Entry]
Encoding=UTF-8
Name=Archive Mounter
Icon=gtk-cdrom
Exec=/usr/lib/gvfs/gvfsd-archive file=%u
MimeType=application/x-cd-image;application/x-bzip-compressed-tar;application/x-compressed-tar;application/x-tar;application/x-cpio;application/zip;
Terminal=false
StartupNotify=false
Type=Application
NoDisplay=true

Source

By WladyX on 22 January, 2010 | Arch, General | A comment?

Firebrand

By WladyX on 9 December, 2009 | Arch, Firefox, General, Scripts, X11 | A comment?

Arch ABS

# abs

$ cp -r /var/abs/extra/slim/ ~/abs
$ cd ~/abs/slim
$ nano PKGBUILD
$ makepkg -s
# pacman -U slim-1.3.0-2-i686.pkg.tar.gz

http://wiki.archlinux.org/index.php/ABS_-_The_Arch_Build_System

Change the Gnome Foot Icon to an Arch Icon

By WladyX on 27 October, 2009 | Arch, General, X11 | A comment?

Yaourt on Arch Linux

Search and install
yaourt [keywords]: quick search + install
yaourt -S [packages] : install package, Compile it from AUR if needed
yaourt -Ss
[keywords] : search on repos and on AUR (with notice for already installed packages)
yaourt -Sb [packages] : install a packages by compilation from sources (abs)
yaourt -Sl [repos] : prompt for packages of the selected repos (emphasize those already installed)
yaourt -Qs [keywords] : colorized ouput of installed packages and the repos where they come from
yaourt -Qo
[progname] or [filename] : shows the package which provides the program or the file

Updgrade:
yaourt -Syu : complete update and upgrade of the system (onlys from repos)
yaourt -Syu –aur : complete update and upgrade, even for packages coming from AUR
yaourt -Sybu –aur : complete update and upgrade by compilation of all packages (repos and AUR)
yaourt -Su –devel : update and upgrade of cvs/svn/mercurial/git packages

Cleaning:
yaourt -C : editing and merging of .pacnew/.pacsave
yaourt -Cc : removal of all .pacnew/.pacsave
yaourt -Qt : search for orphaned packages
yaourt -Cd : search for obsolete repos

Other options:
–export [directory] : exports compiled packages for gensync
yaourt -S –aur [packages] : forces compilation from AUR for a packages which is also in repos
yaourt -G [packages] : retrive PKGBUILD and local sources in current directory.
yaourt -B : backup the pacman database

Tux Training » Blog Archive » How to install and use Yaourt in Arch Linux

By WladyX on 22 April, 2009 | Arch | A comment?

Changing GDM/root cursor

Create a /usr/share/icons/default/index.theme.

It should contain something like:

[icon theme]
Inherits=justblue

Arch Linux Forums / Xcursor for GDM… possible?

By WladyX on 2 December, 2008 | Arch, General, X11 | A comment?