
Hello everyone, After making the usual statement that I'm completely new to xmonad and I have no clue about haskell, I have loved xmonad and I have a question to find out if I can make more out of it: I'm using fedora linux with xmonad and i'm preparing for a music performance. I need at the concert to be able to startup my laptop and if possible to have everything up and running, without having to switch between desktops and run terminals & programs. This means that I don't only want to run some programs at startup (which could be done in the usual way for linux with a startup script - although I don't really know much about it) but I want the programs to be ran from terminals and be placed in the desktops in the way I would do manually after launching xmonad. Is this possible with xmonad? Any simple tutorials available on this? Thanks, Dimitris ___________________________________________________________ Χρησιμοποιείτε Yahoo!; Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr

dbozelos:
Hello everyone,
After making the usual statement that I'm completely new to xmonad and I have no clue about haskell, I have loved xmonad and I have a question to find out if I can make more out of it:
I'm using fedora linux with xmonad and i'm preparing for a music performance. I need at the concert to be able to startup my laptop and if possible to have everything up and running, without having to switch between desktops and run terminals & programs. This means that I don't only want to run some programs at startup (which could be done in the usual way for linux with a startup script - although I don't really know much about it) but I want the programs to be ran from terminals and be placed in the desktops in the way I would do manually after launching xmonad.
Is this possible with xmonad? Any simple tutorials available on this? Thanks,
The easiest way is to add the required programs to your .xinitrc or .xsession file, which is arranged to run before the window manager is launched. Here's the general overview: http://www.haskell.org/haskellwiki/Xmonad/Frequently_asked_questions#Startup...

On Sat, Jul 25, 2009 at 11:47:02PM +0000, Bozelos Dimitris wrote:
Hello everyone, After making the usual statement that I'm completely new to xmonad and I have no clue about haskell, I have loved xmonad and I have a question to find out if I can make more out of it: I'm using fedora linux with xmonad and i'm preparing for a music performance. I need at the concert to be able to startup my laptop and if possible to have everything up and running, without having to switch between desktops and run terminals & programs. This means that I don't only want to run some programs at startup (which could be done in the usual way for linux with a startup script - although I don't really know much about it) but I want the programs to be ran from terminals and be placed in the desktops in the way I would do manually after launching xmonad. Is this possible with xmonad? Any simple tutorials available on this? Thanks, Dimitris
I may add to Don's reply that you may want to use manage hooks to ensure the programs you start end up on the right workspace. I seem to understand from your message that this is what you want. For example, if you have a program whose window has window class "Mixer", and you want this on workspace "4", your xmonad configuration should look something like myManageHooks = composeAll [ className =? "Mixer" --> doShift "4" , ... ] and in your "main" xmonad $ defaultConfig { manageHook = myManageHooks , ... } Cheers, Norbert

Bozelos Dimitris wrote:
Hello everyone,
After making the usual statement that I'm completely new to xmonad and I have no clue about haskell, I have loved xmonad and I have a question to find out if I can make more out of it:
I'm using fedora linux with xmonad and i'm preparing for a music performance. I need at the concert to be able to startup my laptop and if possible to have everything up and running, without having to switch between desktops and run terminals & programs. This means that I don't only want to run some programs at startup (which could be done in the usual way for linux with a startup script - although I don't really know much about it) but I want the programs to be ran from terminals and be placed in the desktops in the way I would do manually after launching xmonad.
Is this possible with xmonad? Any simple tutorials available on this? Thanks,
Dimitris
------------------------------------------------------------------------ Χρησιμοποιείτε Yahoo! Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr ------------------------------------------------------------------------
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
Why not start all the programs that you require, arrange everything, then put the laptop into Suspend. That's what I always do, I never shut down anymore, because it's a pain in the ass to rearrange all the windows, and I've got many. Best regards Dayo

Le 25 Jul 2009 23:47, Bozelos Dimitris a écrit:
Hello everyone,
Hi,
After making the usual statement that I'm completely new to xmonad and I have no clue about haskell, I have loved xmonad and I have a question to find out if I can make more out of it: I'm using fedora linux with xmonad and i'm preparing for a music performance. I need at the concert to be able to startup my laptop and if possible to have everything up and running, without having to switch between desktops and run terminals & programs. This means that I don't only want to run some programs at startup (which could be done in the usual way for linux with a startup script - although I don't really know much about it) but I want the programs to be ran from terminals and be placed in the desktops in the way I would do manually after launching xmonad. Is this possible with xmonad? Any simple tutorials available on this? Thanks,
You can launch each terminal you want to put on the desktop FooBar with the command "xterm -name gotoFooBar" and add the following manageDocks to your xmonad.hs: myManageHook = manageDocks <+> composeAll [ title =? "gotoFooBar" --> doF (W.shift "FooBar") ] Moreover, you can know the class and the name of an X windows with the command xprop. Cheers, Olivier
participants (5)
-
Bozelos Dimitris
-
Dayo Adewunmi
-
Don Stewart
-
Norbert Zeh
-
Olivier Schwander