Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Dennis Gosnell
    @cdepillabout
    Hi, this is the Gitter for Termonad. Please feel free to ask any questions you have.
    Mix Yasuno
    @mix-yasuno
    Hi. I just installed Termonad in NixOS. But when I add config file to ~/.config/termonad/termonad.hs and restart termonad, I get 'could not find module 'Termonad.App' error.
    I installed termonad-with-packages
    How can I fix this error?
    Dennis Gosnell
    @cdepillabout
    @mix-yasuno Hi, could you tell me what NixOS channel you are using to get termonad-with-packages? Also, what does your termonad.hs look like?
    Also, it will probably take longer to build, but you might have more luck with just installing termonad right from the repo:
    $ git clone https://github.com/cdepillabout/termonad
    $ cd termonad/
    $ nix-env -f ./. -i
    Dennis Gosnell
    @cdepillabout
    I guess it is possible that the version of Termonad in NixOS is out of date, and the termonad.hs that is in the README.md won't work with an older version of Termonad.
    Mix Yasuno
    @mix-yasuno
    I just updated nixpkgs then the problem was solved. Thank you for your help. I can start hacking Termonad finally!
    Dennis Gosnell
    @cdepillabout
    Great, glad to hear it :-)
    Rod Eric Joseph
    @recj_gitlab
    Hi, for some reason when I execute termonad, it does not change anything. I'm assuming that it is supposed to recompile termonad.hs if there were any changes. All I did so far was get rid of the File... etc bar but I would also like to get rid of the Alt + number keybinding as a frequently use this to change tabs in irssi and I don't usually use tabs in my terminals either way
    Dennis Gosnell
    @cdepillabout

    @recj_gitlab Hi.

    when I execute termonad, it does not change anything. I'm assuming that it is supposed to recompile termonad.hs if there were any changes

    Yes, you're correct here. termonad should recompile ~/.config/termonad/termonad.hs if it exists. What does your termonad.hs look like? Also, do you get any errors on your console when running termonad? There is also a file ~/.cache/termonad/errors.log that may contain errors.

    I would also like to get rid of the Alt + number keybinding

    Unfortunately no one has implemented the functionality for changing the keybindings:
    cdepillabout/termonad#83
    Although if you wanted to work on this I'd love to get something like this merged in.

    Rod Eric Joseph
    @recj_gitlab
    Thanks for getting back to me. So, here's my termonad.hs. I made sure it was in the correct directory. https://paste.debian.net/1091001. Also, I don't know if this helps at all, but I'm on NixOS and I compiled termonad using git clone and subsequently nix-build
    Dennis Gosnell
    @cdepillabout
    @recj_gitlab When I try to run Termonad with your termonad.hs, I get the following error:
    $ termonad 
    Configuration '/home/illabout/.config/termonad/termonad.hs' changed. Recompiling.
    Error occurred while loading configuration file.
    Launching custom binary /home/illabout/.cache/termonad/termonad-linux-x86_64
    
    
    /home/illabout/.config/termonad/termonad.hs:49:19: error:
        Not in scope: ‘showMenu’
        Perhaps you want to add ‘showMenu’ to the import list
        in the import of ‘Termonad.Config’
        (/home/illabout/.config/termonad/termonad.hs:(6,1)-(10,3)).
       |
    49 |                 , showMenu = False
       |                   ^^^^^^^^
    I'm guessing the missing import for showMenu is probably the error?
    Termonad should show this error when you try to run it.
    Rod Eric Joseph
    @recj_gitlab
    Are you also getting
    /home/rod/.config/termonad/termonad.hs:13:52: error:
        Module ‘Termonad.Config.Colour’ does not export ‘createColour’
       |
    13 |   ( AlphaColour, ColourConfig, addColourExtension, createColour
       |                                                    ^^^^^^^^^^^^
    I changed the import but I still get that error
    Rod Eric Joseph
    @recj_gitlab
    Well, I didn't want to change the colors, so I just took that part out and it's fine now. Thanks for your help!
    Also, I would be interested in working on the custom keybindings option, but I would have to study the source code for a bit and may have some questions. I'll check out that PR first.
    Dennis Gosnell
    @cdepillabout
    No problem, glad you got it working :-)
    Ondřej Súkup
    @mimi1vx
    hello , anybody has working 'monokai/molokai' colors for termonad ?
    Dennis Gosnell
    @cdepillabout
    @mimi1vx I'm not aware of anyone using that, but if you'd like to figure it and send either an example file (like https://github.com/cdepillabout/termonad/blob/master/example-config/ExampleSolarizedColourExtension.hs), or even just send a PR adding it as a possible setting in https://github.com/cdepillabout/termonad/blob/master/src/Termonad/Config/Colour.hs, I'd be happy to merge it in.
    Ondřej Súkup
    @mimi1vx
    @cdepillabout i found great source of correct colorcodes for VTE based terminals - https://github.com/Mayccoll/Gogh
    Dennis Gosnell
    @cdepillabout
    @mimi1vx Looks good!