Originally created by @awptechnologies on GitHub (Feb 25, 2024).
I am on the latest release and auto start on login is very unstable. Sometimes it works others it doesn't. I am using a .bat script in the shell:startup folder that then triggers a .ps1 script starting komorebi. Every time i login i see the terminal pop up and run the command but even with that sometimes the application doesn't work and i have to still start it manually. I don't believe there is an error with my script because it works half the time. I also find that sometimes the program exits by itself. For instance if i force my pc to stay awake with power-toys after an hour or so i come back to windows not snapping the way they should and only a reboot will fix it. Love the program as it is very useful for someone that bounces back and forth to linux. Hoping the small issues are worked out so i can recommend the program to others in my family that aren't so tech savvy.
Originally created by @awptechnologies on GitHub (Feb 25, 2024).
I am on the latest release and auto start on login is very unstable. Sometimes it works others it doesn't. I am using a .bat script in the shell:startup folder that then triggers a .ps1 script starting komorebi. Every time i login i see the terminal pop up and run the command but even with that sometimes the application doesn't work and i have to still start it manually. I don't believe there is an error with my script because it works half the time. I also find that sometimes the program exits by itself. For instance if i force my pc to stay awake with power-toys after an hour or so i come back to windows not snapping the way they should and only a reboot will fix it. Love the program as it is very useful for someone that bounces back and forth to linux. Hoping the small issues are worked out so i can recommend the program to others in my family that aren't so tech savvy.
adam
added the bug label 2026-01-05 14:49:36 +01:00
are you using static configuration file?
komorebic enable-autostart command (check its params) creates a shortcut (not a ps1) with the correct command.
@azinsharaf commented on GitHub (Feb 25, 2024):
are you using static configuration file?
komorebic enable-autostart command (check its params) creates a shortcut (not a ps1) with the correct command.
@awptechnologies commented on GitHub (Feb 26, 2024):
how do i create a shortcut? and yes i use static config.
This is my .bat as well as my ps1
.bat
PowerShell -ExecutionPolicy RemoteSigned -File "C:\Users\AWP\CONFIG\Komorebie\Komorebi.ps1"
.ps1
Start-Process 'komorebi.exe' -ArgumentList '--config="C:\Users\AWP\komorebi.json"' -WindowStyle hidden
if (!(Get-Process whkd -ErrorAction SilentlyContinue))
{
Start-Process whkd -WindowStyle hidden
}
@azinsharaf commented on GitHub (Feb 26, 2024):
i haven't tried the power-shell and batch file for autostart but the method below should work well with the latest release.
https://lgug2z.github.io/komorebi/cli/enable-autostart.html
Closing this unless there are specific issues with the enable-autostart command as it's not feasible to debug different custom autostart approaches here
@LGUG2Z commented on GitHub (May 12, 2024):
Closing this unless there are specific issues with the `enable-autostart` command as it's not feasible to debug different custom autostart approaches here
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @awptechnologies on GitHub (Feb 25, 2024).
I am on the latest release and auto start on login is very unstable. Sometimes it works others it doesn't. I am using a .bat script in the shell:startup folder that then triggers a .ps1 script starting komorebi. Every time i login i see the terminal pop up and run the command but even with that sometimes the application doesn't work and i have to still start it manually. I don't believe there is an error with my script because it works half the time. I also find that sometimes the program exits by itself. For instance if i force my pc to stay awake with power-toys after an hour or so i come back to windows not snapping the way they should and only a reboot will fix it. Love the program as it is very useful for someone that bounces back and forth to linux. Hoping the small issues are worked out so i can recommend the program to others in my family that aren't so tech savvy.
@azinsharaf commented on GitHub (Feb 25, 2024):
are you using static configuration file?
komorebic enable-autostart command (check its params) creates a shortcut (not a ps1) with the correct command.
@awptechnologies commented on GitHub (Feb 26, 2024):
how do i create a shortcut? and yes i use static config.
This is my .bat as well as my ps1
.bat
PowerShell -ExecutionPolicy RemoteSigned -File "C:\Users\AWP\CONFIG\Komorebie\Komorebi.ps1"
.ps1
Start-Process 'komorebi.exe' -ArgumentList '--config="C:\Users\AWP\komorebi.json"' -WindowStyle hidden
if (!(Get-Process whkd -ErrorAction SilentlyContinue))
{
Start-Process whkd -WindowStyle hidden
}
@azinsharaf commented on GitHub (Feb 26, 2024):
i haven't tried the power-shell and batch file for autostart but the method below should work well with the latest release.
https://lgug2z.github.io/komorebi/cli/enable-autostart.html
@LGUG2Z commented on GitHub (May 12, 2024):
Closing this unless there are specific issues with the
enable-autostartcommand as it's not feasible to debug different custom autostart approaches here