From: Arnout E. <no...@bz...> - 2013-03-03 20:14:43
|
Normally I'd say to check whether mod_xrandr is loaded you could do: notionflux -e 'return package.loaded["mod_xrandr"]' However, this doesn't actually work.. I just fixed this in the latest git version. For older versions, you can do something like: notionflux -e 'return mod_xrandr.get_outputs' If mod_xrandr is loaded, this will show something like 'function : 0x2191100'. Which version of notion are you using? Kind regards, Arnout On Mon, Feb 11, 2013 at 5:02 PM, Stéphane Mourey < ste...@im...> wrote: > Well, I tried, but it does work. And the arandr scripts I told you about > before do not make the trick either. ("Have you tested *enough* ?", used > to say my boss...). > How can I ensure that xrandr is loaded? Do you need to see some of my > configuration files to help me? The /etc/X11/notion directory is a little > messy from my point of view, but I didn't make any change in it, except > adding the dopath("xrandr") to cfg_defaults.lua. > > Regards, > > Stéphane Mourey > > > 2013/2/8 Arnout Engelen <no...@bz...> > >> - Ah, sorry about the confusion. Yes, ~/.notion/cfg_notion.lua entirely >> replaces the default >> - That should not be neccessary: if mod_xrandr is successfully loaded, >> fullscreening firefox should make it fullscreen on only that screen, >> leaving the other one entirely usable. >> >> Perhaps try again with a clean ~/.notion/default-session* ? >> >> >> Arnout >> >> >> On Fri, Feb 8, 2013 at 2:37 PM, Stéphane Mourey < >> ste...@im...> wrote: >> >>> Hi, >>> >>> Well, I found my way to an acceptable solution : >>> - first, I finally understood that the ~/.notion/cfg_notion.lua was >>> loaded instead of /etc/X11/notion/cfg_defaults.lua. Until my attempt to >>> solve this issue, I have no ~/.notion/cfg_notion.lua, so when I created it >>> with just the line "dopath('mod_xrandr")", nearly everything was missing, >>> including notion... >>> - the best way I found is to make some little scripts with arandr to >>> choose witch screen(s) to enable, so fullscreen mode will only use it/them. >>> >>> That make the trick, my only regret is that it does not make me able to >>> use my other screen as usual while I use the other in fullscreen mode. >>> >>> Thanks for all, and best regards, >>> >>> Stéphane Mourey >>> >>> >>> 2013/2/8 Stéphane Mourey <ste...@im...> >>> >>>> Hi again, >>>> >>>> First, I hope that you will excuse how silly my last message seams. >>>> Multi-tasking is sometime hard, and it's worst when you have to restart >>>> your wm to test something. >>>> So, I tried again this morning, and took notes this time. >>>> What I did : I changed the ~/notion/cfg_notion.lua as you wrote me and >>>> restart X. X started, but not notion, and X gave an error in a window. The >>>> message was in french, so I translate, please forgive any mistake, I think >>>> it will be enough for you to get the point. The message was: >>>> "Unknown class : "WTiling", cannot create area". And two or three lines >>>> follow, giving instructions on how to deal with the layout backup file. The >>>> fact is that I was able to make notion work again only after removing the >>>> dopath("mod_xrandr") and the default-session--0 directory. >>>> >>>> I didn't tried with the git sources, as I prefer using the packet >>>> management of my distribution, it have better coherence and is easier to >>>> maintain. >>>> >>>> Any useful advise? >>>> >>>> Regards, >>>> >>>> Stephane Mourey >>>> >>>> >>>> 2013/2/7 Stéphane Mourey <ste...@im...> >>>> >>>>> Well, something goes wrong. I did exactly what you wrote, and, when I >>>>> restarted X, I got a unclear message (which I forgot to note down), and I >>>>> had to undo what you wrote and remove the layout backup to get things work >>>>> as before. >>>>> What do you think ? >>>>> >>>>> >>>>> 2013/2/7 Arnout Engelen <no...@bz...> >>>>> >>>>>> Add 'dopath("mod_xrandr")' to your config (probably >>>>>> ~/.notion/cfg_notion.lua). >>>>>> >>>>>> In the next release mod_xrandr will be loaded by default (so if >>>>>> you're comfortable with that, you could also check out notion from git and >>>>>> use it with the defaults). >>>>>> >>>>>> >>>>>> Arnout >>>>>> >>>>>> >>>>>> On Thu, Feb 7, 2013 at 2:40 PM, Stéphane Mourey < >>>>>> ste...@im...> wrote: >>>>>> >>>>>>> Thanks for your quick answer. >>>>>>> >>>>>>> Well, I suppose so, but I'm not sure of that: I have installed >>>>>>> Notion using apt on the latest ubuntu, and I put a file >>>>>>> /etc/X11/Xsession.d/45x11-xrandr with this line : xrandr --output HDMI1 >>>>>>> --off --output LVDS1 --mode 1600x900 --pos 0x150 --rotate normal --output >>>>>>> DP1 --off --output VGA1 --mode 1680x1050 --pos 1600x0 --rotate normal >>>>>>> I did no other changes to the default config. >>>>>>> >>>>>>> I don't know if this answers to your question. If not, please, let >>>>>>> me know how to be sure... >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> Stéphane Mourey >>>>>>> >>>>>>> >>>>>>> 2013/2/7 Arnout Engelen <no...@bz...> >>>>>>> >>>>>>>> Do you have mod_xrandr loaded? >>>>>>>> >>>>>>>> >>>>>>>> Arnout >>>>>>>> >>>>>>>> On Thu, Feb 7, 2013 at 2:25 PM, Stéphane Mourey < >>>>>>>> ste...@im...> wrote: >>>>>>>> >>>>>>>>> Hello, >>>>>>>>> >>>>>>>>> A quite long time ago, while working at home, I used Ion3 with a >>>>>>>>> great pleasure. But quickly and sadly, I had to switch back to Windows on a >>>>>>>>> daily basis, as I found a full time job that requires that. So I subscribe >>>>>>>>> the list, reading its messages once in a while. >>>>>>>>> Now, I go back to working at home, in the work environment I like. >>>>>>>>> Ion is, well, forgotten, be Notion had risen! And it's dawn good. Thanks to >>>>>>>>> all who contributes to this beautiful and needed fork. >>>>>>>>> I'm using it with two screens, after some configuration work >>>>>>>>> (thanks to arandr too!) things are pretty good, but one : when I use the >>>>>>>>> fullscreen mode of an application (tested with Firefox and LyX, F11 >>>>>>>>> pressed), the application is splitted between the two screens. Not really >>>>>>>>> comfortable. How could I tell Notion that the app is switching in >>>>>>>>> fullscreen it had to be displayed only on one screen, the second one? >>>>>>>>> >>>>>>>>> Thanks for your help, >>>>>>>>> >>>>>>>>> Stéphane Mourey >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Blog: Impossible Exil <http://impossible-exil.info/> >>>>>>>>> >>>>>>>>> >>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>> Free Next-Gen Firewall Hardware Offer >>>>>>>>> Buy your Sophos next-gen firewall before the end March 2013 >>>>>>>>> and get the hardware for free! Learn more. >>>>>>>>> http://p.sf.net/sfu/sophos-d2d-feb >>>>>>>>> _______________________________________________ >>>>>>>>> Notion-devel mailing list >>>>>>>>> Not...@li... >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/notion-devel >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ------------------------------------------------------------------------------ >>>>>>>> Free Next-Gen Firewall Hardware Offer >>>>>>>> Buy your Sophos next-gen firewall before the end March 2013 >>>>>>>> and get the hardware for free! Learn more. >>>>>>>> http://p.sf.net/sfu/sophos-d2d-feb >>>>>>>> _______________________________________________ >>>>>>>> Notion-devel mailing list >>>>>>>> Not...@li... >>>>>>>> https://lists.sourceforge.net/lists/listinfo/notion-devel >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Blog: Impossible Exil <http://impossible-exil.info/> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Free Next-Gen Firewall Hardware Offer >>>>>>> Buy your Sophos next-gen firewall before the end March 2013 >>>>>>> and get the hardware for free! Learn more. >>>>>>> http://p.sf.net/sfu/sophos-d2d-feb >>>>>>> _______________________________________________ >>>>>>> Notion-devel mailing list >>>>>>> Not...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/notion-devel >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Free Next-Gen Firewall Hardware Offer >>>>>> Buy your Sophos next-gen firewall before the end March 2013 >>>>>> and get the hardware for free! Learn more. >>>>>> http://p.sf.net/sfu/sophos-d2d-feb >>>>>> _______________________________________________ >>>>>> Notion-devel mailing list >>>>>> Not...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/notion-devel >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Blog: Impossible Exil <http://impossible-exil.info/> >>>>> >>>> >>>> >>>> >>>> -- >>>> Blog: Impossible Exil <http://impossible-exil.info/> >>>> >>> >>> >>> >>> -- >>> Blog: Impossible Exil <http://impossible-exil.info/> >>> >>> >>> ------------------------------------------------------------------------------ >>> Free Next-Gen Firewall Hardware Offer >>> Buy your Sophos next-gen firewall before the end March 2013 >>> and get the hardware for free! Learn more. >>> http://p.sf.net/sfu/sophos-d2d-feb >>> _______________________________________________ >>> Notion-devel mailing list >>> Not...@li... >>> https://lists.sourceforge.net/lists/listinfo/notion-devel >>> >>> >> > > > -- > Blog: Impossible Exil <http://impossible-exil.info/> > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Notion-devel mailing list > Not...@li... > https://lists.sourceforge.net/lists/listinfo/notion-devel > > |