apt-get install <packagename>
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package <packagename>
Easy way to generate a useful sources.list ( /etc/apt/sources.list ) :
http://debgen.simplylinux.ch/
Don't forget after making changes :
apt-get update
Tuesday, August 23, 2011
Sunday, August 14, 2011
Saturday, August 13, 2011
Download Songs With Foobnix
Foobnix is a lightweight Python-based music player and organizer described in an earlier post :
http://debian-bits-and-snips.blogspot.com/2010/11/foobnix-player.html .
You can grab a package from https://launchpad.net/%7Efoobnix-player/+archive/foobnix/+packages as I have done before, but some of these packages just don't work. And installing with gdebi did not pull in all the dependencies ( I also had to install python-dbus, gstreamer0.10-plugins-bad and gstreamer0.10-plugins-ugly ).
Just found out that there is a package at http://www.debian-multimedia.org/ ( unstable/Sid ).
Download foobnix_2.5.23-0.0_all.deb from : http://www.debian-multimedia.org/dists/unstable/main/binary-amd64/package/foobnix.php .
Control file of this package contains the following :
Package: foobnix
Version: 2.5.23-0.0
Architecture: all
Bugs: mailto:marillat@debian.org
Maintainer: Christian Marillat
Installed-Size: 3332
Depends: python (>= 2.6), python-support (>= 0.90.0), python-chardet, python-gtk2, python-mutagen, python-simplejson, gstreamer0.10-plugins-ugly, gstreamer0.10-ffmpeg, python-gst0.10, python-dbus, python-keybinder, python-notify, gstreamer0.10-plugins-bad
Recommends: ffmpeg, python-setuptools, fuseiso
Section: sound
Priority: extra
Homepage: http://www.foobnix.com
Description: Simple and powerful music player for Linux.
All the best features in one player. Written in Python, Foobnix is a small,
fast, customizable, powerful music player with a user-friendly interface.
I used gdebi to install foobnix with all its dependencies.
Searching for songs in the search bar popped up the following window :
Pressing the Open button brought me to a loginpage at Vkontakte.....( http://en.wikipedia.org/wiki/Vkontakte ).
Not knowing what to do I went to Preferences > Last FM + VK and pressed the Authorization button : the same window as above came up....
After finding this page : http://www.foobnix.com/blog/1176070?lang=en it appears that we need more packages installed :
apt-get install python-jswebkit
will pull in : python-webkit, libwebkit-1.0-2 and libwebkit-1.0-common.
Now the following window appears when searching for songs :
Just press Get Default Login Password and then hit the blue button :
I download the songs to a folder Music in my home directory.
In the left pane in foobnix : Add Folder(s) in tree ( in my case ~/Music ).
Downloaded songs appear in left pane after updating ( rightclick in left pane > Update ) or go to Preferences > Music Library > check Update library on start .
You can download songs as well at Legalsounds for $0.09 per mp3.
http://debian-bits-and-snips.blogspot.com/2010/11/foobnix-player.html .
You can grab a package from https://launchpad.net/%7Efoobnix-player/+archive/foobnix/+packages as I have done before, but some of these packages just don't work. And installing with gdebi did not pull in all the dependencies ( I also had to install python-dbus, gstreamer0.10-plugins-bad and gstreamer0.10-plugins-ugly ).
Just found out that there is a package at http://www.debian-multimedia.org/ ( unstable/Sid ).
Download foobnix_2.5.23-0.0_all.deb from : http://www.debian-multimedia.org/dists/unstable/main/binary-amd64/package/foobnix.php .
Control file of this package contains the following :
Package: foobnix
Version: 2.5.23-0.0
Architecture: all
Bugs: mailto:marillat@debian.org
Maintainer: Christian Marillat
Installed-Size: 3332
Depends: python (>= 2.6), python-support (>= 0.90.0), python-chardet, python-gtk2, python-mutagen, python-simplejson, gstreamer0.10-plugins-ugly, gstreamer0.10-ffmpeg, python-gst0.10, python-dbus, python-keybinder, python-notify, gstreamer0.10-plugins-bad
Recommends: ffmpeg, python-setuptools, fuseiso
Section: sound
Priority: extra
Homepage: http://www.foobnix.com
Description: Simple and powerful music player for Linux.
All the best features in one player. Written in Python, Foobnix is a small,
fast, customizable, powerful music player with a user-friendly interface.
I used gdebi to install foobnix with all its dependencies.
Searching for songs in the search bar popped up the following window :
Pressing the Open button brought me to a loginpage at Vkontakte.....( http://en.wikipedia.org/wiki/Vkontakte ).
Not knowing what to do I went to Preferences > Last FM + VK and pressed the Authorization button : the same window as above came up....
After finding this page : http://www.foobnix.com/blog/1176070?lang=en it appears that we need more packages installed :
apt-get install python-jswebkit
will pull in : python-webkit, libwebkit-1.0-2 and libwebkit-1.0-common.
Now the following window appears when searching for songs :
Just press Get Default Login Password and then hit the blue button :
I download the songs to a folder Music in my home directory.
In the left pane in foobnix : Add Folder(s) in tree ( in my case ~/Music ).
Downloaded songs appear in left pane after updating ( rightclick in left pane > Update ) or go to Preferences > Music Library > check Update library on start .
You can download songs as well at Legalsounds for $0.09 per mp3.
Wednesday, August 10, 2011
Upgrade Libcairo2 For Better Fonts
Squeeze has libcairo2 version 1.8.10-6 : http://packages.debian.org/squeeze/libcairo2 .
For better fonts you need libcairo2 from backports.
Add these two lines to your sources.list :
deb http://backports.debian.org/debian-backports squeeze-backports main
deb http://mozilla.debian.net/ squeeze-backports iceweasel-release
Follow the instructions at http://mozilla.debian.net/ for adding the archive key to your apt keyring.
Then :
apt-get update
apt-get install -t squeeze-backports libcairo2
Libcairo2 will be upgraded to version 1.10.2-6~bpo60+1 .
apt-cache policy libcairo2
libcairo2:
Installed: 1.10.2-6~bpo60+1
Candidate: 1.10.2-6~bpo60+1
Version table:
*** 1.10.2-6~bpo60+1 0
500 http://mozilla.debian.net/ squeeze-backports/iceweasel-release amd64 Packages
100 /var/lib/dpkg/status
1.8.10-6 0
990 http://mirrors.nl.kernel.org/debian/ squeeze/main amd64 Packages
Add these lines to your .fonts.conf :
<!-- lcdnone, lcddefault, lcdlight, lcdlegacy -->
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
You can also download libcairo version 1.10.2-6~bpo60+1 from here : http://mozilla.debian.net/pool/iceweasel-release/c/cairo/
Just install it with :
dpkg -i <packagename>
See also a former post : http://debian-bits-and-snips.blogspot.com/2011/03/run-iceweasel-4-on-squeeze.html .
For better fonts you need libcairo2 from backports.
Add these two lines to your sources.list :
deb http://backports.debian.org/debian-backports squeeze-backports main
deb http://mozilla.debian.net/ squeeze-backports iceweasel-release
Follow the instructions at http://mozilla.debian.net/ for adding the archive key to your apt keyring.
Then :
apt-get update
apt-get install -t squeeze-backports libcairo2
Libcairo2 will be upgraded to version 1.10.2-6~bpo60+1 .
apt-cache policy libcairo2
libcairo2:
Installed: 1.10.2-6~bpo60+1
Candidate: 1.10.2-6~bpo60+1
Version table:
*** 1.10.2-6~bpo60+1 0
500 http://mozilla.debian.net/ squeeze-backports/iceweasel-release amd64 Packages
100 /var/lib/dpkg/status
1.8.10-6 0
990 http://mirrors.nl.kernel.org/debian/ squeeze/main amd64 Packages
Add these lines to your .fonts.conf :
<!-- lcdnone, lcddefault, lcdlight, lcdlegacy -->
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
You can also download libcairo version 1.10.2-6~bpo60+1 from here : http://mozilla.debian.net/pool/iceweasel-release/c/cairo/
Just install it with :
dpkg -i <packagename>
See also a former post : http://debian-bits-and-snips.blogspot.com/2011/03/run-iceweasel-4-on-squeeze.html .
Friday, July 29, 2011
Root Password Recovery
In Grub menu press e to edit the entry.
Use the arrow keys to go to the line that starts with linux and then press End to go to the end of this line. First add a space followed by init=/bin/bash rw
Press Ctrl-x to boot. The system will boot the kernel and run /bin/bash instead of its standard init. This will allow us gain root privileges without password.
At the prompt type passwd and enter your new root passwd ( twice ). After this type reboot and press Enter.
Thursday, July 28, 2011
Disable Extension Compatibility Check Firefox Nightly And Aurora
Firefox can be made to drop this compatibility check. To be able to install an addon which is incompatible, the compatibility check needs to be turned off.
Go to about:config and right-click anywhere and choose New > Boolean. Give the preference the following name :
For Nightly and UX-builds : extensions.checkCompatibility.nightly and set it to false.
For Aurora : extensions.checkCompatibility.7.0a and set it to false.
Older addons can now be installed on this Firefox.
For instance I went to : https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/ , the page says : Not available for Firefox 8.0a1. Just right-click the Add to Firefox button and choose Open Link in New Tab.. The addon will now be installed.
Do note if they are not really compatible, Firefox will crash!
Link : http://kb.mozillazine.org/Extensions.checkCompatibility
Go to about:config and right-click anywhere and choose New > Boolean. Give the preference the following name :
For Nightly and UX-builds : extensions.checkCompatibility.nightly and set it to false.
For Aurora : extensions.checkCompatibility.7.0a and set it to false.
Older addons can now be installed on this Firefox.
For instance I went to : https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/ , the page says : Not available for Firefox 8.0a1. Just right-click the Add to Firefox button and choose Open Link in New Tab.. The addon will now be installed.
Do note if they are not really compatible, Firefox will crash!
Link : http://kb.mozillazine.org/Extensions.checkCompatibility
Tuesday, July 26, 2011
Firefox Nightly Builds
Following the amazing release of Firefox 4, Mozilla Firefox is moving to a rapid release development cycle to deliver new features, performance enhancements, security updates and stability improvements to users faster.
Firefox 8 (!) recently found its way into the nightly build channel.
I went to : http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/ and downloaded firefox-8.0a1.en-US.linux-x86_64.tar.bz2.
Extract it :
tar xf firefox-8.0a1.en-US.linux-x86_64.tar.bz2
This will yield a folder firefox. Open up a terminal inside this folder and start firefox 8 with the following command :
./firefox -P
Profilemanager will open and just create a new profile...
Start firefox 8 with the newly created profile.
To create a shortcut ( I use alacarte : Internet > New Item ) move the above mentioned folder firefox to your home directory , rename it to firefox8 and start firefox 8 with the following command :
/home/username/firefox8/firefox -P "new profile" -no-remote
I was pleasently surprised that the font rendering was excellent, no need to compile it yourself..
( see one of my former posts : http://debian-bits-and-snips.blogspot.com/2009/12/rebuilding-firefox-with-enable-system.html ).
Same applies to Aurora : http://ftp.mozilla.org/pub/mozilla.org//mozilla.org/firefox/nightly/latest-mozilla-aurora/ ( 32 and 64 bit ).
See also : http://www.mozilla.com/en-US/firefox/channel/ ( only 32 bit ).
Edit : Nice feature : automatic updating
Bleeding edge :
Firefox UX-Builds : : http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-ux/
: a project branch where the Firefox front-end and UX teams can play around and share experimental ideas before they're stable enough to land in the usual Nightly channel.
DevTools-Builds : http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-devtools/ : a sneak preview in the Developer Tools group.
See : http://blog.mozilla.com/devtools/2011/07/21/121/
Firefox 8 (!) recently found its way into the nightly build channel.
I went to : http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/ and downloaded firefox-8.0a1.en-US.linux-x86_64.tar.bz2.
Extract it :
tar xf firefox-8.0a1.en-US.linux-x86_64.tar.bz2
This will yield a folder firefox. Open up a terminal inside this folder and start firefox 8 with the following command :
./firefox -P
Profilemanager will open and just create a new profile...
Start firefox 8 with the newly created profile.
To create a shortcut ( I use alacarte : Internet > New Item ) move the above mentioned folder firefox to your home directory , rename it to firefox8 and start firefox 8 with the following command :
/home/username/firefox8/firefox -P "new profile" -no-remote
I was pleasently surprised that the font rendering was excellent, no need to compile it yourself..
( see one of my former posts : http://debian-bits-and-snips.blogspot.com/2009/12/rebuilding-firefox-with-enable-system.html ).
Same applies to Aurora : http://ftp.mozilla.org/pub/mozilla.org//mozilla.org/firefox/nightly/latest-mozilla-aurora/ ( 32 and 64 bit ).
See also : http://www.mozilla.com/en-US/firefox/channel/ ( only 32 bit ).
Edit : Nice feature : automatic updating
Bleeding edge :
Firefox UX-Builds : : http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-ux/
: a project branch where the Firefox front-end and UX teams can play around and share experimental ideas before they're stable enough to land in the usual Nightly channel.
DevTools-Builds : http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-devtools/ : a sneak preview in the Developer Tools group.
See : http://blog.mozilla.com/devtools/2011/07/21/121/
Subscribe to:
Posts (Atom)







