A package installed /etc/init.d/ccpd
which is a script run at start up. I would like this script to be run as very last of all my start up scripts, how can I achieve this?
Peter Smit's questions
I have some data that I want to encrypt in a single folder. I only need it rarely, so I would like to be asked for a pass phrase every time.
Preferably I could still back up the folder encrypted, and open it with the passphrase on another machine.
What approach shall I take?
I am trying to get my Canon LBP2900 printer to work on Ubuntu 11.10 64 bit.
What I have done is try to follow the steps on https://help.ubuntu.com/community/CanonCaptDrv190
So I downloaded the version 2.3 driver and tried to convert the rpm files to debian and installed them
sudo alien cndrvcups-capt-2.30-1.x86_64.rpm cndrvcups-common-2.30-1.x86_64.rpm
sudo dpkg -i cndrvcups-capt-2.30-1.x86_64.deb cndrvcups-common-2.30-1.x86_64.deb
restarted cups and try to install the printer with lpadmin:
sudo service cups restart
sudo /usr/sbin/lpadmin -p LBP2900 -m /usr/share/cups/model/CNCUPSLBP2900CAPTK.ppd -v ccp://localhost:59787 -E
What I noticed however that on the step with lpadmin it goes wrong with the error:
lpadmin: Bad device-uri scheme "ccp"
After trying to trace what has gone wrong, I think I nailed it to the fact that dpkg installed a file /usr/lib64/cups/backend/ccp
instead of /usr/lib/cups/backend/ccp
Checking the original rpm with archive manager shows indeed that /usr/lib
and /usr/lib64
are used, with the backend/cpp file only installed in lib64. As I understand correctly, Ubuntu 11.10 uses /usr/lib32
and /usr/lib
instead so the files are installed in the wrong place.
Is there an automated method of converting the rpm/deb files with the wrong lib structure to one with the right lib structure for ubuntu 11.10? Or am I completely on the wrong track for getting my printer installed?
In the log in (and lock) screen of Ubuntu 11.10 I get annoying warnings that my Num Lock is on. As it is (on my Desktop) totally irrelevant or Num Lock is enabled or not, is there a way to disable this warning?
I am buying a new video card and am now doubting between AMD and NVidia. As I won't be upgrading my processor and mainboard atm, but I want to play some bluray movies I think it is necessary that the video card can use hardware acceleration on Ubuntu.
With NVidia there is support as is for example demonstrated here with the libvdpau1
driver. Does similar things/drivers exist for the high-end AMD video cards like a HD6950?
(Note that I personally do not require an open source driver. If a binary driver will work, that is okay for me)
On Ubuntu 10.10 I would like to change my default pdf viewer to acroread.
I do not have sudo privilidges, so I want to make this change for my own user only. Acroread is already installed.
I have a Canon LBP2900 printer and Ubuntu Natty 64-bit.
After quite some trouble I found here a nice guide explaining a installation procedure with packages from this ppa.
I followed the guide and did all steps and now the printer works if it is connected (or powered on) after login.
If I connect it already before my computer is started, the following happens. A second printer (LBP2900-2) is automatically created and the command sudo /etc/init.d/ccpd status
only gives one pid, while it should give two.
How can I fix this?
An extra detail that can help; normally the device uri is ccp:/var/ccpd/fifo0
. Actually this path (/var/ccpd/fifo0) does not exist, but that does not seem to matter. The printer that Ubuntu automatically adds when starting up with the printer connected has usb://Canon/LBP2900
as uri
The output of grep lp /etc/udev/rules.d/*
:
~$ grep lp /etc/udev/rules.d/*
/etc/udev/rules.d/85-canon-capt.rules:KERNEL=="lp*", SUBSYSTEMS=="usb", ACTION=="add", SYSFS{idVendor}=="04a9", RUN+="/bin/bash /etc/init.d/ccpd start"
/etc/udev/rules.d/85-canon-capt.rules:KERNEL=="lp*", SUBSYSTEMS=="usb", ACTION=="remove", RUN+="/bin/bash /etc/init.d/ccpd stop"
I can't find the new 11.04
version of the netbook edition on the ubuntu webpages. Also my mirror does not contain any netbook iso's.
Has Ubuntu for Netbooks died?
Somehow I don't have the sound manager in my panel on Ubuntu 10.10. How can I add it? It is not in the list of panels that I can add.
For a specific package, can I find out why it is installed?
So, can I see or it's manually installed, or that it is installed as a dependency of another package? Or that it is installed as part of the distro?
When I try to update my Ubuntu 10.04 installation to 10.10 I get the following error.
Could not calculate the upgrade
An unresolvable problem occurred while calculating the upgrade:
Trying to install blacklisted version 'blcr-dkms_0.8.2-13'
This can be caused by:
* Upgrading to a pre-release version of Ubuntu
* Running the current pre-release version of Ubuntu
* Unofficial software packages not provided by Ubuntu
If none of this applies, then please report this bug against the 'update-manager' package and include the files in /var/log/dist-upgrade/ in the bug report.
None of the three applies to me (I think).
Now I found that this also affects someone else: https://bugs.launchpad.net/update-manager/+bug/657662
Is there here someone who knows what could be wrong? Or a workaround so that I can install Maverick Meerkat?
My home directory is getting huge (100GB plus). When backupping it I notices that there are quite some caches there.
Which important caches are there in my homedir and how should I clean them?
One cache in particular is bothering me, the cache in .gvfs, where a copy of my network harddisk seems to be stored. How do I neatly clear this cache?
I want to use the newest version of nginx, so I wanted to add the nginx/stable ppa
sudo add-apt-repository ppa:nginx/stable
sudo apt-get update
However, the upgrade command says that there are no upgrades available and nginx is still the old version. Did I do something wrong?
I use Ubuntu server 10.04 Lucid
add-apt-repository output:
$ sudo apt-add-repository ppa:nginx/stable
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 8B3981E7A6852F782CC4951600A6F0A3C300EE8C
gpg: requesting key C300EE8C from hkp server keyserver.ubuntu.com
gpg: key C300EE8C: "Launchpad Stable" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
apt-cache policy ouput:
$ sudo apt-cache policy nginx
nginx:
Installed: 0.7.65-1ubuntu2
Candidate: 0.7.65-1ubuntu2
Version table:
*** 0.7.65-1ubuntu2 0
500 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/universe Packages
100 /var/lib/dpkg/status
I am setting up an Ubuntu server with nginx, php and mysql.
I have found two options for fast-cgi php. Firstly I can use the spawn-fcgi package and make some startup scripts, similar as done here
The second option is to use the dotdeb packages and use php5-fpm (installation instructions)
Which one shall I choose? Are there any difference in processor usage?
I would like to install stackapplet, but I don't have superuser privileges to install the deb file and the admins will not install it for me.
I'm confident that I must be able to install this applet without privileges, but I can't seem to find a really good guide.
What are the steps I need to take to install this applet?
At our university we can get almost any ubuntu package installed we want, but we are not superusers ourselves (we need to request packages being installed).
With some libraries it is not always easy to know whether the package is already installed or not. Is there a simple way/command to check this?