Skip to content

Instantly share code, notes, and snippets.

@rhoconlinux
rhoconlinux / fuerza-teclado-eses.desktop
Last active March 7, 2016 11:45
fuerza-teclado-eses.desktop
[Desktop Entry]
Version=1.0
Name=teclado-eses
GenericName=teclado-eses
Exec=setxkbmap -layout 'es,es' -model pc105
Terminal=false
Icon=ibus-keyboard
Type=Application
Categories=Utility;Application
@rhoconlinux
rhoconlinux / freem-INSTALLER
Last active February 26, 2016 10:57
freem installer
wget https://gist.githubusercontent.com/rhoconlinux/f2d8759b50a0dc9ae83b/raw/82e6ea522695bb105d88d330d921d3f314d8f15e/freem.sh -O freem ; sudo mv freem /usr/bin ; sudo chmod +X /usr/bin/freem
@rhoconlinux
rhoconlinux / associations-no-software-center.INSTALLER
Last active March 7, 2016 11:46
gdebi in place of SC ubuntu
mkdir -p ~/.local/share/applications/ ; cd ~/.local/share/applications/ ; wget http://tny.im/SuzYc -O defaults.list ; cd
#touch ~/.local/share/applications/defaults.list
@rhoconlinux
rhoconlinux / defaults.list
Last active March 7, 2016 11:47
defaults.list para gdebi
[Default Applications]
application/x-deb=gdebi.desktop
application/x-debian-package=gdebi.desktop
@rhoconlinux
rhoconlinux / pantheon-files-pluggins.INSTALLER
Last active March 7, 2016 11:50
pantheon-files-pluggins.INSTALLER
#!/bin/bash
cd /tmp ; wget http://tny.im/OlR9 -O pantheon-files-pluggins.sh ; sh pantheon-files-pluggins.sh ; cd
@rhoconlinux
rhoconlinux / open-as-root-pantheon.contract
Last active March 7, 2016 11:51
open-as-root-pantheon.contract
[Contractor Entry]
Name=Open folder as root
Icon=gksu-root-terminal
Description=Open folder as root
MimeType=inode;application/x-sh;application/x-executable;
Exec=gksudo pantheon-files -d %U
Gettext-Domain=pantheon-files
@rhoconlinux
rhoconlinux / open-terminal-here-pantheon.contract
Last active March 7, 2016 11:51
open-terminal-here-pantheon.contract
[Contractor Entry]
Name=Open Terminal here
Icon=terminal
Description=Open Terminal Here
MimeType=inode;application/x-sh;application/x-executable;
Exec=pantheon-terminal -w %U
Gettext-Domain=pantheon-terminal
@rhoconlinux
rhoconlinux / open-as-root-pantheon-files
Last active March 7, 2016 11:52
open-as-root-pantheon-files
#!/bin/bash
#http://ubuntuhandbook.org/index.php/2015/02/open-as-root-elementary-os-freya/
#http://webdarek.tumblr.com/post/69092764284/elementary-os-in-order-to-create-open-terminal
cd /tmp/
sudo mkdir -p /usr/share/contractor/
wget https://gist.githubusercontent.com/rhoconlinux/477498d479252227db30/raw/554e8d7ff53e30af103d0596870b13cdcde1a637/open-terminal-here-pantheon.contract -O terminal.contract
wget https://gist.githubusercontent.com/rhoconlinux/c29f7b99b7b1ece0f4bf/raw/a8e8c148ecb672b3ed0e9fca5bfcbae816e8d29b/open-as-root-pantheon.contract -O openroot.contract
sudo mv *.contract /usr/share/contractor/
cd
@rhoconlinux
rhoconlinux / ffmpeg_mp4_a_mp3_m4a.sh
Created January 19, 2016 21:54
ffmpeg mp4 a mp3 | m4a a mp3
sudo apt-get install ffmpeg
Trusty:
sudo add-apt-repository ppa:kirillshkrogalev/ffmpeg-next -y && sudo apt-get update && sudo apt-get install ffmpeg -y
rm -Rf mp3/ ; rm *.mp3; for f in *.mp4; do ffmpeg -i "$f" "${f/%mp4/mp3}"; done && mkdir -p mp3/ && for f in *.mp3; do mv "$f" mp3/; done
rm *.mp4
@rhoconlinux
rhoconlinux / android-rho-vm.desktop
Last active March 7, 2016 11:53
android-rho-vm.desktop
[Desktop Entry]
Version=1.0
Name=Android Rho VM
GenericName=Android Virtual Machine
Exec=rho-genymotion
Terminal=false
Icon=android_vm.png
Type=Application
Categories=Utility;Application