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
 

 

Advertisements

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

Debian

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 https://fedoraproject.org/wiki/User:Paulmellors [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
|email=paulmellors@fedoraproject.org
|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

 

Fedora participation

I was asked this question last week,

Therefore, at this point, we kindly ask that you should please inform us whether:
a) You’re an active ambassador mentor and currently available
b) You’re an active ambassador mentor, but currently unavailable
c) You’re an inactive ambassador mentor and wish to offer your place to someone else

And unfortunately I replied with

c) You’re an inactive ambassador mentor and wish to offer your place to someone else

My problem is time, I don’t have time for this any more and too be honest I lost all interest 😦

It’s not that I don’t love Fedora and it’s community, I just lost interest in it….Is that a problem with me or the community, I don’t know.

To be honest, it’s probably just me, all the people I’ve spoken to over the years and all the friends I’ve made are awesome, I can’t fault any one or anything I’ve just come to the end of my tether.  I really shouldn’t of reapplied for my mentorship in the first place 😦

If people want to contact me, then they are more than welcome as ever.

So long and thanks for all the fish…..