Tag Info

Hot answers tagged

17

This is going to be rather technical but was fun to find out so here goes... I found a package dphys-swapfile and here is the Source code. Option setup is used to set it up: setup - tells dphys-swapfile to compute the optimal swap file size and (re-)generate an fitting swap file. Default it 2 times RAM size. This can be called at boot time, so the ...


15

If you want to change your shell as a user, type: chsh -s /path/to/your/shell or simply chsh You'll have to enter your password and your login shell is set to the one you chose. You can only select a shell which is listed in /etc/shells.


15

Icons are located in /usr/share/icons


15

Ubuntu started in 2004, and is based on Debian. By then, the current crontab was present, so we get to trace through Debian history to find its origins. Here is the crontab from Debian 0.93R6 (November 1995). The hour is present, but the minute is different for the cron.daily entry: # m h dom mon dow user command 42 6 * * * root run-parts ...


11

Generally changes are proposed and debated by the community at the Ubuntu Development Summit. See, for example, the Maverick Desktop Application Selection blueprint. There are some rules; the application must be in the main repository (which means it will be officially supported) and it and its dependencies must fit on the install CD. Applications can be ...


11

Yes, simply place an image file named .face in /etc/skel. sudo cp new_photo.jpg /etc/skel/.face NOTE: Not all image formats will work, so stick to PNG and JPEG. The /etc/skel directory contains files and directories that are automatically copied over to a new user's home directory when the user is created. The name of the directory skel is derived ...


11

You can right-click on a .pdf file, then go to 'Properties' --> 'Open with' tab and select the application that you want.


11

A Public folder exists in your Home directory (/home/user) for sharing files with other users. If an other user wants to get access to this Public folder, the execute bit for the world should be set on the Home directory. If you do not need to allow others to access your home folder (other humans or users like www-data for a webserver), you'll be fine with ...


11

The default login shell is still /bin/bash. What was changed was the default system shell /bin/sh. The change of the default system shell started from Ubuntu 6.10, and the main reason to switch was efficiency. Here you can find complete information about this change: Dash as /bin/sh


11

Ubuntu uses the Ubuntu font family for its default fonts. The Ubuntu font is used for the desktop, while the terminal uses Ubuntu Mono. You can see more about the fonts and download them here. The Ubuntu fonts are distributed under the Ubuntu Font license, which is indeed open source.


10

The definitive guide is the community wiki (link below). But in summary - GRUB_DEFAULT takes either a numeric or a string value. Numeric values reflect the boot order options (menu entry values) described in /boot/grub/grub.cfg For example - in my grub my GRUB_DEFAULT value is set to the value 6 (six): If you look at /boot/grub/grub.cfg and count the ...


9

Those folders are "well known" user folders defined by Freedesktop (check here: http://freedesktop.org/wiki/Software/xdg-user-dirs). In Ubuntu 10.04 you can edit the file ~/.config/user-dirs.dirs to change the location of those folders. When you've change the file you need to restart nautilus (run 'nautilus -q' in a terminal or log out an in again). /N


9

The command line way is: sudo update-alternatives --install /usr/bin/editor editor /usr/bin/geany 10 and then use sudo update-alternatives --config editor to select Geany if necessary. As a graphical alternative to the command-line method, consider using Gnome Alternatives (sudo apt-get install galternatives). Run GAlternatives, select editor in the left ...


9

Open a terminal (Ctrl+Alt+T). Run the following command: exo-preferred-applications Then go to Utilities > Default File Manager, and choose the file manager you want to.


8

The name is: warty-final-ubuntu.png and it is inside /usr/share/backgrounds.


8

I had the same problem on Ubuntu 12.04. Changing the Video default app to VLC has no effect, while for the others (web, mail, music, etc... ) it does work. It seems that there is a bug. A quick solution: Open defaults.list with gksudo gedit /usr/share/applications/defaults.list Search for totem.desktop and replace ALL with vlc.desktop. Save, close, ...


8

I've changed this answer based on the new information that was released at the Ubuntu Developer Summit for 11.04. For the foreseeable future, GNOME Shell is not be the default interface for Ubuntu Desktop. The developers are instead developing an expanded version of the Unity shell. There are now a significant number of questions regarding Unity, GNOME 3 ...


8

Change your default shell. There is a command-line way to do this: $ sudo usermod -s /path/to/newshell username but it might be easier to do it from the GUI settings. System -> Administration -> Users and Groups -> [select user] -> Advanced Settings -> Advanced then choose the shell from the drop down list. If the shell you want isn't in that list then ...


8

Open a Terminal ed write this command: gedit ~/.config/user-dirs.dirs Each row is a user folder definition (music, video...), edit as you want. For example, I did not want the videos folder in home, but in a separate disk, and changed the XDG_VIDEOS_DIR parameter this way: XDG_VIDEOS_DIR="/media/share/Video" OR Simply run: xdg-user-dirs-update --set ...


7

The default will be upgraded with your gold rules: we don't touch user tweaks, but just upgrade the defaults we already provided. That means that if you are using the ubuntu 10.10 default (the gnome-panel session), you will be transitioned to ubuntu 11.04 default (the Unity session) on upgrade. However, if you changed your session configuration to something ...


7

According to an Ubuntuforms.org staff member, it is to make it easier to share files between new users. You can change the permission to either 700 or 750 if you don't want the files readable and executable by others. Command is: chmod 750 $HOME Note: Ubuntu default is 755


7

What you want I think is udev rules. I'm on 12.04 so your mileage may vary, but here's an example: You want to change switch /dev/video1 and /dev/video0. First get the info you need: udevadm info -a -p $(udevadm info -q path -n /dev/video0) udevadm info -a -p $(udevadm info -q path -n /dev/video1) Copy both of those huge blocks of text into gedit Mine ...


7

Actually, it does indeed default to ext4. Ubuntu has used ext4 as the default for quite some time now. If you're having filesystems mounted as ext2, there was likely a problem with the installation, or perhaps a problem with your hardware.


7

first of all, add your new MimeType : from the terminal open sudo gedit and copy the code bellow [Desktop Entry] Version=1.0 Encoding=UTF-8 Hidden=false Icon=my/icon/path <-- optional (for the file icon) Type=MimeType Patterns=*.xxx <--- my file extention MimeType=application/myAppName ...


6

This is a little late but I thought it may help someone. My problem is I don't like to copy and paste things I don't understand, so here's an explanation of the answers so far. First and foremost, there are two issues here and both answers are, in there own right, correct: the default command-line editor - solved by 'izx' the file-type (mime-type) ...


6

The manual is correct. Your issue is that perhaps you didn't account for 3 important details: users (and user) implies the options noexec, nosuid, and nodev Unless overridden by subsequent options Options order matters ;) So when you use rw,nosuid,nodev,exec,users in your fstab, the last option, users, sets noexec,nosuid,nodev, thus disabling your exec ...


6

The solution is here: http://board.blackbuntu.com/printthread.php?tid=31 sudo apt-get purge nvidia-* sudo apt-get install --reinstall xserver-xorg-video-intel libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core sudo dpkg-reconfigure xserver-xorg sudo update-alternatives --remove gl_conf /usr/lib/nvidia-current/ld.so.conf After that I did unity --reset and ...


6

Open a multi page document and disable it in View / Continuous Then try Edit / Save current settings as default If that still doesn't do it, you need to install dconf Editor and find the settings below, in org / gnome / evince / default I un-checked 'continuous' and it seems to work. I tested a few different PDFs and most worked as ...


6

Add the following to the end of /usr/share/applications/LotusNotes8.5.desktop, ie: sudo gedit /usr/share/applications/LotusNotes8.5.desktop) and save the file: MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;x-scheme-handler/mailto; TargetEnvironment=Messaging ...


5

It's not a Ubuntu decision, its a Debian decision. It's to maintain backwards-comparability, at least until 1.8.7 is end of lifed in June 2012 (for normal bugfixes) and then in June 2013 when security fixes stop (so at time of updating, it is already EOLed). source and source2 You can install ruby 1.9.2 via the ruby1.9.1 package, so its not really that big ...



Only top voted, non community-wiki answers of a minimum length are eligible