1. Post #481
    ndeee's Avatar
    July 2011
    18 Posts
    Ever since yesterday, irssi won't keep my nickname changes. If I type "/nick blahblah" then it changes for that session, then always reverts back to "yyz" when I restart irssi. Anyone know why that might be?
    Try doing a:
    /set nick blahblah
    Reply With Quote Edit / Delete Linux Lebanon Show Events Late Late x 1 (list)

  2. Post #482
    Gold Member
    nos217's Avatar
    December 2006
    2,665 Posts
    Again, it worked for that session alone, then reverted after restart. Perhaps I'll just have to become yyz.

    This genuinely has me totally stumped.
    Reply With Quote Edit / Delete Linux United Kingdom Show Events

  3. Post #483
    Strong Member
    thelinx's Avatar
    January 2007
    8,019 Posts
    /set nick blahblah
    /save
    Reply With Quote Edit / Delete Linux Sweden Show Events Useful Useful x 1 (list)

  4. Post #484
    Gold Member
    nos217's Avatar
    December 2006
    2,665 Posts
    I've tried that already.

    I know (or at least I thought I knew) from experience that all that is required to change nicknames in irc is a simple /nick <nickname> to change it.
    Reply With Quote Edit / Delete Linux United Kingdom Show Events

  5. Post #485
    Strong Member
    thelinx's Avatar
    January 2007
    8,019 Posts
    edit your irssi config manually and change all encounters of yyz to blahblah
    Reply With Quote Edit / Delete Linux Sweden Show Events

  6. Post #486
    Gold Member
    nos217's Avatar
    December 2006
    2,665 Posts
    I've done that, and they change back to yyz on their own. Not a word of a lie.

    Haha oh wow, I had been playing around with other people's .zshrc files and there was an alias in there that I didn't notice that automatically corrected "irsii" to "irsii -n yyz" or something along those lines.
    Reply With Quote Edit / Delete Linux United Kingdom Show Events

  7. Post #487
    Gaza Pen Pal's Avatar
    March 2011
    620 Posts
    which widget library would you guys recommend?
    Reply With Quote Edit / Delete Linux United States Show Events

  8. Post #488
    Gold Member
    The freeman's Avatar
    October 2007
    6,517 Posts
    What would a good distro to install on this laptop be: http://reviews.cnet.com/laptops/dell...-31609755.html
    It has 1GB of ram and a Celeron M
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  9. Post #489
    Gold Member
    ASmellyOgre's Avatar
    June 2008
    4,495 Posts
    You could do pretty much anything short of gaming at least marginally well, but I'd go for something low-spec, like Crunchbang, Lubuntu, or Arch + (insert window manager here).
    Reply With Quote Edit / Delete Windows Vista United States Show Events

  10. Post #490
    Gold Member
    Irish_Cereal's Avatar
    June 2006
    175 Posts
    Arch is my favorite distro by far. It's easily the most customizable one that I've used.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Agree Agree x 2 (list)

  11. Post #491
    CIPWTTKT's Resident Redneck™
    Dr. Deeps's Avatar
    December 2009
    7,205 Posts
    Arch is my favorite distro by far. It's easily the most customizable one that I've used.
    Linux From Scratch. :colbert:
    Reply With Quote Edit / Delete Windows 7 United States Show Events Funny Funny x 2 (list)

  12. Post #492
    It never was applejuice
    Waterrmelonn's Avatar
    June 2008
    773 Posts
    What's a good distro for a desktop?
    Reply With Quote Edit / Delete Linux Philippines Show Events

  13. Post #493
    Gold Member
    esalaka's Avatar
    July 2007
    10,138 Posts
    Linux From Scratch. :colbert:
    It's easier to customize Arch for the average user, don't be a dick
    Reply With Quote Edit / Delete Linux Finland Show Events Funny Funny x 1 (list)

  14. Post #494
    Gold Member

    May 2008
    1,986 Posts
    Trying out LXDE for the first time and I'm liking it so far. Had to change a couple ugly default settings, but it's running quite well.
    Reply With Quote Edit / Delete Linux Canada Show Events

  15. Post #495
    Wyzard's Avatar
    June 2008
    1,243 Posts
    which widget library would you guys recommend?
    From a programming standpoint? I like GTK, but haven't really used QT.
    Reply With Quote Edit / Delete Linux United States Show Events

  16. Post #496
    Get your own DarkRP Server!
    FPtje's Avatar
    January 2006
    5,615 Posts
    From a programming standpoint? I like GTK, but haven't really used QT.
    I have the idea that QT is more used by KDE itself than other programs.
    GTK on the contrary is used by a lot of applications besides the ones in the GNOME project.
    Reply With Quote Edit / Delete Linux Netherlands Show Events Agree Agree x 1 (list)

  17. Post #497
    Gold Member
    ASmellyOgre's Avatar
    June 2008
    4,495 Posts
    What's a good distro for a desktop?
    I'm guessing you're new to Linux. If those are your only requirements, then choose between the ones you see below:

    [release]Ubuntu

    Made by South African billionaire Mark Shuttleworth to be "Linux for human beings."

    Desktop Environment: Unity (heavily modified GNOME 3), with separate versions for each other one.
    Repo Manager and Package Format: Aptitude with .deb

    Pros: By far the most simple to use; based on Debian, so it's very stable and simple to use; it's the only one with Unity, so if you like it this is the way to go; installation of proprietary drivers is done with an automatic system; Canonical, the company behind Ubuntu, has many programs and services only available via Ubuntu, including Ubuntu One (a cloud storage service), an App Store, and even a music store; frequent and major updates.

    Cons: Quite bloated compared to most distros; blocks the gnome-shell package, meaning you can't easily install default GNOME 3; the "major" part of the frequent and major updates often drives people away.

    Linux Mint

    A community project made to improve upon Ubuntu, making it even simpler to use and more easily customizable.

    Desktop Environment: GNOME 2 in the main version, with separate versions for each other one.
    Repo Manager and Package Format: Aptitude with .deb

    Pros: Comes with more extra things installed by default than Ubuntu, such as MP3 codecs and free Microsoft fonts; also has some programs made for Mint that make it more easily customizable; many people like the look of it.

    Cons: Also bloated; the extra software, such as the App Store, is not available despite being based on Ubuntu; many people don't like the look of it.

    Fedora

    Fedora is managed by the Fedora Project, and is essentially the high-tech playground for the server software company Red Hat.

    Desktop Environment: GNOME 3, with spins for other versions
    Repo Manager and Package Format: YUM with .rpm

    Pros: Highly up-to-date software with free licenses only; infrequent but major updates; highly organized community

    Cons: Bloated (though not as much as Ubuntu); slightly less stable than Debian-based distros like Ubuntu or Crunchbang; EXTREMELY strict on package management, which is often more annoying than it is helpful.

    Arch Linux

    A community-based DIY distribution, based on the idea of technological simplicity.

    Desktop Environment: Any or none if you so choose.
    Repo Manager and Package Format: Pacman and .tar.gz/.tar.xz

    Pros: Technologically simple; you build it yourself, meaning you know exactly how it functions (or at least have a good idea); there is the Arch User Repository, which holds packages that users made; it is on a rolling release schedule, bringing you the latest technology as soon as it's available without version upgrades necessary; the most thorough wiki available (you'll probably wind up coming here no matter what distribution you use).

    Cons: You have to build it yourself, meaning you'll need to spend more time and effort on this than any other distro on the list; high possibility of massive screw-ups

    Conclusion
    There are many different distributions available, but these are good ones to start with. This guide is far from comprehensive, so don't feel afraid to do your own research. Most of all, have fun in this.[/release]
    Reply With Quote Edit / Delete Windows Vista United States Show Events Winner Winner x 5 (list)

  18. Post #498
    I will huff and puff and FLIP YOUR FUCKING TABLES
    Lyokanthrope's Avatar
    October 2005
    7,129 Posts
    Unity is actually based on Gnome 2, most of the apps are still the Gnome 2 versions.
    Just sayin'.
    And you forgot to mention that Linux Mint has a rolling release Debian based edition.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  19. Post #499
    vepa's Avatar
    January 2011
    101 Posts
    I have the idea that QT is more used by KDE itself than other programs.
    GTK on the contrary is used by a lot of applications besides the ones in the GNOME project.
    And that's a shame because GTK+ makes far less effort in cross-platform UI.
    Reply With Quote Edit / Delete Linux Finland Show Events

  20. Post #500
    Gold Member
    esalaka's Avatar
    July 2007
    10,138 Posts
    GTK+ is supposed to look like itself whereas QT always tries to look native.

    Which is sorta ironic because QT is the native toolkit of KDE. What should it look like?
    Reply With Quote Edit / Delete Windows 7 Finland Show Events

  21. Post #501
    Gold Member
    PvtCupcakes's Avatar
    May 2008
    10,900 Posts
    GTK+ is supposed to look like itself whereas QT always tries to look native.

    Which is sorta ironic because QT is the native toolkit of KDE. What should it look like?
    KDE defines its own Qt styles.
    Reply With Quote Edit / Delete Linux United States Show Events

  22. Post #502
    CIPWTTKT's Resident Redneck™
    Dr. Deeps's Avatar
    December 2009
    7,205 Posts
    So I decided to install Gwibber 3.0. Downloaded the tar.gz, ran the python script, it came back with some missing dependency or something. Fixed that, installed it... When I try to run it it doesn't appear, tried to run it from the terminal and got this:

    fatman@fatman:~$ gwibber
    Traceback (most recent call last):
    File "/usr/bin/gwibber", line 55, in <module>
    from gwibber import client
    ImportError: cannot import name client
    fatman@fatman:~$
    Any idea?
    Reply With Quote Edit / Delete Linux United States Show Events

  23. Post #503
    Boris-B's Avatar
    July 2009
    1,266 Posts
    It's failing to import something. This is most likely a dependency issue.
    Reply With Quote Edit / Delete Linux Canada Show Events

  24. Post #504
    CIPWTTKT's Resident Redneck™
    Dr. Deeps's Avatar
    December 2009
    7,205 Posts
    It's failing to import something. This is most likely a dependency issue.
    I'll go over the dependency list and see if they're all there.

    Missing python-webkitgtk, but it's not in the Ubuntu repos. Where can I get it at?
    Reply With Quote Edit / Delete Linux United States Show Events

  25. Post #505
    Boris-B's Avatar
    July 2009
    1,266 Posts
    I think the package is called python-webkit

    http://packages.ubuntu.com/search?ke...=python-webkit
    Reply With Quote Edit / Delete Linux Canada Show Events

  26. Post #506
    CIPWTTKT's Resident Redneck™
    Dr. Deeps's Avatar
    December 2009
    7,205 Posts
    Ill try it tomorrow. Forgot to establish ssh to the computer.
    Reply With Quote Edit / Delete United States Show Events Dumb Dumb x 1 (list)

  27. Post #507
    CIPWTTKT's Resident Redneck™
    Dr. Deeps's Avatar
    December 2009
    7,205 Posts
    Hmmm, that's not it. python-webkit is already installed...

    Found a .deb of it on a mirror, figured I'd reinstall...



    NOPE.AVI
    Reply With Quote Edit / Delete Linux United States Show Events Dumb Dumb x 1 (list)

  28. Post #508
    ndeee's Avatar
    July 2011
    18 Posts
    ...I guess I suck at regex.

    Can you guys help me out? I have a folder filled with songs with the following name format:
    001 - This is the first song (1995).mp3
    002 - This is the second song (2005).mp3
    ...
    100 - This is the last song of the whole folder (1980).mp3

    I need to rename all of them to just:
    This is the first song.mp3 - This is the second song.mp3 and so on.

    Any help?
    Reply With Quote Edit / Delete Linux Lebanon Show Events

  29. Post #509
    Gold Member
    Larikang's Avatar
    November 2005
    2,562 Posts
    I only know Ruby regex, but in that the code to match would be
    Code:
    /^\d+ - (.*) \(\d+\)\.mp3$/i
    and you would rename each song to
    Code:
    "#{$1}.mp3"
    I wrote a Shoes app that lets you mass rename files just like that. Choose folder, enter regex, enter replacement string, done. Let me see if I can locate it.

    [HR][/HR]Here you go.

    Note that it's not thoroughly tested and might not work on your system. Also if you have two songs with the same title but different numbers, one will be overwritten.
    Reply With Quote Edit / Delete Linux United States Show Events

  30. Post #510
    Boris-B's Avatar
    July 2009
    1,266 Posts
    I remember doing something similar with sed a while back to rename a bunch of AVIs. It was a bit hacky, but it worked. I'll try to see if I can find it.

    Edited:

    From what I recall, I piped ls into sed where I forged a bunch of mv commands with search and replace using the explicit print option (forgot the name this is my best guess) Then I piped those to awk where I executed them.

    Edited:

    Ok, I think I managed to recreate it.

    First, run this: ( it should make no changes as it echos the command it should be performing.
    Code:
    ls | sed -nr 's/^[0-9]{3} - (.+)\.mp3$/mv '\''\0'\'' '\''\1.mp3'\''/p' | awk '{system("echo \""$0 "\"")}'
    If it's good you should be able to run this:
    Code:
    ls | sed -nr 's/^[0-9]{3} - (.+)\.mp3$/mv '\''\0'\'' '\''\1.mp3'\''/p' | awk '{system($0)}'
    Reply With Quote Edit / Delete Linux Canada Show Events

  31. Post #511
    ndeee's Avatar
    July 2011
    18 Posts
    I remember doing something similar with sed a while back to rename a bunch of AVIs. It was a bit hacky, but it worked. I'll try to see if I can find it.

    Edited:

    From what I recall, I piped ls into sed where I forged a bunch of mv commands with search and replace using the explicit print option (forgot the name this is my best guess) Then I piped those to awk where I executed them.

    Edited:

    Ok, I think I managed to recreate it.

    First, run this: ( it should make no changes as it echos the command it should be performing.
    Code:
    ls | sed -nr 's/^[0-9]{3} - (.+)\.mp3$/mv '\''\0'\'' '\''\1.mp3'\''/p' | awk '{system("echo \""$0 "\"")}'
    If it's good you should be able to run this:
    Code:
    ls | sed -nr 's/^[0-9]{3} - (.+)\.mp3$/mv '\''\0'\'' '\''\1.mp3'\''/p' | awk '{system($0)}'
    Yours worked nice, however it only removes the the first numbers at the beginning of the name, I want it to remove the date in the parentheses too.

    EDIT:
    Heh, I edited a bit and I got it to work. Thanks a lot!
    Reply With Quote Edit / Delete Linux Lebanon Show Events

  32. Post #512
    gman_beeman's Avatar
    December 2007
    576 Posts
    How do I connect to my internet connection (Ethernet) through terminal? (I'm on the server edition of Ubuntu)
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  33. Post #513
    Gold Member
    esalaka's Avatar
    July 2007
    10,138 Posts
    How do I connect to my internet connection (Ethernet) through terminal? (I'm on the server edition of Ubuntu)
    I'm not completely sure of what software Ubuntu uses to establish wired connections but for me it's always auto-connected using DHCP. I think.
    Reply With Quote Edit / Delete Linux Finland Show Events

  34. Post #514
    Gold Member
    nos217's Avatar
    December 2006
    2,665 Posts
    Usually with (as root):

    Code:
    dhcpcd
    ifconfig eth0 up
    Reply With Quote Edit / Delete Linux United Kingdom Show Events

  35. Post #515
    gman_beeman's Avatar
    December 2007
    576 Posts
    Every time I try to install Java, I get this message "E: Package 'sun-java6-jre' has no installation candidate"
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  36. Post #516
    Wyzard's Avatar
    June 2008
    1,243 Posts
    Running Debian? You'll need to add non-free to your sources.list, since that's where the sun-java6-jre package is. In Ubuntu, it's probably in universe or multiverse.

    Alternatively, you can install openjdk-6-jre, which is fully free. (It's based on Sun's GPL release of Java.)

    Edited:

    Oh, silly me, you said a few posts ago that you're running Ubuntu.
    Reply With Quote Edit / Delete Linux United States Show Events

  37. Post #517
    Gold Member
    Larikang's Avatar
    November 2005
    2,562 Posts
    Does anyone have recommendations for fast, lightweight web browsers? I'm currently using Chromium, but my netbook struggles with it sometimes.

    I'm not interested in a spartan text-only browser or anything like that.
    Reply With Quote Edit / Delete Linux United States Show Events

  38. Post #518
    I will huff and puff and FLIP YOUR FUCKING TABLES
    Lyokanthrope's Avatar
    October 2005
    7,129 Posts
    Does anyone have recommendations for fast, lightweight web browsers? I'm currently using Chromium, but my netbook struggles with it sometimes.

    I'm not interested in a spartan text-only browser or anything like that.
    Elinks/links/links2 is nice. But really Chromium is probably the best, the only thing that bugs me is the non-native UI..It clashes with GTK themes quite badly D:
    https://wiki.archlinux.org/index.php...s#Web_Browsers
    That list there might be worth looking at.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  39. Post #519
    Gold Member

    May 2008
    1,986 Posts
    I hate when my clock drifts. Hopefully I've fixed it this time.
    Reply With Quote Edit / Delete Linux Canada Show Events

  40. Post #520
    Conservative Cunt who fucking loves piss
    Elecbullet's Avatar
    November 2007
    11,621 Posts
    Elinks/links/links2 is nice. But really Chromium is probably the best, the only thing that bugs me is the non-native UI..It clashes with GTK themes quite badly D:
    https://wiki.archlinux.org/index.php...s#Web_Browsers
    That list there might be worth looking at.
    Ugh, can't stand the UI
    Reply With Quote Edit / Delete Linux United States Show Events Agree Agree x 2 (list)