2013-10-05

Scheduled shutdown user friendly way with qZleep on Linux Mint

A simple tool scheduled shutdown in 24 hours. Perhaps you want to let finished same job for same time...
Or you like watch TV show in the bed and your brain

shutdown unpredictably... 
It is very unpleasant to wake up at night and then turn off everything...





Download Package
For Linux Mint and Ubuntu

Mirror: qzleep_0.1.0-4_amd64.deb
Mirror: qzleep_0.1.0-4_i386.deb


 qzleep_0.1.0-4_i386.deb
 qzleep_0.1.0-4_amd64.deb

tested on
 Mint 14 MATE
 Mint 15 KDE
 Ubuntu 12.04

Sources:

https://github.com/elektronas/qZleep.git



2013-08-06

Mail Client for Gmail - Firefox

Since Evolution mail & calendar is moved to new (Ubuntu) Gnome and
Debian squeeze version (which i really like) not available and also adapted version for Mint is not good...

Thunderbird - I used for half a year and its so bad that I never comeback to it...

I did not search very long for other mail apps but as I know that is pretty much all for Linux...
Except using browser, and obviasly google impruved web mail very much.
So I decided to try it out!

But!

I think and I state:  Email and Internet browsing - should not be together!

Notion that you browsing internet while logged in could lead
to many speculation what goes in background at that time...
I leave speculation  for others...
I'm just gonna avoid it.

So I work out the solution.


The solutions is simple, use two users. Run Firefox from some other user only for Gmail and Internet browsing leave to main desktop user.

My example is for Linux.
I believe it can be done for Windows Seven to, if You get the idea, follow link below:
sevenforums.com

Step 1:
For example my Deskotp user that i'm currently working on is called "user".
Create a new user "gmailclientfirefox", from grapical inteface "Users and Groups", set password and etc.

Step 2:
Create script file "gmail.bash"

su --login -c "/usr/bin/firefox" -s /bin/sh gmailclientfirefox


To be secure I set file permissions read&execute for owner only

-r-x------ 1 user user   382 Aug  5 23:41 gmail.bash


Set sudo exception for the script or in other words allow run script without password:

Add line at the end of the file "/etc/sudoers"

user ALL = NOPASSWD: /path/to/gmail.bash


Step 3:
Create launcher:
Find & download png image for gmail launcher icon.



Double click launcher. Go to gmail & log in. If you done working with email just close the window.
Second time just double click again and there is your mail!


I added launcher next to menu:




To not confuse which Firefox for Internet browsing and which is for Gmail
I change Firefox settings, remove all the top menu bars.
It looks like this:





I'm a Firefox fan, so I did it with Firefox. Google chrome have one advantage, there are some feature - can access mail even offline, did not try.







2013-07-03

multi session with Medit

Create three launchers, each for different purpose/session



Command examples:

medit -n --use-session=yes --app-name=notes_txt

medit -n --use-session=yes --app-name=source_c

medit -n --use-session=yes --app-name=web_php

Each of them will remember it's owned session (previously opened files and etc.).
Except for working directory in Pane "File Selector", bud you can make bookmarks and switch fast.


2013-04-23

Install grub from live Linux Mint

 If You installing Windows on a HDD whare Linux already intalled.
There is not a lot of reasons for this, in general installing windows its not a good idea (my opinion)! But if You really want this! This is the way to do it!

After Windows installation is complete. Boot live Linux Mint from USB flash or from DVD-ROM... and open terminal.

If You tray something like this (this worked on Debian squeeze, and I believe it sill works):
$sudo grub-install /dev/sda

On Mint this is what you will see:
grub-probe: error: failed to get canonical path of /cow.
Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting.

To fix this, mount rootfs. You need to specifay not only device ,bud path to mounted rootfs.
Enter something like this:
$sudo grub-install --recheck --root-directory=/media/mint/ac61ecb9-7b20-4d94-b9e2-9b1ece015459/ /dev/sda

Grub-probe will still complain ... bud its not important, cause grub will be installed successfully.

Now reboot (remove live cd or flash). Now You will not see grub menu, and Linux will boot up.
So ,You need to update grub:

$sudo update-grub

Reboot again.

And now all OS available in grub menu!


2013-04-16

Favorite Linux applications


Video Player: mplayer
               without skin 

Media Center: xbmc  (PC video on TV)
            This is the reason for baying HTPC not a player with embedded software inside...

Music Player: deadbeef
         Preferred  lossless audio (flac)

Mail Client: gnome evolution mail
          on Debian works better then on Mint or Ubuntu

Internet Browser: Firefox

Text Editor: Medit
          For those how like notepad++ on Windows, I think, Medit is the best choice on Linux

Torrent Client: Deluge

Calculator: Galculator
         for hex to bin & dec to hex ...


Disk & Partition Tools: Gnome disk utility
        Debian squeeze version only (bad update for Ubuntu or Mint)


Home server: lighttpd,proftpd


Communication: skype 2.2.0.35 beta
        I gonna use skype until this version works (updates not welcome!)
        Now tying to find free & so-so working voip client, no success jet.

USB Boot disk creator: unetboot

Development: Qt-SDK, Codelite-IDE