Schlagwort-Archiv: vlc

Even more Linux

Hi everyone,
I’ve started using Manjaro Linux a longer period of time ago – and I was able to figure out couple of interesting things.
Take the following notes as a dump of changes I made to customize the installation in order to make it more fitting to my personal needs — I’m also doing this to have a nice textual backup for later installations & setups :-)

      • To speed up your daily git workflow when using thunar file manager, you may put in a user-defined action (Edit -> User defined actions) for folders and take /bin/bash -c "cd '%f' && git gui" as the action command — this will invoke a sub shell and open the normal git gui w/o having to type it inside an extra terminal!
      • The intel_pstate driver which was introduced in kernel 3.9 is responsible for better performance and efficiency of Sandy Bridge (and later architectures) CPUs – so it’s better not to disable it in the kernel via intel_pstate=disable
      • xfwm4-tiling is great for getting Windows Aero-like docking behaviour for program windows – just drag a window to an edge, and it’ll resized to half the screen size. Also, double-click a windows‘ frame header and it’ll be maximized. Very nice, imho. Under Manjaro it’s currently needed to use yaourt to install it!
      • The configuration of Samba (/etc/samba/smb.conf) can be done easily. Samba allows you to share ‚net drives‘ across the network to Windows clients. To allow Windows users to access the shares without entering any kind of password, just enter
        guest account = nobody
        map to guest = bad user

        into the config file.
      • If you want to access these shares under Linux then, you still have to enter an (maybe invalid) password. Otherwise it’ll claim that it cannot mount a cifs because the system doesn’t support it – though it actually is enabled in the kernel by default! 😉
      • Always run qemu with the -enable-kvm parameter to have hardware-accelerated instruction always was a slow mess to start my VM w/o this one! 😉
      • In the configuration of pulseaudio (/etc/pulse/daemon.conf)
        flat-volumes = no
        won’t let your application specific volume controls be messed up when changing the system’s master volume anymore. The standard ‚yes‘ value caused headaches after playing with the volume controller!
      • To outsource the temporary files and the pacman cache into your RAM, append
        tmpfs /tmp tmpfs nosuid 0 0 and
        tmpfs /var/cache/pacman/pkg tmpfs nosuid 0 0
        to /etc/fstab. Don’t forget the tabs between the parameters! Anyway, this is great for reducing an SSDs daily write traffic
      • To disable Chromium’s browse cache and enable hardware accelerated WebGL functionality, just put
        CHROMIUM_FLAGS="--disk-cache-dir=/dev/null --disk-cache-size=1 --enable-webgl --ignore-gpu-blacklist"
        into /etc/chromium/default.
      • When executing a game or other graphics card-using program via wine and there’s a
        fixme:win:EnumDisplayDevicesW ((null),0,0x3306abf4,0x00000000), stub! – like output, don
        ‚t interpret this as an error! It’s just a normal warning and is unlikely to be related to further execution issues.
      • If optirun glxspheres cannot be executed normally and you’ve got an Optimus-setup in your machine, just remove bumblebee, restart your machine, and put bumblebee back on it. Bumblebee is the Linux driver for nVidia’s optimus chip.
      • Recently, I wasn’t able to execute GTA:San Andreas via wine without root rights – all I had to do was to remove my local .wine-directory to get it back working via
        optirun wine gta_sa.exe
      • For optimizing VLC player for every day internet radio consumption, I’ve found a lua script which adds a custom radio stations in an extra internet services entry:
        stations = {
            { name = "", url = "", genre = "dnb" },
            { name = "", url = "", genre = "mixed" },
        function descriptor()
            return { title="Custom Stations" }
        function main()
        	for idx, details in ipairs(stations) do
 {path=details.url,, genre=details.genre} )

        This script has to get a .lua-extension and should be placed in /usr/share/vlc/lua/sd/. Don’t forget to update the read rights for your script when placing the file in this directory! Afterwards, you’ll get something like this in your player:

Hopefully these tips and hints were useful for you! :-)