Activity for mcp
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #290170 |
Since this received no activity up to this point, I decided to duplicate it in a more specialized forum.
You can track the progress [here](https://bbs.archlinux.org/viewtopic.php?id=291723). (more) |
— | 4 months ago |
Comment | Post #289874 |
Actually the 'printf` is useful for larger datasets where `ls` starts grouping by directory and excluding the full path. (more) |
— | 7 months ago |
Comment | Post #289874 |
This solution works and led me to a slightly simpler solution in the threads below. (more) |
— | 7 months ago |
Comment | Post #289874 |
`find l1 -mindepth 2 -maxdepth 2 -exec sh -c "ls '{}'/* | head -n 3" \;` also works! Thanks for pointing me in the right direction. (more) |
— | 7 months ago |
Comment | Post #289874 |
How is this sorting the output properly? It returns the first three alphabetically, but how? (more) |
— | 7 months ago |
Comment | Post #289874 |
I was struggling with piping in an `-exec` call. Where did you read about passing `sh -c ""`? I did not find that in the `find` manual. (more) |
— | 7 months ago |
Comment | Post #289874 |
This works, thank you! I did not need `\! -empty`. I was thinking there might be a way without `printf` using `execdir`. (more) |
— | 7 months ago |
Comment | Post #287922 |
I noticed a change to make, pushed, and it's gone now, but should be in the post history. (more) |
— | about 1 year ago |
Comment | Post #287922 |
I can likely push with space then push a change removing to fix, but I post this here because I think it's a UI bug. (more) |
— | about 1 year ago |
Comment | Post #287922 |
I typed this up in a text editor, with the title up top, pasted here, then dragged the title to the title text box with a mouse. In the text box it shows as completely gone. When I posted it re-appeared. I tried adding space and what not then deleting to see, but when I push the edit it's dropped bec... (more) |
— | about 1 year ago |
Comment | Post #287863 |
This is not a bad idea to do a wrapper that converts `--size` to percent, but `convert does not use proper unix option conventions and does not fulfill both size and percent on its own. (more) |
— | about 1 year ago |
Comment | Post #287822 |
The length of the solution makes me think there is a better way. Especially when considering how short the bash solution is that you linked in the other question:
```sh
# See https://stackoverflow.com/a/48449104.
set editing-mode vi
set show-mode-in-prompt on
set vi-cmd-mode-string "\1\e[2 q\2"
... (more) |
— | about 1 year ago |
Comment | Post #287835 |
Outstanding! Thanks! (more) |
— | about 1 year ago |
Comment | Post #287735 |
Be sure to [edit the styles, not the text](https://github.com/jgm/pandoc/issues/5974#issuecomment-563100924). (more) |
— | over 1 year ago |
Comment | Post #287735 |
[The template documentation](https://pandoc.org/MANUAL.html#templates)
led me to [the answer](https://pandoc.org/MANUAL.html#option--reference-doc). (more) |
— | over 1 year ago |
Comment | Post #287735 |
Okay, thanks for the lead! (more) |
— | over 1 year ago |
Comment | Post #287735 |
[Related](https://heather.cs.ucdavis.edu/~matloff/latex.html#convert). Most notably `latex2html` and `latex2rtf`. (more) |
— | over 1 year ago |
Comment | Post #287735 |
This is truly incredible! You got to the root of my problem!
My only remaining issue is that the styling doesn't really carry over, for example, my html section headers are red and a nice font, but with `pandoc -s doc.html -o doc.docx` they look like yours, blue and bold. (more) |
— | over 1 year ago |
Comment | Post #287711 |
This is a nice thought. I used `asciidoctor-pdf`. I know I can output to `.html` natively with `asciidoctor`.
The other tool I encounter this with is `latex`. (more) |
— | over 1 year ago |
Comment | Post #287711 |
Thank you for this. This is not ideal either, because I need to send the docx to native word users. They will be taken aback by this but have a surprisingly high tolerance for formatting issues. It's okay for the formatting to get messed up when editing, but I don't think they will accept being confi... (more) |
— | over 1 year ago |
Comment | Post #287418 |
That's actually an interesting idea, and probably the best solution. I will give it more thought.
I guess I could write a base file, and then a script to append to the base, based on the situation. (more) |
— | over 1 year ago |
Comment | Post #287418 |
This is an important comment. (more) |
— | over 1 year ago |
Comment | Post #287418 |
I understand that, but I don't want to have separate `.xinitrc` files or
change them based on use case. I want to keep one basic `.xinitrc` and
then pass additional commands to my X session based on the situation. (more) |
— | over 1 year ago |
Comment | Post #286930 |
This is a good question. I'm not sure. (more) |
— | over 1 year ago |
Comment | Post #286930 |
Good thought. Tried it specifically setting mode and it did not work:
```sh
xrandr --output HDMI-2 --mode 1920x1080 --rotate left --dpi 92 --right-of eDP-1
``` (more) |
— | over 1 year ago |
Comment | Post #286930 |
Yes you are right, but despite this, the concept of software "dpi" exists through `Xft.dpi` and `xrandr --dpi`.
My main goal is UI scaling. (more) |
— | over 1 year ago |
Comment | Post #287278 |
I'm pretty sure this was my original setup, prior to trying FAT. Will give it another shot and report back. It'll be a couple weeks before I have access to a Windows machine again. (more) |
— | over 1 year ago |
Comment | Post #287278 |
I will see if NTFS is recognized by the device in question. First, when partitioning with `fdisk` or `gdisk`, what partition type should I assign for NTFS? (more) |
— | over 1 year ago |
Comment | Post #286772 |
Thank you! Marked! (more) |
— | almost 2 years ago |
Comment | Post #286725 |
Wow, I was hoping for a simple variable to toggle or change in my `.zshrc`. Not very satisfied with that solution. (more) |
— | almost 2 years ago |
Comment | Post #286772 |
Wow this is amazing insight I had never considered, thank you. Do you mind adding the first statement to the answer so I can mark it? (more) |
— | almost 2 years ago |
Comment | Post #286778 |
If you found an answer in `man less` please document it here. (more) |
— | almost 2 years ago |
Comment | Post #286772 |
I like `ls -A | wc -l`, but I'm not sure why it works. `ls -A` outputs
multiple files on each line, yet `wc -l` catches them all. I would think
you'd need `ls -A -1 | wc -l`. (more) |
— | almost 2 years ago |
Comment | Post #286758 |
Sounds very promising, but not working for me (X, st terminal, zsh). Even so, I'd like to map this behavior to the default `yy`. (more) |
— | almost 2 years ago |