Skip to content

Instantly share code, notes, and snippets.

xkbcommon: ERROR: couldn't find a Compose file for locale "en_DK.utf8"
rofi usage:
rofi [-options ...]
Command line only options:
-no-config Do not load configuration, use default values.
-v,-version Print the version number and exit.
-dmenu Start in dmenu mode.
-display [string] X server to contact.
${DISPLAY}
[daniel@laptop ~]$ G_MESSAGES_DEBUG=all rofi -show drun
(process:1645): Rofi-DEBUG: Parse plugin path: /usr/lib/rofi
(process:1645): X11Helper-DEBUG: Query RANDR for monitor layout.
(process:1645): X11Helper-DEBUG: Found window manager: i3
xkbcommon: ERROR: couldn't find a Compose file for locale "en_DK.utf8"
** (process:1645): DEBUG: Parsing string: '/**
* rofi -dump-theme output.
**/
* {
selected-normal-foreground: @lightbg;
/*
---------------- index.js--------------------
*/
const express = require('express');
const logger = require('./services/logger.js');
const app = express();
// require('dotenv').config();
// logger.info(process.env.DB_CONNECTION_STRING);
const PORT = process.env.PORT || 3000;
require('dotenv').config();
const log = './logger.js';
const mongoose = require('mongoose');
module.exports = function() {
log.info('HELLO WORLD');
mongoose.connect(process.env.DB_CONNECTION_STRING,
{ useNewUrlParser: true })
.then(() => log.info('Connected to MongoDB...'))
.catch(e => log.info(e));