baumi's blog

baumi's personal blog … Linux, OS X, Windows, Random things, …

Know-How / Wissenswertes

GNU/Linux Elementary OS: replace default archiver

Typical scenario for what i want: downloading a .zip file, double click to “extract in place”. Done. In Elementary OS however, the default archiver keeps bugging me with stupid dialogs like which directory to extract to, it’s not automatically closing after it has finished extracting the archive, … in short: it’s PITA. After installing the […]

GNU/Linux: show battery cycles count (etc.) on MacBook Pro Mid-2012 on command line (CLI)

battery cycle count: cat /sys/class/power_supply/BAT0/cycle_count charging/discharging status: cat /sys/class/power_supply/BAT0/status charge full (current capacity): cat /sys/class/power_supply/BAT0/charge_full charge full (design capacity): cat /sys/class/power_supply/BAT0/charge_full_design current charge: cat /sys/class/power_supply/BAT0/charge_now current charge (in percent): cat /sys/class/power_supply/BAT0/capacity battery model: cat /sys/class/power_supply/BAT0/model_name battery manufacturer: cat /sys/class/power_supply/BAT0/manufacturer battery temperature sensor: cat /sys/class/power_supply/BAT0/temp list all parameters: ls -la /sys/class/power_supply/BAT0/

Which HDD brand to buy? HGST. Period.

Over the last years, we’ve only been spending money on HGST drives when talking about “conventional” HDDs. Kept recommending HGST to ppl over and over again. Once again, that choice has been confirmed, here is why: https://www.backblaze.com/blog/hard-drive-reliability-q4-2015/ (For SSDs, Crucial is the way to go … can’t prove it – yet.)

Spotify: How to fix error “Can’t play current track?”

I’ve had a Spotify Premium for a couple of months, and back then i’ve also enabled “high quality streaming” in my settings. After downgrading back to a free account, i kept getting an error message “Can’t play current track?” and the problem is you don’t really know what the problem is. In my case, this […]

GNU/Linux Elementary OS “Freya”: add trash icon and/or folders to plank dock

For adding folders with multiple apps inside, check this out: http://elementaryos.stackexchange.com/questions/250/can-i-add-folders-to-the-dock For adding folders, simply drag them out of “Files” app into to the plank dock. For me this was a quite buggy though, so you might need multiple tries. Alternative: For adding “trash” icon or manually a shortcut to e.g. “Downloads” folder: gksu pantheon-files […]

GNU/Linux Elementary OS “Freya”: custom brightness indicator, exponential brightness control

http://ubuntuhandbook.org/index.php/2013/09/add-brightness-control-elementary-os/ this works nicely, however my personal taste is to have more precise control over low brightness settings. therefore i’ve adjusted the script to do exponential brightness. the two changed functions are in /opt/extras.ubuntu.com/indicator-brightness/indicator-brightness, changes in bold: def set_brightness(brightness):     bbb = int(brightness) * int(brightness) / max_brightness     subprocess.call([‘pkexec’,’/usr/lib/gnome-settings-daemon/gsd-backlight-helper’,’–set-brightness’,”%s” % bbb])     create_menu(ind)   def get_curr_brightness():     c = […]

Previous Posts Next posts