Category Archives: System

PHPHOST BLOG

Web Hosting Related Articles You May Need

Use “at” to schedule launching of commands in Linux

You can execute a task at the time you want it to launch by using at. Let’s say you want mplayer start playing a movie at 12:42. Do a
at 1242
A command prompt will appear where you can type the command you cant to execute at 12:42
mplayer movie.avi
Next, press Enter then press Ctrl+D to exit the […] Continue reading

Posted in cli, Syndicated, System | Comments Off on Use “at” to schedule launching of commands in Linux

Search through your history with PgUp and PgDown

If you want to be able to search through your .bash_history inline, you can simply edit your ~/.inputrc file and add these two lines:
“\e[5~”: history-search-backward“\e[6~”: history-search-forwardNow you can grep your .bash_his… Continue reading

Posted in cli, Syndicated, System | Comments Off on Search through your history with PgUp and PgDown

Make Ubuntu sleep instead of hibernate

One of the few things you can’t easily configure in Ubuntu is the option to make the computer sleep instead of hibernate when idle for X minutes. Here’s how to do it:
Press Alt+F2 and type gconf-editor then press Enter
Go to /apps/gnome-pow… Continue reading

Posted in GNOME, Hardware, Syndicated, System | Comments Off on Make Ubuntu sleep instead of hibernate

Install older .RUN and .BIN archives in Linux

When running older .RUN and .BIN archives in Linux, you might get the following (or a similar) error:
Verifying archive integrity…tail: cannot open `+6′ for reading: No such file or directoryError in check sums 1237260170 2341625838The solution is to make the installer believe it’s being run on an older version of GNU/Linux. Open a Terminal and […] Continue reading

Posted in Applications, Syndicated, System | Comments Off on Install older .RUN and .BIN archives in Linux

Find out details about your system’s temperature

To find out more about your system’s temperature, install acpi. Then do a simple
acpi -V
to get a listing similar to this one:
Battery 0: Full, 100%Battery 0: design capacity 7800 mAh, last full capacity 4988 mAh = 63%Adapter 0: on-lineThermal 0: ok, 63.5 degrees CThermal 0: trip point 0 switches to mode critical at temperature 126.0 […] Continue reading

Posted in acpi, Applications, cli, Syndicated, System, temperature | Comments Off on Find out details about your system’s temperature

Use the same GTK theme for applications started as root

If you start a GTK GUI with root permissions and you notice that it uses the old GTK theme, you can make all applications started as root to use your current theme by doing this:
sudo ln -s ~/.themes /root/.themessudo ln -s ~/.icons /root/.iconssudo ln -s ~/.fonts /root/.fontsThis will basically create symlinks to your icons, fonts […] Continue reading

Posted in Applications, GTK, Syndicated, System, theme, Ubuntu | Comments Off on Use the same GTK theme for applications started as root

Disable NTP sync during USplash in Ubuntu Linux

NTP sometimes greatly slows down your Ubuntu’s boot time. To disable it just do a simple
sudo apt-get remove ntpdate

Continue reading

Posted in cli, ntp, Syndicated, System, Ubuntu | Comments Off on Disable NTP sync during USplash in Ubuntu Linux

Disable the Linux screen blanking

If you want to disable X screen blanking (aka. disable the X screensaver) that comes up unexpectedly while you’re watching a movie in MPlayer, all you have to do is
setterm -powersave off -blank 0
To make the change permanent, add the following to your ~/.xinitrc file:
setterm -blank 0 -powersave off -powerdown 0xset s off

Continue reading

Posted in blank, cli, screen saver, Syndicated, System, X | Comments Off on Disable the Linux screen blanking

Make applications remember their last state in Ubuntu

If you want your most-used applications already opened when you boot up into your Ubuntu box, all you have to do is go to System > Preferences > Startup Applications and in the Options tab check the box next to “Automatically remember running applications when logging out“.

Original tip source.

Continue reading

Posted in Applications, GNOME, remember, Syndicated, System, Ubuntu | Comments Off on Make applications remember their last state in Ubuntu

Create an autostartup script for Debian and Ubuntu systems

In Debian-based distributions (and here I’m also talking about the widely-spread Ubuntu), there is no rc.local file preinstalled. The good thing is that you can make one easily so you can have a place to put commands to be started up automatically at boot. Here’s what you have to do:
sudo nano /etc/init.d/local.autostart
You can name the […] Continue reading

Posted in autostart, boot, bootup, cli, file, files, Syndicated, System | Comments Off on Create an autostartup script for Debian and Ubuntu systems