Logs: freenode/#xmonad
| 2021-05-01 09:02:24 | <Solid> | ~/.xsession-errors |
| 2021-05-01 09:02:47 | <charpointer> | nothing in it for xmonad |
| 2021-05-01 09:03:45 | <charpointer> | https://paste.tomsmeding.com/yjbXu2Uf |
| 2021-05-01 09:03:52 | <charpointer> | heres my xmonad/build file |
| 2021-05-01 09:06:17 | <Solid> | ah I see |
| 2021-05-01 09:07:13 | <Solid> | if you have a build file then xmonad expects that you build an `xmonad-ARCH` file |
| 2021-05-01 09:07:48 | <Solid> | *and move it to the given path |
| 2021-05-01 09:08:51 | <charpointer> | how do i do that? |
| 2021-05-01 09:10:34 | <Solid> | you can probably give cabal some flags to decide where the executable should live (I've never really used cabal without stack, so I can't say for sure) |
| 2021-05-01 09:10:51 | <charpointer> | where should it live? |
| 2021-05-01 09:11:13 | <Solid> | the build script is invoked on M-q, so "$1" :) |
| 2021-05-01 09:11:31 | <Solid> | there's a provisional installation guide with stack here: https://github.com/slotThe/xmonad/blob/new-tutorial/INSTALL.md |
| 2021-05-01 09:11:46 | <Solid> | It's part of the new tutorial ( https://github.com/slotThe/xmonad/blob/new-tutorial/tutorial.md ) that I usually shill at this point |
| 2021-05-01 09:12:52 | <charpointer> | ill check this out |
| 2021-05-01 09:14:08 | <Solid> | there is also a cabal build script available in the xmonad-testing repo ( https://github.com/xmonad/xmonad-testing/blob/master/build-scripts/build-with-cabal.sh ) but it's a bit involved |
| 2021-05-01 09:14:34 | <Solid> | so I would recommend the easier way of installing with stack and just invoking stack ghc like it is done in INSTALL.md |
| 2021-05-01 09:15:05 | → | kajzer joins (~kajzer@unaffiliated/kajzer) |
| 2021-05-01 09:24:13 | <charpointer> | Solid, this doesnt work |
| 2021-05-01 09:24:17 | <charpointer> | `/home/char/dev/xmonad-config/xmonad/: getDirectoryContents:openDirStream: does not exist (No such file or directory)` |
| 2021-05-01 09:24:24 | <charpointer> | i added packages: xmonad to stack.yaml |
| 2021-05-01 09:24:26 | <charpointer> | and i get this |
| 2021-05-01 09:25:23 | <charpointer> | oh theyre cloning the things |
| 2021-05-01 09:26:59 | <charpointer> | it finally builds |
| 2021-05-01 09:30:48 | × | codedmart quits (codedmart@2600:3c01::f03c:92ff:fefe:8511) (*.net *.split) |
| 2021-05-01 09:32:31 | <charpointer> | Solid, im using stack how would i get it to build to a specific folder |
| 2021-05-01 09:37:06 | → | codedmart joins (codedmart@2600:3c01::f03c:92ff:fefe:8511) |
| 2021-05-01 09:44:01 | × | codedmart quits (codedmart@2600:3c01::f03c:92ff:fefe:8511) (Max SendQ exceeded) |
| 2021-05-01 09:44:39 | → | codedmart joins (~codedmart@li335-49.members.linode.com) |
| 2021-05-01 09:55:46 | → | oogeek joins (~szz_@138.199.23.129) |
| 2021-05-01 09:59:26 | × | charpointer quits (~char@cpc160245-nrth4-2-0-cust907.8-4.cable.virginm.net) (Remote host closed the connection) |
| 2021-05-01 10:00:59 | → | ADG1089 joins (~aditya@223.226.237.158) |
| 2021-05-01 10:09:38 | → | always_blue joins (~always_bl@93-45-57-220.ip101.fastwebnet.it) |
| 2021-05-01 10:19:33 | <heatwave> | Hello guys! I did a system reinstall today and added xmonad with xmobar, using the same config files I was using till yesterday. However xmobar wouldnt compile anymore and i'm not sure why. Was anything changed in a newer release? |
| 2021-05-01 10:20:16 | <oogeek> | heatwave: Please post the error message if there is any |
| 2021-05-01 10:20:36 | <oogeek> | Also do you compile it with cabal or stack? |
| 2021-05-01 10:20:50 | <heatwave> | xmobar: /home/{user}/.xmonad/.xmobarrc: hGetContents: invalid argument (invalid byte sequence) |
| 2021-05-01 10:21:02 | <oogeek> | Check your locale |
| 2021-05-01 10:21:08 | <heatwave> | doesnt give me any line numbers or anything |
| 2021-05-01 10:21:29 | <heatwave> | Hmmm. I did set it up manually this time. |
| 2021-05-01 10:22:17 | <oogeek> | Very likely it has a locale issue. The locale should be en_US.UTF-8 for it to work, I guess. |
| 2021-05-01 10:22:22 | <heatwave> | would it be something with the date command? |
| 2021-05-01 10:22:34 | <oogeek> | You can try running LANG=en_US.UTF-8 xmobar ~/.config/yourconfig |
| 2021-05-01 10:22:43 | <heatwave> | oh yes, that's what I specifically set it to system wise. |
| 2021-05-01 10:23:35 | <heatwave> | oogeek: wow, that does work! I'm so sure I set the locale right, but let me confirm :) |
| 2021-05-01 10:24:26 | <oogeek> | :) I have this issue simply because I have 0400 permission on my locale.conf, I changed it to 0644 and it looks good. |
| 2021-05-01 10:25:00 | <heatwave> | I was wondering how you instantly knew! Thanks a ton |
| 2021-05-01 10:26:06 | <oogeek> | heatwave: Painful experience from the past to dig it up. Sigh. I was too strict on file permissions to discover this. |
| 2021-05-01 10:28:38 | → | heatwave_ joins (~heatwave@107.181.166.208) |
| 2021-05-01 10:31:12 | × | heatwave quits (~heatwave@66.115.157.135) (Ping timeout: 240 seconds) |
| 2021-05-01 10:32:03 | <heatwave_> | oogeek: is there any security related issue with giving 0400 for locale.conf? |
| 2021-05-01 10:35:01 | <oogeek> | No. Usually a lof of linux distro will set the value of umask to be 022, which means when you create a new file, the permission will be 0644 or something. However, I set it to 077, so that the file would have 0400. |
| 2021-05-01 10:36:34 | <oogeek> | Take locale.conf for example. Normal users will also read the file to make sure the locale is the same with the system. However, if they don't have permission to do so, like in 0400, then the locale for users will be default to "C". Thus getting the xmobar error, casue "C" knows nothing about UTF-8 |
| 2021-05-01 10:40:12 | × | heatwave_ quits (~heatwave@107.181.166.208) (Ping timeout: 265 seconds) |
| 2021-05-01 10:40:20 | → | heatwave1 joins (~heatwave@198.8.81.86) |
| 2021-05-01 10:42:53 | → | charpointer joins (~char@cpc160245-nrth4-2-0-cust907.8-4.cable.virginm.net) |
| 2021-05-01 10:43:14 | × | heatwave1 quits (~heatwave@198.8.81.86) (Client Quit) |
| 2021-05-01 10:43:25 | <charpointer> | so xmonad works, is it possible to make workspaces 1, 2, 3, 4 on my first monitor, and 5,6,7,8 on my second monitor? |
| 2021-05-01 10:43:43 | <charpointer> | currently each monitor has its own set of workspaces but id like it to be more like how i3 worked if thats possible |
| 2021-05-01 10:44:02 | <oogeek> | charpointer: go and take a look at XMonad.Layout.IndependentScreens |
| 2021-05-01 10:44:27 | <oogeek> | Maybe that is what you want |
| 2021-05-01 10:44:33 | <charpointer> | oogeek, im looking at it buts its kinda confusing |
| 2021-05-01 10:44:36 | <charpointer> | how would i say have |
| 2021-05-01 10:44:41 | <charpointer> | ws 1-4 on my first monitor |
| 2021-05-01 10:44:48 | <charpointer> | and ws 5-8 on my second |
| 2021-05-01 10:44:51 | <charpointer> | thats what i want |
| 2021-05-01 10:45:30 | <charpointer> | i want the workspaces shared between monitors, like in i3 |
| 2021-05-01 10:45:40 | <charpointer> | not each monitor having its own workspaces |
| 2021-05-01 10:45:52 | × | ADG1089 quits (~aditya@223.226.237.158) (Remote host closed the connection) |
| 2021-05-01 10:46:02 | <Solid> | but the workspaces _are_ shared between monitors by default |
| 2021-05-01 10:46:09 | <charpointer> | are they? |
| 2021-05-01 10:46:10 | <Solid> | I'm not sure what you're asking (I don't know what i3 does) |
| 2021-05-01 10:46:15 | <charpointer> | well if so then how can i change the order |
| 2021-05-01 10:46:16 | <oogeek> | Got it. Then it is quite easy. You just need to filter then out. |
| 2021-05-01 10:46:17 | <charpointer> | of which is shared |
| 2021-05-01 10:46:30 | <charpointer> | oogeek, great so how would i do that? |
| 2021-05-01 10:48:58 | <oogeek> | Use two xmobar configs. You can try to add a function to the PP config. One that takes the first four workspaces, the other take the rest. |
| 2021-05-01 10:49:08 | <charpointer> | i dont have xmobar setup yet |
| 2021-05-01 10:49:17 | <charpointer> | xmonad is jsut mapping my workspaces wrong |
| 2021-05-01 10:49:24 | <charpointer> | i want ws 1-4 on my first monitor |
| 2021-05-01 10:49:31 | <charpointer> | and ws 5-8 on my second one |
| 2021-05-01 10:49:39 | <charpointer> | can i like? force it to use a specific monitor like i did w/ i3? |
| 2021-05-01 10:51:03 | <oogeek> | So you use any bars? |
| 2021-05-01 10:51:07 | <charpointer> | not atm |
| 2021-05-01 10:51:19 | <charpointer> | i literally just got it working like 1 hr ago |
| 2021-05-01 10:51:28 | <charpointer> | and now im finding out the workspaces are mapped to the wrong screens |
| 2021-05-01 10:52:13 | <charpointer> | i can post my xmonad file |
| 2021-05-01 10:52:15 | <charpointer> | if u want |
| 2021-05-01 10:52:21 | <Solid> | the workspaces are not mapped to any screens |
| 2021-05-01 10:52:31 | <charpointer> | well how do i map them then |
| 2021-05-01 10:52:37 | <charpointer> | so ws 1-4 is on my first monitor |
| 2021-05-01 10:52:42 | <charpointer> | and ws 5-8 is on my second one |
| 2021-05-01 10:53:23 | <Solid> | so what happens if you're on monitor 1 and switch to ws 5? is it a no-op? do you switch to monitor 2 automatically? |
| 2021-05-01 10:53:36 | <charpointer> | lemme try |
| 2021-05-01 10:53:45 | <Solid> | I mean what do you _want_ to happen |
| 2021-05-01 10:53:51 | <charpointer> | ohh |
| 2021-05-01 10:53:58 | <charpointer> | i want it to switch to monitor 2 |
| 2021-05-01 10:54:07 | <charpointer> | and ws 5 will be the first workspace on that monitor |
| 2021-05-01 10:54:50 | <Solid> | that should be possible to hack together with X.L.IndependentScreens but I don't think it's necessarily built in (could be wrong, I've never used the module) |
| 2021-05-01 10:55:02 | <charpointer> | idk how to use IndependentScreens |
| 2021-05-01 10:55:08 | <charpointer> | could u help me hack this together? |
All times are in UTC.