Difference between revisions of "Miscellaneous"

From Briki
Jump to: navigation, search
(Logitech MX-1000)
Line 14: Line 14:
 
== Hardware ==
 
== Hardware ==
 
=== Logitech MX-1000 ===
 
=== Logitech MX-1000 ===
 +
 
See http://www.ubuntuforums.org/showthread.php?t=65471
 
See http://www.ubuntuforums.org/showthread.php?t=65471
  
 
Although this document describes the steps for a USB mouse, this also works when connected to the PS2 port. Note, however, that a Logitech MX-1000 forward and back keys are 8 and 9, and '''xvkbd''' is located in /usr/bin rather than /usr/X11R6/bin. In addition, as stated in the text, part 1.4 is unnecessary.
 
Although this document describes the steps for a USB mouse, this also works when connected to the PS2 port. Note, however, that a Logitech MX-1000 forward and back keys are 8 and 9, and '''xvkbd''' is located in /usr/bin rather than /usr/X11R6/bin. In addition, as stated in the text, part 1.4 is unnecessary.
  
 +
In newer versions of X11, it seems that evdev is a driver rather than a protocol, so you'll need the line:
 +
<pre>
 +
Driver    "evdev"
 +
</pre>
 +
rather than
 +
<pre>
 +
Driver    "mouse"
 +
Protocol  "evdev"
 +
</pre>
 +
 +
Also, I needed to append "SendCoreEvents" to the Logitech line in the layout section
  
 
== Convert m4a to mp3 ==
 
== Convert m4a to mp3 ==

Revision as of 08:25, 13 August 2007

Ubuntu (Edgy) Starter Guide

http://ubuntuguide.org/wiki/Ubuntu_Edgy

Adding startup service

To ensure a service which exists in /etc/init.d is run on startup, simply run:

sudo update-rc.d <service> defaults

Enabling Printing

  1. /bin/chmod 06555 /usr/bin/lpr /usr/bin/lprm
  2. /sbin/chkconfig lpd on

Hardware

Logitech MX-1000

See http://www.ubuntuforums.org/showthread.php?t=65471

Although this document describes the steps for a USB mouse, this also works when connected to the PS2 port. Note, however, that a Logitech MX-1000 forward and back keys are 8 and 9, and xvkbd is located in /usr/bin rather than /usr/X11R6/bin. In addition, as stated in the text, part 1.4 is unnecessary.

In newer versions of X11, it seems that evdev is a driver rather than a protocol, so you'll need the line:

Driver     "evdev"

rather than

Driver     "mouse"
Protocol   "evdev"

Also, I needed to append "SendCoreEvents" to the Logitech line in the layout section

Convert m4a to mp3

ffmpeg -ab <bitrate in kb/s> -i <inputfile> <outputfile>

Note: the error output buffer too small can be ignored.


Changing default ALSA soundcard

asoundconf list
asoundconf set-default-card <cardname>