by

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!
    Daniel Coto Céspedes
    @ahaamgelid_gitlab
    Hi, does anybody know whether termonad supports background transparency? I tried using sRGB32 r g b a. But, after compiling, it seems the alpha "a" value changes the luminosity not the transparency, against a black background.
    Dennis Gosnell
    @cdepillabout
    @ahaamgelid_gitlab I think there is an issue describing background transparency: cdepillabout/termonad#73
    Although I don't think anyone has come up with a solution yet. If you want to work on this and send a PR fixing it, I would be happy to merge it in. It looks like there are a few suggested solutions on that issue, but no one has figured out what works best and turned it into a PR.
    Konrad "Unrooted" Klawikowski
    @Unrooted
    morning
    Konrad "Unrooted" Klawikowski
    @Unrooted
    image.png
    werks
    Aarkon
    @jakob.ledig_gitlab
    Hi!
    I'm trying to run termonad together with xmonad on NixOS. Unfortunately, I'm unable to compile the config file because apparently nix does not bundle the correct ghc packages. I was able to mitigate the problem by providing them via its options, but no luck so far with termonad.
    I know this seems to be question more about nix than termonad, but I'm running out of ideas at the moment, so maybe someone can point me in the right direction. :)
    Dennis Gosnell
    @cdepillabout

    @jakob.ledig_gitlab Hi, do you have a config anywhere available?

    Nixpkgs has a termonad-with-packages function you can use to get a Termonad with the given packages (similar to how xmonad works). If that is not working for you for some reason, you can also just compile termonad with the default.nix file in the Termonad repo.

    11 replies
    ShrykeWindgrace
    @ShrykeWindgrace
    Hi!
    I wonder if there is a way to change keybindings? I skimmed the documentation and found nothing except the list of default keybindings. The module Temonad.Keys seems to define something, but I do not see an immediate way to, for example, unbind the shortcut "Ctrl+Shift+P"
    Is it possible at all? If yes, where do I start?
    Dennis Gosnell
    @cdepillabout
    @ShrykeWindgrace Unfortunately it is not possible yet.
    However, there is an issue about this if you'd be interested in working on it:
    cdepillabout/termonad#83
    It would also be possible to just go into the source code for Termonad and modify the keybindings yourself (although this would be somewhat hacky).
    If you want to do this, but can't find where a keybinding is defined, feel free to ask.
    ShrykeWindgrace
    @ShrykeWindgrace
    @cdepillabout thanks for the prompt answer! For now I just commented out the part where the shortcut is set in src/Termonad/App.hs (the issue #83 has enough info to find the right place for that). I will take a look at that issue , but I can not promise anything for the foreseeable future =)
    ShrykeWindgrace
    @ShrykeWindgrace
    Unfortunately, my nix-build is not happy with commenting out that code:
    termonad-linux-x86_64: Failed to open file “/nix/store/27yz9h85nqcz6sfzbkqyg6lsniipzdb7-termonad-4.0.0.0-data/share/ghc-8.8.3/x86_64-linux-ghc-8.8.3/termonad-4.0.0.0/img/termonad-lambda.png”: No such file or directory (4)
    I am not very familiar with inner workings of nix, I suppose that changing source code changes a hash code somewhere, yet the app still looks at the previous hash
    Dennis Gosnell
    @cdepillabout
    @ShrykeWindgrace Maybe you could delete the already-built version of termonad with a command like rm ~/.cache/termonad?
    ShrykeWindgrace
    @ShrykeWindgrace
    It helped with running termonad, thanks a lot! However, my vim still does not receive the Ctrl+Shift+P shortcut
    on a side note, vim sees Ctrl+A/Ctrl+X commands, I am still at loss what to do =)