Article 55VV1 Thought I'd Share Some Stuff that Makes My Desktop Life Easier - have fun

Thought I'd Share Some Stuff that Makes My Desktop Life Easier - have fun

by
binkyd
from LinuxQuestions.org on (#55VV1)
Running Manjaro Cinnamon, and I like to minimize apps to the tray, where they'll be ready to use, if not already running in the background. (I'm a bit of a lazy sort.)

Original beef:
Too many programs DO NOT include "minimize-to-tray" as an option in their "Preferences / Settings", so I went looking for solutions.

First was "Alltray" but it was too restrictive.
After which I found "kdocker" -

and after much experimention I found some switches to go with it to give me more control.

Here's 2 working scripts on my desktop that let me start :

a music player, which minimizes to the tray immediately and a browser that opens specific websites and minimizes to the tray also. You can find your own weird uses.

Code:kdocker [-d30] [-i] <path to the icon you want kdocker to display in the tray> <path to the app you want to open and hide in the tray>The first switch [-d30] is a delay to give the app and kdocker time to find each other. Not quite sure how/where I found the second switch, [i] , but it works
If anybody can fill in what it's for/what it does it would be nice.

If you put just the lines with the actual commands into the "command box" in 'startup applications' it will work without the script part. For some reason I had a mental block on going from my script to the command lines - just saying - some of this stuff can be confusing

here we go:

Code:kdocker [-d30] [-i] <icon> <app>as in

Code:#!/bin/bash
#Player-kdocker-tray
kdocker -d30 -i /usr/share/icons/Nitrux/apps/48/rhythmbox.svg /usr/bin/rhythmbox %Uand

Code:#!/bin/bash
#Radio-Whatsapp-kdocker-tray
kdocker -d30 -i /usr/share/icons/Nitrux/apps/48/chromium.svg /usr/bin/chromium %UThese have worked really well on multiple distros and boxes. Any improvements, lessons etc. are welcome.

(For some reason Manjaro's rhythmbox, although the same version as the one on Mint, skips including the 'minimize to tray' plugin and I use the second one to open chromium with 3 tabs - 'whatsapp web, rockradio and reddit.' Don't use chromium for anything else, and it, too, is armoured.)

Have fun.latest?d=yIl2AUoC8zA latest?i=6LTSGuv5F0I:i9em-HjTBC8:F7zBnMy latest?i=6LTSGuv5F0I:i9em-HjTBC8:V_sGLiP latest?d=qj6IDK7rITs latest?i=6LTSGuv5F0I:i9em-HjTBC8:gIN9vFw6LTSGuv5F0I
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments