Category Archives: Ubuntu

mfc-7440n scanner ubuntu16.04 fix

mfc-7440n scanner ubuntu16.04 fix

Ever since upgrading my ubuntu on my main computer to 16.04 the scanner hasnt worked, i used the brother install tool and added the scanner using this command

sudo brsaneconfig3 -a name=MFC-7440N model=MFC-7440N ip=192.168.0.67

but still nothing. a bit of poking around i found this and im back in business!!brother mfc 7440n

 

 

 

sudo mkdir /usr/lib/sane
sudo cp * /usr/lib64/sane/* /usr/lib/sane/

and

sudo cp /usr/lib64/libbrscandec3.so.1.0.0 /usr/lib
sudo cp /usr/lib64/sane/libsane-brother3.so.1.0.7 /usr/lib/x86_64-linux-gnu/sane
sudo cp /usr/lib64/sane/libsane-brother3.so.1 /usr/lib/x86_64-linux-gnu/sane
sudo cp /usr/lib64/sane/libsane-brother3.so /usr/lib/x86_64-linux-gnu/sane
sudo cp /usr/lib64/libbrscandec3.so /usr/lib
sudo cp /usr/lib64/libbrscandec3.so.1 /usr/lib

and its fixed!! thanks to klaus15 on ubuntu forums!!

 

HelioGraph – Social photo app for ubuntu touch

HelioGraph – photo sharing app with filters on ubuntu touch? look no further HelioGraph.

This is a brand new app for ubuntu touch and to be honest thank god somebody has made it, we have lacked the filter function on pictures since the word go!! The app currently has around five filters but with discussions with Benjamin Flanagin (the developer) he tells me he will be adding more amongst another load of features which sound great. Here are some highlights
Standard Camera functions work,
Syncing from server to device and back again work,
Social Stream (20 pictures at a time)
Captions can now be added to the pictures
Rating system now works,
Set Pictures to private to keep them synced but out of public view.
Add comments to images on the “back” of the image.
Search comments and Usernames to find pictures in your collection.

here are some screen shots on the phone (BQHDE5)

Here are some screenies on the ubuntu m10 tablet

lots of other additions coming like social sharing etc. I think this app has tons of potential. And have to say nice work.

this is the main website for more info http://vagueentertainment.com/series/AaW/?page_id=86

this is the app on uApp explorer https://uappexplorer.com/app/heliograph.vagueentertainment

this is the patreon to help fund the app http://vagueentertainment.com/series/AaW/?page_id=86

 

ubuntu social – everything ubuntu

Drop by and join ubuntu social for free! we have chat, groups all sorts of stuff going on – the place to chat ubuntu! If you run a ubuntu touch device just download the app from the store

ubuntu socialwe have forums built in to the ubuntu social groups for a more in depth insight and conversation into subjects!

ubuntu social website : http://ubuntusocial.net/

telegram: https://telegram.me/joinchat/A7yL8QUE1tibuVXmps6hmg

facebook: https://www.facebook.com/ubuntusocial

the telegram group is very active, we discuss new software and hardware – plus some of the developers for the software are in the group to ask questions – so join today.

 

holy moley its guacamole!!

here is my guacamole server! with guacamole you can setup your own remote server with vnc, rdp and ssh support. based on tomcat and open source. I installed this on top of ubuntu 16.04 lts.

i used this – chase wright blogged this and it worked for me!!

The following will run a full dist-upgrade then install Guacamole 0.9.9, Tomcat 8, and MySQL for you. All you have to do is pick a MySQL Root Password and optionally change the guacamole_user password.

Additional Credits to Emilio and Alex for the RDP fix(s) in comments section.

#!/bin/bash
# WORKING ON UBUNTU 15.10 WITH GUAC 0.9.9 AND TOMCAT8

#Update Everything
apt-get update && apt-get -y dist-upgrade

#Install Stuff
apt-get -y install libcairo2-dev libpng12-dev libossp-uuid-dev libfreerdp-dev libpango1.0-dev libssh2-1-dev libtelnet-dev libvncserver-dev libpulse-dev libssl-dev libvorbis-dev libwebp-dev mysql-server mysql-client mysql-common mysql-utilities tomcat8 freerdp ghostscript wget

# Install libjpeg-turbo-dev
wget -O libjpeg-turbo-official_1.4.2_amd64.deb http://downloads.sourceforge.net/project/libjpeg-turbo/1.4.2/libjpeg-turbo-official_1.4.2_amd64.deb
dpkg -i libjpeg-turbo-official_1.4.2_amd64.deb

# Add GUACAMOLE_HOME to Tomcat8 ENV
echo "" >> /etc/default/tomcat8
echo "# GUACAMOLE EVN VARIABLE" >> /etc/default/tomcat8
echo "GUACAMOLE_HOME=/etc/guacamole" >> /etc/default/tomcat8

#Download Guacamole Files
wget -O guacamole-0.9.9.war http://downloads.sourceforge.net/project/guacamole/current/binary/guacamole-0.9.9.war
wget -O guacamole-server-0.9.9.tar.gz http://sourceforge.net/projects/guacamole/files/current/source/guacamole-server-0.9.9.tar.gz
wget -O guacamole-auth-jdbc-0.9.9.tar.gz http://sourceforge.net/projects/guacamole/files/current/extensions/guacamole-auth-jdbc-0.9.9.tar.gz
wget -O mysql-connector-java-5.1.38.tar.gz http://dev.mysql.com/get/Downloads/Connector/j/mysql-connector-java-5.1.38.tar.gz

#Extract Guac
tar -xzf guacamole-server-0.9.9.tar.gz
tar -xzf guacamole-auth-jdbc-0.9.9.tar.gz
tar -xzf mysql-connector-java-5.1.38.tar.gz

# MAKE DIRECTORIES
mkdir /etc/guacamole
mkdir /etc/guacamole/lib
mkdir /etc/guacamole/extensions

# Install GUACD
cd guacamole-server-0.9.9
./configure --with-init-dir=/etc/init.d
make
make install
ldconfig
systemctl enable guacd
cd ..

# Move files to correct locations
mv guacamole-0.9.9.war /etc/guacamole/guacamole.war
ln -s /etc/guacamole/guacamole.war /var/lib/tomcat8/webapps/
ln -s /usr/local/lib/freerdp/* /usr/lib/x86_64-linux-gnu/freerdp/.
cp mysql-connector-java-5.1.38/mysql-connector-java-5.1.38-bin.jar /etc/guacamole/lib/
cp guacamole-auth-jdbc-0.9.9/mysql/guacamole-auth-jdbc-mysql-0.9.9.jar /etc/guacamole/extensions/

# Configure guacamole.properties
echo "mysql-hostname: localhost" >> /etc/guacamole/guacamole.properties
echo "mysql-port: 3306" >> /etc/guacamole/guacamole.properties
echo "mysql-database: guacamole_db" >> /etc/guacamole/guacamole.properties
echo "mysql-username: guacamole_user" >> /etc/guacamole/guacamole.properties

# This is where you will want to change "PASSWORD"
echo "mysql-password: PASSWORD" >> /etc/guacamole/guacamole.properties
rm -rf /usr/share/tomcat8/.guacamole
ln -s /etc/guacamole /usr/share/tomcat8/.guacamole

# Restart Tomcat Service
service tomcat8 restart

Setup MySQL, change the MYSQLROOTPASSWORD to whatever you set it to and if you change the guacamaole_user password here be sure to go back and change it in /etc/guacamole/guacamole.properties

mysql -u root -pMYSQLROOTPASSWORD
create database guacamole_db;
create user 'guacamole_user'@'localhost' identified by 'PASSWORD';
GRANT SELECT,INSERT,UPDATE,DELETE ON guacamole_db.* TO 'guacamole_user'@'localhost';
flush privileges;
quit

Populate the database you just created. Again, change the MYSQLROOTPASSWORD

cat guacamole-auth-jdbc-0.9.9/mysql/schema/*.sql | mysql -u root -pMYSQLROOTPASSWORD guacamole_db

Now just log into your guacamole server using the default “guacadmin/guacadmin” and set it up. If you want you can remove all the downloads (cleanup)

# Cleanup Downloads
rm libjpeg-turbo-official_1.4.2_amd64.deb
rm guacamole-server-0.9.9.tar.gz
rm guacamole-auth-jdbc-0.9.9.tar.gz
rm mysql-connector-java-5.1.38.tar.gz
# Cleanup Folders
rm -rf mysql-connector-java-5.1.38/
rm -rf guacamole-auth-jdbc-0.9.9/
rm -rf guacamole-server-0.9.9/
 

batch file renames on ubuntu

now this is a quick handy install for renaming batch folders of files, thunar is a lightweight file mananer which comes with available plugins which will do the renaming, so on ubuntu get a terminal and enter this

sudo apt-get install --no-install-recommends thunar
sudo apt-get install thunar-media-tags-plugin

thunar renameso easy i selected insert / overwrite and insert and inserted the text i wanted to be added 🙂 simples.

 

Location tracking on ubuntu computers and phones

Location tracking on computers, laptops and phones is something
hard to find, i seen prey which looks good but only has a i386 package? were i have a 64 bit system on my computers and armfh on my ubuntu phone so no coverage here! so i stumbled across location magic –>> https://locationmagic.org/

Selection_046

now this will install straight on your ubuntu computer but on the ubuntu phone or tablet you will need RW enabled as you will need to to a apt-get install curl. So as long as you are in RW mode you can track your ubuntu phone tablet device.

One thing to do before starting is to do a sudo -s which will switch you to a root user then do a crontab -e and use nano – make a small change like a space or something then ctrl and x to save, this will give you a crontab for root otherwise the whole thing doesnt work.

Then to the location magic site click get started – put in your email address and device name and select generate token, then move down and select linux and select copy to clipboard, then move to the device IE the laptop or phone and copy and paste the line from the clipboard as the user root and thats it!

Now this will update every hour by cron – i need to test on the phone if it does this or i will just add the cron job as a dbus cron job as normal crons  dont work usually when screen is closed etc…

its not to hard to set up the dbus cron which is available on my blog but ill test that and update this in due course, also the cron can be changed to every 15 minutes if thats better tracking but not sure on the consumption on the battery thats another thing ill be testing 🙂

Enjoy tracking your devices, very handy if they get stolen or you dont trust your wife!!

Selection_045

 

technology, linux, life and music… what else is there?