# cryptsetup luksOpen /dev/sdx2 slackluks
# vgscan --mknodes
# vgchange -ay
# lvscan
# mount /dev/foo /foo
# mount -o bind /proc /mnt
# mount -o bind /dev /mnt
# mount -o bind /sys /mnt
# mount -o bind /boot /mnt
(mount /boot if on a different HDD if messing with kernel issues etc...)
# mount /dev/foo /mnt
# chroot /mnt /bin/bash
Monday, July 25, 2011
Tuesday, February 22, 2011
Spotify
Installation
Download the windows installer off the spotify website
cd to your download directory
% WINEPREFIX=/foo/spotify wine /foo/Spotify\ Installer.exe
% emacs ~/spotify.sh
-----------------v---CUT---v------------------------
!/bin/sh
wine /foo/spotify/.wine/drive_c/Program\ Files/Spotify/spotify.exe
-----------------^---CUT---^------------------------
% chmod +x spotify.sh
We now want to make sure local mp3 files will play:
% su
# wget http://blog.mrfjo.org/winemp3.acm.so -O /usr/lib/wine/winemp3.acm.so
This will grab an MP3 decoder that actually works and overwrite the other one. If you do not want it to overwrite, then first rename the file:
# mv /usr/lib/wine/winemp3.acm.so /usr/lib/wine/winemp3.acm.so.old
# exit
to start spotify you have two options, command line:
% ./spotify.sh &
or you can do what I did and create a quicklaunch and place it in your dock or wherever you want it. I will not go over this since every WM is different. Consult your WM on how to do this. (KDE, XFCE, FLUXBOX...)
Download the windows installer off the spotify website
cd to your download directory
% WINEPREFIX=/foo/spotify wine /foo/Spotify\ Installer.exe
% emacs ~/spotify.sh
-----------------v---CUT---v------------------------
!/bin/sh
wine /foo/spotify/.wine/drive_c/Program\ Files/Spotify/spotify.exe
-----------------^---CUT---^------------------------
% chmod +x spotify.sh
We now want to make sure local mp3 files will play:
% su
# wget http://blog.mrfjo.org/winemp3.acm.so -O /usr/lib/wine/winemp3.acm.so
This will grab an MP3 decoder that actually works and overwrite the other one. If you do not want it to overwrite, then first rename the file:
# mv /usr/lib/wine/winemp3.acm.so /usr/lib/wine/winemp3.acm.so.old
# exit
to start spotify you have two options, command line:
% ./spotify.sh &
or you can do what I did and create a quicklaunch and place it in your dock or wherever you want it. I will not go over this since every WM is different. Consult your WM on how to do this. (KDE, XFCE, FLUXBOX...)
Tuesday, January 25, 2011
Blackberry
I use a program called Barry, it has a lot of dependencies, but it works.
After compiling/installing Barry, to get it working, (the udev rules never worked for me)
Log in as root: lsusb
chmod a+rwx /dev/bus/usb//
Now Barry and all its tools will work
*** NOTE ***
you can only use one tool at a time or you will get a connection error
After compiling/installing Barry, to get it working, (the udev rules never worked for me)
Log in as root: lsusb
chmod a+rwx /dev/bus/usb/
Now Barry and all its tools will work
*** NOTE ***
you can only use one tool at a time or you will get a connection error
Subscribe to:
Posts (Atom)