You are not logged in.
Pages: 1
Topic closed
I have a couple of applications set to start at start-up. Is it possible to make them start into their own specific workspace every time? e.g. Firefox starts in Workspace 2, Sunbird in Workspace 3? I had this working when I was using Fluxbox, but Fluxbox had a right click in the title bar option to "remember workspace". I don't see that option in xfce.
Is it possible to do this?
Offline
Not a real option in Xfce, but search the forum and you'll find your answer (hint: Devils Pie).
Offline
Not a real option in Xfce, but search the forum and you'll find your answer (hint: Devils Pie).
Can I buy another hint please? I did a member search for Devils Pie but he doesn't exist and so far whatever wording I've used to search the forums for similar posts hasn't shown up anything.
Offline
devilspie
wmctrl
Offline
devilspie
wmctrl
Well, if they are still members here, your "search for members" function must be broken because it doesn't find either of them.
Offline
wmctrl (http://www.sweb.cz/tripie/utils/wmctrl/) is a program for controling via scripts the Window Manager.
It will cover your needs, but you have to read and write a bit.
DevilsPie (http://www.burtonini.com/blog/computers/devilspie) is a daemon that opens windows in choosen Desktops. It's less powerfull than wmctrl and I foud it a bit buggy in other WM's than Metacity (gnome).
Ozganizator is an easy way for doing some things with wmctrl that can be easily used for this...
Something like this in Autostart should do the work:
#! /bin/bash
firefox &
wait
sunbird &
wait
sh ~/.ozganizator/ozganizator &
Or just the proper wmctrl command instead of using ozganizator:
#! /bin/bash
firefox &
wait
sunbird &
wait
wmctrl -i -r firefox -t 2
wmctrl -i -r sunbird -t 3
If you want more help, tell me here (http://forum.xfce.org/index.php?topic=3124.0).
Offline
wmctrl (http://www.sweb.cz/tripie/utils/wmctrl/) is a program for controling via scripts the Window Manager.
It will cover your needs, but you have to read and write a bit.
DevilsPie (http://www.burtonini.com/blog/computers/devilspie) is a daemon that opens windows in choosen Desktops. It's less powerfull than wmctrl and I foud it a bit buggy in other WM's than Metacity (gnome).
Ozganizator is an easy way for doing some things with wmctrl that can be easily used for this...
Many thanks! And thanks for speaking plain english instead of expecting me to work on cryptic clues.
I'll check your suggestions out - thanks again
Offline
You can learn from clues .
Offline
If I had understand the difference between Wmctrl and Devilspie correct you need to start up applications with a Wmctrl script or commando each time while Devilspie runs in the background (deamon) and controls windows without need for specific commands, the usual built in meny command is good enough.
I have now installed Devilpie and I like it. I found a real good manual at http://wiki.foosel.net/linux/devilspie with lots of good examples.
Offline
If I had understand the difference between Wmctrl and Devilspie correct you need to start up applications with a Wmctrl script or commando each time while Devilspie runs in the background (deamon) and controls windows without need for specific commands, the usual built in meny command is good enough.
I have now installed Devilpie and I like it. I found a real good manual at http://wiki.foosel.net/linux/devilspie with lots of good examples.
How the heck do you start the daemon? I've installed it but I can't seem to start it.
Offline
Never mind. It seems to be working now. This is exactly what I needed
Offline
I have already been a little disapointed since my Devilspie start yesterday. ;-) The first problem is that you need to take care about dialog window two. Or else they will be as large as the application. There will be a lots of rules to wrigth. But I will see if I can stand it.
Another drawback is that Devilpie slow down window openings in our great and outstanding fast windowmanager.
Here is my two (so far) Devilspie rules for Firefox.
(if
(is (application_name) "Firefox")
(begin
(set_workspace 1)
(geometry "1200x1120+396+0")
)
)
(if
(and
(is (application_name) "Firefox")
(is (window_name) "Open file")
)
(begin
(wintype "dialog")
(geometry "800x800")
)
)
Offline
Opening an app in a specific workspace can also be achieved with the Python library pyautogui.
This is an old topic, but maybe it will be useful for someone.
Here is a short tutorial: https://forum.peppermintos.com/index.ph … 801.0.html
Offline
@Fritz74, thanks for the comment. However, this thread is from 2007 - almost a lifetime ago. If you don't mind, please refrain from posting in old threads - the original posters are long gone.
Closing thread.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Pages: 1
Topic closed
[ Generated in 0.012 seconds, 8 queries executed - Memory usage: 572.2 KiB (Peak: 589.05 KiB) ]