Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

Tuesday, June 28, 2016

Stupid Linux Tips - Disable Touchscreen Temporally

I have a touchscreen that needs a good wipe down. Touch screens are annoying when dirty and you only have three options:

1) Wipe it down and hope you don't click something stupid.
2) Turn off the computer.
3) Disable the touchscreen.

I want item three, but there seems to be no Unity control panel for the touchscreen. I couldn't find one so I opened the Swiss army terminal and typed xinput.


Reading down the list is simple enough, id=13 is my touchscreen.

The command is xinput disable 13 or whatever number you need. Turning it back on is just as simple with xinput enable 13.


Obviously, I am not the best Linux user, but I like to share tidbits that make things easier.

Now clean that monitor.

Quickly lookup Ubuntu info

Ubuntu is nicely consistent. So consistent that often you can't tell what version you have just by looking.

Two commands in Terminal can grab that info for you:

lsb_release -a

uname -r


Settings and Details does the exact same thing, in a prettier form.


Sunday, December 20, 2015

The Strange Chromebook XFCE Glitch

This morning, I had some trouble with my version of XFCE on my Chromebook. Tab-Alt stopped working, the menu bar had vanished, the programs opened would not keep focus and the cursor was either X or invisible.

How I hate messing with a perfectly good distro. The solution is rather easy. Delete your ~/.cache/sessions directory and the functions come back after logoff/reboot. How simple.


Of course, I forgot you can't rm directories and needed to try three times before I remembered the rm -r modifier. So the actual command is above.

Whew! Thank god for Ubuntu and XFCE's easy of use. If this was windows, I'd be screwed.

Tuesday, April 21, 2015

Using Dropbox with external media (Ubuntu)

Dropbox.com is an awesome service. I am using it to sync my homework across four computers.
I ran into a glitch. My Ubuntu Netbook Remix computer would not sync. I could use the website so this problem wasn’t too critical.
The software reported: “Access Denied” which was odd because it was working after I installed it. Then I remember my Asus EEE has hard drive space issues. I moved the Dropbox folder to an external device.
Of course Dropbox didn’t have permission! I never set it up.
Four quick changes for this set up:
sudo chown -R $USER /media/Dropbox
sudo chmod -R u+rw /media/Dropbox
sudo chown -R $USER ~/.dropbox
sudo chmod -R u+rw ~/.dropbox
Now I am back in business.
Thank you, Dropbox.

Saturday, December 28, 2013

Notes on installing Crouton on a Chromebook

I opted for the Unity interface for Ubuntu. HowToGeek has a great set of instructions.
At the end of the install, you have a very basic Unity interface. Everything useful is missing. The absolute easiest way to fix this is to get the Software Center.
Open Xterm by pressing ctrl-alt-t. Now type in sudo apt-get update. Wait. The next command is sudo apt-get install software-center. Wait again. There is no icon again, so go to lens and search for it.
That is all there is to it. Get installing.
My short list of software is:
Firefox
Chromium (to match Chrome)
Stellarium (to match Chrome's Planetarium software)
Dropbox
VLC Player
Restricted Extras
Inkscape
Libre Office (Search for LibreOffice and scroll down a bit for the suite)
Document Viewer
At the end of the day, you will need to "reboot" Ubuntu to all changes to go into effect. Click the gear and click the restart option. This will eventually return you to Chrome. Go ahead and open the shell and type sudo startunity again.

This Chromebook
A newer Chromebook