Sign In

    Enjoy FOSSwire's content? Have it delivered! Subscribe

    Dim the screen at dark

    Are there times of the night that you find yourself adjusting your screen brightness lower, either to help your eyes or not bother someone else? It can be annoying have to tweak brightness settings all of the time. We'll show you how to set your brightness automatically during the night. Read on.

    To start, you need to have a laptop or a display that supports software brightness configuration. You'll also need to make sure that your GNOME brightness settings are working. (KDE fan? Submit a relevant article.) Also, take note that if your system is not on when brightness settings change, they will not be updated.

    Now, pop open a terminal to edit your crontab:

    crontab -e
    

    Now you'll want to add some time and brightness settings. Use this as a template:

    0 22 * * * gconftool-2 --type int --set /apps/gnome-power-manager/backlight/brightness_ac 10
    0 7 * * * gconftool-2 --type int --set /apps/gnome-power-manager/backlight/brightness_ac 100
    

    The first line will set the brightness value to 10% at 22:00; the second sets it to full brightness at 07:00. Note that these are not hardware brightness values, but power manager values that scale from 0 to 100. You can add as many lines as you want. If you're proficient in your crontab syntax, then you can even use settings that only apply on weekends or weekdays.


    Dig into your system with HardInfo

    We all like to learn a little bit about our computers and how they stack up against others. Even if not, the information might be valuable to others trying to diagnose a problem with your machine. There are many ways to discover information about your hardware in Linux, but none of them have come close to the ease-of-use of HardInfo (install).

    HardInfo takes everything it can find about your system and presents it in an organized fashion. There’s no need to dig through the output of lspci or run a few commands to find out some network statistics; it’s all right there in front of you.

    One key feature that makes HardInfo valuable is its ability to quickly generate a system report. This can be very useful to bug triagers, developers, or your laptop’s eBay listing.

    Finally, HardInfo is a great tool to use to rank your system against other machines with various benchmarks, which can tell you if your machine is running at full speed or if something is going terribly wrong. These are also included in the generated reports.

    Overall: great tool, easy to use, useful for everyone. Give it a try.


    Set Up a Custom Worksheet with KSysGuard

    The KDE System Guard at first glance just looks like a simple system monitor application which lets you take a look at the System Load and Processes running on your machine.

    It is actually capable of a lot more monitoring than that, and if you delve deeper into it, you can customise the way it works to show you information about your system that you are interested in.

    So, let's take a look at the program. You should find it under the System category of your Applications list (it might be named Performance Monitor).

    KSysGuard default screen

    What you have is two tabs, as I mentioned, that give you some statistics about how hard your machine is working, and the processes running on it. Along the left hand side, there's also a Sensor Browser pane. If you want, you can take a look through the available sensors to see what you can look at.

    So, let's create a new tab within KSysGuard to show some additional information.

    The application calls these tabs 'worksheets', and you can make a new one and drop your desired sensors onto it, to make a heads-up display for the statistical information you care about.

    For this example, I'm going to create a worksheet to show me the current CPU temperature, the content of /var/log/messages (so I can see what hardware gets attached for example, or any other messages from the kernel), a network measure and my 15-minute load averages. Of course, here, you'll probably want to pick a set of sensors that you are interested in watching, these are just examples.

    So first we need to make a new worksheet to put these on. Go to File and choose New Worksheet.

    KSysGuard\'s File Menu screenshot

    Give it a name, I'll go for Custom HUD. You also set here the number of rows and columns that this worksheet provides you. Because I have four sensors I want on this sheet, I obviously need two columns and two rows.

    KSysGuard Worksheet Properties

    You can also set here how frequently the data is kept updated. More frequently will mean that your monitoring will be more expensive in terms of CPU usage and will mean KSysGuard will consume more resource. I'm going to leave the default here.

    Once that's done, you'll have a blank tab, or worksheet, to work with. There should be four 'Drop sensor here' labels.

    Simply drag and drop sensors from the browser into these cells. Some sensors have more than one way of showing you the data, such as a graph, or just a number. When you drop them, you'll be asked which type of display to use.

    Once you've got everything in place, you can now monitor what's going on. Be sure to right-click your sensors and check the Properties. Some sensors allow you to change the way they report things, so it's worth checking those settings to see if there's anything you can tweak to get it to work the way you want.

    In addition, if you picked a graph view, you can often manually configure the maximum and minimum points of the graph if you want, instead of auto-detecting the max and min from the values it gets.

    KSysGuard Graph Configuration Min/Max Values

    Another point I should make is that if you do pick a Bar Graph style display, it is possible to then drag additional sensors onto the same graph, and plot two different sets of values for comparison. Once you've dropped them on, configure the Graph by right-clicking, and going to Sensors in Properties.

    When you're happy with your layout, click the Export Worksheet button (or choose it from File). If you save into the default folder it gives you (~/.kde/share/apps/ksysguard/), it will open back up automatically next time you launch KSysGuard.

    KSysGuard with a Custom HUD

    And there you have it. You can now view your favourite statistics about the running of your machine from KSysGuard. What looks on the surface like a pretty basic monitoring application is actually a lot more powerful, and gives you quite a bit of flexibility. Granted, watching statistics about how your machine is running might not be the most exciting thing in the world, but if you're semi-obsessed (like me, perhaps?) or trying to troubleshoot, KSysGuard can be pretty useful.

    A quick footnote for those interested - the exact locations of the sensors I used for my custom HUD are as follows:

    • ACPI > Thermal Zone > THRM > Temperature
    • logfiles > messages
    • Network > Interfaces > eth0 > Receiver > Data
    • CPU Load > Load Averages (15 mins)


    1. 1
    2. 2
    3. 3