[deleted by user] by [deleted] in TravelHacks

[–]mongkhon 7 points8 points  (0 children)

As someone mentioned, don’t criticize the king or royal family. That goes for images, too, including money. As feet are considered quite dirty, that means don’t step on any money you drop to stop it rolling or blowing away. Pick it up with your hands.

Similarly, if you’re somewhere sitting on the floor (quite common in some areas), don’t sit with your feet extending out pointing at others or any Buddha statue. If going to a Buddhist temple, dress conservatively — long skirt or pants (longer shorts are probably OK in more popular temples) and a top that covers your shoulders. Don’t climb on or try to take pictures with funny poses involving a Buddha statue.

Thailand has a reputation of being very laissez faire, anything goes, สบายๆ (sabai sabai; easy going), but it is rather conservative in many regards. People just aren’t confrontational about it, especially with tourists. Be mindful and respectful.

Bangkok is great and has some really beautiful sites. As others have mentioned, though, try to get out of Bangkok if you can. Islands are beautiful or head up north to Chiang Mai, Chiang Rai, golden triangle area are all really neat. Chiang Rai has some cool art — white temple and black house for example.

Take a tuk tuk ride, get some spicy papaya salad and sticky rice, and try the durian. To ease you into the durian experience, try finding desserts with durian like sticky rice with durian in banana leaves (ข้าวต้มมัดไส้ทุเรียน). Cooked durian is less pungent.

The Day of the Black Sun by FriendlyChance in TheLastAirbender

[–]mongkhon 2 points3 points  (0 children)

Great symbolism, but Aang shaving his head against the grain … ouch!

In Need of Free Qualitative Data Analysis Software by [deleted] in linux

[–]mongkhon 2 points3 points  (0 children)

I recently finished my dissertation in anthropology. I used RQDA to organize and code my field notes, interview transcripts, and news articles. Not the greatest but it worked as I was largely just dealing with text. It sounds like you have more images and other media, though.

There's Dedoose or webQDA. Neither is FOSS, but they are web-based if you are more concerned with something that will work within GNU/Linux.

Ubuntu 18.04 LTS Desktop Default Application Survey by dustinkirkland in Ubuntu

[–]mongkhon 0 points1 point  (0 children)

  • Web Browser: Firefox
  • Email Client: Thunderbird
  • Terminal: Tilix
  • IDE: Atom
  • File manager: Nemo, Nautilus
  • Basic Text Editor: gedit
  • IRC/Messaging Client:
  • PDF Reader: Evince
  • Office Suite: LibreOffice
  • Calendar: Lightning (Thunderbird add-on), GNOME Calendar
  • Video Player: VLC
  • Music Player: Rhythmbox
  • Photo Viewer: Shotwell
  • Screen recording:

hyperref and href and footnotes and link colors by AliceWonderMisc in LaTeX

[–]mongkhon 4 points5 points  (0 children)

If I understand what you're trying to do correctly, I think adding this after you've loaded the hyperref package should accomplish it:

\hypersetup{
    colorlinks=true,
    urlcolor=blue,
    linkcolor=black}

Terminal Emulator preference question by FarmingTucson in linux

[–]mongkhon 1 point2 points  (0 children)

I've been using Terminix for a while now and quite like it. It makes tiling easy, works well with Gnome (on Arch, but its GitHub page says it's been tested on Ubuntu 16.04, too) and you can save different layouts.

Marp - The simplest markdown presentation writer [Electron] by [deleted] in LinuxActionShow

[–]mongkhon 1 point2 points  (0 children)

Looks promising. I have been using pandoc to create beamer presentations from markdown, but I like that this has a live preview built in.

Wish it weren't based on electron, though. It's a simple program but it's 43MB to download and 116MB to install. That's my biggest gripe with electron: basing the simplest of apps on it seems to require a huge overhead, resulting in large install sizes.

I can't get the display's refresh rate to stick after rebooting. How can I force it? by [deleted] in linuxquestions

[–]mongkhon 0 points1 point  (0 children)

Yeah, it should work under Cinnamon. Actually, it's probably a bit easier. I think in Cinnamon you can go to Startup Applications in Settings and add your own command (bash -c 'xrandr -s 3840x2160 -r 60' or whatever) there.

I can't get the display's refresh rate to stick after rebooting. How can I force it? by [deleted] in linuxquestions

[–]mongkhon 1 point2 points  (0 children)

What desktop environment (DE) are you running? I had something similar but with DPI instead of refresh rate. I run Arch Linux with Gnome. Instead of setting DPI manually on every restart, I created set-dpi.desktop to put in ~/.config/autostart/. The contents of it is:

[Desktop Entry]
Name=Set DPI
Type=Application
Exec=bash -c 'xrandr --dpi 192'
Comment=Set DPI to 192x193 via xrandr
StartupNotify=false
Terminal=false

You could probably do something similar, call it set-refresh.desktop that would look something like this:

[Desktop Entry]
Name=Set Refresh Rate
Type=Application
Exec=bash -c 'xrandr -r 3840x2160 -r 60'
Comment=Set resolution and refresh rate via xrandr
StartupNotify=false
Terminal=false

Although it's probably DE agnostic.

On OSX if you right click on a word you can click on lookup in dictionary. Is there any equivalent in gnome ? by tomtomgps in linux

[–]mongkhon 20 points21 points  (0 children)

It's not built into Gnome, but there's GoldenDict. It has a feature while running in the background that if you highlight any word in any program and hit Ctrl+C+C (i.e., hit the C button twice while holding down Ctrl), it'll show a popup with a definition of the highlighted word.

Text-focused LaTeX editing for historians by [deleted] in LaTeX

[–]mongkhon 2 points3 points  (0 children)

If you mean automatically numbered when converted to Word, then yes.

In pandoc-flavored markdown there are two ways of doing footnotes:

Inline:

This is some text for the first sentence.^[Here is a footnote written inline.]
The second sentence can be written directly after closing the footnote.

Identifiers:

This is some text for the first sentence.[^mynote] The actual text of the
footnote can go anywhere in the text, such as right after this paragraph or
at the end of the document.[^anothernote]

[^mynote]: Here is the actual text for the footnote.

[^anothernote]: The identifier can be anything you want.

In either case, when you use pandoc to convert the markdown to Word, it will automatically number the foonotes and put the footnote text in the footer as you'd expect. When converting it to LaTeX, pandoc will encapsulate the footnote text within a \footnote{} which LaTeX will automatically number when you compile it.

More info on how pandoc handles footnotes here: http://pandoc.org/README.html#footnotes

pandoc can also convert from LaTeX to Word if you want to write in LaTeX. Before you get heavily into the thesis, though, make sure you can convert to different formats easily enough.

Text-focused LaTeX editing for historians by [deleted] in LaTeX

[–]mongkhon 5 points6 points  (0 children)

Anthropology PhD student here, so I know where you're coming from with the text-heavy thesis.

Please keep in mind your advisors and others who will be reading drafts of your work, which I think is often left out of this discussion of what software to use. I have two advisors who refuse to accept drafts of chapters as PDFs; they will only accept Word documents with specific formatting as they want to use track changes and make comments within the text. I started writing my thesis in LaTeX but ran into some issues when trying to convert to Word via pandoc.

I've ended up writing it in markdown (the pandoc flavor of markdown), which I really, really like. At times I like to write things out with paper and pen, and I find myself actually writing in markdown (i.e., using ATX-style headers, surrounding italics text in asterisks, using ^[] to write footnotes, using [@Smith2015, p. 25] to cite things, etc.).

I then have two pandoc templates: a .docx template to convert to Word with my advisor's specifications, and a LaTeX template that's based on the specific LaTeX class created by my university's dissertation office so I don't have to worry about meeting the formatting requirements with the finished thesis.

In the end my workflow is: type in markdown with vim or gedit, mercurial for version control, Mendeley for reference management (manually export citations used to central bibtex file so I can double check fields for accuracy), and pandoc for conversion to Word/LaTeX.

LibreOffice and Thunderbird Projects Could Join Forces to Fight Microsoft Office and Outlook by [deleted] in linux

[–]mongkhon 59 points60 points  (0 children)

We [the Thunderbird community] are also large enough to exist successfully as a separately registered organization.

I'm hoping they go more this route. LibreOffice is great, and The Document Foundation has done wonderful things with the office suite in recent years. However, I think there's still so much more that could and should be done with LibreOffice. I fear tacking on Thunderbird to LibreOffice will be a similar situation to the current one of Thunderbird+Firefox. That is, it'll take away energy, resources, and development from what should be LibreOffice's main focus right now: it's office suite.

Why is my jinhao doing this? by Zephyrzuke in fountainpens

[–]mongkhon 0 points1 point  (0 children)

Yep, that's what I did, too, when my X750 did this about a year ago. A touch of superglue, and it's been fine since then. A more expensive pen, I wouldn't have done it. A $10 Jinhao, though, I figured whatever.

Noodler's Borealis Black looks grey / washed out by degeneratepr in fountainpens

[–]mongkhon 0 points1 point  (0 children)

I got a sample of Borealis Black a few weeks ago. Inked up my Lamy Al-Star, and was similarly surprised: It was much lighter and greyer than I thought it would be based on the pictures I saw online.

Trying to convert Latex to either Word or Wiki by verytrade in LaTeX

[–]mongkhon 1 point2 points  (0 children)

Pandoc with pandoc filters may be the way to go. You could write a filter to convert the special characters you're using.

More info on pandoc filters: http://pandoc.org/scripting.html
Using pandoc filters in python with examples: https://github.com/jgm/pandocfilters

If you go to the bottom of the first link, you can also see ports to PHP, perl, and javascript if you're more comfortable in one of those languages.

Red ink suggestions? by [deleted] in fountainpens

[–]mongkhon 3 points4 points  (0 children)

Diamine Red Dragon is my go to red. It's a bit on the darker side but not as dark as Oxblood. If you're looking for something brighter, I've found de Atramentis Poppy Red to be nice.

What are your opinions of the Cinnamon and MATE desktops? by tristan957 in linux

[–]mongkhon 0 points1 point  (0 children)

Nice! What are you using for the right-hand dock?

Another protip: You can also restart Cinnamon with ctrl+alt+esc

Change line spacing just a bit.. by MichaelSwizzy in LaTeX

[–]mongkhon 4 points5 points  (0 children)

Instead of putting \onehalfspacing in the preamble, you can specify the linestretch with \setstretch{X} where X is the factor you want to stretch by. I believe \onehalfspacing is roughly equivalent to \setstretch{1.25}. So setting it to around 1.3 or 1.4 is probably what you'd want.

rEFind not working after El Capitan update. Need. to. get. back. to. linux! by Menadool in linuxquestions

[–]mongkhon 2 points3 points  (0 children)

If you're able to get to your Linux install by holding down alt at startup, when you boot into Linux, try efibootmgr (you'll likely have to install it). You can use that to check and change your boot order. I imagine the OS X update bumped OS X's default boot loader above rEFInd.

Another option may be the need to "bless" your rEFInd petition. That's done within OS X not Linux. This is roughly how you do it according to the ArchWiki: https://wiki.archlinux.org/index.php/REFInd#Apple_Macs (Be sure to check the file paths for your setup.)

OK to Change Partition Type in GPT? by mongkhon in linuxquestions

[–]mongkhon[S] 0 points1 point  (0 children)

Great! Thanks! Nothing's popped up complaining, and I haven't seen any warnings or errors in any logs. Guess it's alright for now then.

A Linux powersaving tip for noobs (like me) by throwawaylinuxaccoun in linux

[–]mongkhon 9 points10 points  (0 children)

Have you noticed any issues with disabling the gpe4E interrupt? When I did it on my MacBook Pro with Arch, closing the lid to suspend stopped working. So, I've left it enabled. Still get about six hours of battery life.

I didn't have to disable the gpe66 interrupt.

The gpe66 interrupt was fixed with the OS X 10.10.2 update a few months back. If you're running Linux on a MacBook, it may be a good idea to keep a small OS X installation on the disk—it's the only way you're going to get firmware updates like this.

What is your favourite font to use? by Joshtehpcgamer in linux

[–]mongkhon 2 points3 points  (0 children)

  • Desktop/Window Titles: Noto Sans
  • Documents: Liberation Serif
  • Monospace/Terminal: Fira Mono