tmux config

I’ve just started playing with tmux in the i3 window manager, just to try something new.  For my benefit incase i need to reinstall, this is what I have in it so far. It’s nowhere complete, and just a start, but it works for me 🙂

Feel free to comment with additions or what you use in yours.

#change binding key
unbind-key C-b
set-option -g prefix C-a

bind-key C-a send prefix

bind-key v split-window -v
bond-key h split-window -h

set -g mouse on

bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pan -D

set -g status off



Unattended Upgrades

** Update 11/10/17 [Thanks James] **

It looks like there is an issue if you had dnf-automatic in Fedora 25 or earlier as Fedora 26 jumps from DNF 1.x to 2.x, so please read THIS post before you install it in 25 and upgrade.

Blatantly stolen from here for my records – Thanks Iain R. Learmonth


Make sure that unattended-upgrades is installed and then enable the installation of updates (as root):

apt install unattended-upgrades
dpkg-reconfigure -plow unattended-upgrades

Fedora 22 or later

Beginning with Fedora 22, you can enable automatic updates via:

dnf install dnf-automatic

In /etc/dnf/automatic.conf set:

apply_updates = yes

Now enable and start automatic updates via:

systemctl enable dnf-automatic.timer
systemctl start dnf-automatic.timer

(Thanks to Enrico Zini I know all about these timer units in systemd now.)

RHEL or CentOS

For CentOS, RHEL, and older versions of Fedora, the yum-cron package is the preferred approach:

yum install yum-cron

In /etc/yum/yum-cron.conf set:

apply_updates = yes

Enable and start automatic updates via:

systemctl start yum-cron.service


Fedora User Wiki

If you wasn’t aware, Fedora users can create their own user information page on a wiki.  Mine for example is [please note that’s it’s currently pretty sparse]

One of the more interesting things on the page is my list of badges.  I’ll not explain what they are as you can read it here

To add a list of your badges to your wiki, all you need to add to the page is this

{{ #fedorabadges: paulmellors }}      just make sure you replace my username with your own and you’ll have all your hard earned shiny badges on your wiki. #funtimes

Alternatively, you can add an infobox that displays all your information [including badges], this is the wiki code for mine

{{Infobox user
|REAL-NAME= Paul RJ Mellors
|location= Nottingham, UK
|birthday= April 15, 1972
|fas-name= paulmellors
|irc-nick= MooDoo
|irc-channels= #fedora-ambassadors #fedora-uk #fedora-diversity #fedora-mktg #fedora-join}}

Now you can populate your wiki page with information that people might like to read, one way of getting to know you, you never know someone might like to buy you a beer one day……[hint hint] 😉

Fedora 26 + i3 window manager

Hay, please ignore this post, it’s really for my own benefit as I tend to come back to my posts when I need information, in this instance it’s part of my config for the i3 window manager

# start a terminal
bindsym $mod+Return exec gnome-terminal

# thunar
bindsym $mod+t exec –no-startup-id thunar

# load nm-applet
exec –no-startup-id nm-applet

# load backdrop
exec -no-startup-id feh –bg-scale /home/paulmellors/Storage/wha.jpg

# Volume control
bindsym XF86AudioRaiseVolume exec –no-startup-id pactl set-sink-volume 0 +1%
bindsym XF86AudioLowerVolume exec –no-startup-id pactl set-sink-volume 0 -1%
bindsym XF86AudioMute exec –no-startup-id pactl set-sink-mute 0 toggle

# lock screen
bindsym $mod+l exec –no-startup-id i3lock -i /home/paulmellors/Storage/locked.png

Ok that’ll do it 🙂

Is anyone else out there using the i3 WM?

Fedora 26 + Wireless + BCM43142

I have a laptop, it’s a Dell Inspiron 15 [3000 Series] who’s wireless doesn’t work out the box.

This is how I installed the driver to get it working.

1, check which model of Broadcome you have

[paulmellors@sheldon ~]$ lspci | grep Network
06:00.0 Network controller: Broadcom Limited BCM43142 802.11b/g/n (rev 01)
[paulmellors@sheldon ~]$

2. Install RPM Fusion for your system from here

3. Install broadcom-wl

[root@sheldon paulmellors]# dnf install broadcom-wl

Reboot, and your wireless should be available now.

I use the i3 window manager, so I had to also install the network-manager-applet so I could load nm-applet, but it worked once I’d added the comment to the i3 config.

Screenshot from 2017-09-05 10-56-56


Fear and Doubt

I’ve just watched a video from a guy called Leonard Kim, if you want to watch it then click HERE

One of the quotes I remember most is “really hard for me to get out of bed and try again” and I thought to myself that’s me.  No before you think uh hoh he’s going to do something stupid, it’s not quite [in my context] what it sounds like.  I’m not in his situation, I have the decent job, loving family and I’m generally quite happy, you should of seen my face at the Cromford Steam Rally, when a Lancaster bomber flew over with a Spitfire and Hurricane, BLISS!

What I’m referring to is the fear and doubt of trying something new, the doubt in your mind that when you have a go at something, you’re not confident in yourself and although you put 100% effort into it, a few days later you give up as you think you’re crap.  I’m sure I’m actually not the only one like this.  On the flip side, your friends approach you and ask you where your next video is as they enjoy them and noticed you’ve not been uploading in awhile.

What can you do to improve your mindset in a situation like this?  I really don’t know.  I suppose that I’d just need to do what Leonard Kim did when he published his first post.  Get past the shaking hands, the thoughts of being a constant failure and just “press the button”  Forget about what people think of you, forget that no one might see/comment or enjoy what you do, just do it for yourself and enjoy it.

I guess that writing this blog post has made a decision for me….Where’s that button?