Posts tagged: Linux

Video Editor in Linux KDEnlive

comments Comments Off on Video Editor in Linux KDEnlive
By , May 27, 2014 14:52

Kdenlive 0.9.6

Aspettiamo con ansia la versione 1!

Ha superato il test nella creazione basica di video amatoriali.

Unico Software video a permettere l’integrazione dei metadati all’interno dei file ogg.

Spero si specializzi nei formati liberi, cosí da diventare concorrenziale a livello professionale.

Devo ammettere che la gran parte delle volte che il software crasha é per un mio errore, o incaponimento nell’uso  inappropriato di immagini png e jpg.

Adatto alla creazione di brevi clips, ha retto un rendering di 6:30 di video con 4 tracce videoo, animazione frame by frame con png sequence, ogni livello ridimensionato e color corrected, con 20 minuti di rendering.

Niente male!

Un cruccio che ci siamo portati appresso era l’impossibilitá nelle versioni precedenti di fare “reverse speed” che ora é un effetto disponibile per far girare il video al contrario.

Designer Work Tools 2013

comments Comments Off on Designer Work Tools 2013
By , November 9, 2013 15:33

I can already complaiine that none of the tools for live CSS editing, support SASS or LESS  (or other pre processor).

But they speed up your life so much we cannot complaine longer.

CSS updater

FireBug plug in http://www.cssupdater.com/
Prerequisites: Adobe Air, Firefox and minumum FireBug

Style Editor 1.0

https://addons.mozilla.org/en-US/firefox/addon/style-editor/?src=api
Requirements: Firefox 12.0 and later
Ma con Firefox 25.0 non compare il menu in right click

Synoptx LiveStyle

Propertary plugin build in PHP and Javascript is a multiplatform solution, adaptable for different CMS: WordPress Drupal Joomla. is the direct son of the propertary Spacecake CMS of the Web and Software Developer SynOptx.net

Colorpicker

What a waste Filezilla Colorpicker it copy just the color hexe code that are wrote in the css code

Colorzilla

Not only the best colorpicker on add ons market but also a precious tool for gradient generator!
Colorzilla pick also the value color from images, jpg… converting in webstandard Hex format.
If I can say something the only bad thing will be to have another standalone on the tollbar of my browser.

Rasperry Pi SPI Touchscreen X-Server

comments Comments Off on Rasperry Pi SPI Touchscreen X-Server
By , October 19, 2012 19:37

Thanks to Dominique Gallot and vis, I managed to drive a MI0283QT-2 color touchscreen on the raspi 🙂

I followed the steps at www.gallot.be/?p=197 and added the framebuffer driver by vis to run X and LXDE-desktop. 40px in vertical are missing and touch is not working yet, but it’s very funny to use a mouse on the mini-screen.

Dominique Gallot’s howto is very accurate, so these are just additional notes to avoid a few catches I noticed:

  1. Install debian –  the Chris boot kernel was not required – the module spidev is already included in the latest debian image
  2. Put this line into /etc/modules:  modprobe spidev bufsiz=256000
  3. Install wiringPi https://projects.drogon.net/raspberry-pi/wiringpi/download-and-install/
  4. Download and compile MI0283QT2-pi
  5. Download the framebuffer driver by vis: https://snr.freifunk.net/trac/vis/browser/raspberrypi/fb.cpp into a subfolder on the same level as MI0283QT2/ and compile it with:                         gcc -lstdc++ -iquote ../MI0283QT2 fb.cpp ../MI0283QT2/MI0283QT2.cpp ../MI0283QT2/font*.c -o fb
  6. Put https://snr.freifunk.net/trac/vis/browser/raspberrypi/10-monitors.conf into /usr/share/X11/xorg.conf.d to set X server resolution to 320×200 px
  7. Unplug HDMI ( / DVI adapter)
  8. Move all USB devices to a powered hub
  9. Use a stroooong 5V usb power supply – a 1000 mAh smartphone plug was not enough
  10. Run these commands from a terminal connected via SSH as root:
gpio load spi
gpio -g mode 18 pwm
gpio -g pwm 18 1000
./fb

start the x-server in a second console:

startx

As you can see in the pictures, the startmenu of LXDE is not really readable and the terminal- fonts are too small, but I’m sure to find some nice applications for this setup.

The gameoflife demo runs very well: its fast and stable. It uses 30-34% CPU

Building instructions

Raspberry Pi Initialization

comments Comments Off on Raspberry Pi Initialization
By , October 18, 2012 20:21

Today I received 2 Raspberry Pi boards from watterott.com – Thanx for the fast delivery!

Specs: www.watterott.com/de/Raspberry-Pi-Model-B

During installation and configuration some bugs appeared, so here are some notes to get around:

I used this debian wheezy image: www.raspberrypi.org/downloads

and followed the linux console install guide elinux.org/RPi_Easy_SD_Card_Setup

At first various problems occurred: locale- and keyboard- config did not work in raspi-config, apt-get dist-upgrade failed to install libgcc1, …

so I changed the dd command to blocksize 1MB and re-installed the SD-card:

dd bs=1M if=~/2012-09-18-wheezy-raspbian.img of=/dev/sdX

Those problems did not disappeared, instead:

  • HDMI to DVI-D(igital) adapter works instantly
  • USB-keyboard and mouse work instantly
  • 1000mAH 5V adapter is strong enough to power the board with keyboard LAN and DVI connected
  • apt-get dist-upgrade works
  • locale- and keyboard- config works in raspi-config
  • LXDE desktop works
  • network and ssh-daemon up and running

Installation of some basic tools:

apt-get install mc screen rcconf tmux

Moving on to some multimedia stuff, I found alsa and sound- modules correctly installed, so I added:

apt-get install mplayer vlc

work in progress…

Raspberry Pi setup

Raspberry Pi setup

Tool of the week: k4dirstat

comments Comments Off on Tool of the week: k4dirstat
By , December 10, 2011 04:01

HeyHo, the disc is full, the disc is full…, but i found a great help:

KDirStat – Directory statistics.

Shows where all your disk space has gone
and helps you clean it up
.”

Installation in Debian and Ubuntu:

$  apt-get install k4dirstat

I think the screenshot says it all:

Every cube in the tree-map illustration represents a file or a directory. By their size its instantly visible where all the space is used up. You can click the big blocks to get a direct link to the file in the tree.

Icecast, Rails, ntop, etherpad,… via Apache Webserver: ProxyPass

comments Comments Off on Icecast, Rails, ntop, etherpad,… via Apache Webserver: ProxyPass
By , January 12, 2011 01:23

web services logoA quick tip, how to map web-apps on random ports to the main apache webserver. This way you can run these services on subdomains or sub-directories and support SSL encrypted  https connection, even if it is not directly supported.

Take care to not open a proxy for everybody or it can be abused by spammers. “ProxyPass” combined with “ProxyRequests Off” is save.

If the original port is not used anymore, it can be closed in the firewall. Only for the icecast stream it is s useful to keep :8000 open. By mapping to an internal IP a address of a virtual machine, you can also forward to vservers.

The admin webinterface on /admin/ can be redirected by mod_rewrite to a secure SSL connection.

Example: Icecast ProxyPass to map webinterface on port 8000 to apache subdomoain (port 80)

<VirtualHost *:80>
   ... # your vhost here: ServerName, Logs, etc
   ...
   # Proxy ACL
   ProxyRequests Off
   <Proxy>
      Order allow,deny
      Allow from all
   </Proxy>
   # Proxy directives
   ProxyPass / http://192.168.1.7:8000/
   ProxyPassReverse / http://192.168.1.7:8000/
   ProxyPreserveHost on

   # redirect /admin to https:
   RewriteEngine On
   RewriteRule /admin.*  https://tv.example.com:443/admin/ [R]
</VirtualHost>

Example: Icecast ProxyPass to map admin webinterface on port 8000 to apache subdomoain (port 443)


<VirtualHost *:443>
   ... # your vhost here: ServerName, Logs, etc
   ...
   SSLEngine On

   # Proxy ACL
   ProxyRequests Off
   <Proxy>
      Order allow,deny
      Allow from all
   </Proxy>
   # Proxy directives
   ProxyPass / http://192.168.1.7:8000/
   ProxyPassReverse / http://192.168.1.7:8000/
   ProxyPreserveHost on
</VirtualHost>

git – Version Control System – Workshop @Nerdcafe

comments Comments Off on git – Version Control System – Workshop @Nerdcafe
By , September 25, 2010 18:35

git-workshop

27.09. – 19:00

nerdcafe.10247.net

This lecture is an introduction to git, mainly from client-site,
but some tricks for servers to control access are also introduced (gitosis).
Furthermore, with git-svn you are able to reach a svn-repo via a git repo.

Timetracking Linux and Web Tools

comments Comments Off on Timetracking Linux and Web Tools
By , August 15, 2010 04:04

Here’s a comparison of some programs in debian/ubuntu repositories, that help to keep track of your worktimes

KTimetracker
This is in the Debian and Ubuntu repositories. it is programmed for the KDE window environment, but if you have all the KDE libraries already, just run this in a terminal:

wait! update first

it’s best practise to update the repositories before installing something, to get the latest versions:

sudo apt-get update

btw: sudo is only required in ubuntu, in debian type ‘su’ to get root access

sudo apt-get install ktimetracker

++
+ Nice and simple interface.
+ Timers
You can start and stop a timer when you begin and end a working session so you get the exact time.

+ It can even watch your desktops, including the virtual ones, so you can put all your work windows for example on desktop 2 and switching to 1 is enough to do something else and stop the counter. you will wonder about the short times it tracks (without mailchecks, etc.) !

must test the export..

For me this wins, because of the desktop tracking and  (sub) timers!


Gnome Time Tracker

Installation in Debian / Ubuntu:

sudo apt-get install gnotime

++
Nice interface with description and “diary” textfields. Nice list of projects and timers to count worktime on a daily basis are integrated.


Some things in the interface are broken or not understandable: export does not allow to select a file, maybe something must be created first?

Subprojects? must test..


Tine2.0 Web Groupware

++
Nice webinterface. Besides Todolist, Calendar, CRM and few more modules, a Time-tracking tool is built into this web groupware.

+ So called “Time-accounts” represent the different projects. You can add “time-sheets” to these projects for every session or ideally the hours of every day. There are filters to show only one project or a relevant period or user. You can save these filter options as a favorite view. That’s really cool and flexible! One problem is, that you cannot redefine the default favorite, which it show at first.

+ Tine can store € per hour, “billable” and more billing infos, so you it automatically calculates the full time and price of a project.


There is no counter to start and stop the session times. You can only enter the periods, after you finished the day work. Its useful to keep track of the works of a team, but if you want to track the exact times, you need another timer-software and enter the periods from there to tine  :-/

Must test:  Exports!   It ~should~ export .ods, which would be reaaaaally helpful to present the time-sheet to clients directly or put it in a bill! But maybe i have to fill a bug report on that..


eGroupware

Is a good, old PHP web groupware with many, many modules. The project module interface is not easy to understand, but when you get it, you can even use time counters online.

++
Many functions in the projects module,…


EGroupware is a huge system, only for timetracking you do not want to install it. There are many options to setup, specially if there is more than one user, it gets really complicated to give correct permissions to everyone.


OpenOffice Table with Formulars

still the easiest and best solution?

++
+ Table calculation software offers a nice overview with dynamic calculations: Press [F2] in a table cell and you can enter formulars for calculation. This way, you can, for example, enter exact minutes and get hours by [cell] * 60.

+ In OpenOffice Writer you can keep track of times in a simple table inside a odt text-office document. No need to use Calc, the Table calculation

Also the other programs offer ways to enter billing info like € per hour.


– Teamwork? Its not easy to work together on stupid office documents. They are practically always locked by other users 😉

.odt file coming soon..

Shell Basics Workshop Report n. 3/3 Juli 2010

comments Comments Off on Shell Basics Workshop Report n. 3/3 Juli 2010
By , July 27, 2010 03:24

>> nerdcafe Vetomat 26.7.2010        snufu/fuzzy speach, Zbog report
SHELL BASICS N°3

$ ncal -w

calendar for the current week (it shows the all month)

$ red

open a (strange) text editor in the terminal to go out: q + enter

$ mcedit filename

the famous midnight-command editor (apt-get install mc)

$ mc

clone of an oldschool filemanager

—————————-

$ tput

initialize a terminal

$ reset

query terminfo database
(clear the complete terminal window)

————————–

$ cp "source" "destination"

copy files in directory (is an automatic paste)
=======================================================================================

$ mkdir "name"

make directory “name”

$ ls -l

list all the files and folders in the directory

(-l)     use a long listing format
as the details mode in a location window

$ ls -l "directory-name"

is giving the list of the called directory

$ pwd

Print Working Directory
shows the actual folder content

$ cd ..

go one level up

$ if cd /somewhere; then date;

Only if there is cd folder called like so then show the date

$ echo mario > test/.secret

with the point on the new name it will create a hidden file that is  normally not shown in the interface and  in the command ls

$ ls -a

to recall a hidden file in a list  -a

$ echo /.*

will call also all the hidden files

./

it represents the current directory

../

it represents the parent directory
—————————

$ rm filename

remove file

$ rm /dir/

remove folder

$ rm -r foldername

empty the directory    (delete the files but keep the folder)
—————————-

$ set -x
$ set +x

set
start the behavior session
+
the commmand string is printed on screen before the execution

the command string session will not show anymore the command screen

$ echo foo | cat

“pipe echo foo into cat” write the info foo into the file and show the content (cat)
the 2 commands are connected to eatch other and have the same content

Report of Linux-works shell meeting in Vetomat 26.Juli.2010

Shell Basics Workshop Report n. 2/3 Juli 2010

comments Comments Off on Shell Basics Workshop Report n. 2/3 Juli 2010
By , July 20, 2010 03:24

>> nerdcafe Vetomat 19.7.2010        snufu/fuzzy speach, Zbog report
SHELL BASICS N°2

$ nmap 192.168.1.0

scan the local subnet to check for available hosts – nmap returns all IPs of running machines in the specified subnet. 192.168.1.0-100 scans IPs 1-100.

(you ll need to apt-get install nmap)

$ uptime

Shows when the pc started; how many users; load average; how many processes are running

$ date

gives you back a date and time

$ ncal

to call the calendar

#

Comment sign
to insert a not exacutable text, frequently used for human comunication instead of the normal typing in the terminal that is readed by default as a command to the computer

*

is a jolly to ask for existing files/Directory for example

$ echo D*

gave:
Desktop Dokumente…
(every file with the D as first letter in the directory where we are located)

?
$ fsdsf?

if you dont remember the last letter of a data
for example fsdfz
the command returns the possible files you are searching
like the asterisc but applies only on the last letter in doubt

$

the dollar $ itself
means a variable

|

the pipeline | between commands is to add multiple commands without writing multiple lines in the terminal

""

are to consider the string as text

$ rm filename

removes files – take care there is no restore the file will be deleted!

$ clear

clean the monitor terminal from previous output lines

$ iwlist wlan0 scan

scan for avalaible networks with network interface wlan0 (the 1. wlan card,usually)

$ ps

programs running by everybody

$ ps aux

more info about the running programs

$ ps aux | less

pipe the processes output into “less” – just for easy reading

>

to redirect and copy the command output to another program

>>

append
attach the output left of >> to the end of the file right off >>
for example

$ echo hiho > foobar
$ cat echo >> foobar

will give as output
foobar

foobar

<
\

(escape) to take out special meaning and read the value as text
example echo “mb\”r*” gives the output
mb”r

true is 0
and frequently in programming it is the opposite: true is 1 !!

$ wc

words count

$ wc -l

wordcount –lines

Report of Linux-works shell meeting in Vetomat 19.Juli.2010

WordPress Open Source Blog System
SynOptX Lab Theme