Diego Escalante Urrelo: Habits and engagement
Nir Eyal Automatic customers: How to design user habits at WordCamp San Francisco 2012:
Nir Eyal Automatic customers: How to design user habits at WordCamp San Francisco 2012:
I realised yesterday morning that I will have biked up Hawthorne Road at least
once a day for 5 days in a row by tomorrow (unless it happens to rain).
It's not a bad hill, really, it has a sort of a stair-step gradient. There's a
short, gentle incline, just to get your heart going, then there's a flat bit,
to recover, then there's a less friendly incline, which is both more unfriendly
and longer. Then you get to the top, gasping for breath, before there's a short
decline and usually a red traffic light.
This morning I had the bright idea of leaving the bike trailer at Kindergarten,
so it made the journey home much more pleasant, as was the aforementioned climb
up Hawthorne Road in the afternoon.
I spent the day doing Debian stuff, but unfortunately didn't result in a
package upload to show for it. Library packages are tricky, and I'm far from
experienced or competent at maintaining them.
Zoe didn't nap today at Kindergarten, and wasn't too worse for wear for it.
When we got home, Zoe wanted to make a crown for Mummy like the one she made at
Playgroup last week. Unfortunately we didn't really have any good crown-sized
paper, so I made a little crown out of some surplus Letter-sized paper, and
then Zoe decided to do some painting. The painting devolved into a lot of hand
painting of her cardboard box rocket, inside and out. We managed to keep the
mess to a minimum.
After we cleaned up, Zoe watched a bit of TV, and my girlfriend came over and
together we all made a vegetable stir fry for dinner. After dinner we walked
down to the Hawthorne Garage to get some unwanted cardboard fruit boxes, to
help with packing for our two night trip to Coochiemudlo Island later this week.
Bedtime went pretty smoothly. Zoe managed to get a bunch of insect bites
yesterday, which was the cause of a 4am wake up this morning. They're still
giving her grief, so I'm expecting some sort of disturbance overnight tonight.
deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu $DISTRIBUTION main
/etc/ssh/sshd_config should contain:
Protocol 2
PasswordAuthentication no
PermitRootLogin no
addgroup sshuser
and then add the relevant users to it:
adduser francois sshuser
Finally, add this to /etc/ssh/sshd_config:
AllowGroups sshuser
/var/log/auth.log) and
temporarily blocks IP addresses after a number of failed login attempts.
Another approach is to hide the ssh service using
Single-Packet Authentication. I
have fwknop installed on some of my
servers and use small
wrapper
scripts
to connect to them.
scp or rsync), it's a good idea to set their shell
(via chsh) to a restricted one like
rssh.
Should they attempt to log into the server, these users will be greeted with
the following error message:
This account is restricted by rssh.
Allowed commands: rsync
If you believe this is in error, please contact your system administrator.
Connection to server.example.com closed.
~/.ssh/authorized_keys file also allows (as the
man page
points out) a user to impose a number of restrictions.
Perhaps the most useful option is from which allows a user to restrict the
IP addresses which can login using a specific key.
Here's what one of my authorized_keys looks like:
from="192.0.2.2" ssh-rsa AAAAB3Nz...zvCn bot@example
You may also want to include the following options to each entry:
no-X11-forwarding, no-user-rc, no-pty, no-agent-forwarding and
no-port-forwarding.
/etc/ssh/sshd_config:
LogLevel VERBOSE
which will, amongst other things, log the fingerprints of keys used to login:
sshd: Connection from 192.0.2.2 port 39671
sshd: Found matching RSA key: de:ad:be:ef:ca:fe
sshd: Postponed publickey for francois from 192.0.2.2 port 39671 ssh2 [preauth]
sshd: Accepted publickey for francois from 192.0.2.2 port 39671 ssh2
Secondly, if you run logcheck
and would like to whitelist the "Accepted publickey" messages on your
server, you'll have to start by deleting the first line of
/etc/logcheck/ignore.d.server/sshd. Then you can add an entry for all of
the usernames and IP addresses that you expect to see.
Finally, it is also possible to
log all commands issued by a specific user over ssh
by enabling the pam_tty_audit module in /etc/pam.d/sshd:
session required pam_tty_audit.so enable=francois
However this module is not included in wheezy and has only recently been re-added to Debian.
/var/log/auth.log:
sshd: Connection from 198.51.100.10 port 39492
sshd: Authentication tried for francois with correct key but not from a permitted host (host=198.51.100.10, ip=198.51.100.10).
sshd: Failed publickey for francois from 198.51.100.10 port 39492 ssh2
sshd: Connection closed by 198.51.100.10 [preauth]
So I can get the IP address of the attacker (likely to be a random VPS or a
Tor exit node), but unfortunately, the key fingerprints don't appear for
failed connections like they do for successful ones. So I don't know which key
to revoke.
Is there any way to identify which key was used in a failed login attempt or
is the solution to only ever have a single public key in each
authorized_keys file and create a separate user account for each user?
Recently I've been thinking about getting a new laptop. I have this rule that a laptop should last me at least 3 years (ideally more) and my old laptop was bought in September 2010. So for the past few months I've been trying to work out if there's something suitable on the market that is a good replacement (last time I didn't manage to find something that ticked all the boxes, but did pretty well for the price I paid).
To start with I decided to track my laptops over time - largely because one of my concerns was about the size of a replacement, because I have a significant leaning towards subnotebooks. In the end the reason I decided to upgrade was for some extra CPU grunt; my old machine had a tendency to get pretty hot under any sort of load.
| Date | Model | CPU | Screen | RAM | Storage | W (mm) | H (mm) | D (mm) | Weight | Cost |
|---|---|---|---|---|---|---|---|---|---|---|
| 1991 | Amstrad PPC 640D | NEC V30 8MHz | 9" 640x200 non-backlit green LCD | 640k | 2 x 3.5" FDD | 450 | 230 | 100 | 10kg | ??? |
| August 1997 | Compaq Aero 4/33c | 486sx33 | 7.8" 640x480 CSTN LCD | 4MB | 80MB | 260 | 190 | 43 | 1.6kg | ??? |
| July 2002 | Compaq Evo N200 | P-III 700MHz | 10.4" 1024x768 TFT | 192MB | 20GB | 251 | 198 | 20 | 1.1kg | 939.99 |
| August 2005 | Toshiba Portege R200 | Pentium M 753 1.2GHz | 12.1" 1024x768 TFT | 1280MB | 60GB | 286 | 229 | 20 | 1.29kg | 1313.58 |
| September 2008 | Asus EEE 901 | Atom N270 1.6GHz | 8.9" 1024x600 TFT | 2GB | 4GB + 16GB SSD | 248 | 175 | 23 | 1.1kg | 299.99 |
| September 2010 | Acer Aspire 1830T | Core-i5 470UM 1.33GHz | 11.6" 1366x768 TFT | 8GB | 500GB | 284 | 203 | 28 | 1.4kg | $699.99 (~ 480) |
I have always loved Drum and Bass.
In 2013 I rediscovered my love for
Darkstep and
Neurofunk, and found
that these genres have developed quite a lot in the recent years.
Some labels like
Black Sun Empire and
Evol Intent
produce mixes/sets on a regular basis as podcasts these days.
This article aggregates some neurofunk podcasts I like a lot, most recent first.
Enjoy 33 hours and 57 minutes of fun with dark and energizing beats.
Thanks to BSE Contrax and Evol Intent for providing such high quality sets.
I was a member of the credativ family for almost 10 years. It was a great and and demanding time where I did things I never imagined I would have to do them :). I started as an apprentice and finished as a technical lead.
In the last summer one of my best friends - if not my best - and I developed the idea of me joining his company hs42 as their new Head of IT. The whole concept is interesting, most time I ll do home-office and for ~ 1 week in a month I ll join the company in Oldenburg.
After a lot of thinking I accepted that offer. That means that I left credativ in December.
Being an open source consultant is interesting on the one hand, but somewhat annoying on the other hand. You will always do new things, but often you are not in the position of designing, deciding or even running them. I was always something that is nowadays known as a devop - a long time before this was getting hip .
Now I have the opportunity to design, develop and run my own systems. That also means a little bit windows, but opsi exists :). Running systems on your own is different from the usual consultant work. Being a consultant often means that you design and implement something and after it works you have to give your baby into the hands of someone else. Running them on your own also means you can do constant improvement to something, not only when its broken.
The job should give me more time for open source and my family, which is a good thing. It is still a little bit odd to work from home, but being together with your family most of the time is a great thing - and I don t want to miss it.
The new job also allows me to work as consultant on my own, so if you need a Debian, E-Mail, Linux or whatever guy that helps you in doing things - get in touch with me.
The time at credativ was a great one and I look back with a smile to all the good things. If you need Open Source Support they are the people you should ask. I will stay connected with credativ in many ways.
On the planet 0 there has not been a war for five thousand years, she read, and on Gethen there has never been a war. She stopped reading, to rest her eyes and because she was trying to train herself to read slowly, not gobble words down in chunks the way Tikuli gulped his food. There has never been a war : in her mind the words stood clear and bright, surrounded by and sinking into an infinite, dark, soft incredulity. What would that world be, a world without war? It would be the real world Peace was the true life, the life of working and learning and bringing up children to work and learn. War, which devoured work, learning, and children, was the denial of reality. But my people, she thought, know only how to deny. Born in the dark shadow of power misused, we set peace outside our world, a guiding and unattainable light. All we know to do is fight. Any peace one of us can make in our life is only a denial that the war is going on, a shadow of the shadow, a doubled unbelief.That made me realise that several times I perceived political correctness as "only a denial that the war is going on". Last night I watched this video, which I felt was very relevant to this. Indeed, I have more respect for someone who listens to me and makes a good effort to understand what I said, then rudely disagrees, than for someone who is very politely ignoring everything I am trying to say. This is how I feel like this experience can be distilled into an actionable item:
Replying to an email is probably going to be useless, unless I am willing to make an effort to understand what the other person is trying to say, from their own point of view.
For some strange reason, I ve been receiving a lot of GPG-signed mail from Debian Developers and Maintainers lately. In response to each of these mails, I need to send a GPG-encrypted reply. The rate at which I m able to send replies has been significantly hampered by the poor state in which many DD/DM s maintain their GPG keys. Here are a few common mistakes, so you can consider correcting them.
Ensure you have a UID for the email address(es) you use
When I send an encrypted mail, I need to be sure that the recipient is legit. This means any decent mail client should refuse to send an encrypted message to foo@bar.com unless that email address is known somehow to GPG. In many cases, someone with a valid key for foo@bar.com would send their signed mail from foobar@gmail.com without that being a valid UID. In some cases, foo@bar.com isn t even a valid email address anymore (i.e. the bar.com mail server says no such mailbox).
You should have a UID for each address you use.
Signatures are per-UID
You may well have a valid UID for foo@debian.org, foo@bar.com, and foobar@gmail.com but the PGP trust model doesn t automatically trust every UID as much as its peers. Each individual UID needs to be trusted (i.e. signed/uploaded) by others. What if you added billg@microsoft.com as a UID should that automatically be trusted? Clearly not. Just because you have foo@debian.org doesn t mean it s trusted for encryption without some signatures.
Make sure you actually have an encrypting subkey
GPG sucks, and as a result, it reports Skipping unusable pubkey when the issue is a lack of valid encrypting subkeys. If you have revoked all encrypting subkeys, or allowed them to expire, then I cannot send you encrypted mail.
Exact naming matters
Bob Bobbertson <foo@bar.com> and B b B bb rts n <foo@bar.com> are different people. Check your mail client s From: setting, to ensure it matches your UID. If not, fix one of them.
Check your webmail plugin isn t shit
Some people use third party plugins to integrate GPG into their webmail client (e.g. Hotmail or GMail). Make sure this actually works.
Don t use Enigmail
Enigmail is a popular plugin to integrate GPG into Mozilla Thunderbird. It doesn t work, in most cases. Almost every single BADSIG in my inbox is due to Enigmail. Thunderbird will insert spurious line wraps and escape characters into your mail after signing, resulting in invalid signatures.
It s mostly okay if you never quote mail, and restrict messages to about 70 characters.
I know plenty of Debian Developers don t care about GPG other than for package signing but please, for the sanity of the rest of us, take an occasional moment to care a little.
I should note that the worst offenders for keys which don t just work were Developers with 1024D keys the best behaved were Maintainers of all stripes.
Total keys: 996
Key versions:
996 4
Primary key pubkey algorithms:
623 "DSA"
373 "RSA"
Primary key pubkey sizes:
624 1024
27 2048
2 3072
340 4096
2 8192
1 10240
Total number of UIDs + UAts: 4394
Hash algorithm used for most recent self-sig:
1 "RIPEMD160"
3188 "SHA1"
1041 "SHA256"
1 "SHA384"
163 "SHA512"
Judgment on preferred hash algorithms:
1776 null
2618 "weak hash with higher preference"
Judgment on expiration times:
53 "expiration passed"
111 "expiration too far in future"
3887 "no expiration set"
343 null
This was generated with debian-keyring 2013.12.13, hopenpgp-tools 0.4-1, jshon 20131010-3,
and the following inefficient script:
#!/bin/zsh
infile=/usr/share/keyrings/debian-keyring.gpg
tempfile=$(mktemp)
trap 'rm $ tempfile ' EXIT
hokey lint --output-format JSON <$ infile >$ tempfile
print -n "Total keys: "
jshon -a -e keyFingerprint <$ tempfile wc -l
print "Key versions: "
jshon -a -e keyVer -e val <$ tempfile sort uniq -c
print "Primary key pubkey algorithms: "
jshon -a -e keyAlgorithmAndSize -e pubkeyalgo -e val <$ tempfile sort uniq -c
print "Primary key pubkey sizes: "
jshon -a -e keyAlgorithmAndSize -e pubkeysize -e val <$ tempfile sort -n uniq -c
print -n "Total number of UIDs + UAts: "
jshon -a -e keyUIDsAndUAts -k <$ tempfile wc -l
print "Hash algorithm used for most recent self-sig: "
jshon -a -e keyUIDsAndUAts -a -e uidSelfSigHashAlgorithms -a -e val <$ tempfile sort uniq -c
print "Judgment on preferred hash algorithms: "
jshon -a -e keyUIDsAndUAts -a -e uidPreferredHashAlgorithms -a -e explanation <$ tempfile sort uniq -c
print "Judgment on expiration times: "
jshon -a -e keyUIDsAndUAts -a -e uidKeyExpirationTimes -a -e explanation <$ tempfile sort uniq -c
This represents incorrect handling of revoked UIDs and user attributes, and possibly unknown bugs.
"Judgments" are based on this document and
are not generalized per key.
Formally, today is my first day as a student on a formal, scholarized institution Basically for the first time in almost twenty years!
Yes, those that know me know that I aspire to live the life of academia. I have worked at public universities for almost all of my adult life (between 1997 and 1999 I worked at a local ISP and at a private school), and have had a minor academic position ( T cnico Acad mico ) for almost ten years. And not having a proper degree limited me from pursuing anything further.
Then, in early 2010 I presented the written exam. By late 2010, the corresponding oral exam. That allowed me to get my formal diploma in December 2010. By the end of 2011, I requested to be a teacher in the Engineering Faculty of UNAM, and started teaching Operating Systems a year ago, in January 2012.
So, a good advance in the last few years... But I know that if I just sit here, I won't be able to advance my position towards really entering the Sacred Halls of Academia. And there are some rituals I have to comply with. One of those rituals is... Devoting some long time to studying under the formal structures.
Ok, so I'm finally a postgraduate student I have enrolled in Especialidad en Seguridad Inform tica y Tecnolog as de la Informaci n, a short (one year) postgraduate program in ESIME Culhuac n, of Instituto Polit cnico Nacional (a small campus of Mexico's second-largest university).
Some friends have asked me, why am I starting with a Specialization and not a Masters degree. Some simple reasons: Just as when I went to Tijuana in 2010 to do my written exam, once I got and started with the paperwork, I didn't want to let it go If I postpone it, I will probably lose the push to do it by May-July, when the Masters admission process starts. Also, this specialization can be linked with the masters degree on the same topic given at the same campus. This program is one year long, and the masters two But having them both takes 2.5 years. So, not such a bad deal after all. And finally, because, after such a long time without being scholarized, I fear not having an easy time getting to grips with the discipline. I can commit to overworking myself for a year If it's too much for me, I'll just stay with that degree and give up. I expect to like it and continue... But it's also a safe bet :-)
Now, there has to be a downside to picking up this path: Of course, my free time will be harshly reduced. I have reduced my Debian involvement in the last year, as I devoted a huge chunk of my time to teaching and book-writing... This year... We shall see what happens. I can for now only confirm what I have said publicly but inside our team only: I have requested to my peers and to our DPL to step down as a DebConf chair. I love organizing DebConf, but I don't want to be formally committed to a position I just cannot fulfill as I did when I started with it. As for package maintenance, by far most of my packges are team maintained, and those that are not are relatively easy to keep track of. And of course, I'll keep an eye on my keyring-maint duties as well Will even try to link that work with what I do at school!
Anyway, lets see what comes now!
#aaaaaa.Alt+Fnn to directly switch to one of the first 12 terminals, like in the
Linux console.F11 to toggle fullscreen.Alt+'+', Alt+'-', Alt+'0' to control font sizes.cd workdir; x-terminal-emulator -e vim todolist and then I
start opening new tabs.x-terminal-emulator -e cmd args...x-www-browserhttps urls with Firefox, although the preferred
browser was Chromium. There seemed to be no way to control it: I looked for
firefox or iceweasel in all gconf and dconf settings and found nothing.
The browser issue was fixed by accident when I used Xfce4's settings
application to change the browser from Chromium to Firefox and then back to
Chromium.
update, thanks to Mathieu Parent, Josh Triplett, Peter De Wachter, Julien
Cristau, and Charles Plessy:
It is also possible to restore the "new tab opened inside the same
directory of the last tab I was in" behaviour,
by enabling "run command as a login shell" so that /etc/profile.d/vte.sh is
run (thanks Mathieu Parent for the link).
That in turn spawned extra cleanup work in my
.bashrc/.bash_profile/.profile setup, which has been randomly evolving
since even before my first Debian "buzz" system. I found that it was setting
PROMPT_COMMAND to something else to set the terminal title, conflicting with
what vte.sh wants to do.
With regards to loading /etc/profile.d/vte.sh by default, Peter De Watcher
sent pointers to relevant bugs:
here,
here, and
here.
An alternative strategy is to work using the prompt rather than
PROMPT_COMMAND; an example is in Josh Triplett's .bashrc from
git://joshtriplett.org/git/home.
Josh Triplett also said:
To fix the browser launched for URLs, you either need to use a desktop environment following GNOME's mechanism for setting the default browser, or editAll my issues with gnome-terminal are now gone and I'm only too happy to go back to it. rxvt-unicode-256color~/.local/share/applications/mimeapps.listand make surex-scheme-handler/http,x-scheme-handler/https, andx-scheme-handler/ftpare set to your preferred browser's desktop file basename under[Added Associations].
urxvt took some work. This is where I got with configuration:
URxvt.font: xft:Monospace-10:antialias=true
URxvt.foreground: #aaaaaa
URxvt.background: black
URxvt.scrollBar_right: true
URxvt.cursorBlink: true
URxvt.perl-ext-common: default,matcher,tabbedex
URxvt.url-launcher: /usr/bin/x-www-browser
URxvt.matcher.button: 1
URxvt.perl-lib: /home/enrico/.urxvt/perl
URxvt.color0: black
URxvt.color1: #aa0000
URxvt.color2: #00aa00umask
URxvt.color3: #aa5500
URxvt.color4: #0000aa
URxvt.color5: #aa00aa
URxvt.color6: #00aaaa
URxvt.color7: #aaaaaa
URxvt.color8: #555555
URxvt.color9: #ff5555
URxvt.color10: #55ff55
URxvt.color11: #ffff55
URxvt.color12: #5555ff
URxvt.color13: #ff55ff
URxvt.color14: #55ffff
URxvt.color15: #ffffff
I got all of the tab behaviour that I need by
"customizing" the tab script (yuck
github
).
Missing
TERM=rxvt.config/sakura/sakura.conf and these bits help:
colorset1_fore=rgb(170,170,170)
colorset1_back=rgb(0,0,0)
colorset1_opacity=99
colorset2_fore=rgb(0,0,0)
colorset2_back=rgb(254,254,254)
colorset2_opacity=99
font=Monospace 10
show_always_first_tab=No
scrollbar=false
fullscreen_key=F11
palette=linux
Missing
Alt+Fnn to directly switch to one of the first 12 terminals, like in the
Linux console. Sakura hardcodes using numbers for switching, and only allows
to change the modifier.Alt+'+', Alt+'-', Alt+'0' to control font sizes..config/lxterminal/lxterminal.conf and this is relevant
to me:
[general]
fontname=DejaVu Sans Mono 10
fgcolor=#aaaaaaaaaaaa
disallowbold=false
cursorblinks=true
tabpos=top
hidescrollbar=false
hidemenubar=true
hideclosebutton=true
disablef10=true
disablealt=true
Also, to open a url directly you control+click it.
Missing
Alt+Fnn to directly switch to one of the first 12 terminals, like in the
Linux console.F11 to toggle fullscreen.Alt+'+', Alt+'-', Alt+'0' to control font sizes..config/terminator/config and this is relevant to me:
[global_config]
use_custom_url_handler = True
custom_url_handler = x-www-browser
inactive_color_offset = 1.0
[keybindings]
close_term = None
close_window = None
copy = None
cycle_next = None
cycle_prev = None
go_down = None
go_next = None
go_prev = None
go_up = None
group_all = None
group_tab = None
hide_window = None
move_tab_left = None
move_tab_right = None
new_tab = None
new_terminator = None
new_window = None
next_tab = None
paste = None
prev_tab = None
reset_clear = None
reset = None
resize_down = None
resize_left = None
resize_right = None
resize_up = None
rotate_ccw = None
rotate_cw = None
scaled_zoom = None
search = None
split_horiz = None
split_vert = None
switch_to_tab_1 = <Alt>F1
switch_to_tab_2 = <Alt>F2
switch_to_tab_3 = <Alt>F3
switch_to_tab_4 = <Alt>F4
switch_to_tab_5 = <Alt>F5
switch_to_tab_6 = <Alt>F6
switch_to_tab_7 = <Alt>F7
switch_to_tab_8 = <Alt>F8
switch_to_tab_9 = <Alt>F9
switch_to_tab_10 = <Alt>F10
toggle_scrollbar = None
toggle_zoom = None
ungroup_all = None
ungroup_tab = None
[profiles]
<span class="createlink">default</span>
palette = "#000000:#aa0000:#00aa00:#aa5500:#0000aa:#aa00aa:#00aaaa:#aaaaaa:#555555:#ff5555:#55ff55:#ffff55:#5555ff:#ff55ff:#55ffff:#ffffff"
copy_on_selection = True
icon_bell = False
background_image = None
show_titlebar = False
Missing
x-terminal-emulator -e cmd args....
#734655 but should
be fixed soon.config/xfce4/terminal, and this is relevant to me:
terminalrc:
[Configuration]
FontName=Monospace 10
MiscAlwaysShowTabs=FALSE
MiscBell=FALSE
MiscBordersDefault=TRUE
MiscCursorBlinks=FALSE
MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK
MiscDefaultGeometry=80x24
MiscInheritGeometry=FALSE
MiscMenubarDefault=FALSE
MiscMouseAutohide=FALSE
MiscToolbarDefault=FALSE
MiscConfirmClose=TRUE
MiscCycleTabs=TRUE
MiscTabCloseButtons=TRUE
MiscTabCloseMiddleClick=TRUE
MiscTabPosition=GTK_POS_TOP
MiscHighlightUrls=TRUE
ShortcutsNoMenukey=TRUE
ShortcutsNoMnemonics=TRUE
ColorForeground=#aaaaaaaaaaaa
accels.scm:
(gtk_accel_path "<Actions>/terminal-window/goto-tab-1" "<Alt>F1")
(gtk_accel_path "<Actions>/terminal-window/goto-tab-2" "<Alt>F2")
(gtk_accel_path "<Actions>/terminal-window/goto-tab-3" "<Alt>F3")
(gtk_accel_path "<Actions>/terminal-window/goto-tab-4" "<Alt>F4")
(gtk_accel_path "<Actions>/terminal-window/goto-tab-5" "<Alt>F5")
(gtk_accel_path "<Actions>/terminal-window/goto-tab-6" "<Alt>F6")
(gtk_accel_path "<Actions>/terminal-window/goto-tab-7" "<Alt>F7")
(gtk_accel_path "<Actions>/terminal-window/goto-tab-8" "<Alt>F8")
(gtk_accel_path "<Actions>/terminal-window/goto-tab-9" "<Alt>F9")
(gtk_accel_path "<Actions>/terminal-window/goto-tab-10" "<Alt>F10")
(gtk_accel_path "<Actions>/terminal-window/goto-tab-11" "<Alt>F11")
(gtk_accel_path "<Actions>/terminal-window/goto-tab-12" "<Alt>F12")
update: Yves-Alexis Perez points out that to disable the F1 for help in the
terminal, you need to remove the accelerator. I tried
this and
this
and didn't have success, but I confess I did not dig too much into it.
Although xfce4-terminal -e does not work as I expect, xfce4-terminal
registers a wrapper for x-terminal-emulator that does the right thing with
respect to -e (also thanks Yves-Alexis Perez).
Missing
Alt+'+', Alt+'-', Alt+'0' to control font sizes.#aaaaaa. update: Yves-Alexis Perez
found that you can add presets to .local/share/colorthemes taking examples
from /usr/share/xfce4/terminal/colorschemes; next time I consider
switching to xfce4-terminal I'll try that..config/roxterm.sourceforge.net/ split in several files
corresponding to profiles. This is a reasonable starting point for me:
Profiles/Default:
[roxterm profile]
colour_scheme=Default
disable_menu_access=1
disable_menu_shortcuts=1
disable_tab_menu_shortcuts=0
tab_close_btn=0
hide_menubar=1
always_show_tabs=0
Colours/Default:
[roxterm colour scheme]
0=#000000000000
1=#aaaa00000000
2=#0000aaaa0000
3=#aaaa55550000
4=#00000000aaaa
5=#aaaa0000aaaa
6=#0000aaaaaaaa
7=#aaaaaaaaaaaa
8=#555555555555
9=#ffff55555555
10=#5555ffff5555
11=#ffffffff5555
12=#55555555ffff
13=#ffff5555ffff
14=#5555ffffffff
15=#ffffffffffff
palette_size=16
foreground=#aaaaaaaaaaaa
background=#000000000000
cursor=#cccccccccccc
bold=
dim=
Shortcuts/Default:
[roxterm shortcuts scheme]
File/New Window=
File/New Tab=
File/Close Window=
File/Close Tab=
Tabs/Previous Tab=
Tabs/Next Tab=
Edit/Copy=
Edit/Paste=
View/Zoom In=<Control>plus
View/Zoom Out=<Control>minus
View/Normal Size=<Control>0
View/Full Screen=F11
View/Scroll Up One Line=
View/Scroll Down One Line=
Help/Help=
Edit/Copy & Paste=
Search/Find...=
Search/Find Next=
Search/Find Previous=
File/New Window With Profile/Default=
File/New Tab With Profile/Default=
Tabs/Select_Tab_0=<Alt>F1
Tabs/Select_Tab_1=<Alt>F2
Tabs/Select_Tab_2=<Alt>F3
Tabs/Select_Tab_3=<Alt>F4
Tabs/Select_Tab_4=<Alt>F5
Tabs/Select_Tab_5=<Alt>F6
Tabs/Select_Tab_6=<Alt>F7
Tabs/Select_Tab_7=<Alt>F8
Tabs/Select_Tab_8=<Alt>F9
Tabs/Select_Tab_9=<Alt>F9
Tabs/Select_Tab_10=<Alt>F10
Tabs/Select_Tab_11=<Alt>F11
Tabs/Select_Tab_12=<Alt>F12
Global:
[roxterm options]
edit_shortcuts=0
prefer_dark_theme=1
colour_scheme=Default
warn_close=1
Missing
Nothing of my initial requirements seems to be missing, really, so I'm sticking
to it for a while to see what happens.
The first itch to scratch is that when the menubar is hidden, the popup menu
becomes the entire menubar contents, which does not fit the general use case
to have a contextual menu with the most common shortcuts. I'll just declare it
useless and get myself used to some new hotkey for starting a new terminal.
update: after fixing my issues with gnome-terminal I've switched back to
gnome-terminal: its interface feels less clunky as I'm already used to it.
Other references
Guillem Jover made a similar analysis in 2009, it can be found
here.
Thomas Koch mentioned that termit should be able to do all I need, and is
scriptable in Lua. I like the sound of that, and it's definitely one I should
look next time I find myself shopping for terminal emulators.
Next.