Mount Google(LG) Nexus 4 in openSUSE 12.2 Gnome 3.6.x

In Gnome we will use jmtpfs for mounting, which will do most of the jobs. So we no need to use mtpfs or install its libs.

Download jmtpfs for your OS from here:
http://software.opensuse.org/package/jmtpfs?search_term=jmtpfs

After downloading click on the downloaded rpm file and it will automatically install it for you.

After installation let’s mount the device.

Create a dir anywhere you want like in mnt/ or home/ or any other folder. I mounted it in

/backup/Downloads/nexus4 . If you are going to mount it in mnt/, please set the correct permissions [777].

I will suggest to mount it under home/ or any dir which is under the logged in user. So you will not need any

permissions to set.

Open terminal and type:

[cc lang=”bash” escaped=”true” nowrap=”false” noborder=”true” line_numbers=”false” lines=”4″ tab_size=”4″]
mkdir /backup/Downloads/nexus4
[/cc]
Now type:

[cc lang=”bash” escaped=”true” nowrap=”false” noborder=”true” line_numbers=”false” lines=”4″ tab_size=”4″]
jmtpfs /backup/Downloads/nexus4/
[/cc]
Note: Before mounting it, unlock your phone. Go to nexus4 dir and you will see the mounted folders.

In-files-nexus4

In files

In-terminal-nexus4

In terminal

Mount Google(LG) Nexus 4 in openSUSE 12.1 KDE 4.9.x

Gnome 3.6.2 and openSUSE 12.2 screen shots

openSUSE 12.2 by default have Gnome 3.4.2, but there are repos available for 3.6.x to upgrade to. As Gnome3 is improving slowly, it was a nice upgrade from 3.4 with many new and nice features. In this article i will share a few screen shots from my current desktop. Before that let me share my desktop configurations.

Theme: Zukitwo

Icon Theme: Faenza

Gtk+ Theme: AdwaitaSUSE

Shell Theme: Boje-Orange

Fonts: Ubuntu

Dock: Docky

ZukitwoFaenza, Boje-Orange can be downloaded from gnome-look.org. AdwaitaSUSE has a repo:

http://download.opensuse.org/repositories/home:/Golbats_Everywhere:/GNOME-3.6-Themes/openSUSE_Factory/

Gnome-Do a useful tool [openSUSE12.2 and Gnome3.6]

Gnome-Do is quite useful tool for a person who like to use keyboard over mouse. Let’s try it, shall we?
Open terminal, become root by su – , now type:

zypper in gnome-do

Now let’s add it to startup apps, Alt+F2 and type gnome-session-properties. Check the box for Gnome-Do. I am doing this because it’s option start at login does not work for me, try it yourself maybe it works for you.

Gnome-Do keyboard tab

After that now let’s bind a keyboard shortcut. Open it’s preferences and go to keyboard tab, assign keys to Summon Do.
Use that keys to fire up Gnome-Do every time. Cool na!
Also you have not to worry about start, as we added it to start up apps. It will start as the system boots. So from there on you will only need to use the keys you assigned. After opening just type for the app, files etc.

To add more locations/folders go to the plugins tab, search for files and folders plug and click configure, add as many folders/locations you want.
Enjoy the freedom from mouse!

Install xscreensaver for Gnome 3.6 in openSUSE 12.2

By default Gnome screen saver is a black screen and a very annoying one trust me. Most of it’s functions will not work like goes to sleep mode every 1 or 2 minutes. Yes, i did modify it to my best but at the end i give up on it and installed xscreensaver. If you go to YaST and install it from there, it will ask you to remove gnome-screensaver, just accept to uninstall and install xscreensaver OR fire up a terminal and become root by su – , type:

zypper in xscreensaver

After installation open a new tab in terminal by Shift+Ctrl+T [Gnome 3.6]. Type:

xscreensaver-demo

Edit it to your taste or even disable it completely as i did.

Xscreensaver

Now a little bit tweak to start it on each boot. Type this as normal user in terminal OR Alt+F2:

gnome-session-properties

Click add button, give it any name you want, any comment you would like and paste this command in the Command text box:

[cc lang=”php” escaped=”true” nowrap=”false” noborder=”true” line_numbers=”true” lines=”40″ tab_size=”4″]
xscreensaver -nosplash
[/cc]

Click add button and done.

Gnome session properties [Startup Apps]

That’s it. Enjoy!

Install Conky in openSUSE 12.2 Gnome 3.6

I will not go to any details what conky is, but in short “Conky is a program which can display arbitrary information”. Read more about conky here.

In this specific article i will show you how to install conky and use different themes to customize it in openSUSE 12.2 Gnome 3.6. You can try it in other desktops and distributions too.
1st of all lets install conky, become root in terminal by su – and type:

zypper in conky conky-cairo

We are all set to use conky now. By default you will see very basic information while running with minimal theme and customization. We will try this conky theme . As you can see in the screenshot, it’s conky lua. I have did slight modifications for my taste, will post the code if some one want to use the modified version.

Conky with conky lua theme

Download it from the above link. Extract the archive and you will see more archives inside, extract which one suites your taste. Inside every archive there will be these files: conkyrc, conky_ring.lua and image for each distro.
Create a folder in home [/home/username/.conky] dir named .conky and copy the conky_ring.lua file and the image. Rename conkyrc to .conkyrc and copy it to home dir. Change username to your username. We are almost there. Now if you run it in terminal by:

conky -c ~/.conkyrc

You will probably not see anything in Gnome shell 3.6, because of the own_window_type. If that’s the case, open .conkyrc file and look for own_window_type, change override to normal and restart conky. Also make sure that own_window is set to yes.

How to start it upon system boot:
1st of save the following code as .start_conky in your home dir:

[cc lang=”bash” escaped=”true” nowrap=”false” noborder=”true” line_numbers=”true” lines=”40″ tab_size=”4″]
#!/bin/sh
sleep 10
conky -d -c ~/.conkyrc
exit
[/cc]

It will fire up conky after 10 seconds of delay.

Conky with start script

Now fire up terminal OR Alt+F2, type:

gnome-session-properties

Click add button, give it any name you like, write a comment if you wish to and then click on browse button, go to your home dir and search for .start_conky, Use Ctrl+H to show hidden files. Click Add and done.

If you like to use my modified version. Just open .conkyrc file and paste the following code:

[cc lang=”bash” escaped=”true” nowrap=”false” noborder=”true” line_numbers=”false” lines=”90″ tab_size=”4″]
# Conky settings #
background no
update_interval 1

cpu_avg_samples 2
net_avg_samples 2

override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 2048
#imlib_cache_size 0

temperature_unit fahrenheit

# Window specifications #

own_window_class Conky
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

border_inner_margin 0
border_outer_margin 0

minimum_size 250 250
maximum_width 250

alignment tr
gap_x 45
gap_y 55

# Graphics settings #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no

# Text settings #
use_xft yes
xftfont caviar dreams:size=8
xftalpha 0.5

uppercase no

temperature_unit celsius

default_color FFFFFF

# Lua Load  #
lua_load ~/.conky/clock_rings.lua
lua_draw_hook_pre clock_rings

TEXT
${voffset 8}${color FF6600}${font caviar dreams:size=16}${time %A}${font}${voffset -8}${alignr 50}${color FFFFFF}${font caviar dreams:size=38}${time %e}${font}
${color FFFFFF}${voffset -30}${color FFFFFF}${font caviar dreams:size=18}${time %b}${font}${voffset -3} ${color FFFFFF}${font caviar dreams:size=20}${time %Y}${font}${color FF6600}${hr}
${voffset 140}${font caviar dreams:size=10}${alignr}HOME${font}
${font caviar dreams:size=12}${color FFFFFF}${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ WSAP temperature temperature 30} °C${font}

${color FFFFFF}${goto 25}${voffset 35}${cpu cpu0}%
${color FF6600}${goto 25}CPU
${color FFFFFF}${goto 50}${voffset 23}${memperc}%
${color FF6600}${goto 50}RAM
${color FFFFFF}${goto 75}${voffset 23}${swapperc}%
${color FF6600}${goto 75}Swap
${color FFFFFF}${goto 100}${voffset 25}${fs_used_perc /}%
${color FF6600}${goto 100}Disk
${color FFFFFF}${goto 125}${voffset 25}${downspeed wlan0}
${color FFFFFF}${goto 125}${upspeed wlan0}
${color FF6600}${goto 125}Net

# SYSTEM #
${color FF6600}${font caviar dreams:size=9}Linux: ${color FFFFFF}${kernel} kernel
${color FF6600}${font caviar dreams:size=9}Uptime: ${color FFFFFF}${uptime_short}
${color FF6600}${font caviar dreams:size=9}Processes: ${color FFFFFF}${processes}
${color FF6600}${font caviar dreams:size=9}Running: ${color FFFFFF}${running_processes}
[/cc]

One more thing, you would wish to use your city for weather, go to this site and choose your country under International Weather Conditions , get the code and paste in .conkyrc file this line:

[cc lang=”bash” escaped=”true” nowrap=”false” noborder=”true” line_numbers=”false” lines=”90″ tab_size=”4″]
${font caviar dreams:size=12}${color FFFFFF}${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ WSAP temperature temperature 30} °C${font}
[/cc]

Weather for conky

I also tried gotham theme, it’s clean and simple.
Setting it up is the same like conky lua. Download it from the link above and extract. There will be only one file .conkyrc. If you wana try it, stop conky {In terminal:[pidof conky, kill pidof]}, rename the conky lua .conkyrc file to some thing else and copy gotham .conkyrc file to home dir. Start it in terminal with: conky -c ~/.conkyrc and you will see the changes.

So that’s it for now, have fun with openSUSE and Conky. 🙂

Customize your Gnome desktop openSUSE 12.2

Gnome 3.6.x is awesome desktop, it improved quite a lot and more mature than it’s previous versions. This article is about Gnome 3.6.1 on openUSE 12.2.

System-info

The default icon set by Gnome is ugly[for me at least]. So 1st thing i need to do is change icons. Gnome tweak tool is a handy app to change your Gnome shell theme, icon theme, fonts etc. I am using Nitrux-Azure icon theme with Elegance shell theme and Ubuntu fonts. If you like these, download theme from here, icon set from here and fonts form here, after download extract the archives.

Niturx-icons-nautilus

Go to your home directory and create these folders if they don’t exist .icons, .themes and .fonts and copy the downloaded icon, theme and font folders respectively.

To show hidden files and folders in home directory press Ctrl+H.
Note: Note the dot before icons, themes and fonts, must have that dot.

To use User Themes you might need to install User Themes extension from here.
Now install gnome tweak tool if haven’t installed yet, open it.

Gnome-tweak-tool

1st activate the User Themes extension if it’s not activated yet. After activating go to Themes tab from left hand side menu and choose your favorite shell and icon theme.

For fonts, go to Fonts tab and select your choice there.

Now a few useful extensions for your desktop to beautify your desktop look and feel.

Desktop-gnome3.6

That is quite clean, simple and useful desktop. If you have any nice extension OR themes/icons in mind for Gnome 3.6 please do share. 🙂