Posts Tagged ‘Linux’
2010 Tech Predictions
It was fun doing this last year. So I thought I would have another go at it and see what I come up with.
Computers:
1. Netbooks/sub-12″ laptops will be even bigger than before because they will finally be useful. Atom/ULV processors, Ion/Tegra graphics, and touch enabled devices will make having a 17″ laptop a bad thing. Oh and used/refurbished laptops might play a big role in killing desktops once and for all.
2. Windows Home server will have a big update (based on server 2008 r2) and will include Windows Media Center backend and Zune software so you can plug your tuners directly into your WHS. This will also allow for great integration in Windows Mobile 7 and begin a new wave of extenders. I don’t think it will be out till Q3/Q4 though so extenders won’t make a push until 2011.
3. Someone will finally offer a true alternative to cable TV. It will probably come from Apple/Netflix/Boxee/Hulu/Microsoft and it will still be an expensive monthly charge but it will be possible to disconnect your cable/satellite. I am thinking Microsoft will begin a Zune Pass for TV which will integrate into Windows Media Center when WHS 2 and WM7 come out.
4. Apple will begin talks of their new OS, Microsoft will stay quiet about what they are working (and ride the good wave of Windows 7) on as long as possible, and Linux will be in a transitional phase while KDE and Gnome both get big updates.
Video Games:
1. Nintendo won’t come out with anything new. They are going to milk the Wii and DS as long as they can and plan for the Wii HD announcement in 2011. Microsoft will do the same with the Xbox 360 but they will probably hint that they are making something new before the end of the year.
2. Sony will hopefully focus on finishing their projects (home, media codecs, 3D, etc.) and open up the PS3 to 3rd party programs in 2010. Things like Netflix and Pandora streaming I don’t think are too far fetched and I really hope to see a decent browser come to the console along with Vudu streaming.
3. A new mobile console will come out. Probably in the form of a phone, but I expect a lot from Microsoft with Xbox Live on Windows Mobile 7.
Cell Phones:
1. Verizon will begin its rollout of LTE and Apple will announce a device for Verizon. I have always thought Apple would not make a CDMA device until Verizon starts rolling out LTE and that will happen in 2010. This also means that the device will work on Verizon, AT&T, and T-Mobile in the US and many GSM carriers around the world once GSM networks start updates. With a device on Verizon Apple will have a huge hold on the mobile market. It won’t go unanswered though.
2. Android will become number 3 in the mobile world. That is no small feat however. Android is currently the bottom in market share, by a lot. They will win in 4 ways, 1. Cheap devices 2. Multiple options 3. Any Carrier 4. The decline of RIM and Windows Mobile. Windows mobile has already been stagnant for the past 5 months and RIM is losing it’s customers. I don’t think RIM is smart enough to announce something big so they will die off but will still hold a good portion of the market share through most of 2010. Oh, and an official Google phone and a crap load of more updates to the OS won’t hurt either.
3. webOS will gain market share thanks to Verizon but will still fail to make the impact that the new Apple device will. Palm’s only benefit will be that they will be on Verizon first because they will support CDMA. I really hope they come out with a new phone, but if anything I think they will only announce a new phone in Q3 but not release anything new.
4. Windows Mobile 7 will have features built in that will make any iPhone user gelous. I am not just talking about cool games, I am talking about ZuneHD player integration, amazing hardware, and media streaming galore. I think they will integrate with the new Windows Home Server/Media Center and will really make seamless media playback better than ever. Not only that but WM7 will be heavily integrated into social networks allowing you to be always connected to your facebook, twitter, email, etc. even more seamless than Android or webOS.
5. Apple Tablet will be huge at first, and then go the way of the Apple TV. Yes the device will be really cool, yes fanboys/blogs/tech sites will long for the chance to gaze upon the amazing apple logo on the back, and yes it will do really cool things with media playback and music streaming. But if even 1/2 of the rumors are true the device is destined to fail. A ~$800, 10″ tablet you carry around to watch videos, surf the web, listen to music, and play games on really just sounds lame unless I was at home sitting on my couch. And in that case I will just use my laptop or get a netbook preferably with Google Chrome for less than 1/2 the price. I feel weird talking about it when it is really only about a month from being announced. But in all honesty, I don’t see how this would be any better than a device you can actually carry in your pocket like say, a Google Phone. Oh and the tablet will have hardware issues in the first generation.
Other:
1. 3D in TV’s will have a big push. There are finally standards to allow for it and sales will be slow at first because there won’t be much content and prices will be ridiculous. Interest will rise when cable providers announce 3D cable TV offerings for launch in 2011.
2. Retail stores will begin to push online sales and start to lose services because consumers are getting smarter, or at least more resourceful. With Amazon having as big of a year as they did, stores like Best Buy, Barns n Noble, and Sears just can’t rely on people coming into their stores as much.
3. The Automotive industry will finally push for a standard in electric/hybrid cars. With so many companies going out of business, automotive makers can’t stay fragmented for long. They will have to agree upon something or they will lose to a up and coming company like Tesla.
Let me know what you think in the comments. Mostly I feel 2010 will be a year of recovery and not innovation. Although necessity is the mother of invention so maybe I am wrong.
2009 Predictions Follow-up
I thought I would follow up on my predictions for last year and see how I did.
Computers:
1. Multitouch – While this didn’t make as big of a push as I hoped, hardware development is very slow in a recession, there have been announcements of hardware coming out in 2010 that defiantly take advantage of multitouch inputs. Project Natal and the PS3 motion controller did surprise me though.
2. Linux Market Share – I cannot find a good answer on this one. But lets just say market share boomed but not where I thought it would. Android and webOS are both Linux based devices that saw a huge jump in market share from where they were in 2008. And there were also reports of Linux having a 30% market share in netbooks. Those numbers are good enough for me to say this is confirmed!
3. Microsoft Solutions – Windows Mobile was a failure still because WM7 got pushed back, the ZuneHD made huge progress and if weren’t for apps would be preferred over the iPod Touch in the tech world. Just the fact that I had 4-5 people ask me about the Zune this year makes me think it was a success. A year ago if you said Zune nobody knew what you were talking about. Windows 7 was a success but I think more than anything Microsoft no longer is the joke of the tech world, Apple is. Just getting their reputation back was a huge success for them.
Video games:
1. Wii – No it didn’t crash, sales are still relatively strong but with addons upon addons for the console and no new games that are any good. This will remain a console that collects dust in peoples entertainment centers.
2. PS3 – Totally confirmed! With the launch of the PS3 slim and a couple big games that finally came out sales jumped tremendously. From what I could find the PS3 actually surpassed the Xbox 360 in worldwide sales. And that is saying a lot considering how much the US and Europe loves the Xbox 360 and how much of the market share that accounts for.
3. Online play – Was it key? Not anymore than previous years. But the PlayStation Network is growing in popularity, and usefulness, and casual Xbox 360 games even needed to sign up for accounts for Netflix streaming, which I think is lame BTW.
4. PS3 3D – It is later than I thought but it is sill coming.
Other:
1. DTV transition – Wow, that was uneventful. I guess people were more prepared than I thought. It also helped that a good portion of OTA users switched to cable or satellite.
2. Streaming video – While this probably wasn’t because of the DTV switch. Many online video sites flourished, and some failed.
3. OLED – Besides a few mobile devices, OLED was unheard of in 2009. I blame that on the recession, that crap is expensive to develop. All in all though, there was no projector built into a laptop and pocket projectors just started coming onto the market. Stupid recession.
4. New site – Nope, didn’t happen. Twitter really took off but nothing to surpass the growth of facebook. Although MySpace is finally bleeding users.
MythTV how-to video – Part 2
This is a continuation of Part 1 and in this video I just walk you through a Mythbuntu installation and what options you want to use. The next parts will be about configuring the software past the initial installation.
Sorry for the sound quality. I had to use my digital camera for video (which is what I used in part 1) but for some reason there was a ton of static on the recording.
MythTV how-to video – Part 1
I have been working on my MythTV box for some time now and finally got around to editing the first part of the how to I recorded when setting it up. The first part is just about setting up the hardware (not much new), but the second part (and probably third and forth) is going to be on setting up the software and getting things configured just the way you want them to be.
How-to Modify the Default User Settings in Linux
Just like my other two posts here is how you can modify your default user settings in Linux. This is similar to OSX but instead of “/System/Library/User\ Templates/English.lproj” being our template directory. It is “/etc/skel”.
The skel directory stands for skeleton and it is where the default files and settings come from when you create a new user in Linux. The skel directory is a lot more basic than Windows or OSX mainly because A) not much is needed to create a Linux profile and B) all of the configuration files are stored in plan text and not some fancy .plist or .dat file.
Typically, most distros will only include three files in their “/etc/skel” directory. Those files are “.bash_logout”, “.bash_profile”, and “.bashrc”. If you want to include any more files/settings you can simply edit the configuration in your profile (or a temporary user), copy the setting files to the “/etc/skel” directory, and chown the files with root:root.
What if you don’t want to overwrite the files that came with your distro but you still want to make a skeleton directory? Simple, edit the “/etc/adduser.conf” file and set the SKEL value to whatever you want. Just make sure that the folder is available to root when you are trying to create the new user. In other words, don’t put the folder on a removable drive.
If you are using the GUI to create the new user the files and settings will be copied automatically and if you are using the adduser command just make sure you use the -m flag.
That is really all there is too it. Let me know if you have more tips for creating a user profile or if this helped you out in the comments.
Ubuntu (9.04) Jaunty Jackalope first impressions
I installed Ubuntu 9.04 on my main laptop (HP Compaq 8510p) and I wanted to post what my first impressions:
My first issue was with the installation. I am not sure if this feature was taken out or if there was just some other reason I couldn’t do it, but what happened to the ability to resize your Windows partition to install Ubuntu on the newly created free space? I only had two options on my install, use the entire disk (erasing Windows), or manually select which partitions to use (without the ability to resize a partition). What I ended up having to do was boot back into Windows Vista and resize my main partition to free up unallocated space on my drive manually. While this wasn’t horrible to do, I can imagine there are quite a few people out there that don’t know how to do this. After I had freed up 15 GB on my drive I had a third option to install Ubuntu on the largest available free space but it was still a bit of a hassle to do in the first place.
Once I actually booted into Ubuntu I was greeted with all of my hardware working out of the box…until I rebooted.
I am not sure why but my sound wasn’t working past the login screen. It worked just fine on the first boot and it has never failed to work in any previous Ubuntu installation on this laptop (8.04-9.04). I was eager to play some of my music, but I soon remembered one of the reasons I switched to Linux Mint…and that sent me to the package manager to install the restricted extra’s package so I could listen to my music in MP3 format. Once I finally had the package installed I then realized I couldn’t hear any music coming from the Rythumbox player. I started up Firefox and headed to YouTube to see if I had any audio there. Back to the package manager to install flash and then restarted Firefox to see if I had sound from YouTube. This confirmed that I had no sound working whatsoever. I went to the forums and installed the Gnome ALSA mixer cause I heard it solved the problem for some people but for me it would just open up with a blank window with no options but to exit. So I gave up on my sound thinking I could just use my USB sound card that has worked with every other distribution of Ubuntu I have tried it on (back to 7.10). Wrong I was. The USB sound card did not work with Audacity however after 3 more reboots all of a sudden my onboard sound worked again. I tested it with Audacity and I was set to record the next mintCast.
During all of this work to get my sound working again I probably had Firefox crash on me, I’d say, 6 times. While I am not new to having Firefox crash, especially not in Linux, I was quite surprised to have this sort of instability for a newly released OS. Sure I installed the Adobe Flash add-on but in the past when Flash crashed it just wouldn’t play videos anymore until I rebooted the browser. These crashes were full system locking, power button holding, not even RSEIUB would help kind of crashes. I will admit in the second day I used Jaunty I haven’t had Firefox crash on me once but the bitter taste of a unstable browser still frightens my every keystroke.
With everything working as it should I decided to test this famed boot speed improvements using ext4. I have seen video’s of sub 20 second boot times and I am very curious what my laptop can do. With Linux Mint 6 installed my boot times from the time I pushed the power button till the time I loaded a webpage with Firefox was about 50 seconds. I defiantly felt like Jaunty was faster than that, but after 2 tests (with auto login and and Firefox set to auto run) my best time was still only 41 seconds. Once again, a little bit of a downer.
Next thing to test was one of my outstanding problems with Ubuntu/Linux Mint. At work and at home I use a docking station to dock my laptop to be able to use a full keyboard/mouse and large monitor. When my computer is docked I get video on the external display but it never detects as a second monitor through the docking port, and instead it just mirrors my display and never lets me change my resolution on the external monitor. If I plug the monitor in to the VGA port on the laptop it is just fine however. I tried to open system preferences and all I was greeted with was this empty window that I had to force quit every time I opened it. This was finally another strike that made me very sad and disappointed that Jaunty isn’t what I thought it would be. 
The final little nagging feature was the pop-up that asks you to confirm your shutdowns and restarts just like OSX. I heard an interview with Mark Shuttleworth and he said that this was necessary for the new desktop notifications so I wasn’t too bummed about it but it does make shutting down a little more annoying.
On the plus side I do like the pop-up notifications, which I didn’t think I would, and I like the improvements made to Evolution (and it is really winning me over from Thunderbird). I think 9.04 isn’t a step backwards like 8.10 was compared to 8.04, but I don’t feel like 9.04 is living up to the hype.
I have no plans to stop using Linux Mint or Ubuntu (or Linux in general). I think they are both fantastic operating systems and I am so thankful for the countless people that put in all of their free time and talent into the system. I try to contribute in as many ways as I know how and will continue to support the community whenever I have the chance.
For now, I am looking forward to what Ubuntu 9.10 will have in store.
Let me know what things you love and hate about 9.04 in the comments.
Error with CIFS on shutdown in Linux
I kept getting this error with Linux Mint and my NAS.
When I shutdown I got an error saying:
CIFS VFS server not responding
and the system would hang before shutting down and sometimes not shutdown at all. Of course with so many people using Linux the problem was only a Google search away.
I found that the problem is because Linux Mint would turn off the network connection before it would unmount the mounted volumes I had. It does this for security reasons because if you have system folders or home folders mapped to network shares it needs to have those system folders until it is done shutting down. Of course you would still run into problems when the network connection is killed but I don’t program so I am sure there are other reasons why it is done this way.
Anyway, a good solution is to have the drives unmounted earlier in the shutdown process. To do this we are going to make symbolic links to the script that unmount the volumes for us and then just put that in the folder that is processed earlier during shutdown and reboot. I found bits and pieces on how to do this in the Ubuntu forums but I found a good blog with all this info in one place here. here.
The code you need to run to make the symbolic links is here.
ln -s /etc/init.d/umountnfs.sh /etc/rc0.d/K15umountnfs.sh
ln -s /etc/init.d/umountnfs.sh /etc/rc6.d/K15umountnfs.sh
Here is a quick explanation of what this does from the other blog I found.
This will create two symbolic links to the umountnfs.sh script, one in runlevel 0 (shutdown) and one in runlevel 6 (reboot). The links have a “K” prefix to let the init system know that the script should be called with “stop” as an argument, and they have a priority of 15 to ensure that they are run before avahi-daemon and dhcdbd are stopped
OK that fix didn’t work. I finally found a solution that really works. Do this in a terminal instead.
cd /etc/rc6.d
ls -la
You will see two files S31umountnfs.sh and S15wpa-ifupdown.sh. The number still represents the order at which the script runs. All you need to do is change when the umountnfs.sh script runs. Do that by typing in:
sudo mv S31umountnfs.sh S14umountnfs.sh
You will need to run the command one more time in the /etc/rc0.d folder too.
Now my shutdown doesn’t hang anymore on unmounting the CIFS mounts.
I hope this helps.
My 2009 predictions
I have never done this before but I thought I would take a swing and making some predictions at what I think is going to happen this year with technology.
Computers:
1. Smaller, faster, better. Duh. That is obvious but I think there will be some big improvements in “alternate” input for computers. Apple is rumored to release a multi-touch imac. Windows 7 has multi-touch support and is just waiting for hardware/software to take advantage of it. In 2009 I expect to see the biggest improvements in multi-touch software. Games will probably be first, with the iPod touch and iPhone helping with lots of ideas, and then we will get some cool browser and media solutions. I for one would love to see cooliris with some multi-touch support. After multi-touch will probably come touchless input but I don’t think that will gain a lot of ground in 2009.
2. GNU Linux will gain at least 1% (double) market share (putting it up to 2%) before the end of the year spearheaded by Ubuntu. At this point I believe every major computer retailer (except Apple of course) offers GNU Linux on at least 1 model line, and when people see the boot speed and stability improvements of the next Ubuntu release more and more people are going to start “giving it a shot”.
3. 2009 will be the year of Microsoft solutions. I know Apple is gaining on Microsoft’s market share and they still will for a good part of 2009. But I don’t think market share ever really tells a full story. All I hear about now is how Apple is the coolest thing since super cooled capacitors, but I sense a bit of a change in the wind. I think Windows 7 will launch in 2009 and will greatly restore faith in Microsoft as a company. I also think that the next version of Windows Mobile will finally catch Microsoft up in the mobile platform market. The Windows Mobile OS won’t surpass what is currently out with Android or iPhone but it will make it respectable in what it can do and how it looks. I also think that the Windows Home Server market will gain popularity and the Xbox line will continue to grow. Finally, I think Zune sales will skyrocket (mainly cause Zune media player will be in Windows Mobile 6.5). Right now the Zune is in spot 3 behind Scandisk and Apple. I think as more and more people become unhappy with their iPods but they don’t want to upgrade to iPod touches or iPhones they will turn to the Zune. Last I checked Zune had 5% market share, but by the end of the year I see that number doubling to 10% of the mp3 player market. A big jump but it is truly a worthy mp3 player in my book.
Video games:
1. The Wii will crash. They have enjoyed a crazy amount of sales for far too long and they haven’t come out with any good software for months. I am so glad this day will finally come because I haven’t liked the Wii from the start. They will quickly be outsold for a few months by the Xbox 360 and the Wii will drop in price (my guess is to ~$180). Either way it will be hard to recover and it will probably just die out until Nintendo unveils the Wii HD or something ridiculous. By this time the Wii will not be “the console to have” and most people will finally see the console for what it truly is.
2. The PS3 will jump in sales. I already see this at my work. Two of my co-workers who previously bought Wii’s finally want to either A. Play real video games again or B. Watch Blu-ray movies. Their obvious choice was the PS3. Although the price is a big jump, people will finally realize all the features you get out of a PS3 and will start buying them mainly for Blu-ray players and eventually for gaming systems. The PS3 will also start to gain popularity because the Xbox 360 will run out of juice (aka. storage space) and the PS3’s potential will finally start to be tapped into. Sony will begin to push out better programming tools and maybe even Valve will come to the dark side and program their own crap for the PS3.
3. Online systems will be key this year. Xbox Live is fantastic but costs money. More and more people are getting tight on money and Xbox Live will probably suffer because of that. The PSN has been mediocre at best, but at the cost of free I think more people will sign up for this than ever before. Also Nintendo will realize the error in their ways in not offering a online service and will make plans for it with the Wii HD.
4. I think the PS3 will offer 3D gaming to some extent. Most people don’t realize their Samsung HDTV can display the 3D content and the market is ripe for the picking. I think the PS3 will be the only console that can really handle the amount of power it will take and storage space to contain 3D content.
Other:
1. February 17th will be a very dark day for a lot of people. Best Buy will be crowded as hell, and people will be very upset their antenna doesn’t work anymore. The biggest impact will be in low income/minority neighborhoods. There will probably be some bill passed to make sure they are not forgotten about in the future. HDTV sales will continue to decline until after February 17th when they will get a small kick in the pants until the economy levels out.
2. Because of the DTV transition online television distribution systems will benefit. Hulu, Vudu, Boxee, Apple TV, Windows Media Center will all see a lot more users than ever before. It is going to be a big quantity over quality issue but the amount of free content online will win in the end. After online distribution systems gain some ground they will start to push better quality to the users.
3. Displays are going to rock. Not just TV’s either. Laptop displays, computer monitors, projectors are all going to improve. OLED will make a big push (“organic” isn’t just for your foods) and I think we will probably see some sort of built in projector for a laptop this year. Pocket projectors will also finally become something worth looking at.
4. The internet will have a new awesome site. There will be some new MySpace/Facbook site for 2009 and it will include all the other sites in one. It will finally truly be able to combine your online accounts (at least social accounts) in one place. I have a feeling this site will be run in some way by Google (or at least bought by Google in the end). I think the first step to this will be Google NOT buying Facebook. If they do buy them then there would be no point in making an all inclusive social site. Their new site will easily tie in with YouTube, Blogger, Google Calendar, etc. The next step would be for Google to buy Twitter.com. As more people don’t have time to blog, they will turn to Twitter to allow them to blog on the go.
Well that is it. I know it was a heck of a lot of reading and I thank you for reading it (or at least skimming it). I will hopefully follow up 1 year from today to see how these predictions were met.
Let me know your predictions in the comments or if you agree/disagree with any of mine.
Compile Lirc on an AOpen mp945-dr with Ubuntu
I recently traded in my Mac Mini for a AOpen mp945-dr to see if it would work any better with MythTV and Boxee. I started off with Ubuntu 8.10 installed but found some random problems with video not displaying every time the computer would start so I went back to 8.04. On problem I had with both installations was that the remote sensor did not work out of the box. I did some digging and found that Lirc does work with this machine but the latest development branch was not included in Ubuntu for stability reasons. Here are the steps I had to take to get the remote sensor working.
As a overview we are going to:
1. Download the tools needed to compile software in Ubuntu.
2. Download the latest version of Lirc using CVS
3. Compile Lirc source
4. Test it real fast to make sure it works.
If you have Jaunty Jackalope (9.04) see the notes at the bottom.
1. Download the needed compiling tools.
sudo su
apt-get install libtool autoconf automake linux-headers-`uname -r`-generic cvs
This will download and install the compiling tools.
2. Download Lirc
First lets make a folder to put it in
mkdir ~/lirc
cd ~/lirc
Then we will download the newest source from sourceforge. We are using a tool called CVS to read more about it check out here.
cvs -d:pserver:anonymous@lirc.cvs.sourceforge.net:/cvsroot/lirc login
cvs -z8 -d:pserver:anonymous@lirc.cvs.sourceforge.net:/cvsroot/lirc co lirc
Because we ran that command while in the ~/lirc folder everything downloaded there so we just need to run the commands to configure everything before we build it.
./autogen.sh
./setup.sh
In the graphical interface I selected Driver config > USB > mceusb2 (new)
Then continue with compiling
make
make install
modprobe lirc-mceusb2
Because Ubuntu does things slightly different we need to copy a couple files to where Lirc expects them to be.
cp /lib/modules/`uname -r`-generic/misc/lirc_dev.ko /lib/modules/`uname -r`-generic/ubuntu/media/lirc/lirc_dev
cp /lib/modules/`uname -r`-generic/misc/lirc_mceusb2.ko /lib/modules/`uname -r`-generic/ubuntu/media/lirc/lirc_mceusb2
Then we can continue with installing the new Lirc into the running kernel.
rmmod lirc_mceusb2
rmmod lirc_dev
lsmod|grep lirc
/etc/init.d/lirc restart
Everything should be compiled and in place now.
4. To test it out run
irw
and then push some buttons on the remote. You should see the commands you press displayed in the terminal. If you see that then you can just push Ctrl+C to stop irw and you should be all set to go.
I had to change this tutorial slightly from where I originally posted it in the Ubuntu forums so that it would be more universal. If you have problems please leave a comment and check out the original thread here.
I hope this helps.
For Jaunty (9.04) I did not need to install the headers (it actually failed because it was already the newest version) I also needed to install “dialog” and “build-essential”. I had to create the “/lib/modules/`uname -r`/ubuntu/media/lirc/” folder before I could copy the configurations, and the folder I created also changed slightly to cp /lib/modules/`uname -r`-generic/misc/lirc_dev.ko /lib/modules/`uname -r`-generic/ubuntu/media/lirc/lirc_dev
cp /lib/modules/`uname -r`/misc/lirc_mceusb2.ko /lib/modules/`uname -r`/ubuntu/media/lirc/lirc_mceusb2
More updates as I find them.
Open files as root (the easy way)
I ran across a couple of tips in Linux to open a file as root without having to use a terminal. The first is a shortcut on your desktop. To make this one just right click on your desktop and then select “Create Launcher…”. When the dialog box pops up you can put in whatever you want for “Name” and “Comment” but for “Command” just put in the following command.
gksudo “gnome-open %u”
Now to open a file as root all you have to do is open the file location and drag the file to that shortcut. The system will probably ask you for your root password and then open the file as root.
A easier way is to browse to ~/.gnome2/nautilus-scripts/ and create a new file called “Open as root”. Edit the file and put
#!/bin/sh
gksudo “gnome-open $NAUTILUS_SCRIPT_SELECTED_URIS”
inside the file. Right click on the file and go to properties -> permissons then check the box that says “Allow executing file as a program”. Now all you have to do is right click on a file you want to open as root, go to scripts and click “Open as root”.
I just wanted to pass these along cause I thought they were very helpful.
