Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 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.
Message
Author
User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 22450
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, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

User avatar
Richard
Posts: 2069
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.
MX171: Lenovo T430: Intel DualCore i5-3320M, 8 GB RAM, 4.18.7-antix.1-amd64-smp, 119GB SSD
MX171: AA1-ZG5/EeePC-1005HA: DualCore N270, 1 GB RAM, 4.9.126-antix.1-686-smp-pae, 150GB HDD
Doublecmd84, LibO61, Dropbx, PMoon, CherryT,Vbox. LinuxCounter #208633

User avatar
penguin
Forum Regular
Forum Regular
Posts: 261
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: 2069
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.
MX171: Lenovo T430: Intel DualCore i5-3320M, 8 GB RAM, 4.18.7-antix.1-amd64-smp, 119GB SSD
MX171: AA1-ZG5/EeePC-1005HA: DualCore N270, 1 GB RAM, 4.9.126-antix.1-686-smp-pae, 150GB HDD
Doublecmd84, LibO61, Dropbx, PMoon, CherryT,Vbox. LinuxCounter #208633

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 22450
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, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

skidoo
Forum Regular
Forum Regular
Posts: 862
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”