2022-03-12 00:01:01 +0100 | <ArshiaAghaei[m]> | ```("M-q", spawn "if type xmonad; then xmonad --recompile && xmonad --restart; else xmessage xmonad not in \\$PATH: \"$PATH\"; fi") ``` |
2022-03-12 00:01:04 +0100 | <ArshiaAghaei[m]> | Added this |
2022-03-12 00:01:09 +0100 | <ArshiaAghaei[m]> | Still won't work |
2022-03-12 00:02:30 +0100 | <ArshiaAghaei[m]> | I yanked an important import |
2022-03-12 00:02:36 +0100 | <ArshiaAghaei[m]> | It did not react |
2022-03-12 00:03:02 +0100 | <geekosaur> | that sounds like a problem with xmessage |
2022-03-12 00:06:03 +0100 | habib | (~textual@217.146.83.233) (Quit: Textual IRC Client: www.textualapp.com) |
2022-03-12 00:06:34 +0100 | habib | (~textual@217.146.83.233) |
2022-03-12 00:10:07 +0100 | habib | (~textual@217.146.83.233) (Client Quit) |
2022-03-12 00:34:14 +0100 | <ArshiaAghaei[m]> | It was not installed |
2022-03-12 00:34:19 +0100 | <ArshiaAghaei[m]> | Apparently |
2022-03-12 00:42:21 +0100 | <ArshiaAghaei[m]> | Well now it just says this |
2022-03-12 00:42:55 +0100 | <ArshiaAghaei[m]> | xmonad not in path |
2022-03-12 00:43:00 +0100 | <ArshiaAghaei[m]> | At the same time |
2022-03-12 00:43:19 +0100 | <ArshiaAghaei[m]> | [arshia@arshia-pc ~]$ which xmonad |
2022-03-12 00:43:19 +0100 | <ArshiaAghaei[m]> | /home/arshia/.local/bin/xmonad |
2022-03-12 00:44:22 +0100 | <fizzie> | It's not uncommon (though unforunate) to have a different PATH environment variable in xmonad than in your shell. |
2022-03-12 00:44:31 +0100 | <geekosaur> | do you remember having to specify a full path earlier because it only looks in /bin and /usr/bin? |
2022-03-12 01:04:27 +0100 | <ArshiaAghaei[m]> | <geekosaur> "do you remember having to..." <- Yeah |
2022-03-12 01:04:48 +0100 | <ArshiaAghaei[m]> | Do I have to set a PATH in a xmonad file? |
2022-03-12 01:05:30 +0100 | <geekosaur> | that is one way to do it. another is to use a wrapper script to start it, which reads your shell dotfiles before exec-ing xmonad |
2022-03-12 01:08:38 +0100 | seschwar | (~seschwar@user/seschwar) (Quit: :wq) |
2022-03-12 01:15:37 +0100 | mc47 | (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
2022-03-12 01:54:59 +0100 | mvk | (~mvk@2607:fea8:5cc3:7e00::45ee) |
2022-03-12 02:13:42 +0100 | jludwig | (~justin@user/jludwig) (Quit: ZNC - https://znc.in) |
2022-03-12 02:14:36 +0100 | jludwig | (~justin@user/jludwig) |
2022-03-12 02:17:52 +0100 | jludwig | (~justin@user/jludwig) (Client Quit) |
2022-03-12 03:02:21 +0100 | geekosaur | (~geekosaur@xmonad/geekosaur) (Ping timeout: 272 seconds) |
2022-03-12 03:04:22 +0100 | geekosaur | (~geekosaur@xmonad/geekosaur) |
2022-03-12 03:09:04 +0100 | jludwig | (~justin@user/jludwig) |
2022-03-12 04:03:07 +0100 | banc | (banc@gateway/vpn/airvpn/banc) (Ping timeout: 256 seconds) |
2022-03-12 04:09:01 +0100 | td_ | (~td@94.134.91.18) (Ping timeout: 256 seconds) |
2022-03-12 04:10:30 +0100 | td_ | (~td@muedsl-82-207-238-055.citykom.de) |
2022-03-12 04:23:09 +0100 | banc | (banc@gateway/vpn/airvpn/banc) |
2022-03-12 04:41:09 +0100 | jao | (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 272 seconds) |
2022-03-12 04:57:00 +0100 | steve__ | (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 240 seconds) |
2022-03-12 04:58:12 +0100 | Guest28 | (~Guest28@207.248.198.65) |
2022-03-12 05:07:07 +0100 | Guest28 | (~Guest28@207.248.198.65) (Quit: Client closed) |
2022-03-12 06:06:12 +0100 | mvk | (~mvk@2607:fea8:5cc3:7e00::45ee) (Ping timeout: 240 seconds) |
2022-03-12 06:19:28 +0100 | amir | (sid22336@user/amir) (Read error: Connection reset by peer) |
2022-03-12 06:19:28 +0100 | mudri | (sid317655@id-317655.helmsley.irccloud.com) (Read error: Connection reset by peer) |
2022-03-12 06:19:38 +0100 | amir | (sid22336@user/amir) |
2022-03-12 06:19:38 +0100 | mudri | (sid317655@id-317655.helmsley.irccloud.com) |
2022-03-12 06:20:07 +0100 | lazycat | (~lazycat@user/lazycat) (Quit: ZNC - https://znc.in) |
2022-03-12 06:20:23 +0100 | lazycat | (~lazycat@user/lazycat) |
2022-03-12 06:23:08 +0100 | bfrk | (~Thunderbi@2001:9e8:344:9d00:f16d:efdc:8992:ac2) |
2022-03-12 06:45:20 +0100 | geekosaur | (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
2022-03-12 06:57:23 +0100 | geekosaur | (~geekosaur@xmonad/geekosaur) |
2022-03-12 08:42:37 +0100 | scardinal | (~supreme@customer-212-237-101-39.ip4.gigabit.dk) (Ping timeout: 240 seconds) |
2022-03-12 08:44:27 +0100 | scardinal | (~supreme@customer-212-237-101-39.ip4.gigabit.dk) |
2022-03-12 08:52:02 +0100 | scardinal | (~supreme@customer-212-237-101-39.ip4.gigabit.dk) (Ping timeout: 268 seconds) |
2022-03-12 08:53:32 +0100 | scardinal | (~supreme@customer-212-237-101-39.ip4.gigabit.dk) |
2022-03-12 09:05:53 +0100 | td_ | (~td@muedsl-82-207-238-055.citykom.de) (Ping timeout: 272 seconds) |
2022-03-12 09:07:27 +0100 | td_ | (~td@muedsl-82-207-238-211.citykom.de) |
2022-03-12 09:56:13 +0100 | Drishal[m] | sent a haskell code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/d416fee5a36783e4e5a7ae35dc6bf55e0653… |
2022-03-12 09:56:57 +0100 | <Drishal[m]> | cause I am getting the errors... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/74083aa21634807389cddf54f919a282d5dc…) |
2022-03-12 09:58:28 +0100 | <Drishal[m]> | * ```haskell... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/711f41c05e9ac3e5e2f3d53cd627984afbfc…) |
2022-03-12 09:59:51 +0100 | <Drishal[m]> | aah nvm seems like I had to `import XMonad.Layout.MultiToggle.Instances` as well apart from `import XMonad.Layout.MultiToggle` |
2022-03-12 10:00:15 +0100 | liskin[m] | (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle) |
2022-03-12 10:04:06 +0100 | Drishal[m] | uploaded an image: (144KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/dfoaZgUSKLXviOkzadCigWKK/image.png > |
2022-03-12 10:04:10 +0100 | <Drishal[m]> | but then it fullscreens in a strange way |
2022-03-12 10:05:05 +0100 | <Drishal[m]> | plus it does not even send fullscreen message to the applications 👀 |
2022-03-12 10:05:10 +0100 | Drishal[m] | uploaded an image: (122KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/GpCwtPlwKgOQQBDhQzahLrnl/image.png > |
2022-03-12 10:11:27 +0100 | seschwar | (~seschwar@user/seschwar) |
2022-03-12 10:16:09 +0100 | <Drishal[m]> | any help/hints what is going wrong? |
2022-03-12 11:45:20 +0100 | Guest0 | (~Guest0@APN-123-251-165-gprs.simobil.net) |
2022-03-12 11:47:51 +0100 | <Guest0> | Hello everyone. I am a linux desktop noob and I am trying to get xmonad to work with xmobar. The problem I have is I can not seem to get xmobar to show itself. I can run the xmobar program and it seems to run fine, but the bar itself is not visible on my screen. My xmonad config is very simple: "main :: IO () |
2022-03-12 11:47:51 +0100 | <Guest0> | main = xmonad =<< xmobar def |
2022-03-12 11:47:52 +0100 | <Guest0> | { modMask = mod4Mask -- Rebind Mod to the Super key |
2022-03-12 11:47:52 +0100 | <Guest0> | }". Can anyone help me debug this? |
2022-03-12 11:48:03 +0100 | liskin[m] | (~liskinmat@2001:470:69fc:105::768) |
2022-03-12 11:53:04 +0100 | <Guest0> | Ok nevermind, I think I am onto something |
2022-03-12 11:53:07 +0100 | Guest0 | (~Guest0@APN-123-251-165-gprs.simobil.net) (Quit: Client closed) |
2022-03-12 11:58:47 +0100 | mc47 | (~mc47@xmonad/TheMC47) |
2022-03-12 13:23:36 +0100 | <davve> | guess he worked it out |
2022-03-12 13:52:02 +0100 | bfrk | (~Thunderbi@2001:9e8:344:9d00:f16d:efdc:8992:ac2) (Ping timeout: 260 seconds) |
2022-03-12 13:54:05 +0100 | <Drishal[m]> | <davve> "guess he worked it out" <- who? |
2022-03-12 13:54:27 +0100 | <Drishal[m]> | <davve> "guess he worked it out" <- no? |
2022-03-12 13:54:27 +0100 | <Drishal[m]> | I am still stuck lmao |
2022-03-12 13:59:08 +0100 | <geekosaur> | I think that was Guest0 |
2022-03-12 13:59:15 +0100 | <geekosaur> | who left immediately |
2022-03-12 14:00:05 +0100 | <geekosaur> | I'm not sure how much I trust fullscreening with MultiToggle, in particular it hasn't gotten the recent fullscreen fixes to EwmhDesktops |
2022-03-12 14:01:28 +0100 | <geekosaur> | and the window manager doesn't send fullscreen messages to applications (more correctly apps don't usually check for the window manager applying the fullscreen atom to their windows) |
2022-03-12 14:08:14 +0100 | <davve> | i use ewmh thingy with polybar |
2022-03-12 14:08:16 +0100 | <davve> | works great |
2022-03-12 14:08:39 +0100 | <davve> | geekosaur: which version of xmobar has those fixes? |
2022-03-12 14:09:06 +0100 | <geekosaur> | not xmobar, xmonad |
2022-03-12 14:09:16 +0100 | <davve> | ah sorry, meant xmonad |
2022-03-12 14:09:34 +0100 | <geekosaur> | we reworked ewmh fullscreen supportfor0.17.0, but it was the EwmhDesktops stuff |
2022-03-12 14:09:47 +0100 | <davve> | i might want that |
2022-03-12 14:09:51 +0100 | <geekosaur> | everyone's afraid to touch the HList foo in MultiToggle :) |
2022-03-12 14:09:56 +0100 | <davve> | fullscreen isnt perfect with 0.15 that im on |
2022-03-12 14:10:51 +0100 | <davve> | the initial fullscreen works, but then i have to cycle the windwos in fullscreen a few times for it to hide the borders again |
2022-03-12 14:10:56 +0100 | <davve> | if i unfocus it |
2022-03-12 14:11:06 +0100 | <davve> | hoping that might work a bit better :) |
2022-03-12 14:11:21 +0100 | <davve> | using EwmhDesktops I think |
2022-03-12 14:12:38 +0100 | <davve> | 0.15-4build2 |
2022-03-12 14:12:45 +0100 | <davve> | the latest with my default package manager it seems |
2022-03-12 14:13:11 +0100 | <davve> | aww, theres no xmonad package on snap |
2022-03-12 14:13:11 +0100 | <geekosaur> | right, you need 0.17.0 for the EwmhFullscreen fixes that make us fully compliant with EWMH |
2022-03-12 14:13:28 +0100 | <davve> | nice |
2022-03-12 14:13:35 +0100 | <geekosaur> | most distros package stackage, but xmonad 0.17 is only in nightly at present |
2022-03-12 14:13:45 +0100 | <geekosaur> | need to use stack with the nightly resolver, or cabal |
2022-03-12 14:13:57 +0100 | <davve> | ah. ill try cabal. thanks |
2022-03-12 14:15:21 +0100 | <davve> | building 0.17.0 |
2022-03-12 16:58:10 +0100 | <Drishal[m]> | <geekosaur> "I'm not sure how much I trust..." <- btw what are some good alternatives to toggle fullscreen with also sending fullscreen signal to apps if available? |
2022-03-12 17:00:05 +0100 | <geekosaur> | apps that are capable will see the EWMH fullscreen atom in _NET_WM_STATE |
2022-03-12 17:00:11 +0100 | liskin[m] | (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle) |
2022-03-12 17:00:22 +0100 | <geekosaur> | this requires xmonad 0.17.0 for it to be advertised properly |
2022-03-12 17:00:28 +0100 | <Drishal[m]> | geekosaur: so what is the best way to toggle fullscreen in xmonad? |
2022-03-12 17:00:36 +0100 | <Drishal[m]> | say using M-f keybind |
2022-03-12 17:00:39 +0100 | liskin[m] | (~liskinmat@2001:470:69fc:105::768) |
2022-03-12 17:01:08 +0100 | <geekosaur> | you don't usually do it from xmonad, you doit from the application because it's the app that knows how to do fullscreen for itself |
2022-03-12 17:01:53 +0100 | <Drishal[m]> | geekosaur: aah |
2022-03-12 17:01:54 +0100 | <geekosaur> | for example, if we force fullscreen from xmonad, firefox will fill the screen but won't move its location bar offscreen |
2022-03-12 17:02:06 +0100 | <Drishal[m]> | hmm |
2022-03-12 17:02:25 +0100 | <Drishal[m]> | so basically there is no way to switch to full layout+toggle app to fullscreen |
2022-03-12 17:02:31 +0100 | <geekosaur> | (which I didn;t even know about until I tried it the other day; I use chrome) |
2022-03-12 17:03:21 +0100 | <geekosaur> | right, apps don't accept outside commands to fullscreen themselves forthe mostpart, they expect to doit themselves. and EWMH (and Wayland) are designed that way, with the app instead of the window manager controlling things |
2022-03-12 17:04:14 +0100 | <Drishal[m]> | geekosaur: on some window managers like leftwm you can also fullscreen iirc |
2022-03-12 17:04:31 +0100 | <Drishal[m]> | > <@geekosaur:libera.chat> right, apps don't accept outside commands to fullscreen themselves forthe mostpart, they expect to doit themselves. and EWMH (and Wayland) are designed that way, with the app instead of the window manager controlling things |
2022-03-12 17:04:31 +0100 | <Drishal[m]> | * on some window managers like leftwm you can also fullscreen + let the app use fullscreen mode if available |
2022-03-12 17:04:32 +0100 | <lambdabot> | <hint>:1:1: error: parse error on input ‘<@’ |
2022-03-12 17:04:47 +0100 | <geekosaur> | sure, and you can force fullscreen from xmonad too., it just doesn't guarantee the appwill treat itself as fullscreen as oppposed to maximized |
2022-03-12 17:05:17 +0100 | <geekosaur> | the app has to watch for the _NET_WM_STATE_FULLSCREEN atom being set on its window |
2022-03-12 17:05:32 +0100 | <geekosaur> | we set this properly in 0.17.0; it's still on the appto recognize it |
2022-03-12 17:37:28 +0100 | seschwar | (~seschwar@user/seschwar) (Quit: :wq) |
2022-03-12 17:37:49 +0100 | seschwar | (~seschwar@user/seschwar) |
2022-03-12 17:58:44 +0100 | mc47 | (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
2022-03-12 18:35:20 +0100 | seschwar | (~seschwar@user/seschwar) (Quit: :wq) |
2022-03-12 18:35:48 +0100 | twiclo | (~twiclo@mail.twil.cx) |
2022-03-12 18:37:28 +0100 | theproffesor | (~theproffe@c-24-9-30-127.hsd1.co.comcast.net) (*.net *.split) |
2022-03-12 18:37:28 +0100 | haasn | (~nand@haasn.dev) (*.net *.split) |
2022-03-12 18:37:28 +0100 | nomadxx3 | (~lanomadx@69.167.38.254) (*.net *.split) |
2022-03-12 18:37:28 +0100 | ml| | (~ml|@user/ml/x-5298235) (*.net *.split) |
2022-03-12 18:38:20 +0100 | jao | (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
2022-03-12 18:42:57 +0100 | theproffesor | (~theproffe@c-24-9-30-127.hsd1.co.comcast.net) |
2022-03-12 18:42:57 +0100 | haasn | (~nand@haasn.dev) |
2022-03-12 18:42:57 +0100 | nomadxx3 | (~lanomadx@69.167.38.254) |
2022-03-12 18:42:57 +0100 | ml| | (~ml|@user/ml/x-5298235) |
2022-03-12 18:45:06 +0100 | seschwar | (~seschwar@user/seschwar) |
2022-03-12 18:45:36 +0100 | twiclo | (~twiclo@mail.twil.cx) (Quit: WeeChat 3.4) |
2022-03-12 19:02:17 +0100 | bfrk | (~Thunderbi@i59F7ABA8.versanet.de) |
2022-03-12 19:03:07 +0100 | thaumavorio | (~thaumavor@thaumavor.io) (Quit: ZNC 1.8.2 - https://znc.in) |
2022-03-12 19:03:25 +0100 | thaumavorio | (~thaumavor@thaumavor.io) |
2022-03-12 19:13:18 +0100 | <ArshiaAghaei[m]> | <geekosaur> "that is one way to do it..." <- Where do I set the PATH? |
2022-03-12 19:13:25 +0100 | <ArshiaAghaei[m]> | Something like xmonadrc? |
2022-03-12 19:14:38 +0100 | <geekosaur> | use https://downloads.haskell.org/ghc/8.10.7/docs/html/libraries/base-4.14.3.0/System-Environment.html… in main, before the xmonad combinator |
2022-03-12 19:16:50 +0100 | <geekosaur> | https://paste.tomsmeding.com/yXWpQrKC |
2022-03-12 19:16:59 +0100 | <geekosaur> | sorry, forgot the import |
2022-03-12 19:17:28 +0100 | <geekosaur> | https://paste.tomsmeding.com/tL2FVxei |
2022-03-12 19:27:34 +0100 | bla | (~bla@79.191.74.122.ipv4.supernova.orange.pl) |
2022-03-12 19:33:13 +0100 | <ArshiaAghaei[m]> | <geekosaur> "https://paste.tomsmeding.com/..." <- Do I need to do PATH = "$PATH:NewEntry" |
2022-03-12 19:33:19 +0100 | <ArshiaAghaei[m]> | Or it will just add it to path |
2022-03-12 19:34:05 +0100 | <geekosaur> | I would just set the whole PATH. it does not append and you can't use `$PATH`;xmonad isnot a shell |
2022-03-12 19:35:43 +0100 | <ArshiaAghaei[m]> | geekosaur: Fair enough |
2022-03-12 19:36:54 +0100 | <geekosaur> | https://paste.tomsmeding.com/Du0gzHwd |
2022-03-12 19:42:50 +0100 | <ArshiaAghaei[m]> | <geekosaur> "https://paste.tomsmeding.com/..." <- This appends $PATH to XMonad path? |
2022-03-12 19:43:50 +0100 | <geekosaur> | that appends the string you specify to XMonad's $PATH, yes |
2022-03-12 19:45:41 +0100 | <ArshiaAghaei[m]> | Ty, you've been a great help |
2022-03-12 19:49:11 +0100 | <geekosaur> | I preferred using a wrapper script instead;p that way I could source my shell dotfiles instead of duplicating the PATH setting, since having to remember to change it in multiple places is annoying |
2022-03-12 19:58:57 +0100 | bfrk | (~Thunderbi@i59F7ABA8.versanet.de) (Ping timeout: 250 seconds) |
2022-03-12 20:06:37 +0100 | bfrk | (~Thunderbi@i59F7ABA8.versanet.de) |
2022-03-12 20:10:54 +0100 | bfrk | (~Thunderbi@i59F7ABA8.versanet.de) (Ping timeout: 252 seconds) |
2022-03-12 20:13:32 +0100 | mc47 | (~mc47@xmonad/TheMC47) |
2022-03-12 21:02:42 +0100 | bfrk | (~Thunderbi@i59F7ABA8.versanet.de) |
2022-03-12 21:33:50 +0100 | <ArshiaAghaei[m]> | <geekosaur> "I preferred using a wrapper..." <- How do I do that? |
2022-03-12 21:37:14 +0100 | <fizzie> | What I do is, have a ~/.xsession file that sets PATH, various other things, and in the end `exec`s Xmonad; then I just pick the "Custom Xsession" (or whatever it's called) option from the display manager. |
2022-03-12 21:38:57 +0100 | <fizzie> | (Although some of these newfangled things don't *have* that option and require you to come up with your own .desktop file.) |
2022-03-12 21:42:37 +0100 | <geekosaur> | yeh, in my case I just point my .desktop file to a script instead of to xmonad directly. https://github.com/geekosaur/xmonad.hs/tree/skkukuk look at start-xmonad and start-xmonad.desktop, but in your case you'll want to source .profile or .bash_profile directly (I split out $PATH and a few other things into .bsa-common, see https://github.com/geekosaur/dotty for the sordid details) |
2022-03-12 22:04:02 +0100 | twiclo | (~twiclo@mail.twil.cx) |
2022-03-12 22:06:43 +0100 | Guest1959 | (~Guest19@2600:1700:9490:79f0::1c) |
2022-03-12 22:09:11 +0100 | Guest1959 | (~Guest19@2600:1700:9490:79f0::1c) (Client Quit) |
2022-03-12 22:49:20 +0100 | <ArshiaAghaei[m]> | I still get that issue |
2022-03-12 22:50:00 +0100 | ArshiaAghaei[m] | sent a hs code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/4efa9382ebcc4574d643b7e8b2f78205278f… |
2022-03-12 23:02:48 +0100 | mc47 | (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
2022-03-12 23:07:49 +0100 | coldpress | (~coldpress@128.9.105.34.bc.googleusercontent.com) (Ping timeout: 240 seconds) |