Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Startup Applications XFCE - How to minimize? How to delay? -
-
- Posts: 12
- Joined: 2020-08-31 14:55
Startup Applications XFCE - How to minimize? How to delay? -
Good evening. So im searching since yesterday how to auto minimize the viber app in very startup, but anything that i used hasnt work. Also im trying to delay the startup of my vpn in order for it to wait first the network manager to establish connection and then do its work, but unfortunately the command i found ( ch -s "sleep 20 && appname or something like it ) it works only in first restart, after this it get reseted? and becomes again as it was before ( theappaname ). Any thoughts or suggestions to fix these? Thanks.
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: Startup Applications XFCE - How to minimize? How to dela
You need to post exactly what you have tried or everybody's time will be wasted by people suggesting things you have already confirmed not to work.Jean Charalab wrote:So im searching since yesterday how to auto minimize the viber app in very startup, but anything that i used hasnt work.
Please provide more detail — where exactly did you enter that command and what *exactly* did you use? I've never heard of a 'ch' command, do you actually mean 'sh'?Jean Charalab wrote:the command i found ( ch -s "sleep 20 && appname or something like it ) it works only in first restart, after this it get reseted? and becomes again as it was before
And anyway you should stick to a single problem per thread to aid SEO when other people with the same problem are searching for a solution — these boards are supposed to be a community resource rather than a help desk.
deadbang
-
- Posts: 12
- Joined: 2020-08-31 14:55
Re: Startup Applications XFCE - How to minimize? How to dela
Unfortunately i cant post every single post i ve read in web, they were like 15 and scattered. The XFCE DE has in its settings a startup tab, there you can add apps in order to start along with the system ( im sure you already know this ). There i add my commands. The sleep command for the vpn and for viber i tried -minimized, -startintray and other.
-
- Global Moderator
- Posts: 2681
- Joined: 2018-06-20 15:16
- Location: Colorado
- Has thanked: 41 times
- Been thanked: 196 times
Re: Startup Applications XFCE - How to minimize? How to dela
There should be ~/.config/autostart/ desktop file create for you, append or edit with 'Hidden=true'.
When the command line switch works this can be =false. As far as a delay, don't use autostart if a script doesn't play well. Create a button or other solution. I use a hidden 'verve' plugin loaded with multiple choice actions to configure such things.
When the command line switch works this can be =false. As far as a delay, don't use autostart if a script doesn't play well. Create a button or other solution. I use a hidden 'verve' plugin loaded with multiple choice actions to configure such things.
-
- Posts: 677
- Joined: 2018-05-10 19:34
- Location: Some where out west
- Been thanked: 1 time
Re: Startup Applications XFCE - How to minimize? How to dela
Well no one expects that, and just reading some posts is not the same as actually trying something:
Unread postby Jean Charalab » 2020-08-31 16:18
Unfortunately i cant post every single post i ve read in web, they were like 15 and scattered.
All we ask is that you clarify what you actually have tried.You need to post exactly what you have tried
Code: Select all
ch -s "sleep 20 && appname or something like it
Code: Select all
parrot$ man ch
CH(4) Device Drivers Manual CH(4)
NAME
ch - SCSI media-changer (juke box) driver
SYNOPSIS
ch? at scsibus?
DESCRIPTION
The ch driver provides support for SCSI juke boxes. It allows many slots
of media to be multiplexed between a number of drives.
A SCSI adapter and a logical scsibus must also be separately configured
into the system before a SCSI changer can be configured.
As the SCSI adapter is probed during boot, the SCSI bus is scanned for
devices. Any devices found which answer as "Changer" type devices will
be "attached" to the ch driver. The first device found will be attached as ch0 and the next ch1, etc It is also possible to specify what ch
unit a device should come on-line as; refer to scsi(4) for details on
kernel configuration.-----snip---
SEE ALSO
chio(1), cd(4), intro(4), scsi(4), sd(4), st(4)
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!
-
- Global Moderator
- Posts: 2681
- Joined: 2018-06-20 15:16
- Location: Colorado
- Has thanked: 41 times
- Been thanked: 196 times
Re: Startup Applications XFCE - How to minimize? How to dela
Well I'll be! I actually have some! Pioneers and Nakamichi's !cuckooflew wrote: ch - SCSI media-changer (juke box) driver
- oswaldkelso
- df -h | grep > 20TiB
- Posts: 1495
- Joined: 2005-07-26 23:20
- Location: UK
- Has thanked: 1 time
- Been thanked: 60 times
Re: Startup Applications XFCE - How to minimize? How to dela
I was going to suggest sleep and xdotool for the start, minimise bit, but was unsure of the closing the running process with systemd once logged out. So I searched for
https://askubuntu.com/questions/663187/ ... -minimized
I'd put money on it that if I search
That would be all 3 components the op asked for. delayed start, minimise and kill on log out.
Some of the joys of being a boomer
first hit has lot's of options. Though I'd prefer a more concise human readable solution."linux start application minimised"
https://askubuntu.com/questions/663187/ ... -minimized
I'd put money on it that if I search
that would have an answer also."linux close user applications on logout"
That would be all 3 components the op asked for. delayed start, minimise and kill on log out.
Some of the joys of being a boomer
Free Software Matters
Ash init durbatulûk, ash init gimbatul,
Ash init thrakatulûk agh burzum-ishi krimpatul.
My oldest used PC: 1999 imac 333Mhz 256MB PPC abandoned by Debian
Ash init durbatulûk, ash init gimbatul,
Ash init thrakatulûk agh burzum-ishi krimpatul.
My oldest used PC: 1999 imac 333Mhz 256MB PPC abandoned by Debian
-
- Posts: 12
- Joined: 2020-08-31 14:55
Re: Startup Applications XFCE - How to minimize? How to dela
[quote="CwF"]
My problem with autostart config is that its resets it self in every reboot. So any change i make into it its erased.
My problem with autostart config is that its resets it self in every reboot. So any change i make into it its erased.
Re: Startup Applications XFCE - How to minimize? How to dela
You can create a script with something likeJean Charalab wrote:Good evening. So im searching since yesterday how to auto minimize the viber app in very startup, but anything that i used hasnt work. Also im trying to delay the startup of my vpn
Code: Select all
viber && xdotool windowminimize $(xdotool search --class viber|tail -1)
As for delayed start systemd.timers are your best friend. You can do something like
Code: Select all
[Unit]
Description=firefox
[Timer]
OnActiveSec=15000ms
AccuracySec=10ms
[Install]
WantedBy=timers.target
Code: Select all
[Unit]
Description=firefox
[Service]
Type=simple
Environment=DISPLAY=:0
ExecStart=/dev/shm/ff/firefox
Then create a simple bash script to list all of your timers and services and chuck it in xfce's autostart menu.
Code: Select all
#!/bin/bash
systemctl --user start RsyncFoxToRam.timer
systemctl --user start Setresolution.timer
systemctl --user start conky.timer
systemctl --user start pcmanfmstartwo.timer
systemctl --user start geany.timer
systemctl --user start firefox.timer
edit - the systemd.units will go here - /home/$youruser/.config/systemd/user
Re: Startup Applications XFCE - How to minimize? How to dela
Have you tried putting
as the start command in the session/startup manager? I don't use Viber, but that's what multiple websites report.
Code: Select all
/opt/viber/Viber StartMinimized
Take my advice, I'm not using it.
-
- Posts: 12
- Joined: 2020-08-31 14:55
Re: Startup Applications XFCE - How to minimize? How to dela
Guys the riseupvpn that im using it seems has some mechanism what it rewrites its autostart config after every reboot. So any edits there are meaningful. I already tried the startminimized and other similar commands and they didnt work. Im gonna try the last suggestion. Thanks for the responds.
Re: Startup Applications XFCE - How to minimize? How to dela
Riseup VPN shouldn't be affecting startup parameters. It's not started until later, and only affects external traffic. I don't believe it has any effect on your issues. You can test that by disabling it temporarily. I have seen issues where it causes some programs to fail to work properly by blocking traffic. It's not a perfect solution, but it probably is the best free VPN available.
Take my advice, I'm not using it.
-
- Posts: 12
- Joined: 2020-08-31 14:55
Re: Startup Applications XFCE - How to minimize? How to dela
[quote="sgosnell"]
My issue is that riseup starts along or before the networkmanager establishes its connection which ends up into an error and a failure of it to connect properly into tunnel, thats why i need the delay command.
My issue is that riseup starts along or before the networkmanager establishes its connection which ends up into an error and a failure of it to connect properly into tunnel, thats why i need the delay command.
Re: Startup Applications XFCE - How to minimize? How to dela
Sorry, you're mixing issues. You should probably use a separate thread for each issue. I don't know what the problem with RiseUpVPN, it works for me. I've never needed to investigate the nuts and bolts, it just works.
Take my advice, I'm not using it.
- sunrat
- Administrator
- Posts: 6476
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 118 times
- Been thanked: 474 times
Re: Startup Applications XFCE - How to minimize? How to dela
Agreed, separate issues. I suspect these "startup parameters" are configured incorrectly.sgosnell wrote:Riseup VPN shouldn't be affecting startup parameters.
It's not a free VPN. They say it costs them $60p.a. and they ask users to contribute at least that much to use it. I guess you can leech if you absolutely have to but if it's worth it for you to use, you should contribute if you can.It's not a perfect solution, but it probably is the best free VPN available.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
-
- Posts: 12
- Joined: 2020-08-31 14:55
Re: Startup Applications XFCE - How to minimize? How to dela
[quote="sgosnell"] Brother im not mixing anything, i just want to make my vpn to delay just as the title and the first comment says
Re: Startup Applications XFCE - How to minimize? How to dela
I had been replying to your issue of how to start Viber minimized. You have stated multiiple issues in this thread. That confuses everything.
@sunrat: I've been making automatic monthly contributions to RiseUp for several years. Everyone gets the popup nag though, whether or not they've contributed. But technically it's free if one doesn't want to, or can't, contribute. I choose to help, just as I do for a number of other organizations.
@sunrat: I've been making automatic monthly contributions to RiseUp for several years. Everyone gets the popup nag though, whether or not they've contributed. But technically it's free if one doesn't want to, or can't, contribute. I choose to help, just as I do for a number of other organizations.
Take my advice, I'm not using it.
- sunrat
- Administrator
- Posts: 6476
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 118 times
- Been thanked: 474 times
Re: Startup Applications XFCE - How to minimize? How to dela
Which of the several excellent suggestions have you tried? The systemd timers posted by sickpig would seem to be just what you need.Jean Charalab wrote:sgosnell wrote: Brother im not mixing anything, i just want to make my vpn to delay just as the title and the first comment says
Maybe I did words a bit wrong but I did say contributions should be made by those who are able. I too contribute there although only using email so far, and to other open source projects.sgosnell wrote:@sunrat: I've been making automatic monthly contributions to RiseUp for several years. Everyone gets the popup nag though, whether or not they've contributed. But technically it's free if one doesn't want to, or can't, contribute. I choose to help, just as I do for a number of other organizations.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
-
- Posts: 12
- Joined: 2020-08-31 14:55
Re: Startup Applications XFCE - How to minimize? How to dela
two issues are considerig as multiples...? whatever...