• General Linux Chat and Small Questions v.2
    2,323 replies, posted
Post your /var/log/Xorg.0.log file, then we can help you... (Also there's a troubleshooting section at [URL="https://help.ubuntu.com/community/BinaryDriverHowto/ATI"]https://help.ubuntu.com/community/BinaryDriverHowto/ATI[/URL])
[QUOTE=mechanarchy;34445578]The system was locked up to such a degree that even the kernel-level keyboard shortcuts did not respond and the computer wouldn't reset when I pressed the physical reset button.[/QUOTE] I had a similar problem, I just had to add [code]Section "ServerFlags" Option "AutoAddDevices" "false" EndSection[/code] to my /etc/X11/xorg.conf and everything started working properly again. This is what the rest of my config file looks like (Be aware that mouse and keyboard are added): [url]http://j.mp/zNa8gs[/url]
I just spent a good hour, after having installed a new xfce/gtk2 theme on my arch box, troubleshooting why I could select the theme, and it would apply it, but without any of the resources (I.E. the positioning of various buttons and windows was changed, but the theme itself was not applied) After installing and re installing various gtk engines (which I had to begin with) I for some reason opened Thunar as root, and lo and behold that window had the theme applied. I looked online and realized my themes folder might not have read permissions set to all, and after a recursive chmod it all works flawlessly. Linux and I are still on speaking terms.
I shall install Arch tomorrow (because I miss it) and dualbooting it with win7 (so I can use msOfficeAccess safely) My plans are: -Awesome as WM -Slim as login manager -base-devel packages -Everything in a minimal Arch theme -opera -nano/gedit -cli apps and mpd -sfml, so I will work on my C++ game project again -urxvt -??? Is there anything else that a programmer would need in his/her environment?
[QUOTE=ichiman94;34448593]I shall install Arch tomorrow (because I miss it) and dualbooting it with win7 (so I can use msOfficeAccess safely) My plans are: -Awesome as WM -Slim as login manager -base-devel packages -Everything in a minimal Arch theme -opera -nano/gedit -cli apps and mpd -sfml, so I will work on my C++ game project again -urxvt[b] -gdb -valgrind -boost -CMake or Boost.Build (I write project files for both) [/b]-??? Is there anything else that a programmer would need in his/her environment?[/QUOTE] Just a few suggestions. I use these everywhere.
GDB and valgrind are must-haves, CMake is questionable and rather large. [editline]29th January 2012[/editline] and you need make regardless of whether or not you want CMake (althought it might be in base-devel)
[QUOTE=ichiman94;34448593]I shall install Arch tomorrow (because I miss it) and dualbooting it with win7 (so I can use msOfficeAccess safely) My plans are: -Awesome as WM -Slim as login manager -base-devel packages -Everything in a minimal Arch theme -opera -nano/gedit -cli apps and mpd -sfml, so I will work on my C++ game project again -urxvt -??? Is there anything else that a programmer would need in his/her environment?[/QUOTE] Vim. Screw nano and gedit
gvim > * [editline]29th January 2012[/editline] also emacs is for losers
[QUOTE=ButtsexV3;34450316]gvim > * [editline]29th January 2012[/editline] also emacs is for losers[/QUOTE] Emacs is a nice OS, just lacks a decent text editor. Of course, you could run vim under it.
Any tips on CentOS 6.2? Anything goes, really.
[QUOTE=ButtsexV3;34450316]gvim > * [editline]29th January 2012[/editline] also emacs is for losers[/QUOTE] Can gwim do syntax highlighting, auto-tabbing and auto-completing even from user defined hpp files? If yes, then I will use/learn it...
[QUOTE=ichiman94;34450452]Can gwim do syntax highlighting, auto-tabbing and auto-completing even from user defined hpp files? If yes, then I will use/learn it...[/QUOTE] vim* I believe you could write a script for that. Vim has autocomplete facilities, as well as auto-indent (if that's what you mean by auto-tabbing) and syntax highlighting is obviously a function.
[QUOTE=ichiman94;34450452]Can gwim do syntax highlighting, auto-tabbing and auto-completing even from user defined hpp files? If yes, then I will use/learn it...[/QUOTE] yes yes and yes
Sorry to interrupt the plaintext editor war, but I forgot to upload a [url=i.imgur.com/JZGm7.png]picture[/url] of the theme I labored so hard to enable. Here is the [url=http://sixsixfive.deviantart.com/art/ACID-280889262]deviant art[/url] page for it if anyone else likes the looks of it.
[b]Well, it seems like my problem has been magically resolved just as quickly as it arose. I'm hoping it won't return.[/b] [QUOTE=ichiman94;34445884]Post your /var/log/Xorg.0.log file, then we can help you... (Also there's a troubleshooting section at [URL="https://help.ubuntu.com/community/BinaryDriverHowto/ATI"]https://help.ubuntu.com/community/BinaryDriverHowto/ATI[/URL])[/QUOTE] In recovery mode I used links to upload a couple of logs to a friend, but Xorg.0.log was zero bytes. Xorg.0.log.old had content but it wasn't from any point when x was crashing, it was when I'd changed the driver in xorg.conf to "vesa" manually instead of "fglrx" and ran startx in tty6 (tty7 was a blank screen). [QUOTE=Naelstrom;34446389]I had a similar problem, I just had to add [code]Section "ServerFlags" Option "AutoAddDevices" "false" EndSection[/code] to my /etc/X11/xorg.conf and everything started working properly again. This is what the rest of my config file looks like (Be aware that mouse and keyboard are added): [url]http://j.mp/zNa8gs[/url][/QUOTE] My xorg.conf is just this, which looks pretty much like a default. Given it's working now, do you still think it's worthwhile including that section? [code] Section "Screen" Identifier "Default Screen" DefaultDepth 24 EndSection Section "Module" Load "glx" EndSection Section "Device" Identifier "Default Device" Driver "fglrx" EndSection [/code]
No, it appears to be a work-around. You shouldn't include it if the problem has resolved itself.
I've recently reinstalled Arch (from Debian) and I'm having some real issues. Firstly, my / partition is being mounted read-only, causing all sorts of problems until I remount it as read-write. Secondly, my fstab file looks odd: [code]# # /etc/fstab: static file system information # # <file system> <dir> <type> <options> <dump> <pass> tmpfs /tmp tmpfs nodev,nosuid 0 0 UUID=2943ba53-bf5c-455d-aa74-00abf1811d8d / ext3 defaults 0 1 UUID=5bbfc6f8-b041-4deb-8f2a-7281d34c4fdf /home ext3 defaults 0 1 UUID=8bfbf145-e2b9-4367-90b2-62054d0dd738 /boot ext2 defaults 0 1 UUID=dc78a590-010e-4c16-ac5a-3d94aa6ec6c2 swap swap defaults 0 0[/code] And if I run "df": [code]Filesystem 1K-blocks Used Available Use% Mounted on rootfs 7566432 2254812 4927268 32% / /dev 1966340 0 1966340 0% /dev /run 1969184 240 1968944 1% /run /dev/sda3 7566432 2254812 4927268 32% / shm 1969184 0 1969184 0% /dev/shm[/code] Can anyone help? What's going on here?
Your fstab is naming them by UUIDs rather than /dev/sdxy, which is better and more secure. I do notice that your df doesn't show /home or /boot as mounted.
It's odd, this is just a standard Arch install, or so I thought. Indeed, my home isn't being mounted. My home directory shows 4.7GB being available, it should be 300. Output of fdisk -l: [code]Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00022674 Device Boot Start End Blocks Id System /dev/sda1 * 63 208844 104391 83 Linux Partition 1 does not start on physical sector boundary. /dev/sda2 208845 738989 265072+ 82 Linux swap / Solaris Partition 2 does not start on physical sector boundary. /dev/sda3 738990 16113194 7687102+ 83 Linux Partition 3 does not start on physical sector boundary. /dev/sda4 16113195 625137344 304512075 83 Linux Partition 4 does not start on physical sector boundary.[/code]
what's a nice stable distro that I can dual-boot with Arch? I need something that will always work. Maybe not as stable as Debian, but something that will hold up that I can use for general work/browsing that I won't have to fuck around with. I'll keep Arch for experimentation.
[QUOTE=LieutenantLeo;34466752]what's a nice stable distro that I can dual-boot with Arch? I need something that will always work. Maybe not as stable as Debian, but something that will hold up that I can use for general work/browsing that I won't have to fuck around with. I'll keep Arch for experimentation.[/QUOTE] debian testing
-snip- ok i'll get that
[QUOTE=nos217;34455835]I've recently reinstalled Arch (from Debian) and I'm having some real issues. Firstly, my / partition is being mounted read-only, causing all sorts of problems until I remount it as read-write. Secondly, my fstab file looks odd: [code]# # /etc/fstab: static file system information # # <file system> <dir> <type> <options> <dump> <pass> tmpfs /tmp tmpfs nodev,nosuid 0 0 UUID=2943ba53-bf5c-455d-aa74-00abf1811d8d / ext3 defaults 0 1 UUID=5bbfc6f8-b041-4deb-8f2a-7281d34c4fdf /home ext3 defaults 0 1 UUID=8bfbf145-e2b9-4367-90b2-62054d0dd738 /boot ext2 defaults 0 1 UUID=dc78a590-010e-4c16-ac5a-3d94aa6ec6c2 swap swap defaults 0 0[/code] And if I run "df": [code]Filesystem 1K-blocks Used Available Use% Mounted on rootfs 7566432 2254812 4927268 32% / /dev 1966340 0 1966340 0% /dev /run 1969184 240 1968944 1% /run /dev/sda3 7566432 2254812 4927268 32% / shm 1969184 0 1969184 0% /dev/shm[/code] Can anyone help? What's going on here?[/QUOTE] Every partition has a [B]U[/B]nique [B]U[/B]niversal [B]ID[/B] which never changes, whereas their /dev/sdxx designation can change spontaneously, or when you put a new hard drive in. This is less easy to use I suppose but more robust and less likely to fail. Go to /dev/disk/by-uuid and do an ls -l to find your disks' UUIDs. Since they can be long as fuck I prefer to: [code]stephen@fpc /dev/disk/by-uuid $ sudo -s [sudo] password for stephen: fpc by-uuid # cd /dev/disk/by-uuid fpc by-uuid # ls -l total 0 lrwxrwxrwx 1 root root 10 2012-01-29 12:05 2A0894200893E8D9 -> ../../sda1 lrwxrwxrwx 1 root root 10 2012-01-29 12:05 2AE827BBE82783E3 -> ../../sda2 lrwxrwxrwx 1 root root 10 2012-01-29 12:05 2cefad83-796b-4179-b511-c2ed88f793a6 -> ../../sda6 lrwxrwxrwx 1 root root 10 2012-01-29 12:05 3065a00f-a6f3-4883-aede-b004752da363 -> ../../sda5 lrwxrwxrwx 1 root root 10 2012-01-29 12:05 e2b85109-8b33-41e5-86d4-e9d2e3c54981 -> ../../sda7 fpc by-uuid # ls 2cef* >> /etc/fstab fpc by-uuid # [/code] That'll paste the UUID of the drive I selected into the end of my fstab. Then I can move it around in GNU Nano.
[QUOTE=ichiman94;34448593]I shall install Arch tomorrow (because I miss it) and dualbooting it with win7 (so I can use msOfficeAccess safely) My plans are: -Awesome as WM -Slim as login manager -base-devel packages -Everything in a minimal Arch theme -opera -nano/gedit -cli apps and mpd -sfml, so I will work on my C++ game project again -urxvt -??? Is there anything else that a programmer would need in his/her environment?[/QUOTE] I just found out about [URL="https://aur.archlinux.org/packages.php?ID=30042"]cairo-compmgr[/URL]. Same functionality as xcompmgr but it works better with awesome and has even more eye candy options. [editline]30th January 2012[/editline] [QUOTE=LieutenantLeo;34466752]what's a nice stable distro that I can dual-boot with Arch? I need something that will always work. Maybe not as stable as Debian, but something that will hold up that I can use for general work/browsing that I won't have to fuck around with. I'll keep Arch for experimentation.[/QUOTE] Arch is perfectly stable so long as you avoid pacman -Syu when you have something important to do on your computer. I've never had stability problems with Arch, only upgrading difficulties (and even then never anything system-breaking).
I'm playing with TinyCore. It's a fun little distro to play with.
[QUOTE=Lyoko774;34471934]I'm playing with TinyCore. It's a fun little distro to play with.[/QUOTE] My dad has that. It boots in like 5 seconds. Other than that, I just installed Linux Mint 12. Sooooo nice.
[QUOTE=ZenX2;34472590]My dad has that. It boots in like 5 seconds. Other than that, I just installed Linux Mint 12. Sooooo nice.[/QUOTE] It's even better when you install Cinnamon, and remove Gnome 3 and Mate. :)
Naelstrom is so helpful. For the first time ever, Arch is running on my belligerent little Acer.
Well poo, I got 32-bit instead of 64-bit I'll have to deal with that tomorrow.
How to make morons think you're hacking: 1) Go get development version of jQuery, copypaste it 2) Open SSH to development machine 3) Too lazy to do anything smart, open up nano, shift-insert, takes like a minute or more for it to paste it because of all the line breaks and extra shit in the development version of jQuery (normal, production version pastes in like 5 seconds). 4) Fullscreen SSH 5) Chill
Sorry, you need to Log In to post a reply to this thread.