Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

start Task Manager minimized

Here you can exchange scripts that you created or have permission to share with other users.
User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 25394
Joined: Wed Jul 19, 2006 6:13 am

Re: start Task Manager minimized

#11

Post by Jerry3904 » Sun Feb 12, 2017 7:17 pm

Richard wrote:On 32 bit netbook,
@ 750 cpu% approx. 9-13%
@2500 cpu% approx. 4-6%

Still too high to leave running by default on this one.
I think you mean 750 ms and 2500 ms, right?
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

User avatar
Richard
Posts: 2802
Joined: Fri Dec 12, 2008 10:31 am

Re: start Task Manager minimized

#12

Post by Richard » Sun Feb 12, 2017 8:31 pm

Yes, you are correct.
Corrected, in the original post.

The Task Manager is a nice tool.
The running graph of history is handy.
The T-M is still available by double-clicking
on the Xfce4-Sensors-plugin.

I use the xfce4-sensors-plugin in the task bar
and the Task-Manager shows cpu% at 0.00% for the plugin.
LT: MX18.3: Thinkpad T430: DualCore, Intel i5-3320M, Ivy Bridge; 8GB RAM; 4.19.0-5-amd64; 119GB SSD 840PRO, Intel Graphics-Audio-Network

NB: antiX19b2full-xfce; MX18.3: AsusTek EeePC 1005HA: Intel DualCore Atom N270, 1GB RAM, 4.19.0-1-686, 150GB HDD

User avatar
penguin
Forum Regular
Forum Regular
Posts: 375
Joined: Wed Jan 04, 2017 3:15 pm

Re: start Task Manager minimized

#13

Post by penguin » Wed Feb 15, 2017 2:00 pm

I made it executable , copied it in the /usr/bin (see attached screnshoot) and created a startup entry.

But it executes as maximized not minimized :frown:

any idea ?
You do not have the required permissions to view the files attached to this post.

User avatar
Richard
Posts: 2802
Joined: Fri Dec 12, 2008 10:31 am

Re: start Task Manager minimized

#14

Post by Richard » Wed Feb 15, 2017 3:04 pm

I can't find a way to start minimized; however,
if you reduce the window to it's smallest and
then close with the X in the top right corner
it will start at that size.

Perhaps, talk to the developer.
Last edited by Richard on Wed Feb 15, 2017 3:28 pm, edited 1 time in total.
LT: MX18.3: Thinkpad T430: DualCore, Intel i5-3320M, Ivy Bridge; 8GB RAM; 4.19.0-5-amd64; 119GB SSD 840PRO, Intel Graphics-Audio-Network

NB: antiX19b2full-xfce; MX18.3: AsusTek EeePC 1005HA: Intel DualCore Atom N270, 1GB RAM, 4.19.0-1-686, 150GB HDD

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 25394
Joined: Wed Jul 19, 2006 6:13 am

jerry3904

#15

Post by Jerry3904 » Wed Feb 15, 2017 3:24 pm

Try copying it back to your home folder, make sure it is still executable and belongs to your user name. In the image you show it belonging to root, but you are calling it as regular user.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

skidoo
Forum Guide
Forum Guide
Posts: 1446
Joined: Tue Sep 22, 2015 6:56 pm

Re: start Task Manager minimized

#16

Post by skidoo » Wed Feb 15, 2017 3:26 pm

find a way to start minimized
Hmm, is this launchstring effective in achieving minimized startup?

Code: Select all

Exec=xfce4-taskmanager & sleep 2 & xdotool windowminimize $(wmctrl -l | grep -e "Task Manager" | awk '{print $1}')
nope.
another attempt:

Code: Select all

xfce4-taskmanager & sleep 2 & $(wmctrl -l | grep -e "Task Manager" | awk '{print $1}') 2> /dev/null & xdotool windowminimize `!!`
it's a fun puzzle, eh...

=================

try the following (works for me when I use similar to launch+minimize mate's SystemMonitor)

Code: Select all

xfce4-taskmanager & sleep 2 && xdotool windowminimize $(wmctrl -l | grep -e "Task Manager" | awk '{print $1}')

Post Reply

Return to “Scripts”