Category Archives: Linux

Popcorn Time is back!

Popcorn time the one which got banned, barred, you name it. Is Back ! This time with a new website – http://www.time4popcorn.eu/

For Fedora users like me they’ll get an error

$ ./Popcorn-Time
./Popcorn-Time: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory

They can simply fix it by installing yum install libgudev1. If the package is already present, just make a sym link.


# ln -s /usr/lib64/libgudev-1.0.so.0 /usr/lib64/libudev.so.0

This will work like charm.

Further you can create a desktop file so that the app reflects in your Super key search (GNOME, Unity, etc)

Here is my popcorntime.desktop file

[Desktop Entry]
Name=Popcorn Time
GenericName=Popcorn Time
Comment=Watch movies online
Exec=/home/rutu/apps/Popcorn/Popcorn-Time %U
Terminal=false
Type=Application
StartupNotify=true
Icon=/home/rutu/apps/Popcorn/Popcorn-time-logo.jpg
Keywords=Videos;Movies;Torrents;HD;Streaming;

Create the file in ~/.local/share/applications.

I’ve also created / cropped a logo.
Popcorn-time-logo

Ubuntu 14.04 LTS first impressions

The Trusty Tahr is out with support for 5 years. Here are the first thoughts about it…

stupid-browser
Stupid Browser comes up when searching “Appearance”
  • Unity feels more responsive than ever, especially the Alt+Tab.
  • New Desktop environments these days (also read as Cinnamon, GNOME Shell) take up a lot of RAM, I wanted to test 14.04’s unity, after few hours usage it too scooped up 320 MB worth of RAM… I expected better 🙁
  • One thing that definitely annoyed me a lot – Everytime I pressed “Alt + D” (Firefox’s shortcut for address bar focus), the HUD used to come up after the address bar focus. Hence after each Alt+D, I had an “Escape key” following up. I hope Canonical listens to this, They might say “F6” is an alternate shortcut that users might use to avoid this problem. The problem doesn’t occur if I’m slow to use the key combination
  • I would’ve loved if Ubuntu packaged the Ubuntu Tweak Tool as default installation.
  • The Web Apps for firefox seem to have gone! Feel bad for its lovers. If lucky u’ll get a notification to add the app, however when opened it opens up the built in Ubuntu Web Browser. No more integration with firefox tabs.
  • When I try to reach the “Appearance” app using the dash, a stupid Browser comes up as the first result
  • This Browser loads up “Ubuntu Home page” There are no UI elements to navigate anywhere else. The only way you could access is thru HUD ! – I have no idea why its included.

The Acid test is still pending, I’ve still got to use it during office hours. With apache, mysql, IntelliJ, Netbeans, Sublime Text all running at once.  Only then will Ubuntu as a desktop will truly be gauged. The test machine is fairly strong.

  • Intel® Core™ i5 CPU M 540 @ 2.53GHz × 4 Intel® Core™ i5 CPU M 540 @ 2.53GHz × 4
  • 3.7 GiB of RAM

All in all, Ubuntu continues to roll out another strong release.

Final Rating: 4/5

Update (30 Apr ’14): The update of Firefox 29 seems to have knocked off the HUD Bug when using Alt + D combination to focus the address bar.

Fedora goes to sleep on USB insert

Did you enable the commands suggested by powertop ?

Thats exactly what happened to me, for days I was wondering why my Fedora 20 x64 was acting weirdly on USB inserts. When I checked journalctl -f,  I found that my system went to sleep !


Jan 29 08:45:27 ruturaj-vartak ntfs-3g[6076]: Version 2013.1.13 integrated FUSE 27
Jan 29 08:45:27 ruturaj-vartak ntfs-3g[6076]: Mounted /dev/sdb1 (Read-Write, label "", NTFS 3.1)
Jan 29 08:45:27 ruturaj-vartak ntfs-3g[6076]: Cmdline options: rw,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177,uhelper=udisks2
Jan 29 08:45:27 ruturaj-vartak ntfs-3g[6076]: Mount options: rw,nodev,nosuid,uhelper=udisks2,allow_other,nonempty,relatime,default_permissions,fsname=/dev/sdb1,blkdev,blksize=4096
Jan 29 08:45:27 ruturaj-vartak ntfs-3g[6076]: Global ownership and permissions enforced, configuration type 1
Jan 29 08:45:28 ruturaj-vartak kernel: hda-codec: out of range cmd 0:20:400:fffffbff
Jan 29 08:45:28 ruturaj-vartak systemd-logind[434]: Delay lock is active but inhibitor timeout is reached.
Jan 29 08:45:28 ruturaj-vartak systemd[1]: Starting Sleep.
Jan 29 08:45:28 ruturaj-vartak systemd[1]: Reached target Sleep.
Jan 29 08:45:28 ruturaj-vartak systemd[1]: Starting Suspend...
Jan 29 08:45:28 ruturaj-vartak systemd-sleep[6085]: Suspending system...
Jan 29 08:45:40 ruturaj-vartak PackageKit[2929]: daemon quit
Jan 29 08:46:04 ruturaj-vartak kernel: PM: Syncing filesystems ... done.
Jan 29 08:46:04 ruturaj-vartak kernel: PM: Preparing system for mem sleep
Jan 29 08:46:04 ruturaj-vartak kernel: Freezing user space processes ... (elapsed 0.001 seconds) done.
Jan 29 08:46:04 ruturaj-vartak kernel: Freezing remaining freezable tasks ...
Jan 29 08:46:04 ruturaj-vartak kernel: Freezing of tasks failed after 20.002 seconds (0 tasks refusing to freeze, wq_busy=1):
Jan 29 08:46:04 ruturaj-vartak kernel: Jan 29 08:46:04 ruturaj-vartak kernel: Restarting kernel threads ... done.

I disabled my powertop suggestions which looked like this

echo '1500' > '/proc/sys/vm/dirty_writeback_centisecs';
echo 'min_power' > '/sys/class/scsi_host/host0/link_power_management_policy';
echo 'min_power' > '/sys/class/scsi_host/host1/link_power_management_policy';
echo 'min_power' > '/sys/class/scsi_host/host2/link_power_management_policy';
echo 'min_power' > '/sys/class/scsi_host/host3/link_power_management_policy';
echo '1' > '/sys/module/snd_hda_intel/parameters/power_save';
echo '0' > '/proc/sys/kernel/nmi_watchdog';
echo 'auto' > '/sys/bus/usb/devices/4-1/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:05:00.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:1f.6/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:1c.1/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:1a.7/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:1a.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:1a.1/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:02.1/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:02.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:00.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:04:00.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:1c.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:1b.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:1f.2/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:1f.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:1e.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:1d.7/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:1d.3/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:1d.1/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:1d.2/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:1d.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:1c.4/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:1c.2/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:1f.3/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:07:00.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:07:00.2/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:07:00.3/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:07:00.4/power/control';

… and voila !! Things started working like normal with USB sticks. I’ve no clue what each of these settings really do.

Installing Handbrake on Fedora 19

If you want to install Handbrake via a yum repo, slaanesh has provided us with the rpm packages.

[root@localhost #] wget http://negativo17.org/repos/fedora-handbrake.repo -O \
    /etc/yum.repos.d/fedora-handbrake.repo

[root@localhost#] yum install HandBrake-gui

UPDATE: I’ve replaced the original fedorapeople repo with the new WORKING repo (non fedora hosted) [Jul 27, 2013 07:19 IST]

Schrödinger’s Cat (Fedora 19) hobbles …

The highly awaited (really ?) Schrödinger’s Cat has managed to walk. Many reviews are out. But for me here it is..

  • Gnome 3.8 is (yet again) memory hogging [Check attached pic]
  • However Gnome 3.8 is getting better, refinements, small tweaks around making it look better, Alas! only if it could consume lesser memory.
  • Gnome Classic – Only feels ‘classic’, It borrows all the good, the bad and the ugly from the gnome-shell. The memory hog continues [check screenshot]. The standard ‘Super’ (Windows) key works just as the gnome-shell, the interface that it paints is just the shell. I don’t know how does it make classic. Atleast memory footprint should’ve been reduced.
  • Developer’s Assistant is new, Lets see how it could actually help developers.
  • gstreamer-ffmpeg didn’t work!!! so I have to rely completely on vlc. there are these gstreamer1-plugins* which are being used. I searched for gstreamer1-ffmpeg, in-vain

I’m sure there is more to it. But as an end desktop-based user, I’m quite unhappy with Gnome and Fedora’s effort. Fedora is bleeding edge, ya.. don’t bleed till you die!

I’ll be checking MATE and Cinnamon as well. I’m sure Cinnamon too would be a hogger.

UPDATE: A complete update helped opening avi, mp4 files in totem.

12% of System RAM !?
12% of System RAM in GNOME-SHELL !?
Even gnome classic has the bad boy gnome-shell running
Even gnome classic has the bad boy gnome-shell running