Linux

Printing via other CUPS servers?

Suppose we have two different networks (e.g. 192.168.1.1/24 and 192.168.2.0/24) . PC A and printer A is on the same network. Printer A is a network printer (printer that connects directly into network) which PC B wants to use. Meanwhile, PC B is on different network.

To allow communications between PC A and PC B, both PCs require a routing configuration (route add blah blah blah ...) and they are able to be configured like that. Unfortunately, Printer A is not. Therefore, PC B can not print documents into Printer A. Mmm... there's must be a way.

How to fix or reset sound in Ubuntu Linux

I usually play multimedia files which need sounds. But sometime a crashed multimedia application can cause the audio device not released properly. The effects vary, from repeating annoying sounds to no sound at all. If this happens, I usually restart the PC as restarting Alsa is not working.

Colorful shell prompt

Based on shell color tutorial, I've managed to create a library to make colorful shell easy to make. I also attach an example script which can be applied as PS1 variable.

Just download them and see the codes. You'll understand :D

To apply the script put both files into /opt directory and also put the following line into ~/.bashrc file.

. /opt/ps1

New apt-env

This is new apt environment script to download Debian packages in a sandbox. This is just a new improvement of Iang's script. The new features are:

Syndicate content