Kais Kiste | Sie sind hier: Kiste > IT & Web > Linux Notes

Linux Notes

Change Default Programms, for MIME-Types and other stuff:

~/.local/share/applications/defaults.list
  ~/.local/share/applications/mimeinfo.cache
  sudo update-alternatives --all
  exo-preferred-applications

See available ".desktop" files in:

ls ~/.local/share/applications/
  ls /usr/share/applications/

Fixing "Quick Search" in Synaptic: (it's not showing all packages that would match the query)

Change target of symbolic link by forcing it to do so

ln -f -s /home/Data2 /home/Stores/abc

See what Buttons output or see the numbers of mouse buttons:

xev

Mounting filesystems via samba:

Make sure you install the following packages plus dependencies:

Then you can mount using:

  mount -t cifs //COMPUTER_IN_SAMBA_NETWORK/DIRECTORY_TO_MOUNT/ /mnt/MOUNT_POINT/

Setting up printer from Linux to Windows via samba: (maybe Crunchbang only)

Make sure you install the following packages plus dependencies as listed here:

http://crunchbanglinux.org/forums/topic/12501/resolved-printing-to-windows-printer-from-statler/

Now Follow:
CUPS manager(http://localhost:631/) -> "Add Printer" -> "Windows Printer via SAMBA"
Here make sure you add a user name, so it looks something like
"smb://joa@mywindowsmachine/EpsonPrinter"