Termite Configuration Problem

i'm setting up arch linux and trying to get a workable interface to mess around with my configuration files and the like. i got bspwm working with bar and sxhkd works fine to open termite or firefox/vimperator for starters. i set up ~/.config/termite/config for both root and my user the best i could based on the information available on the 'net. the fg/bg colors seem to have changed, but all my other colors are just default like in the login shell, when all my colorn = #digits options are obviously all blue-hued.

~/.config/termite/config:
Code:
[options]
resize_grip = false
scroll_on_output = true
scroll_on_keystroke = true
audible_bell = true
visible_bell = false 
mouse_autohide = true
dynamic_title = true
urgent_on_bell = true
clickable_url = true
scrollback_lines = 1024
icon_name = terminal
transparency = 1.7
pseudo_transparency = false
cursor_blink = system 
cursor_shape = block
padding = 2
border_width = 0.5
roundness = 2.0
browser = firefox
font = Terminus 12
foreground = #9999ff
background = rgba(33, 33, 66, 0.6)
hilight = #333366
color0 = #333366
color8 = #333399
color1 = #6666cc
color9 = #9999ff
color2 = #0099cc
color10 = #00ccff
color3 = #3366cc
color11 = #6699ff
color4 = #006699
color12 = #0099cc
color5 = #0066ff
color13 = #0099ff
color6 = #669999
color14 = #66cccc
color7 = #99cccc
color15 = #ccffff

i'm still having trouble getting around and figuring out to ex. copy from vim to vimperator and stuff so i'll add any of my dotfiles if anyone thinks they'll help.

edit: i also made zsh my default shell on all of my accounts. this is the global zshrc in /etc/zsh/zshrc:

Code:
autoload -U run-help
autoload run-help-git
autoload run-help-svn
autoload run-help-svk
unalias run-help
alias help=run-help 

setopt HIST_IGNORE_DUPS

export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
export EDITOR="vim"
export SXHKD_SHELL=$(which sh)

eval $(dircolors ~/.dircolors)

alias ls="ls -a --color"

autoload -U colors && colors

PROMPT="{$fg_no_bold[green]%}%# %{$reset_color%}"
RPROMPT="%{$fg_no_bold[blue]%}%~%{$reset_color%}"



Similar Content



Autoload Python Script At Cinnamon Login

Hi
I am using Cinnamon desktop on the top of arch linux. I wanted to load a python script at desktop login which informs me about battery stats, so I created a batterymonitor.desktop entry under ~/.config/autostart. The contents of batterymonitor.desktop a
Code:
[Desktop Entry]
Type=Application
Exec=python /home/<myusername>/scripts/battery_monitor.py
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=BatteryMonitor
Name=BatteryMonitor
Comment[en_US]=
Comment=
X-GNOME-Autostart-Delay=0

But the problem is that the script is not loading at cinnamon login. I have also confirmed that the script is executable.
Can you help to load this script at cinnamon login?
Regards

If Statement Fails When It Shouldn't

For some reason this statement reports "FALSE" when in fact it shouldn't. Any idea why?

Code:
#!/bin/bash

var1=$(nc -dvzw5 thebes.openshells.net 22)
var2='Connection to thebes.openshells.net 22 port [tcp/ssh] succeeded!'
if [ "$var1" = "$var2" ]; then
echo TRUE
else
echo FALSE
fi

Bash Script For Xfce4 Powermanager Settings Switching Forth And Backward

i need a bash script to switch to zero second on ac the waiting time for turning off the monitor (highlighten in red). same as for on battery (highlighten in purple)

Code:
<?xml version="1.0" encoding="UTF-8"?>

<channel name="xfce4-power-manager" version="1.0">
  <property name="xfce4-power-manager" type="empty">
    <property name="power-button-action" type="empty"/>
    <property name="show-tray-icon" type="empty"/>
    <property name="logind-handle-lid-switch" type="bool" value="true"/> 
    <property name="dpms-on-ac-sleep" type="uint" value="1"/>
    <property name="dpms-on-ac-off" type="uint" value="2"/> 
    <property name="brightness-on-battery" type="uint" value="9"/> 
    <property name="dpms-on-battery-sleep" type="uint" value="1"/>
    <property name="dpms-on-battery-off" type="uint" value="2"/> 
    <property name="lock-screen-suspend-hibernate" type="bool" value="false"/>
    <property name="dpms-enabled" type="bool" value="true"/>
  </property>
</channel>

"vconsole.conf" Show Unicode

Hi!

Here is mine configuration and I want make it show unicode(russian) in console, it works perfect in X11 but not when I logging into tty.

vconsole.conf
Code:
LOCALE="en_US.UTF-8"
KEYMAP="sv-latin1"
FONT_UNIMAP="lat1"
FONT_MAP="ISO8859-1"
CONSOLEFONT="ruscii_8x8"
HARDWARECLOCK="localtime"
TIMEZONE="Europe/Stockholm"
USECOLOR="yes"

/bin/sh: 1: Cc: Not Found

Hi,
I am crosscompiling u-boot for the beaglebone black and I have a problem that I don't understand.

I have installed correctly the linaro cross-compile tools and export the environment variable CC as:
export CC=/path_to_linaro_arm_cross_compiler/bin/arm-linux-gnueabihf-

And if I type in the terminal:
${CC}gcc --version

I see the linaro's compiler version, so all seems to be ok.

But, when I try to create the config file for the BBB with the command:
make ARCH=arm CROSS_COMPILE=${CC} am335x_boneblack_defconfig

It complains with the message: "/bin/sh: 1: cc: not found"

Am I missing something?

Bash Script - Check If Three Commands Are True

I am trying to check if all three mountpoint commands return true. However when I run the bash script I get a binary operator expected error.

if [[ mountpoint -q /mnt/foo1 && mountpoint -q /mnt/foo2 && mountpoint -q /mnt/foo3 ]]
then
echo "all three true"
else
echo "all three not true"
fi

Help Move & Sumo

I run Move, I did set Node, Edge, Configuration ==>> 3 file (.nod.xml .edg.xml .netc.cfg) but when i set Create Map is have a problem:

Quote:
Loading configuration...
Warning: Please note that 'xml-node-files' is deprecated.
Use 'node-files' instead.
Warning: Please note that 'xml-edge-files' is deprecated.
Use 'edge-files' instead.
Error: No option with the name 'type' exists.
Warning: Please note that 'lanenumber' is deprecated.
Use 'default.lanenumber' instead.
Warning: Please note that 'speed' is deprecated.
Use 'default.speed' instead.
Warning: Please note that 'priority' is deprecated.
Use 'default.priority' instead.
Warning: Please note that 'remove-geometry' is deprecated.
Use 'geometry.remove' instead.
Warning: Please note that 'remove-isolated' is deprecated.
Use 'remove-edges.isolated' instead.
Error: Could not load configuration '/home/huynhloc/Move/Simulation/map.netc.cfg'.
Quitting (on error).
Loading configuration...
Warning: Please note that 'xml-node-files' is deprecated.
Use 'node-files' instead.
Warning: Please note that 'xml-edge-files' is deprecated.
Use 'edge-files' instead.
Error: No option with the name 'type' exists.
Warning: Please note that 'lanenumber' is deprecated.
Use 'default.lanenumber' instead.
Warning: Please note that 'speed' is deprecated.
Use 'default.speed' instead.
Warning: Please note that 'priority' is deprecated.
Use 'default.priority' instead.
Warning: Please note that 'remove-geometry' is deprecated.
Use 'geometry.remove' instead.
Warning: Please note that 'remove-isolated' is deprecated.
Use 'remove-edges.isolated' instead.
Error: Could not load configuration '/home/huynhloc/Move/Simulation/map.netc.cfg'.
Quitting (on error).
Loading configuration...
This is file Configuration of me: map.netc.cfg
Code:
<configuration>

    <input>
       <xml-node-files value="/home/huynhloc/Move/Simulation/node.nod.xml"/>
       <xml-edge-files value="/home/huynhloc/Move/Simulation/edge.edg.xml"/>
       <xml-connection-files value=""/>
       <xml-type-files value=""/>
    </input>

    <output>
       <output-file value="/home/huynhloc/Move/Simulation/map.net.xml"/>
    </output>

    <defaults>
       <type value="Unknown"/>
       <lanenumber value="2"/>
       <speed value="40"/>
       <priority value="75"/>
       <capacity-norm value=""/>
    </defaults>

    <reports>
       <print-options value="false"/>
    </reports>

    <processing>
       <speed-in-kmh value="false"/>
       <no-turnarounds value="false"/>
       <remove-geometry value="false"/>
       <remove-isolated value="false"/>
    </processing>

</configuration>

I use ubuntu 14.04, version of sumo 0.12.3, please help me.

/etc/shadow Question

Looking at the /etc/shadow file, for some of the system services accounts there are "*" and for others "!!" in the password field.
Searching online I have only found that !=*, i.e. prevent use for log-in, but, if true, what is the actual difference? Why not use "*" on all of them? And why double exclamation point?

Libreoffice Cannot Find Network Printer, Offers Only (non-existent) Generic Printer

Arch linux, lxdm/lxde, recent installation, feeling I must be doing something stupid, would be glad to be guided!

I have a Brother HL-2030 printer connected to a Raspberry Pi as a print server, CUPS setup, with sharing turned on. Other machines in the household, and indeed other OS's on the machine I'm writing on, print trouble-free to this printer.

On *this* desktop machine, (with libcups installed,) other programs print trouble-free. Firefox, Thunderbird, geany and evince all detect the presence of the network printer, and work as expected.

It's just Libreoffice that does not. This is true both of libreoffice-fresh and libreoffice-still, and it is true for all the components (write, draw, calc etc).

Libreoffice *does* find the network printer from other OS's that I play with; I have Puppy and Mint on the same machine, but those installs of Libreoffice are obviously different/earlier versions (nor do I feel like upgrading them in the circumstances!)

In this context, though, the Libreoffice "File>Printer settings..." menu offers me only a "Generic Printer" (whose properties and options I can edit). If I ask Libreoffice to print to this generic printer, it reports no failure, but that task just seems to disappear into thin air.

On the Pi server, /var/log/cups/ offers

Code:
# extract from /var/log/cups/access_log
# [...snip]
192.168.2.2 - - [22/Jan/2015:18:21:21 +0000] "POST / HTTP/1.1" 200 566 CUPS-Get-Printers server-error-version-not-supported
192.168.2.2 - - [22/Jan/2015:18:21:21 +0000] "POST /printers/Brother_HL-2030_series HTTP/1.1" 200 15824 Print-Job successful-ok
# the above line logs a successful print from geany
192.168.2.2 - - [22/Jan/2015:18:26:40 +0000] "POST / HTTP/1.1" 200 673 CUPS-Get-Default server-error-version-not-supported


# extract of /var/log/cups/error_log
# [...snip]
E [22/Jan/2015:18:21:20 +0000] Returning IPP server-error-version-not-supported for CUPS-Get-Printers (no URI) from 192.168.2.2
E [22/Jan/2015:18:21:20 +0000] Returning IPP server-error-version-not-supported for CUPS-Get-Printers (no URI) from 192.168.2.2
E [22/Jan/2015:18:21:21 +0000] Returning IPP server-error-version-not-supported for CUPS-Get-Printers (no URI) from 192.168.2.2
E [22/Jan/2015:18:26:40 +0000] Returning IPP server-error-version-not-supported for CUPS-Get-Default (no URI) from 192.168.2.2

I really think I must be doing something very stupid and newbie-ish!

Help On Rndc. Want To Control Remote Bind Server, But Cant....

Hi All,

Please help me. I'm following the book - ' DNS and BIND, 5th Ed By Paul Albitz, Cricket Liu '. This RNDC is driving me crazy. I spent all day trying to configure rndc. Tried every possible combination in config files, but I just cant control remote server. Tried many tutorials from google, nothing helped. LQ is my last hope.

So, my story goes like this...

MASTER BIND SERVER:
Host: toystory.movie.edu
IP: 10.249.249.3/24
OS: CentOS 7.1

SLAVE BIND SERVER:
Host: wormhole.movie.edu
IP: 10.249.249.2/24
OS: CentOS 6.6

MASTER SERVER (toystory) CONFIGURATION FILES:
Code:
[root@toystory ~]# cat /etc/rndc.conf
key "toystory-key" {
	algorithm hmac-md5;
	secret "K9qBsQwusP6430cykS2AeA==";
};
options {
	default-key "toystory-key";
	default-server 127.0.0.1;
	default-port 953;
};

[root@toystory ~]# cat /etc/named.conf
key "toystory-key" {
	algorithm hmac-md5;
	secret "K9qBsQwusP6430cykS2AeA==";
};
controls {
	inet 127.0.0.1 port 953
		allow { 127.0.0.1; } keys { "toystory-key"; };
};
key "wormhole-key" {
	algorithm hmac-md5;
	secret "7PvoY3oysQz8DyASiUTlNA==";
};
controls {
	inet 10.249.249.3 port 953
		allow { 10.249.249.2; } keys { "wormhole-key"; };
};

SLAVE SERVER (wormhole) CONFIGURATION FILES:
Code:
[root@wormhole ~]# cat /etc/rndc.conf
key "wormhole-key" {
	algorithm hmac-md5;
	secret "7PvoY3oysQz8DyASiUTlNA==";
};
options {
	default-key "wormhole-key";
	default-server 127.0.0.1;
	default-port 953;
};

[root@wormhole ~]# cat /etc/named.conf
key "wormhole-key" {
	algorithm hmac-md5;
	secret "7PvoY3oysQz8DyASiUTlNA==";
};
controls {
	inet 127.0.0.1 port 953
		allow { 127.0.0.1; } keys { "wormhole-key"; };
};
server 10.249.249.3 {
  keys { "wormhole-key"; };
};

TESTING:

MASTER (toystory):
Code:
[root@toystory ~]# rndc status
version: 9.9.4-RedHat-9.9.4-18.el7_1.1 <id:8f9657aa>
CPUs found: 1
worker threads: 1
UDP listeners per interface: 1
number of zones: 104
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
recursive clients: 0/0/1000
tcp clients: 0/100
server is up and running

[root@toystory ~]# rndc -s wormhole.movie.edu status
rndc: connect failed: 10.249.249.2#953: connection refused

SLAVE (wormhole):
Code:
[root@wormhole ~]# rndc status
version: 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.2
CPUs found: 1
worker threads: 1
number of zones: 22
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
recursive clients: 0/0/1000
tcp clients: 0/100
server is up and running

What I'm doing wrong? Please Help!!!

Thanks