Schlagwort-Archive: manjaro

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 virtualization..it 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 = "dnbfm.ru", url = "http://dnbfm.ru/listen.m3u", genre = "dnb" },
            { name = "Rinse.fm", url = "http://r2.dgen.net:8000/rinseradio", genre = "mixed" },
        }
        
        function descriptor()
            return { title="Custom Stations" }
        end
        
        function main()
        	for idx, details in ipairs(stations) do
        		vlc.sd.add_item( {path=details.url, title=details.name, genre=details.genre} )
            end
        end

        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! 🙂

Nachtrag zu ‚Manjaro‘

Mittlerweile gefällt mir die gesamte Linuxwelt dermaßen, dass ich beinahe gänzlich auf die stets brandneue Distro (durch ein Rolling Release – sogar des Kernels!) umgestiegen bin — die ganze Palette an Standardsoftware ist sowieso schon verfügbar, und die nötige Software, die ich benötige, um meine C#-Projekte weiterzuentwickeln, Mono und MonoDevelop, habe ich kurzerhand selbst gebaut und (ganz im Sinne der Entwicklercommunity) veröffentlicht.

Selbst GIMP hat sich schon das erste Mal als prima Substitut für Photoshop herausgestellt – für triviale Aufgaben ist nur minimale Umgewöhnung notwendig, um die gleichen Resultate zu erzielen 🙂

Manjaro

Linux. Fast kein Windows mehr – bei gleicher Performance, bisweilen gleicher Software, gleicher Hardwareunterstützung. Ohne für die Installation eine Konsole zu Gesicht bekommen zu müssen. Mint war zwar als Ubuntu-Derivat gut, jedoch schlägt Manjaro als Arch-Distribution mindestens um eine Rolling Release-Strategy, wodurch auch der Kernel permanent auf dem neuesten Stand gehalten werden kann, und nicht nur einzelne Pakete, wie es bei den meisten anderen Distros der Fall ist:

Manjaro Desktop

Das untere Panel lasse ich ausblenden, sobald die Maus den Rand verlässt! 😉

Die Entwicklung der meist freien/frei verfügbaren Software ist einfach nur phänomenal – und ich werde von nun an einfach mal by default das Linux booten, und *nicht* Windows – auch wenn es extrem einfach und flexibel dank Grub ist. Grafische Spielerei ist mir btw. nicht so wichtig – dafür aber sehr wohl Responsivity und Flexibilität.

Intention dieses Beitrags: Testet Manjaro! 🙂