Ubuntu

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
m
m
Line 1: Line 1:
 
Do the following (as root) to help make Ubuntu less terrible:
 
Do the following (as root) to help make Ubuntu less terrible:
 
<source lang="bash">
 
<source lang="bash">
apt-get install openssh-server samba
+
# install libraries
apt-get install subversion git-core
+
 
apt-get install libncurses5-dev
 
apt-get install libncurses5-dev
 +
# install daemons
 +
apt-get install openssh-server samba
 +
# install tools
 +
apt-get install subversion git-core tree
 +
# sort out the 'ohh.. did you mean this?'
 
dpkg -r command-not-found command-not-found-data
 
dpkg -r command-not-found command-not-found-data
 +
# sort out 'sudo'
 
echo "attie ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
 
echo "attie ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
 +
# stop X
 
sed -i -r "s/(stop on runlevel \[0)(16\])/\12\2/" /etc/init/gdm.conf
 
sed -i -r "s/(stop on runlevel \[0)(16\])/\12\2/" /etc/init/gdm.conf
 
</source>
 
</source>

Revision as of 11:27, 27 September 2011

Do the following (as root) to help make Ubuntu less terrible:

# install libraries
apt-get install libncurses5-dev
# install daemons
apt-get install openssh-server samba
# install tools
apt-get install subversion git-core tree
# sort out the 'ohh.. did you mean this?'
dpkg -r command-not-found command-not-found-data
# sort out 'sudo'
echo "attie ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
# stop X
sed -i -r "s/(stop on runlevel \[0)(16\])/\12\2/" /etc/init/gdm.conf

Generate an SSH key pair

Also see bashrc, samba

Disabling Automounting

To enable or disable automount open a terminal and type gconf-editor followed by the [Enter] key.

Browse to /apps/nautilus/preferences/.

The media_automount key controls whether to automatically mount media. If set to true, then Nautilus will automatically mount media such as user-visible hard disks and removable media on start-up and media insertion.

There is another key media_automount_open. This controls whether to automatically open a folder for automounted media. This key can also be set in the Nautilus (file manager) window. From the Edit menu in Nautilus select Preferences and then select the Media tab.

If set to true, then Nautilus will automatically open a folder when media is automounted. This only applies to media where no known x-content/* type was detected; for media where a known x-content type is detected, the user configurable action will be taken instead.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox