LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 07-17-2020, 06:25 PM   #1
binkyd
Member
 
Registered: Oct 2016
Distribution: Looking again
Posts: 429

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


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 %U
and

Code:
#!/bin/bash
#Radio-Whatsapp-kdocker-tray
kdocker -d30 -i /usr/share/icons/Nitrux/apps/48/chromium.svg /usr/bin/chromium %U
These 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.

Last edited by binkyd; 07-17-2020 at 06:27 PM.
 
Old 07-18-2020, 11:05 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
I am happy to see that kdocker is not a KDE app - or at least it doesn't pull the kde desktop in as a dependency. I will remember, thanks for the tip!
 
Old 07-18-2020, 05:55 PM   #3
binkyd
Member
 
Registered: Oct 2016
Distribution: Looking again
Posts: 429

Original Poster
Rep: Reputation: 40
kdocker,the K-<games> and kmymoney appear to be standalone.

However, looking for help and/or documentation does truly take you down the KDE Doc rabbit hole.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How Linux Makes Life Easier LXer Syndicated Linux News 0 11-04-2018 05:14 PM
LXer: How Linux Makes Your Life Easier LXer Syndicated Linux News 0 07-20-2018 05:40 AM
Mplayer with mouse bindings makes life easier. clifford227 Linux - Newbie 9 11-23-2011 07:05 AM
Ubuntu customizations, the little stuff that makes life happy. jleslie48 Linux - Newbie 1 04-02-2010 08:39 AM
LXer: Sometimes 330,000 employees makes life easier! LXer Syndicated Linux News 0 10-24-2007 08:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration