• General Linux Chat and Small Questions v.2
    2,323 replies, posted
[QUOTE=nos217;31159395]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?[/QUOTE] Try doing a: [quote] /set nick blahblah [/quote]
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.
/set nick blahblah /save
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.
edit your irssi config manually and change all encounters of yyz to blahblah
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.
which widget library would you guys recommend?
What would a good distro to install on this laptop be: [url]http://reviews.cnet.com/laptops/dell-business-inspiron-b130/4507-3121_7-31609755.html[/url] It has 1GB of ram and a Celeron M
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).
Arch is my favorite distro by far. It's easily the most customizable one that I've used.
[QUOTE=Irish_Cereal;31167449]Arch is my favorite distro by far. It's easily the most customizable one that I've used.[/QUOTE] Linux From Scratch. :colbert:
What's a good distro for a desktop?
[QUOTE=Dr. Deeps;31167827]Linux From Scratch. :colbert:[/QUOTE] It's easier to customize Arch for the average user, don't be a dick :v:
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.
[QUOTE=Gaza Pen Pal;31166093]which widget library would you guys recommend?[/QUOTE] From a programming standpoint? I like GTK, but haven't really used QT.
[QUOTE=Wyzard;31172793]From a programming standpoint? I like GTK, but haven't really used QT.[/QUOTE] I have the idea that QT is more used by KDE itself than other programs. :v: GTK on the contrary is used by a lot of applications besides the ones in the GNOME project.
[QUOTE=Waterrmelonn;31169858]What's a good distro for a desktop?[/QUOTE] I'm guessing you're new to Linux. If those are your only requirements, then choose between the ones you see below: [release][highlight]Ubuntu[/highlight] [img]http://upload.wikimedia.org/wikipedia/commons/thumb/b/b5/Ubuntu_11.04.png/300px-Ubuntu_11.04.png[/img] 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. [highlight]Linux Mint[/highlight] [img]http://upload.wikimedia.org/wikipedia/commons/thumb/6/62/Linux_Mint_Katya.png/300px-Linux_Mint_Katya.png[/img] 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. [highlight]Fedora[/highlight] [img]http://upload.wikimedia.org/wikipedia/commons/thumb/b/bb/Fedora_15_Gnome_Shell.png/300px-Fedora_15_Gnome_Shell.png[/img] 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. [highlight]Arch Linux[/highlight] [img]http://upload.wikimedia.org/wikipedia/en/thumb/a/ac/Archlinux-official-fullcolour.svg/240px-Archlinux-official-fullcolour.svg.png[/img] 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 [highlight]Conclusion[/highlight] 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]
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. :v:
[QUOTE=FPtje;31174039]I have the idea that QT is more used by KDE itself than other programs. :v: GTK on the contrary is used by a lot of applications besides the ones in the GNOME project.[/QUOTE] And that's a shame because GTK+ makes far less effort in cross-platform UI.
GTK+ is supposed to look like itself whereas QT always tries to look native. Which is sorta ironic because [B]QT is the native toolkit[/B] of KDE. What should it look like? :v:
[QUOTE=esalaka;31178473]GTK+ is supposed to look like itself whereas QT always tries to look native. Which is sorta ironic because [B]QT is the native toolkit[/B] of KDE. What should it look like? :v:[/QUOTE] KDE defines its own Qt styles.
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: [quote]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:~$ [/quote] Any idea?
It's failing to import something. This is most likely a dependency issue.
[QUOTE=Boris-B;31183238]It's failing to import something. This is most likely a dependency issue.[/QUOTE] 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?
I think the package is called python-webkit [url]http://packages.ubuntu.com/search?keywords=python-webkit[/url]
Ill try it tomorrow. Forgot to establish ssh to the computer.
Hmmm, that's not it. python-webkit is already installed... Found a .deb of it on a mirror, figured I'd reinstall... [thumb]http://i.imgur.com/0MOjR.png[/thumb] NOPE.AVI
...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?
I only know Ruby regex, but in that the code to match would be [code]/^\d+ - (.*) \(\d+\)\.mp3$/i[/code] and you would rename each song to [code]"#{$1}.mp3"[/code] 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][URL="http://dl.dropbox.com/u/1548814/regrename.rb"]Here you go.[/URL] 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.
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. [editline]18th July 2011[/editline] 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. [editline]19th July 2011[/editline] 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 "\"")}' [/code] 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)}' [/code]
Sorry, you need to Log In to post a reply to this thread.