Tag Info

Hot answers tagged

10

On Ubuntu, the floppy driver is loaded as a module. You can blacklist this module so it doesn't get loaded: echo "blacklist floppy" | sudo tee /etc/modprobe.d/blacklist-floppy.conf sudo rmmod floppy sudo update-initramfs -u Immediately and upon rebooting, the floppy driver should be banished for good.


6

I believe you need use the allow_other option to sshfs. In order to do this, you should call it with sudo, as follows:- sudo sshfs -o allow_other user@myserver:/home/user/myprojects ~/mount/myprojects Without this option, only the user who ran sshfs can access the mount. This is a fuse restriction. More info is available by typing man fuse. You should ...


3

If you are using NetworkManager (which, I believe Xubuntu does), it should be in /etc/NetworkManager/nm-system-settings.conf. There is more information about it here: http://live.gnome.org/NetworkManager/SystemSettings.


3

there were some bugs in 10.04 related to the X-server. occasionally, some processes would try to render objects in such a way as to cause X to crash. GDM will notice this, and restart X, presenting the login screen again. Fix is to generate an xorg.conf file, and then update that file to use a different acceleration method. Press CTRL+ALT+F1 to access ...


3

xscreensaver has a -watch option: -watch    Prints a line each time the screensaver changes state: when the screen blanks, locks, unblanks, or when the running hack is changed. This option never returns; it is intended for use by shell scripts that want to react to the screensaver in some way.1 The UNBLANK state is what you are looking for. ...


2

There might be an application that grabbed the pointer but failed to release the grab. One thing you can do is configure your local Xserver to allow grabs to be manually deactivated by adding this to your ServerOptions section: Option "AllowDeactivateGrabs" "true" and then press Ctrl-Alt-Keypad-/ to break the grab. However, note that this particular ...


2

To have more space for your Linux installation you need to expand sda6. Having freed up 10GB by shrinking sda3 you would then expand sda4 by 10GB and expand sda6 to fill up all of sda4. However, resizing existing partions, especially NTFS ones, always bares the risk of loosing all data on that partition! I don't know anybody who ever experienced loss of ...


2

Press Ctrl+Alt+F1 to switch to a different virtual console. You will have a text mode login prompt. Once you've done your repairs, you can switch back to the virtual console with the X window display by pressing Ctrl+Alt+F7. If you want to have several terminals, you get 6 virtual consoles with a login prompt by default: press Ctrl+Alt+F2, etc.


2

The presence or absence of a floppy drive is something that is configured in the system's BIOS. You have to manually tell the BIOS what type of floppy you have, and it in turn tells the OS. This is because the hardware is not actually capable of being auto detected. So you need to go into your BIOS and tell it that you have no floppy.


1

The first answer to this question uses what you suggest, and handles missing packages afterwards. Among the answers some people suggest this is a bad idea. Note as well that if the selection adds a :i386 it may be because some other package explicitly requires a package for this architecture. If you want to check before, here is a suggestion. In your ...


1

You could run top in batch mode -b with 1 iteration -n1. You grep it, pipe it to awk, SUM the result and print it. top -b -n1 | grep chrome | awk '{ SUM += $9} END { print SUM }' I don't know which column you want to output. Change $9 to fit your needs.


1

In the latest versions of gcc compiler require that libraries follow the object or source files. So to compile this it should be: gcc pthread_sample.c -lpthread Normally though pthread code is compiled this way: gcc -pthread pthread_sample.c


1

check /etc/inittab and see if X is getting respawned everytime?. BTW, I would usually go to init 3 myself to shutdown X and perform any X related configuration. You can alternatively try to login into the other terminals provided with Ctrl + Alt + F2 or F3 and make the changes in there rather while X is shutdown using init 3 Ubuntu uses upstart so Xubuntu ...


1

You can change the theme of GTK applications by editing (resp. creating) ~/.gtkrc-2.0 to use installed themes, for example (adjustment needed!) include "/usr/local/share/themes/ThinIce/gtk-2.0/gtkrc" What you need to install is some gtk2-engines-* package. According to this, you can also use some GUI tool to choose a theme, Applications->Settings->User ...



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