• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

The "Linux questions (and other stuff)" thread

Ok so I installed the newest Ubuntu on my laptop with the windows installer.
I probably can't help you with this; I don't do windows, therefore I've never used wubi or whatever it's called.

It's really slow. Seems like it should be a lot faster than what it is. In fact during the installation, it froze and I had to reboot the computer and then it installed ok. So after it finished installing I tried to download a couple things, one of them being chroma. It was so slow like it's out of memory or something and I finally got it to restart. When it did what I downloaded wasn't there anymore. After rebooting it's not as slow. I used Ubuntu on a different computer back when I think it was 10.10 and it was fast. So what am I doing wrong?
My only thought is perhaps the laptop isn't up to the latest and greatest version of Ubuntu? That's what I ran into when I upgraded my old laptop's Kubuntu version one too many times, and it ran like frozen molasses. :eek:
 
  • Like
Reactions: argedion
Upvote 0
Can you help with dumb questions?

Sure. :)

Like associating a program?

Depending on what file manager you're using, it's similar to Windows. Right click on whatever you want to associate, do properties, and then do open with, and you'll see a list of installed software that can open or view the file. e.g. AVIs might be associated with Mplayer, but you can change it so VLC opens instead.

Linux doesn't use the same extensions.

Linux uses exactly the same filename extensions for documents and media. However there's no EXEs or DLLs for software. Executables often don't have an extension at all, runtine libraries might be LIB, configuration files could be CONF.

If you're downloading Linux software from outside of the package/software manager and repositories, e.g. SourceForge, you'll often see extensions like TAR.GZ, TGZ, BZ2, etc, rather than ZIP or RAR.

There's no central Registry as such, where all applications dump their stuff in an opaque obfuscated manner, and if it gets broken that can often be the end of Windows. Applications generally maintain their own configuration files. in easily fixable clear plain text. If a Linux application is giving trouble, and can't be fixed by changing the configurations. Generally just deleting the associated configuration file will return troublesome software to defaults and fix it. No need to re-install or re-boot either. :) Most Linux updates can be applied without re-booting, unlike ahem....Windows. :rolleyes:
 
Upvote 0
Can you help with dumb questions?
There are no dumb questions! :)

Like associating a program?
Of course, but it depends on where you're talking about. Do you mean in general? Like assigning a default application for opening a specific type of file, or do you mean within a specific application, such as a browser, or what? :thinking:

Linux doesn't use the same extensions.
*nix has never used 'extensions' as in the DOS/windows world. UNIX and its offspring actually determine a file's type based on its contents, NOT on its 'extension.'

The reason I keep putting 'extension' in quotes is because in *nix there really is no such thing as a file extension. :eek: Back in the DOS 8.3 (file names limited to 8 characters, plus a MANDATORY dot-plus-3-character extension), in UNIX we had no such ridiculous limitations. If I wanted to name something my.file.for.work, so be it. The dots were, and are, nothing but characters, like any other standard character. They didn't, and don't, dictate a file's type. *nix basically evolved over the years to accommodate windows users who thought of files as having extensions to dictate what they were.

Don't believe me? Do this: Let's say you have a JPEG file that's named your_pretty_sunset.jpg. Rename it simply your_pretty_sunset. Then fire up your preferred file manager (I use Dolphin), and watch it display the file's preview. Do the same on a windows box and what will happen? Nothing. Without the .jpg extension, it won't recognize it as a JPEG file.

Go to a command prompt where the file is located and type this:

Code:
file your_pretty_sunset

The output should look like this:

Code:
file your_pretty_sunset
your_pretty_sunset: JPEG image data, EXIF standard

Again, it's actually DETERMINING the file's type, not making assumptions based on its extension...or lack thereof. :)
 
Upvote 0
I have to admit I do like using the CLI.

Code:
michael@michael-Ideapad-S110 ~ $ lunar 2013 1 21
Lunar Version 2.2 (October 28, 2001)

Solar : 2013.1.21.0	Monday
Lunar : 2012.12.10.0	ShengXiao: Dragon
GanZhi: Ren2-Chen2.Gui3-Chou3.Ding1-Hai4.Geng1-Zi3
        (GanZhi Order)	9-5.10-2.4-12.7-1
        (JiaZi Cycle)	29.50.24.37

BaZi (8-characters) according to 'Four Column Calculation':
        Ren2-Chen2.Gui3-Chou3.Ding1-Hai4.Geng1-Zi3
        (GanZhi Order)	9-5.10-2.4-12.7-1
        (JiaZi Cycle)	29.50.24.37

michael@michael-Ideapad-S110 ~ $ lunar --utf8 2013 1 21
Lunar Version 2.2 (October 28, 2001)

阳历: 2013年 1月21日 0时 星期一
阴历: 2012年12月10日子时 生肖属龙
干支: 壬辰年 癸丑月 丁亥日 庚子时 
用四柱神算推算之时辰八字: 壬辰年 癸丑月 丁亥日 庚子时
michael@michael-Ideapad-S110 ~ $
 
  • Like
Reactions: argedion
Upvote 0
i grew to love the CLI in early versions of Linux, starting with my first experience in BasicLinux. it was CLI only unless you installed X. but now i've become so addicted to KDE and the little gadgets that i may blow away Pear Linux on this computer and install 12.10 and KDE the next opportunity i have to get near a faster wifi than i have at home

i have a problem, though. at least one widget i like and wanted (a Nixie clock widget) wouldn't load at all. it kept giving me a red 'X' icon and something about 'failed to load script' inside the window where the widget would or should be. i installed the widget from software center so i am sure if any dependencies were required it should have installed them with it?
 
Upvote 0
i grew to love the CLI in early versions of Linux, starting with my first experience in BasicLinux. it was CLI only unless you installed X. but now i've become so addicted to KDE and the little gadgets that i may blow away Pear Linux on this computer and install 12.10 and KDE the next opportunity i have to get near a faster wifi than i have at home
I love that you're loving KDE. :D I told you it was amazing!

i have a problem, though. at least one widget i like and wanted (a Nixie clock widget) wouldn't load at all. it kept giving me a red 'X' icon and something about 'failed to load script' inside the window where the widget would or should be. i installed the widget from software center so i am sure if any dependencies were required it should have installed them with it?
It's been a while, but I've seen that happen with widgets in the past, and I honestly can't recall actually SOLVING the problem--instead I just deleted them from my panel. *shrug*
 
Upvote 0
i grew to love the CLI in early versions of Linux, starting with my first experience in BasicLinux. it was CLI only unless you installed X. but now i've become so addicted to KDE and the little gadgets that i may blow away Pear Linux on this computer and install 12.10 and KDE the next opportunity i have to get near a faster wifi than i have at home

How fast is your home WiFi and internet? Even if you only have 1megabit, that should be able to download 12.10 Ubuntu or Kubuntu in an hour.

i have a problem, though. at least one widget i like and wanted (a Nixie clock widget) wouldn't load at all. it kept giving me a red 'X' icon and something about 'failed to load script' inside the window where the widget would or should be. i installed the widget from software center so i am sure if any dependencies were required it should have installed them with it?

Now I don't use widgets, well apart from the default clock and calendar, network monitor, volume control, and a couple of launchers. The things are often useless and just get in the way IMO. Can't really comment about the problem, might be a broken dependency or a bug in the widget itself. Have you searched for a solution?
 
Upvote 0
Ubuntu isn't the download i worry about. i only have 128K down and maybe .5K up. it's slow. it was a rather long download on cable at my mom's house. my speed is roughly half that of DSL and 1/3 that of cable. i live in a trailer in the woods, it's a wireless system and i cannot get any faster speed. it's just barely good enough for Netflix, never intended to download large files/games/software with it at the time. Ubuntu is only a 900MB file. the Kubuntu Desktop part was almost 1.2 gigs from the CLI output and took an hour at mom's, which would translate to a day and a half here. it takes four hours to download Ubuntu base

it installed successfully but refused to run. i tried rebooting, reinstalling, resetting the widget config, etc. it just instantly gives me that error without trying to load. it sadly was the only Nixie clock widget available, and the user comments were in foreign language. i've always thought those were neat but i lack the skills to actually build one of those Nixie clocks. others online in Askubuntu site were saying their widgets which give a similar error start out working. mine did not--it instantly gave the error. the rest work just fine though, including other downloaded widgets.
 
Upvote 0
Ubuntu isn't the download i worry about. i only have 128K down and maybe .5K up. it's slow. it was a rather long download on cable at my mom's house. my speed is roughly half that of DSL and 1/3 that of cable. i live in a trailer in the woods, it's a wireless system and i cannot get any faster speed. it's just barely good enough for Netflix,

Don't you need to have good bandwidth for Netflix? Or does it buffer?

never intended to download large files/games/software with it at the time. Ubuntu is only a 900MB file. the Kubuntu Desktop part was almost 1.2 gigs from the CLI output and took an hour at mom's, which would translate to a day and a half here. it takes four hours to download Ubuntu base

Netflix movies can be a gigabyte or two can't they?

it installed successfully but refused to run. i tried rebooting, reinstalling, resetting the widget config, etc. it just instantly gives me that error without trying to load. it sadly was the only Nixie clock widget available, and the user comments were in foreign language.

Google Translate? :) It's pretty good these days. I use it all the time, as my boss in Dalian doesn't speak any English whatsever, and often my Chinese isn't quite good enough to get what I want to say across to him. We always communicate via IM, e-mail or SMS.

i've always thought those were neat but i lack the skills to actually build one of those Nixie clocks. others online in Askubuntu site were saying their widgets which give a similar error start out working. mine did not--it instantly gave the error. the rest work just fine though, including other downloaded widgets.

Maybe someone else has info on that?

BTW I could probably build a nixie tube clock, given a schematic, parts and tools. I'm sure Chinese military electronics surpluss could precure the necessary tubes and 74xx series TTL logic. :D I used to make quite a few projects. I still dabble with some of the electronics design and simulation applications, like QUCS.
 
  • Like
Reactions: argedion
Upvote 0
Here's a little bit of dependency hell, that can occasionally happen when trying to build software.

Code:
~/Downloads/lunar-applet-2.0 $ ./configure
...
checking for gconftool-2... /usr/bin/gconftool-2
checking for LIBPANEL_APPLET... no
configure: error: libpanelapplet-2.0 not found.

on Debian or Ubuntu, install this please:
    # apt-get install libpanel-applet2-dev

It's wanting libpanelapplet-2.0, which doesn't seem to be in the current Debian or Ubuntu repos. What's in the repos is libpanelapplet-4.0. So it looks like it requires an older version of the library or runtime....and "# apt-get install libpanel-applet2-dev" doesn't work.

Here's the source code if anyone else wants to give it a try, or has any suggestions.
lunar-applet-2.0.tar.gz - lunar-applet - lunar-applet-2.0.tar.gz - GNOME Clock applet with added Chinese lunar calendar support - Google Project Hosting

It's not important, it's only a lunar calendar applet for Gnome. But was something to play with.
 
Upvote 0
I love CLI also. I install my programs using it more than GUI. I'll have to check out lunar-applet, mikedt.
 

Attachments

  • terminal-01212013.png
    terminal-01212013.png
    8 KB · Views: 205
  • Like
Reactions: mikedt
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones