I am just using the battery reporting in Powertop . When a laptop is running off battery, Powertop will display the reported battery usage from the battery. The reported usage should give a pretty good estimate of the total power consumption, assuming the battery is reporting/working correctly. The interpolated speculation for individual hardware components and process power consumption is hit or miss.
For idle power usage just open up Powertop, and let your computer idle (no user input, no active media) for a minute or two and look at the reported value (I usually close my browser when doing a idle test). Powertop's speculation on which processed used the most power is useful for making sure something wasn't running in the background biasing your benchmark.
Like any benchmark, try to keep external variables, constant I try to perform such tests when my main battery is around 50% and an air conditioned room. Although, this benchmark is still far from scientific it should at least allow me keep a tab on power efficiency Linux on my laptop. Which has got a lot a better since I got it, in early 2017. :)
The idle power consumption on my T460 (i5-6300U) has actually increased by ~10% (at-least according to power-top from 50% battery) on 4.17. However, I had a lot of experimental features enabled before and now, so who knows what in particular has caused the increases. Idle is still around 3.2w which is pretty good just not quite the 2.7w before.
I disabled all network stuff I could and saw a huge start up boost. I suspect it was stylish as I have a lot of themes in stylish that were checking for updates every time it turn it on. For some reason Firefox does not fork these updates into the background.
Remember to update your addons periodically for security reasons
Also sometimes when my internet was really bad it would take minutes for the browser to turn on.
What I do: I usually try to install all global python packages through a package manger. Do this prevents problems with applications that list a package that install python libs, and then freaks out when they where already installed by pip. However forcing it are telling it to ignore theses conflicts usually does not break anything I would just prefer not to have to worry about it.
I think you already are doing what I do. If you need different packages versions just use virtualenvs which can override the globally installed version.
Well if you hit f12 to bring up the development tools, in the top right corner of the tools there is button with icon of a box with a cursor in it. Clicking that button then hovering over an element in side the window will select that element in the inspector.
Exactly my feelings when I found it. However I think it might take the monochrome too far having the UI completely devoid of colour except my icons looked a little weird at first, all-though I am now used to it,
Now we need to get https://github.com/eti0/arc-grey-theme in there; I always found the normal arc too blue, although that probably is due to my terrible monitors.
Well the whole point of xdg is to determine what application to open and if it was just for me personally I would be fine just having a script do it. However I hoping to include a feature inside an application the enable this behavior and replacing the defaults with my script that would then send either there original browser or my application seems stepping out of bounds a little. I would create a custom url-scheme and use that however we want the links to be clickable in as many applications as possible.
Specifics to Problem Trying To Solve
My group of friends use mumble as are chat service it only has clickable links for urls starting with http, https ,ftp and so on.
We have our own screenshot sharing application that hosts
on our servers.
We want links we can click it have it open with the screenshot app.
We might share the application with others and we want sane a installation procedure free of hacky solutions
I am just using the battery reporting in Powertop . When a laptop is running off battery, Powertop will display the reported battery usage from the battery. The reported usage should give a pretty good estimate of the total power consumption, assuming the battery is reporting/working correctly. The interpolated speculation for individual hardware components and process power consumption is hit or miss.
For idle power usage just open up Powertop, and let your computer idle (no user input, no active media) for a minute or two and look at the reported value (I usually close my browser when doing a idle test). Powertop's speculation on which processed used the most power is useful for making sure something wasn't running in the background biasing your benchmark.
Like any benchmark, try to keep external variables, constant I try to perform such tests when my main battery is around 50% and an air conditioned room. Although, this benchmark is still far from scientific it should at least allow me keep a tab on power efficiency Linux on my laptop. Which has got a lot a better since I got it, in early 2017. :)
The idle power consumption on my T460 (i5-6300U) has actually increased by ~10% (at-least according to power-top from 50% battery) on 4.17. However, I had a lot of experimental features enabled before and now, so who knows what in particular has caused the increases. Idle is still around 3.2w which is pretty good just not quite the 2.7w before.
Try disabling some of the connections and automatic updating from here
https://support.mozilla.org/en-US/kb/how-stop-firefox-making-automatic-connections
I disabled all network stuff I could and saw a huge start up boost. I suspect it was stylish as I have a lot of themes in stylish that were checking for updates every time it turn it on. For some reason Firefox does not fork these updates into the background. Remember to update your addons periodically for security reasons
Also sometimes when my internet was really bad it would take minutes for the browser to turn on.
What I do: I usually try to install all global python packages through a package manger. Do this prevents problems with applications that list a package that install python libs, and then freaks out when they where already installed by pip. However forcing it are telling it to ignore theses conflicts usually does not break anything I would just prefer not to have to worry about it.
I think you already are doing what I do. If you need different packages versions just use virtualenvs which can override the globally installed version.
Well if you hit f12 to bring up the development tools, in the top right corner of the tools there is button with icon of a box with a cursor in it. Clicking that button then hovering over an element in side the window will select that element in the inspector.
I actually found styling Firefox easy once I found out about
which allows you to inspect element the page and figure out how to style it.
Here is a picture of my theme I ended up with that matches my I3
https://i.imgur.com/0uozVDt.png
Here is the CSS on Userstyles, It's really sloppy been meaning to clean it up.
https://userstyles.org/styles/134153/mega-ultra-flat-toms-blue-with-favicon-fixed
Exactly my feelings when I found it. However I think it might take the monochrome too far having the UI completely devoid of colour except my icons looked a little weird at first, all-though I am now used to it,
Now we need to get https://github.com/eti0/arc-grey-theme in there; I always found the normal arc too blue, although that probably is due to my terrible monitors.
I think your right this is going to be the best solution. I dismissed there earlier however I just looked it to now and seems pretty trivial since...
I found that in this file: https://github.com/mumble-voip/mumble/blob/4009ea353944fc9cbefcbf95979f0d6d0c0ec3b2/src/mumble/Log.cpp There is a QStringList named allowedSchemes at about line 252 that are the allowed schemes.
Well the whole point of xdg is to determine what application to open and if it was just for me personally I would be fine just having a script do it. However I hoping to include a feature inside an application the enable this behavior and replacing the defaults with my script that would then send either there original browser or my application seems stepping out of bounds a little. I would create a custom url-scheme and use that however we want the links to be clickable in as many applications as possible.
Specifics to Problem Trying To Solve
However if it's not possible, it's not possible.
End of this list.
Back to top