Wednesday, April 4, 2018

Centos - First things to do

- Update the system:

sudo yum update

 - Add access to ntfs partitions

sudo yum install epel-release

sudo yum install ntfs-3g

- Install the adobe repository

sudo yum -y install http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm

- Install adobe-flash:

 sudo yum install flash-plugin

- Install the nux-dextop repository (for smplayer, mpv, vlc etc)

sudo yum -y install http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
 
- Then, to install the multimedia programs:

sudo yum -y install  smplayer smplayer-themes vlc audacious uget mpv


- The same repo gives access to Adapta theme:
sudo yum install adapta-gtk-theme

Thursday, March 15, 2018

Switch audio outputs

In GTK (works in KDE):


indicator-sound-switcher



sudo apt-add-repository ppa:yktooo/ppa

sudo apt-get update

sudo apt-get install indicator-sound-switcher


In KDE: A WIDGET - Audio Device Switcher

This widget can be installed by adding widgets - selecting to download them, and searching "audio": see image.

Sunday, November 12, 2017

MPV old interface



To get back the old "pseudo-GUI" or OSC ("ON-SCREEN CONTROLLER"),  according to the FAQ here:

Create the file ~/.config/mpv/lua-settings/osc.conf

with the content:

layout=box
seekbarstyle=slider
deadzonesize=0
minmousemove=3

Monday, October 9, 2017

Dark Whisker Menu in Xfce Panel



Edit `~/.gtkrc-2.0` adding this:

style "mydarktheme"
{
base[NORMAL] = "#2B2B2B"
base[ACTIVE] = "#606060"
text[NORMAL] = "#ccc"
text[ACTIVE] = "#fff"
bg[NORMAL] = "#2B2B2B"
bg[ACTIVE] = "#606060"
bg[PRELIGHT] = "#808080"
bg[SELECTED] = "#606060"
fg[NORMAL] = "#ccc"
fg[ACTIVE] = "#fff"
fg[PRELIGHT] = "#fff"
}
widget "whiskermenu-window*" style "mydarktheme"

Inspired by this post.

Friday, June 16, 2017

Flashgot settings

This is not Linux only.

Examples with uGet of commands to be entered in the Command line arguments template field - especially in order to get the proper names.  

  • Download to HOME path without asking:



[URL] --quiet [ --filename=FNAME]


  • Download to specific location:

[URL] --quiet --folder=/home/cip/Videos/  [ --filename=FNAME]

Wednesday, January 18, 2017

Restore grub boot-list after deleting last installed Linux system partition

By default, the last installed Linux takes over the boot list. If you then delete that system's partition from within a different (that is: a previous) Linux system, you will not have any boot list when you reboot.

To restore the grub boot list (including any changes made with Grub Customizer) of this older system, the one from within which you have deleted the last installed Linux, just stay within this system and do not reboot before doing:

sudo grub-install /dev/sda
sudo update-grub