Skip to content

Instantly share code, notes, and snippets.

@rhoconlinux
rhoconlinux / spotify-repo-install.sh
Last active October 22, 2015 12:40
spotify-repo-install
sudo sh -c 'echo "deb http://repository.spotify.com/ stable non-free" > /etc/apt/sources.list.d/spotify.list' && sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59 && sudo apt-get update && sudo apt-get install spotify-client -y --force-yes ; cd
@rhoconlinux
rhoconlinux / gnome-restarter-deamon.desktop
Created May 30, 2015 16:29
gnome-restarter-deamon en autorun
[Desktop Entry]
Name=gnome-restarter-deamon
GenericName=gnome-restarter-deamon
Comment=gnome-restarter-deamon
Icon=gnome-terminal
Exec=gnome-restarter-deamon
Terminal=false
Type=Application
Categories=System
@rhoconlinux
rhoconlinux / gnome-shell-restart.sh
Created May 29, 2015 16:15
gnome-shell restarter
#!/bin/bash
cd
rm .delete-to-reload-gnome-shell
@rhoconlinux
rhoconlinux / gnome-shell-restarter-deamon.sh
Created May 29, 2015 16:12
Deamon para reiniciar gnome-shell
#!/bin/bash
while true ;do
if [ -f .delete-to-reload-gnome-shell ] ;then
sleep 1;
else
touch ~/.delete-to-reload-gnome-shell;
gnome-shell --replace ;
fi
done;
#!/bin/bash
# Author: rhoconlinux, http://rhoconlinux.wordpress.com
# ------
# Credit for the spinner > Tasos Latsas https://github.com/tlatsas/bash-spinner
##########################spinner funcion starts
@rhoconlinux
rhoconlinux / Icon-Set-Forge-Installer.sh
Created April 15, 2015 23:40
Icon-Set-Forge installer
#!/bin/bash
sudo rm -Rf /tmp/Icon-Set-Forge-master ;
sudo rm -Rf /usr/share/IconSetForge ;
sudo rm /usr/bin/iconsetforge ;
sudo apt-get install qmake-qt4 qt4-designer unzip -y
cd /tmp
wget https://github.com/mank319/Icon-Set-Forge/archive/master.zip
unzip master.zip
cd Icon-Set-Forge-master/Code
qmake-qt4
@rhoconlinux
rhoconlinux / plank-preferences-installer.sh
Last active June 6, 2016 15:53
plank preferences installer
#!/bin/bash
cd /tmp
rm plank-preferences.dockitem;
plank-preferences.sh;
rm p-p-dockitem-c.sh;
rm $HOME/.local/share/applications/plank-preferences.desktop;
rm $HOME/.config/plank/dock1/launchers/plank-preferences.dockitem
clear
#launcher, desktop file
wget http://ur1.ca/k5kkz -O plank-preferences.desktop
@rhoconlinux
rhoconlinux / plank-preferences-dockitem-creator.sh
Created April 12, 2015 00:36
plank preferences on-dock icon
#!/bin/bash
echo "Creating plank themer dockitem..."
USERNAME=$(whoami)
ABS_ADDR=/home/$USERNAME/.local/share/applications/plank-preferences.desktop
cd $HOME/.config/plank/dock1/
touch $HOME/.config/plank/dock1/launchers/plank-preferences.dockitem
echo \[PlankItemsDockItemPreferences\] >> $HOME/.config/plank/dock1/launchers/plank-preferences.dockitem
echo Launcher=$ABS_ADDR >> $HOME/.config/plank/dock1/launchers/plank-preferences.dockitem
@rhoconlinux
rhoconlinux / plank-preferences.desktop
Last active August 29, 2015 14:18
plank-preferences desktop launcher
[Desktop Entry]
Name=plank-preferences
GenericName=Plank Preferences
Comment=Plank Preferences
Icon=plank
Exec=plank --preferences
Terminal=false
Type=Application
Categories=System
Name[es_ES]=plank-preferences
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin