You are not logged in.
Hello,
I have steam starting up on boot, and I have set the environment variable STEAM_FRAME_FORCE_CLOSE to 1 so it goes to tray.
Now, I would like for the window to go to tray immediately, I don't want to close the main window manually at every boot.
I tried to solve this using devilspie2, so I made the following script, but instead of closing the window, steam shutdowns completely.
Does anyone have a solution for this?
debug_print("Application name: " .. get_application_name())
-- Sleep during login
function sleep(n)
os.execute("sleep " .. tonumber(n))
end
-- Make Steam go to tray.
if (get_application_name()=="Steam") then
debug_print("Application found.");
sleep(10);
debug_print("Trying to close window.");
close_window();
endEDIT:
Ok, just found a solution here: http://www.gentooforum.de/artikel/21548 … steam.html
Just edit the file: ~/.config/autostart/steam.desktop.
and append the parameter -silent to the line: Exec=/usr/bin/steam -silent %U
Last edited by Tenza (2014-08-10 23:01:39)
Offline