Thursday, December 20

This is my brain - that is all.

Wednesday, December 5

Youtube - html5 - No volume control.

So it seems youtube have finally pushed html5 for their popout player and it works surprisingly well.

I've played with it a little bit and a few things stand out as amusing - basically the popout player seems to be the exact same code used for 3rd party systems such as maybe the xbox 360 or freeview boxes.

Why?

Well for a start there's no volume control within the controls displayed on screen. I presume this is because at some point the browser itself maybe able to control the volume as part of the html5 spec (Just guessing here btw) or simply because on a TV or other device, you control the audio independently anyway. I believe if I moved to using pulse audio I maybe able to control the audio of individual windows (I know it can work for different applications, but I'm unsure when you have two windows of the same application if they'd then have independent volume levels).

However for the time being while this isn't implemented it is a little off-putting/annoying to have to adjust my main PC volume simply to turn the volume up/down on a youtube video. If I was at home this'd be a major annoyance due to routing my 360's sound via my PC.

Friday, June 1

XFCE4 - Where the hell did my power options go?!

So the xfce4 have decided to rewrite the way to logout box appears. Thats perfectly fine and I can't fault that, but making it stupidly impossible to find how to get back to the original behaviour? This I don't like.


So you want your old popup box which gives you those 3, 4 or 5 options that you used to have?

  1.  Remove all your old power button things from your taskbar, they are annoying and confusing all at once.
  2. Add a new "Action button"
  3. You want to enable ONLY the "Logout..." Change this by right clicking the button and turning the options on or off. - *Note* this is different from "Logout".
  4.  In Settings -> Session and Start up, you want to enable "Prompt on Logout"
  5. Finally, right click on the action button again and change the Apperance to "Action Buttons".
I was discussing this with a nice dev online at the time, and I the trouble I had setting this up, while him believing it was "just a simple change" shows that disconnection between users and devs. When they have that inner knowledge of the system, simple changes to them can have massive results for end users.

Sunday, March 18

Start up multiple screen sessions running the same command

So a hosting company called fortuneCity were shutting down and someone had asked me to assist in backing up "Everything" from them to archive before they finally shut down.

They already was a set of scripts to pull the data down and to back it up elsewhere, but if you wanted to run more than one instance at a time you'd need to start each one manually.

This is silly if you know bash ;)

for I in {1..9}; do screen -d -m -S fortunecity$I ./seesaw.sh Smiley; done


Tada! Starts up 1 - 9 named sessions of screen running the command seesaw.sh :)

Search This Blog