Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Simple Instruction for Xterminal

    Reply
    Page 2 of 2 | Prev |   1   2 |
    jaysire | # 11 | 2009-12-02, 11:30 | Report

    Originally Posted by j.s View Post
    I woud like to know where to find power usage info myself. (Been using unix shells for over 20 years.)
    Try lshal | grep battery

    The lshal -command gives one item that is battery.charge_level.percentage. I wrote a quick shell script for fetching just the percentage from it:

    lshal | grep battery.charge_level.percentage | awk '{print $3}'

    I put it in /usr/bin/bat using vi and chmodded it 755. Now I can write "bat" anywhere in the terminal and get the batterylevel.

    Too bad it only works when your device is not charging. When it's connected to a charger it shows 0.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to jaysire For This Useful Post:
    eiffel, j.s, mason

     
    MOST_WANTED | # 12 | 2009-12-09, 09:09 | Report

    it would be great if someone gives advices how to change passwd in XTERMINAL,i was trying get some apps trhough terminal but it asks me PASSWORD,what is the pwassword for XTERMINAL,,,!??? O_o
    Thanx !!!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 2 of 2 | Prev |   1   2 |
vBulletin® Version 3.8.8
Normal Logout