You are not logged in.
Hello Everyone,
I'm fairly new to Arch Linux, I am looking for some guidance.
I am not posting to find the answer to my question, more for guidance into seeing if others have posted it.
I've been going to Google and checking out the various forums topics which have been linked in bbs, but no luck as of yet.
What I am trying to find;
Would it be possible to launch two separate programs on different virtual workspaces at once at login?
i.e
Kodi Launches on Workspace one, and an internet browser on Workspace two.
Would anyone have any advice on keywords I could use to try and help narrow down my searches, please?
Thank you.
Last edited by dhumes06 (2017-11-27 18:10:32)
"By golly, I'm beginning to think Linux really *is* the best thing since
sliced bread."
(By Vance Petree, Virginia Power)
Offline
Welcome to the forums dhumes06 ![]()
Check out...
https://wiki.archlinux.org/index.php/Au … #Graphical
and...
man wmctrlLast edited by Slithery (2017-11-27 15:15:08)
Offline
Thank you, slithery
I have been checking out that page, but have yet to find what I would need to separate the launches on different workspaces.
But I have not thought about the man Idea,
Thanks, I will post back if I need more assistance.
"By golly, I'm beginning to think Linux really *is* the best thing since
sliced bread."
(By Vance Petree, Virginia Power)
Offline
I have been checking out that page, but have yet to find what I would need to separate the launches on different workspaces.
That's what wmctrl is for (you'll need to install it first). You start both applications and move one of them to the second workspace with wmctrl.
Last edited by Slithery (2017-11-27 15:43:17)
Offline
In case of KDE there's also kstart and many WMs provide rules to control the initial workspace of a given client - what in either case raises the question which window manager you're using ...
Offline
Hello,
and thank you to everyone.
With the help of the suggested applications on this thread,
I have been able to create a script that will do exactly what I need; Open Two separate programs, on different workspaces.
I know it is dirty,
but if anyone is interested here is what I ended up creating.
#! /bin/bash
firefox "www.netflix.ca" &
wmctrl -r "firefox" -t 1 &
wmctrl -s 1 &
sleep 5s;
xdotool key "F11"
sleep 5s
kodi &
wmctrl -r "Kodi" -t 0 &
wmctrl -s 0
Thank you again to: slithery & seth.
My machine does run kde, so i will be working with that on mine.
But for my grandmother, cordcutting her cable services. i will be looking into a lightweight display manager.
Last edited by dhumes06 (2017-11-27 17:30:07)
"By golly, I'm beginning to think Linux really *is* the best thing since
sliced bread."
(By Vance Petree, Virginia Power)
Offline
If you want to keep your current window manager, you might also want to look into devilspie. It can assign X windows by e.g. classname to different workspaces and do other things as well.
Edit: With KDE, that might be possible in the Advanced Application settings (at least it was in an older version as far as I remember)
Last edited by progandy (2017-11-27 17:38:03)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
If you want to keep your current window manager, you might also want to look into devilspie. It can assign X windows by e.g. classname to different workspaces and do other things as well/
Thank you, I will keep that in mind once I get to my box.
"By golly, I'm beginning to think Linux really *is* the best thing since
sliced bread."
(By Vance Petree, Virginia Power)
Offline
"kstart --help", it creates temporary rules for kwin and runs the application (in case you don't want to apply those rules in general, eg. to start a browser on a different workspace)
Offline