In this new version I added:
- Preferences panel;
- play sound of text orgine;
As for OCR, for the moment the capture of the screen and the selection of an area
Link repository: https://github.com/scozzaro/lazTransl


sudo add-apt-repository ppa:noobslab/macbuntu sudo apt-get update sudo apt-get install macbuntu-os-icons-v10 sudo apt-get install macbuntu-os-ithemes-v10
Comandi da terminale:
sudo apt-get remove macbuntu-os-icons-v9 macbuntu-os-ithemes-v9
|
|---|

Comandi da terminale:
sudo add-apt-repository ppa:noobslab/macbuntu sudo apt-get update sudo apt-get install slingscold |
|---|
sudo add-apt-repository ppa:noobslab/macbuntu sudo apt-get update sudo apt-get install albert
sudo apt-get install plank
sudo add-apt-repository ppa:noobslab/macbuntu sudo apt-get update sudo apt-get install macbuntu-os-plank-theme-v9
sudo apt-get autoremove plank macbuntu-os-plank-theme-v9
sudo apt-get install gnome-tweak-tool
sudo apt-get install libreoffice-style-sifr

wget -O mac-fonts.zip http://drive.noobslab.com/data/Mac/macfonts.zip sudo unzip mac-fonts.zip -d /usr/share/fonts; rm mac-fonts.zip sudo fc-cache -f -v
sudo apt-get install conky
nano .conky
Incolliamo il seguente testo
background no
use_xft yes
xftfont 123:size=14
xftalpha 0.1
update_interval 0.5
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 250 8
maximum_width 600
draw_shades yes
draw_outline no
draw_borders yes
draw_graph_borders no
default_color black
default_shade_color red
default_outline_color green
alignment top_right
gap_x 10
gap_y 50
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale no
use_spacer right
TEXT
${font Arial:size=30}${color Tan1}RPI${color Ivory}LINUX
${font Arial:size=30}${color Tan1}T${color Ivory}hefoxII
${voffset -200}
${color Blue}
${font}
${font Arial:bold:size=14}${color Tan1}SYSTEM ${color Red} ${hr 2}
$font${color White}$sysname $kernel $alignr $machine
Frequency $alignr${freq_g cpu0}Ghz
Uptime $alignr${uptime}
File System $alignr${fs_type}
${font Arial:bold:size=14}${color Tan1}CPU ${color DarkSlateGray}${hr 2}
$font${color Red}Temp: $alignr ${exec /opt/vc/bin/vcgencmd measure_temp | cut -c6-9} C
$font${color Red}CPU1 ${cpu cpu1}% ${cpubar cpu1}
CPU2 ${cpu cpu2}% ${cpubar cpu2}
CPU3 ${cpu cpu3}% ${cpubar cpu3}
CPU4 ${cpu cpu4}% ${cpubar cpu4}
${cpugraph DimGray DarkSlateGray} $color
${font Arial:bold:size=14}${color Tan1}MEMORY ${color DarkSlateGray}${hr 2}
$font${color Green}MEM $alignc $mem / $memmax $alignr $memperc%
$membar
$font${color Blue}SWAP $alignc $swap / $swapmax $alignr $swapperc%
$swapbar
${font Arial:bold:size=14}${color Tan1}HDD ${color DarkSlateGray}${hr 2}
$font${color Yellow}/home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
${fs_bar /home}
${font Arial:bold:size=14}${color Tan1}TOP PROCESSES ${color DarkSlateGray}${hr 2}
${color White}$font${top_mem name 2}${alignr}${top mem 2} %
$font${top_mem name 3}${alignr}${top mem 3} %
$font${top_mem name 4}${alignr}${top mem 4} %
$font${top_mem name 5}${alignr}${top mem 5} %
${font Arial:bold:size=14}${color Tan2}NETWORK ${color DarkSlateGray}${hr 2}
$font${color Yellow}IP on wlan0 $alignr ${addr wlan0}
Down $alignr ${downspeed wlan0} kb/s
Up $alignr ${upspeed wlan0} kb/s
Downloaded: $alignr ${totaldown wlan0}
Uploaded: $alignr ${totalup wlan0}
Salviamo il filesudo nano /usr/bin/conky.sh
Salviamo il file#!/bin/sh(sleep 4s && conky) &exit 0
sudo nano /etc/xdg/autostart/conky.desktop
Salviamo il fileSalviamo il file[Desktop Entry]Name=conkyType=ApplicationExec=sh /usr/bin/conky.shTerminal=falseComment=system monitoring tool.Categories=Utility;
nano check_cpu_speed_temp.sh
/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq /opt/vc/bin/vcgencmd measure_temp
chmod 777 check_cpu_speed_temp.sh
sudo nano /boot/config.txt
#Overclock Settings arm_freq=1300 over_voltage=6 temp_limit=80 core_freq=500 #GPU Based h264_freq=333 avoid_pwm_pll=1 gpu_mem=450 v3d_freq=500 #Ram Overclock sdram_freq=588 sdram_schmoo=0x02000020 over_voltage_sdram_p=6 over_voltage_sdram_i=4 over_voltage_sdram_c=4 #Sound Fix hdmi_drive=2
#resolution 82 1920x1080 60Hz 1080p resolution 82 1366x768 60Hz 1080p hdmi_ignore_edid=0xa5000080 hdmi_force_hotplug=1 hdmi_boost=7 hdmi_group=2 hdmi_mode=82 hdmi_drive=2 arm_freq=1200 arm_freq_min=400 core_freq=500 cor_freq_min=250 gpu_mem=320 disable_splash=1 sdram_freq=500 sdram_freq_min=250 over_voltage=2 initial_turbo=30 temp_limit=80
watch ./check_cpu_speed_temp.sh
sudo nano /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8) # Please note that this file is written to be used with dhcpcd # For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf' # Include files from /etc/network/interfaces.d: source-directory /etc/network/interfaces.d auto lo iface lo inet loopback iface eth0 inet manual allow-hotplug wlan0 iface wlan0 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf iface home inet static address 192.168.1.41 netmask 255.255.255.0 gateway 192.168.1.1 allow-hotplug wlan1 iface wlan1 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf iface pul inet static address 192.168.1.41 netmask 255.255.255.0 gateway 192.168.1.1 #iface default inet dhcpdopo aver dato il comando di salvataggio Ctrl + O possiamo uscire con Ctrl + X
sudo nano /etc/dhcpcd.conf
# A sample configuration for dhcpcd. # See dhcpcd.conf(5) for details. # Allow users of this group to interact with dhcpcd via the control socket. #controlgroup wheel # Inform the DHCP server of our hostname for DDNS. hostname # Use the hardware address of the interface for the Client ID. clientid # or # Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361. #duid # Persist interface configuration when dhcpcd exits. persistent # Rapid commit support. # Safe to enable by default because it requires the equivalent option set # on the server to actually work. option rapid_commit # A list of options to request from the DHCP server. option domain_name_servers, domain_name, domain_search, host_name option classless_static_routes # Most distributions have NTP support. option ntp_servers # Respect the network MTU. # Some interface drivers reset when changing the MTU so disabled by default. #option interface_mtu # A ServerID is required by RFC2131. require dhcp_server_identifier # Generate Stable Private IPv6 Addresses instead of hardware based ones slaac private # A hook script is provided to lookup the hostname if not set by the DHCP # server, but it should not be run by default. nohook lookup-hostname interface eth0 static ip_address=192.168.1.41 static routers=192.168.1.1 static domain_name_servers=192.168.1.1 interface wlan1 static ip_address=192.168.1.41 static routers=192.168.1.1 static domain_name_servers=192.168.1.1 interface wlan0 static ip_address=192.168.1.41 static routers=192.168.1.1 static domain_name_servers=192.168.1.1 static domain_search=dopo aver dato il comando di salvataggio Ctrl + O possiamo uscire con Ctrl + X
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="NomeWifi" # Nome della rete WiFi
psk="Password12345678" # Password della rete Wifi
key_mgmt=WPA-PSK # Chaive di cifratura
}
dopo aver dato il comando di salvataggio Ctrl + O possiamo uscire con Ctrl + Xsudo apt-get install x11vnc
x11vnc -storepasswd
sudo nano /etc/systemd/system/x11vnc.serviceConfiguriamolo nel seguente modo: fate attenzione in questa configurazione l'utente è << pi >>
[Unit] Description=Start x11vnc at startup. After=multi-user.target [Service] Type=simple ExecStart=/usr/bin/x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /home/pi/.vnc/passwd -rfbport 5900 -shared [Install] WantedBy=multi-user.targetPremiamo Ctrl+O per salvare il file e Ctrl+X per uscire da nano
sudo chmod u+x /etc/systemd/system/x11vnc.service sudo systemctl daemon-reload sudo systemctl enable x11vnc.service
sudo service network-manager stopVerifichiamo la presenza delle schedesudo iwlist scanLa mia scheda è idenficata è si chiama wlan0 per cui la debbo attivare con il comando sudo ifconfig wlan0 upPossiamo impostare l'indirizzo IP e il Gateway manualmente sudo ifconfig wlan0 <indirizzo_ip_locale> up
sudo route add default gw <indirizzo_ip_gateway> Ora dobbiamo ottenre le informazioni della scheda con il comandosudo iwlist scanfacciamo una ricerca migliore, per indentificare la scheda con sudo iwlist scan | grep -i 'essid'abbiamo ottenuto una lista delle rete WiFiidentifichiamo la nostra rete essid = 'MiaWiFi' e ci colleghiamo sudo iwconfig wlan0 essid 'MiaWiFi' key open se la nostra rete è protetta da password utilizzamo sudo iwconfig wlan0 essid 'MiaWiFi' key 'chiave_di_rete' connettiamolo alla rete con sudo dhclient wlan0In fine dobbiamo impostare il DNS primario e secondario con sudo nano /etc/resolvconf/resolv.conf.d/basee all'interno del file scriviamo nameserver 8.8.8.8
nameserver 8.8.4.4Dopo aver salvato con CTRL + O usciamo con CTRL + X e digitiamo sudo resolvconf -u
insert your passwordsudo fdisk /dev/mmcblk0
Command (m for help): d<----
Partition number (1,2, default 2): 2<----
Partition 2 has been deleted.
Command (m for help): n <----
Partition type
p primary (1 primary, 0 extended, 3 free)
e extended (container for logical partitions)
Select (default p): p<----
Partition number (2-4, default 2): 2<----
First sector (133120-31116287, default 133120): ENTER: ENTER<----
Last sector, +sectors or +size{K,M,G,T,P} (133120-31116287, default 31116287):
Created a new partition 2 of type 'Linux' and of size 14,8 GiB.<---
Command (m for help): w<----
The partition table has been altered.
Calling ioctl() to re-read partition table.
Re-reading the partition table failed.: Device or resource busy
The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).
sudo reboot<----
insert your passwordsudo resize2fs /dev/mmcblk0p2
Comandi da terminale:
|
|---|
sudo add-apt-repository ppa:vokoscreen-dev/vokoscreen
|
sudo apt-get update
|
sudo apt-get install vokoscreen
|
|
| Nemo doppio pannello e "privilegi elevati" banner visualizzati durante l'esecuzione di Nemo come root |
|
| Opzioni di Google Toolbar |
|
| Integrazione Nemo Unity |
|
| Nemo media estensione Colonne aggiunge nuovi tag audio e immagini a lista |
sudo apt-get install nemo-compare nemo-dropbox nemo-media-columns nemo-pastebin nemo-seahorse nemo-share
|
Se hai un problema di installare nemo-dropbox, vedi QUESTO correzione.
sudo apt-get install nemo-rabbitvcs
|
| Estensione Nemo Terminal |
sudo apt-get install nemo-terminal
killall nemo nemo
sudo ln -s /usr/lib/i386-linux-gnu/libpython2.7.so.1 /usr/lib/libpython2.7.so.1 sudo ln -s /usr/lib/libpython2.7.so.1 /usr/lib/libpython2.7.so.1.0
- 64bit: sudo ln -s /usr/lib/x86_64-linux-gnu/libpython2.7.so.1 /usr/lib/libpython2.7.so.1 sudo ln -s /usr/lib/libpython2.7.so.1 /usr/lib/libpython2.7.so.1.0
sudo apt-get install dconf-tools
- Disabilitare Nautilus di trarre le icone del desktop: gsettings set org.gnome.desktop.background show-desktop-icons false
(Nemo è abilitata di default per disegnare le icone del desktop quindi non c'è bisogno di cambiare niente altro) gsettings set org.nemo.desktop show-desktop-icons false gsettings set org.gnome.desktop.background show-desktop-icons true
(Il primo comando disabilita Nemo di mostrare icone del desktop e il secondo re-consente Nautilus) xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search
gsettings set org.gnome.desktop.background show-desktop-icons true
xdg-mime default nautilus.desktop inode/directory application/x-gnome-saved-search
sudo apt-get remove nemo nemo-* sudo rm /etc/apt/sources.list.d/webupd8team-nemo-*.list