Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 The Great Tiling WM Adventure + Some Wireless Stuf, Hosted by G-17

views
     
TSfarkinid
post Mar 2 2011, 03:58 PM, updated 15y ago

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


Ok guys, I've decided that enough is enough and my ubuntu login is broken. I can't even get to my login screen. The background just appears and then nothing happens. The mouse, sound, everything is working but nothing is showing (except for the background).

So, I guess im going to uninstall GDM and go with scrot. Or maybe icewm. Stupid ubuntu updates. Broke my laptop.

This post has been edited by farkinid: Jul 14 2011, 12:21 AM
powerwoot
post Mar 2 2011, 04:10 PM

讨厌的 ubuntu
*******
Senior Member
2,930 posts

Joined: Jan 2007
From: Kolej Universiti Agrosains Malaysia, Melaka



lol! 1st question, why ubuntu? when there are still lotsa super duper distros out there.
TSfarkinid
post Mar 2 2011, 04:31 PM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


Err... because ubuntu is install friendly. Minimal configurations etc. This is a work laptop and I have tons of sensitive data inside it. I think i installed ubuntu 9.10 the moment it came out... slightly over a year ago i think.

It seemed fine. Who knew that a year plus later they'd break my laptop
G-17
post Mar 3 2011, 12:22 AM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
@Farkinid
Did you try reinstalling GDM first?
Also, while in a TTY, what does gdmstart tell you?

Also, if you're the only user on the computer, the basic startx should suffice.
If you're willing to try it, just uninstall or disable gdm, then creat a ~/.xinitrc and put this line in it;
CODE
exec ck-launch-session gnome-session

then you can start it manually each time you boot with "startx"

I'm not on Ubuntu/Gnome, nor do I use GDM, but maybe the Ubuntu forums has threads about GDM-related problems, or maybe there's some PPA somewhere with a fixed/updated version of GDM?
Eventless
post Mar 3 2011, 09:00 AM

Look at all my stars!!
*******
Senior Member
2,643 posts

Joined: Jan 2003
It is probably a good time to update to a more recent version of ubuntu since 9.10 will no longer receive support after April 2011. If you don't want to do upgrades so often, try using the LTS version of ubuntu. The most recent one is 10.04 LTS which is supported until 2013 for desktop or 2015 for server.
TSfarkinid
post Mar 3 2011, 09:10 AM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


Hey G-17.

Its more than just the GDM. After 1 update the GDM doesn't work, Gnome Desktop Environment's applets have errors AND to top it off, my video drivers stopped working. After many hours of troubleshooting I have now uninstalled GDM and GDE.

I've tried moving from fglrx to mesa but I think the kernel is still pointing to the proprietary drivers. Currently my boot error is as follows :-
CODE
(EE) open /dev/fb0: No such file or directory
(EE) AIGLX error: dlopen of /usr/libdri/r600_dri.so failed (/usr/lib/dri/r600_dri.so: cannot open shared object file: No such file or directory)
(EE) AIGLX: reverting to software rendering


For the record, my drivers shouldn't be the r600. It should be RS880. I am so confused rclxub.gif
Eventless
post Mar 3 2011, 10:42 AM

Look at all my stars!!
*******
Senior Member
2,643 posts

Joined: Jan 2003
It is possible that your xorg.conf file is still referring to the fglrx driver. Try reconfiguring the xorg to use a different driver. Vesa should work in most cases.
CODE

sudo dpkg-reconfigure xserver-xorg

TSfarkinid
post Mar 3 2011, 11:50 AM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


QUOTE(Eventless @ Mar 3 2011, 10:42 AM)
It is possible that your xorg.conf file is still referring to the fglrx driver. Try reconfiguring the xorg to use a different driver. Vesa should work in most cases.
CODE

sudo dpkg-reconfigure xserver-xorg

*
Yup, thats what I thought in the 1st place. so I completely re-wrote the xorg.conf to use vesa. Result, the current set of errors you see. Before this, it was a different set of errors.

I've even tried to use Envy to fix the issue. But I get a different set of errors.
Eventless
post Mar 3 2011, 12:57 PM

Look at all my stars!!
*******
Senior Member
2,643 posts

Joined: Jan 2003
What did you update before this problem occurred? Was it the kernel? Is it possible that you don't have the ATI drivers installed for the new kernel? Did you use Envy before that?

Like I've said before, it is probably a good time to upgrade the ubuntu that you are using to a more recent version. Hopefully the upgrade will fix the problem that you are having. Do a backup before hand.
TSfarkinid
post Mar 3 2011, 01:02 PM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


QUOTE(Eventless @ Mar 3 2011, 12:57 PM)
What did you update before this problem occurred? Was it the kernel? Is it possible that you don't have the ATI drivers installed for the new kernel? Did you use Envy before that?

Like I've said before, it is probably a good time to upgrade the ubuntu that you are using to a more recent version. Hopefully the upgrade will fix the problem that you are having. Do a backup before hand.
*
Mmmmm, I can't remember what the upgrade was. I know I was kinda busy on another computer and just let the upgrade run. I don't think its the kernel either but I can't be too sure. I've never used Envy before.

Looks like a friggin reinstall is in order. Only 1 issue now, how to backup my thunderbird mails? Exporting them out to eml doesn't save the attachments. Also, I have problems loading thunderbird now. I'm more worried about the attachments than anything else.
Eventless
post Mar 3 2011, 01:56 PM

Look at all my stars!!
*******
Senior Member
2,643 posts

Joined: Jan 2003
This should give you some idea on how to backup thunderbird.

This post has been edited by Eventless: Mar 3 2011, 02:31 PM
TSfarkinid
post Mar 3 2011, 02:53 PM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


Thanks man. I'll read that. Also, any suggestions for a distro to use? I'm starting to get hooked on the scrotwm
Eventless
post Mar 3 2011, 03:16 PM

Look at all my stars!!
*******
Senior Member
2,643 posts

Joined: Jan 2003
Just try to upgrade your ubuntu and see whether that fixes your problem or not. With any luck, your problem will be solved and all your data would still be. Just make a backup of your home directory before doing the upgrade just to be sure. Reinstall if that doesn't work.

If your home folder is on a different partition, don't format it. Reuse it. Either create a user with the same username or different one. If you create a different one, copy all the files from the previous user into the new user's home folder. You may need to be root to do this. Set the user and group ownership of all the files and directory in the home directory to that of the current user. Even if you recreate a user with the same name, the uid and guid maybe different so you still need to reset the user and group ownership of the files and directories in the user's home folder.

Not too sure about other distros so can't help there.
TSfarkinid
post Mar 4 2011, 09:44 AM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


Oh just after I made the decision to move distro, I decided to lshw my lappy and I found this
CODE
*-display UNCLAIMED


The reason for my errors is that its not loading my drivers. I think I'll try another round with xorg.conf before giving up. TAK PUAS HATI!!! vmad.gif
G-17
post Mar 4 2011, 11:55 AM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
@farkinid
Sorry I wasn't here (too much work) and sorry for misunderstanding you're earlier question. I thought it was just GDM. If I had know it was more serious, I'd have checked in here more often.

It would be good if you remembered what it is you updated. Might have helped narrow it down earlier. It's most probably Xorg-related.

What specs are your computer? fglrx is ATI, right? (sorry, never used that card before, so I'm unfamiliar)If that's the case, I think the problem might stem from either ATI or Xorg devs always moving certain models of cards from main to legacy, though I could be mistaken here. for ATI, this might help = http://wiki.x.org/wiki/radeonhd

If you haven't moved distro or upgraded to a more recent Ubuntu yet, you could post your xorg.conf and your /etc/X11/XF86Config here, to help us understand what goes on in your system normally. I think "Screen" section on either might give some clues, based on the last error message you posted.

BTW, I didn't know you used ScrotWM. If you're looking for another distro, you could do a minimal Ubuntu (mini.iso or command-line install from alternate iso) and just add what you need, or maybe a Debian netinstall of Squeeze (and upgrade your sources to Testing if desired), or Crunchbang (good community, relatively light distro) if you want Apt. Other options are Arch or Crux if you can find the time (though they're not the "install and forget" types and require a bit of care).

One note if you plan to upgrade your existing install. I think for Ubuntu yu can only upgrade to the next version (10.04 in your case) each time. so if you plan to get the latest version (11.04), you'll need to download each iso and upgrade version by version. It'd be better to just save your configs and home folder in an ext-HDD and do a clean install of whatever version/distro you desire.

I'll check back in later after I get home from work.
TSfarkinid
post Mar 4 2011, 12:13 PM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


QUOTE(G-17 @ Mar 4 2011, 11:55 AM)
@farkinid
Sorry I wasn't here (too much work) and sorry for misunderstanding you're earlier question. I thought it was just GDM. If I had know it was more serious, I'd have checked in here more often.

It would be good if you remembered what it is you updated. Might have helped narrow it down earlier. It's most probably Xorg-related.

What specs are your computer? fglrx is ATI, right? (sorry, never used that card before, so I'm unfamiliar)If that's the case, I think the problem might stem from either ATI or Xorg devs always moving certain models of cards from main to legacy, though I could be mistaken here. for ATI, this might help = http://wiki.x.org/wiki/radeonhd

If you haven't moved distro or upgraded to a more recent Ubuntu yet, you could post your xorg.conf and your /etc/X11/XF86Config here, to help us understand what goes on in your system normally.  I think "Screen" section on either might give some clues, based on the last error message you posted.

BTW, I didn't know you used ScrotWM. If you're looking for another distro, you could do a minimal Ubuntu (mini.iso or command-line install from alternate iso) and just add what you need, or maybe a Debian netinstall of Squeeze (and upgrade your sources to Testing if desired), or Crunchbang (good community, relatively light distro) if you want Apt. Other options are Arch or Crux if you can find the time (though they're not the "install and forget" types and require a bit of care).

One note if you plan to upgrade your existing install. I think for Ubuntu yu can only upgrade to the next version (10.04 in your case) each time. so if you plan to get the latest version (11.04), you'll need to download each iso and upgrade version by version. It'd be better to just save your configs and home folder in an ext-HDD and do a clean install of whatever version/distro you desire.

I'll check back in later after I get home from work.
*
Thanks for the assist guys (Eventless and G-17). To be honest, the only reason I want to fix it is to understand what went wrong. Whether or not I manage to fix it, I've decided to move to a different distro. Ubuntu has been great while it lasted but I am getting better progress on Debian and our own SimpleLinux (although slax still confuses the crap out of me).

As for ScrotWM, I only started when my GDM + GDE + drivers broke. Decided its time for a new adventure in Linux (eventhough my iptables transparent firewall isn't ready). So far I'm really liking Scrot + dwm although I haven't really found the line that separates the two. And I still haven't figured out how to customize it.

Distro-wise, I want to move to something that will is just install + 1st configuration and then forget. This lappy has waaaaay to much sensitive data. I like the idea of Debian or Crunchbang. I've been looking at both (also i haz preference for apt).

My comp (very long. beware):
» Click to show Spoiler - click again to hide... «

G-17
post Mar 4 2011, 07:44 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
That's your lshw output isn't it, dear?
Do you have a /etc/X11/XF86Config file? If yes, could you post the contents as well, or that of an equivalent xorg.conf if you have one.

This might be risky, but you could add a Debian mirror to your sources list, and have it point to its unstable branch, and then upgrade your xorg and video drivers, but it could break everything further, so I advice against it, but it is an option. I'm not quite sure how Ubuntu configures Apt these days, but you might have to do some apt-pinning if you do upgrade xorg via Debian Unstable sources, since it might default back to downgrading the Ubuntu 9.10 version on the next update/upgrade.

Also, it looks like a AMD-Turion laptop with an ATI gfx chipset that shares your physical memory. If that's true, than you initial attempt at getting the mesa stack working would have obviously failed since mesa is for Intel chipsets, which your laptop's motherboard most probably does not have. AMD systems usually don't have any Intel graphics/wireless/controller chipsets on board, whether desktop or laptop, as far as I know.


QUOTE(farkinid @ Mar 4 2011, 12:13 PM)
As for ScrotWM, I only started when my GDM + GDE + drivers broke. Decided its time for a new adventure in Linux (eventhough my iptables transparent firewall isn't ready). So far I'm really liking Scrot + dwm although I haven't really found the line that separates the two. And I still haven't figured out how to customize it.
I think howtoforge has/had some good articles on iptables... you might want to check em out in future.

I think I once posted a 'template' scrotwm.conf file somewhere on these forums, which members liek Acid_RuleZ sorta liked (I hope). I could help you make a simple one as a starting point if you want. Also have some old DWM config.h files, though these were for very specialized behavious, so I doubt a DWM-virgin would find wm useful. I could also cook-up a template DWM config for you, but it might take some time, as I've been a bit out of touch with it.

ScrotWM and DWM have a similar feel to them, but Scrot (imho) is much more sensible. It's also a tad faster (noticeable only on old hardware prolly, I doubt there'll be a difference on a modern multi-core processor) and doesn't require you to recompile everytime you change the config file like you need to for DWM. They're both written in C mostly, but Scrot is configured in plain human syntax (English), while DWM is configured in C. DWM has been around longer, so it's better on the stability front, and there are a lot of patches available that give specialized tiling layouts like a spiralled or Fibonacci sequence inspired view. There are also special forks of it like the Dwm-Sprinkles mod. I personally prefer ScrotWM for my tiling (I was a long time DWM user, even contributed patches directly to Suckless) these days, since it's all I need. I might be a tad biased, since ScrotWM is originally BSD based, and I'm a long time user of Free and Open BSD. BSD apps tend to be higher quality than Linux projects, in my experience. Just compare BSD manuals next to Linux man pages side-by-side and you'll understand.

Other tilers you might want to look at are Musca (another favourite of mine), Xmonad (if you like Haskell), WMFS (window manager from scratch), AwesomeWM (awfulWM in my opinion, but lots of people like it), Wmii (DWM's big sister) and Subtle (requires Ruby)

I wouldn't recommend you install a tiling WM and use it as your primary, since there's usually a learning curve involved. A perfect compromise would be a lightweight stacking/floating WM like Openbox or Fluxbox, or if you want a DE then maybe Xfce, and then a tilingWM that doesn't require a lot of dependencies, like DWM, Wmii or ScrotWM...and then you switch between them via GDM, Slim or xinitrc, depending on what work you wanna do.



QUOTE
Distro-wise, I want to move to something that will is just install + 1st configuration and then forget. This lappy has waaaaay to much sensitive data. I like the idea of Debian or Crunchbang. I've been looking at both (also i haz preference for apt).
If it's Debian, I personally do a netinstall or start from GRML, but that might not be your thing.

If it's apt, Crunchbang (either the Openbox or Xfce version) might be a good fit for you. It should have most codecs out of the box, plus it has an awesome "CB-Welcome-Script" that runs the first time you boot into it after a HD install, where it asks you if you want additional apps/libs/daemons like, O.Office, samba, dev-tools...etc. Plus, it defaults to Squeeze which is more reliable than most things. You can upgrade to testing or Sid later to make it a rolling-release, at the expense of some stability.

Another good candidate would be Linux Mint Debian (LMDE) which is based on Debian Testing. It's your typical Mint Gnome environment in terms of feel, which most Ubuntu users will find familiar, I think.

Only thing I'm a bit worried about with regards to your hardware and Debian is your ATI gfx chipset. I can't say I'm that familiar with ATI, but some people have had problems with various cards. I guess it's sorta like dying your hair ... you won't know until you try for yourself.

This post has been edited by G-17: Mar 4 2011, 07:52 PM
TSfarkinid
post Mar 5 2011, 01:02 AM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


Yup, thats my lshw. Its the simplest way to give details on laptop. I've decided to move on and not try and fix the laptop because I need it for work. If it weren't for that fact, I'll be stuck on it the whole weekend trying to figure out what went wrong.

As for iptables, I think I understand iptables. The problem is that I'm making a very specialized kind of firewall. Its more like a firewall + NAT + packet sniffer (for wireless network) + capture portal + optional radius server. There is another part to this but I don't really wanna talk about it publicly yet. If you do wanna know, I'll gladly PM you. This will help me be evil around my neighbourhood.

Regarding Scrot, yes pls on the example scrot.conf file. I'm about to format my laptop now as I type this. Procrastinating a little because I've got my doubts. Gonna do a Debian Netinst. I wonder how this is gonna work out. I've never done this sort of install before. Lets hope for the best blush.gif

Edit: Dammit, I shouldn't have chosen SG as mirror. I forgot their connection keeps dying out for some reason. AND its slow.... boo NUS, I expected more from you.

This post has been edited by farkinid: Mar 5 2011, 01:42 AM
G-17
post Mar 5 2011, 01:54 AM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
@Farkinid
Check post #122 of this page. I included a scrotwm.conf and a couple more there.
Read what's typed out in that post carefully, since it requires you to download some stuff.

As for Debian,
The netinstall will ask what kind of install you want, and you can select an environment if desired (shouldn't be too long if your Unifi gives the speed it advertised) or you can install to command-line only (base system) and then add what you need. If you take the latter route, first thing you'll have to do is edit your sources.list to enable non-free and contrib repos. Basically just modify every source to have "main" "contrib" and "non-free" ... sorta like this if you're on Squeeze;

CODE
## Official Debian Repositories:
deb http://ftp.de.debian.org/debian/ squeeze main contrib non-free
# deb-src http://ftp.de.debian.org/debian/ squeeze main contrib non-free
deb http://security.debian.org/ squeeze/updates main
# deb-src http://security.debian.org/ squeeze/updates main


and apt-get update/upgrade

If you want testing or unstable, just replace the "squeeze" with "testing" or "unstable" ... won't be as rock-solid as Squeeze, obviously, but Debian Testing is still much more stable than 99% of distros out there.

Then (again, if you installed the base system only) you'll need to install xorg (or xserver-xorg) and your preferred DE or WM. I'm not sure if Xterm comes included in a base install, but you should install it (it can serve as a backup terminal if nothing else). Install drivers if required (your Atheros Wifi should work out of the box... I think) and wicd / wicd-curses to get wireless working. You can then create a file called .xinitrc (https://wiki.archlinux.org/index.php/Xinitrc) to startX, or just install GDM if you're more comfy with that. Then additional stuff (like urxvt, terminus, a file manager like thunar or pcmanfm, conky if desired, htop).

It should be pretty straightforward if you're just taking a standard Debian route. I doubt you'll wanna do advanced symlinking and scripting this soon into your install.

Hope this helps.

P.S ... Sorry for any typos you find. It's Friday night / Saturday morning and I just got back from some moderate drinking =P
TSfarkinid
post Mar 5 2011, 02:36 AM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


QUOTE(G-17 @ Mar 5 2011, 01:54 AM)
@Farkinid
Check post #122 of this page. I included a scrotwm.conf and a couple more there.
Read what's typed out in that post carefully, since it requires you to download some stuff.

As for Debian,
The netinstall will ask what kind of install you want, and you can select an environment if desired (shouldn't be too long if your Unifi gives the speed it advertised) or you can install to command-line only (base system) and then add what you need. If you take the latter route, first thing you'll have to do is edit your sources.list to enable non-free and contrib repos. Basically just modify every source to have  "main" "contrib" and "non-free" ... sorta like this if you're on Squeeze;

CODE
## Official Debian Repositories:
deb http://ftp.de.debian.org/debian/ squeeze main contrib non-free
# deb-src http://ftp.de.debian.org/debian/ squeeze main contrib non-free
deb http://security.debian.org/ squeeze/updates main
# deb-src http://security.debian.org/ squeeze/updates main


and apt-get update/upgrade

If you want testing or unstable, just replace the "squeeze" with "testing" or "unstable" ... won't be as rock-solid as Squeeze, obviously, but Debian Testing is still much more stable than 99% of distros out there.

Then (again, if you installed the base system only) you'll need to install xorg (or xserver-xorg) and your preferred DE or WM. I'm not sure if Xterm comes included in a base install, but you should install it (it can serve as a backup terminal if nothing else). Install drivers if required (your Atheros Wifi should work out of the box... I think) and wicd / wicd-curses to get wireless working. You can then create a file called .xinitrc (https://wiki.archlinux.org/index.php/Xinitrc) to startX, or just install GDM if you're more comfy with that. Then additional stuff (like urxvt, terminus, a file manager like thunar or pcmanfm, conky if desired, htop).

It should be pretty straightforward if you're just taking a standard Debian route. I doubt you'll wanna do advanced symlinking and scripting this soon into your install.

Hope this helps.

P.S ... Sorry for any typos you find. It's Friday night / Saturday morning and I just got back from some moderate drinking =P
*
Fuah, so late still awake.

I already got past the installation. Lets see what I've done so far :-
  1. x-server = installed
  2. WM = ScrotWM (installed)
  3. Graphical Login = SLIM (can't find it yet)
  4. file manager = Midnight Commander (installed YEEEEaaaaah)
  5. wireless = down (dunno how to set this up yet)
Thats pretty much as far as I have gotten. Oh also.. just installed sudo

Oh also, 1 more thing... I don't know why but everytime i press backspace too much, i get an annoying buzz from my speakers. How do i kill that?

This post has been edited by farkinid: Mar 5 2011, 02:39 AM
G-17
post Mar 5 2011, 02:53 AM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(farkinid @ Mar 5 2011, 02:36 AM)
Fuah, so late still awake.

Hah... first time I installed Gentoo years ago, I didn't sleep the whole weekend, and went to work on Monday looking like a heroin-addicted refugee ... and I still broke the install after all that >_<

QUOTE
I already got past the installation. Lets see what I've done so far :-



  1. x-server = installed

  2. WM = ScrotWM (installed)

  3. Graphical Login = SLIM (can't find it yet)

  4. file manager = Midnight Commander (installed YEEEEaaaaah)

  5. wireless = down (dunno how to set this up yet)

Thats pretty much as far as I have gotten. Oh also.. just installed sudo

Forgot to tell you that you'll need alsa (or alsa-base) for sound.

Never used SLIM before. It's always been standard startx or XDM for me. Try this;
http://rustyshacklefordslibrarycard.wordpr...debian-squeeze/

For wireless, install wicd. Then type "wicd-curses" to set up your wireless.


QUOTE
Oh also, 1 more thing... I don't know why but everytime i press backspace too much, i get an annoying buzz from my speakers. How do i kill that?
*

I dunno. I remember reading something about it (you'll have to blacklist your pc-beep speaker), I'll search for the solution tomorrow.... I cannot stay awake already... very tired X_X

This post has been edited by G-17: Mar 8 2011, 09:04 PM
TSfarkinid
post Mar 5 2011, 03:05 AM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


QUOTE(G-17 @ Mar 5 2011, 02:53 AM)
Hah... first time I installed Gentoo years ago, I didn't sleep the whole weekend, and went to work on Monday looking like a heroin-addicted refugee ... and I still broke teh install after all that >_<
Forgot to tell you that you'll need alsa (or alsa-base) for sound.

Never used SLIM before. It's always been standard startx or XDM for me. Try this;
http://rustyshacklefordslibrarycard.wordpr...debian-squeeze/

For wireless, install wicd. Then type "wicd-curses" to set up your wireless.
I dunno. I remember reading something about it (you'll have to blacklist your pc-beep speaker), I'll search for the solution tomorrow.... I cannot stay awake already... very tired X_X
*
Yup, i got alsa up pretty fast. SLiM is done too. I'm reaching limit already. Gotta sleep. Good nighte man


Added on March 5, 2011, 9:27 pmAlright, I'm stumped. I can't get transparent xterm on scrotwm. What other x-terminal-emulator is there which supports transparency?

This post has been edited by farkinid: Mar 5 2011, 09:27 PM
G-17
post Mar 6 2011, 12:40 AM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(farkinid @ Mar 5 2011, 03:05 AM)
Alright, I'm stumped. I can't get transparent xterm on scrotwm. What other x-terminal-emulator is there which supports transparency?
*

I use URxvt (rxvt-unicode package in Debian repos) which can easily do pseudo-transparency. The scrotwm.conf I shared is configured to open URxvt, and the .Xdefaults are configured for URxvt also. If you want something a bit easier to configure (as in right-click and use the GUI) then xfce4-terminal is pretty decent.

Note: If you decide to go for URxvt, then download them via apt-get for your system, and then go here and grab the package available for Sid/Unstable;
http://packages.debian.org/sid/rxvt-unicode
That version has support for 256-colors (good for certain VIM themes) as well as real transparency if you have compositing installed and enabled in your WM/DE. Just scroll down to the bottom of the page and grab the deb package for your architecture. You'll need gdebi installed to extract .deb files, obviously. Dependencies should be satisfied already if you installed the prior version via apt.

This post has been edited by G-17: Mar 6 2011, 12:41 AM
TSfarkinid
post Mar 6 2011, 01:57 AM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


hmm that sounds good but I can't find the scrotwm.conf here.

Also, I've already played around with SLiM and Midnight Commander. Just don't have the brain power to handle Scrot right now. Will appreciate your conf file.
Acid_RuleZz
post Mar 6 2011, 02:08 AM

ミウ ❤
*******
Senior Member
6,612 posts

Joined: Jan 2003
From: Tomorrow


QUOTE(farkinid @ Mar 6 2011, 01:57 AM)
hmm that sounds good but I can't find the scrotwm.conf here.

Also, I've already played around with SLiM and Midnight Commander. Just don't have the brain power to handle Scrot right now. Will appreciate your conf file.
*
create 1 in ~/

refer to this post by G
http://forum.lowyat.net/index.php?showtopi...&#entry38616789
G-17
post Mar 6 2011, 02:08 AM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
Gaah ... sorry... just realized I didn't actually post the link >_<

http://forum.lowyat.net/topic/1637124/+121
Read, download and place the config where it's supposed to go.
Also includes a basic .Xdefaults with one of my colorschemes to match the .scrotwm.conf colors, and also a .bashrc if you want (it's pretty basic though ... I haven't used a bashrc in a while since I migrated to zsh)

Edit: you might need to modify some of the quirks that control the floating behaviour, since I configured it for other people who use Nautilus as their primary FM.


Added on March 6, 2011, 5:18 amEdit2: Regarding that speaker beep you mentioned yesterday, I found I had a similar issue on my old ThinkPad earlier today. This was in Gentoo, but should work universally on any Linux system.

As root, open up your /etc/modprobe.d/blacklist.conf with your desired editor.

Then add this to the end;
CODE
#disable annoying pc speaker beep
blacklist pcspkr


Save.

Fire up your terminal and do this to unload the pcspkr module.
CODE
rmmod pcspkr


Worked for me, and I hope it does the trick for you too.

This post has been edited by G-17: Mar 6 2011, 07:49 AM
TSfarkinid
post Mar 6 2011, 03:25 PM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


QUOTE(Acid_RuleZz @ Mar 6 2011, 02:08 AM)
thanks man

QUOTE(G-17 @ Mar 6 2011, 02:08 AM)
Gaah ... sorry... just realized I didn't actually post the link >_<

http://forum.lowyat.net/topic/1637124/+121
Read, download and place the config where it's supposed to go.
Also includes a basic .Xdefaults with one of my colorschemes to match the .scrotwm.conf colors, and also a .bashrc if you want (it's pretty basic though ... I haven't used a bashrc in a while since I migrated to zsh)

Edit: you might need to modify some of the quirks that control the floating behaviour, since I configured it for other people who use Nautilus as their primary FM.


Added on March 6, 2011, 5:18 amEdit2: Regarding that speaker beep you mentioned yesterday, I found I had a similar issue on my old ThinkPad earlier today. This was in Gentoo, but should work universally on any Linux system.

As root, open up your /etc/modprobe.d/blacklist.conf with your desired editor.

Then add this to the end;
CODE
#disable annoying pc speaker beep
blacklist pcspkr


Save.

Fire up your terminal and do this to unload the pcspkr module.
CODE
rmmod pcspkr


Worked for me, and I hope it does the trick for you too.
*
yup, I've done the annoying beeps already. thanks.

As for the scrotwm.conf, I wonder whats going to happen since I already chose to use Midnight Commander as my file manager. Its pretty lightweight and highly configurable but really configuration heavy.


G-17
post Mar 6 2011, 05:04 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(farkinid @ Mar 6 2011, 03:25 PM)
As for the scrotwm.conf, I wonder whats going to happen since I already chose to use Midnight Commander as my file manager. Its pretty lightweight and highly configurable but really configuration heavy.
*

Well, you just comment out the Nautilus quirk (I think I only put 1 in there), since you'll usually start MC in a term, or if you want a keycombo to launch it, you can do "urxvt -e mc" (if you're using urxvt, that is).

As for Midnight Commander, it all depends on the user's level of comfort. I used to be a huge fan or Norton Commander (which MC is based on), so transitioning to MC was natural for me. Recently, I've gotten more mileage with Ranger (you'll have to install from source) with it's Vi keybindings and simple layout. Other CLI file managers you can try are Vifm and FDclone, both are in standard Debian repos. I prefer CLI, but one disadvantage some people might not be able to live with is the lack of USB/SD-card hotplugging support. Depends on the user.

There's nothing wrong with using a graphical file manager, but most people who use lightweight window managers tend to prefer lighter types like Thunar, Gentoo or PCmanFM.

If you need any other assistance with regards to ScrotWM (or any other WM, for that matter), feel free to ask. smile.gif Some people have had trouble getting their startup apps and wallpaper to when when starting ScrotWM, for example. It's just a matter of creating a simple script, making it executable, and have your GDM/SLIM/.xinitrc config point to it.

Cheers~

This post has been edited by G-17: Mar 6 2011, 07:56 PM
TSfarkinid
post Mar 7 2011, 01:15 AM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


QUOTE(G-17 @ Mar 6 2011, 05:04 PM)
Well, you just comment out the Nautilus quirk (I think I only put 1 in there), since you'll usually start MC in a term, or if you want a keycombo to launch it, you can do "urxvt -e mc" (if you're using urxvt, that is).

As for Midnight Commander, it all depends on the user's level of comfort. I used to be a huge fan or Norton Commander (which MC is based on), so transitioning to MC was natural for me. Recently, I've gotten more mileage with Ranger (you'll have to install from source) with it's Vi keybindings and simple layout. Other CLI file managers you can try are Vifm and FDclone, both are in standard Debian repos. I prefer CLI, but one disadvantage some people might not be able to live with is the lack of USB/SD-card hotplugging support. Depends on the user.

There's nothing wrong with using a graphical file manager, but most people who use lightweight window managers tend to prefer lighter types like Thunar, Gentoo or PCmanFM.

If you need any other assistance with regards to ScrotWM (or any other WM, for that matter), feel free to ask. smile.gif Some people have had trouble getting their startup apps and wallpaper to when when starting ScrotWM, for example. It's just a matter of creating a simple script, making it executable, and have your GDM/SLIM/.xinitrc config point to it.

Cheers~
*
Thanks man. I've already gotten the wallpaper up and running. I know how to get the startup apps running (I think) but I haven't done it because I don't really want anything running on boot. Basically I've decided to let SLIM do the startups.


Added on March 7, 2011, 12:15 pmOh crap, need some help with midnight commander. I can't seem to open .zip files. I'm not sure what software to use. For .tar.gz files MC uses utar. Oh wai... i got it..... nvm...

On a side note, Arch users are called Archers. Slackware guys are called Slackers, what about debian guys then?

Oh great, another problem. I just realized my touchpad is either scroll enabled or tap-click enabled. On default installation, the scroll on the touchpad was working. But after I managed to get my tap-click, the scroll has been disabled.

Tried using gpointing-device-settings to enable both at the time but it doesn't seem to find the touchpad. 'sudo tpconfig' shows that Synaptic touchpad found, firmware 8.96. Pretty confused now.

This post has been edited by farkinid: Mar 7 2011, 04:43 PM
G-17
post Mar 7 2011, 10:34 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE
Oh crap, need some help with midnight commander. I can't seem to open .zip files. I'm not sure what software to use. For .tar.gz files MC uses utar. Oh wai... i got it..... nvm...

Huh what?! laugh.gif
Can or not?

QUOTE
On a side note, Arch users are called Archers. Slackware guys are called Slackers, what about debian guys then?

Human beings. Debian is the "Universal Operating System" after all.
I tend to use Archtards and Debtards (from Retard) and Slackbums.
I have no idea what I am, though... seeing as I have all these (and more) installed on various systems.... Maybe B*stard or Pariah laugh.gif

QUOTE
Oh great, another problem. I just realized my touchpad is either scroll enabled or tap-click enabled. On default installation, the scroll on the touchpad was working. But after I managed to get my tap-click, the scroll has been disabled.

Tried using gpointing-device-settings to enable both at the time but it doesn't seem to find the touchpad. 'sudo tpconfig' shows that Synaptic touchpad found, firmware 8.96. Pretty confused now.

Hmm ... I'm unfamiliar with gpointing device (been years since I used that syntax).
I mostly use synclient (not sure if your touchpad supports it or not, but should be since you said it found Synaptics pointing device on your system) and have the variables in a script I use to start ScrotWM (or relevant autostart files for other wm)

For example, I have my power manager, screensaver, touchpad synclient variables, wallpaper (with feh) and thunar daemon (for when I need USB drag n drop) included to start right before I start scrotwm. I name the script "scrotwm.sh", put it in my $PATH (/bin in my case) and make it executable, and have an "exec scrotwm.sh" line in my .xinitrc (you can do the same for SLIM or GDM, though I'm not sure if the 'exec' is required)

Here's an example;
CODE
#!/bin/bash

#Power Settings
xfce4-power-manager &

#Wallpaper
feh --bg-scale /home/farkinid/wallpapers/Packy-X-Bota-Yaoi-Hentai.jpg &

#US keymap
setxkbmap us &

#Thunar File Manager Hot-plugging/Mounting
thunar --daemon &

#Touchpad
synclient TapButton1=1 &
synclient VertEdgeScroll=1 &
synclient HorizEdgeScroll=1 &

#Screensaver
xscreensaver -no-splash &

sleep .2
scrotwm


You don't really need this script if you can just figure out how to insert the relevant synclient variables in your SLIM config. I just posted that for future reference, just in case.

You can do "synclient -l" in terminal to see what variables are enabled/disabled. There's also the more modular method of editing the synaptics.conf file. See here; https://wiki.archlinux.org/index.php/Touchpad_Synaptics

TBH, I don't really bother with touchpad functionality, since one can almost completely forget about the mouse in Tiling WMs ..... except for browsing certain sites that aren't Pentadactyl/Vimperator compatible, or apps like Gimp/Inkscape/etc.

________________________________________________________________________________________________________

Btw, you might want to rename the thread title (if possible), since it's morphed from "Ubuntu GDM Login Broken" to "Farkinid's Adventures With Debian & Tiling WMs" wink.gif

This post has been edited by G-17: Mar 8 2011, 03:02 AM
TSfarkinid
post Mar 8 2011, 09:58 AM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


Ok, thread renamed. Enjoy biggrin.gif

As for the touchpad, the following works :-
CODE
synclient TapButton1=1 &

Now I gotta make it run on boot. I've figured out why it didn't use to work though. I had created touchpad.conf and placed it into the modprobe.d folder. That managed to get my click-tap on but disabled scroll. Once I deleted the conf and ran synclient, it worked.

I'm curious though, if I put the synclient command into touchpad.conf, will it work? We'll find out later today I guess.


Added on March 8, 2011, 11:22 amOh, 1 more thing. I'm stumped. How do I take a screenshot? (stop laughing at me). I tried using screenshot.sh and put it in ~/bin. But when I do that, instead of getting a screenshot, I get the same buzz I used to get before I blacklisted pcspkr.

This post has been edited by farkinid: Mar 8 2011, 11:22 AM
G-17
post Mar 8 2011, 12:32 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(farkinid @ Mar 8 2011, 09:58 AM)

Added on March 8, 2011, 11:22 amOh, 1 more thing. I'm stumped. How do I take a screenshot? (stop laughing at me). I tried using screenshot.sh and put it in ~/bin. But when I do that, instead of getting a screenshot, I get the same buzz I used to get before I blacklisted pcspkr.
*

Why would I laugh at you?
» Click to show Spoiler - click again to hide... «


Are you sure your ~/bin is in your $PATH

To see what's in your current $PATH, do this in terminal;
CODE
echo $PATH


...and to add your~/bin to $PATH, do this;
CODE
PATH=$PATH:/home/xxxx/bin

Replace 'xxxx' with your user name

With regards to screenshots, I don't use ScrotWM's included screenshot script. I prefer simple scrot.
Note: scrot and scrotwm are totally different packages. the former is a screenshot taking tool and the latter is the wm.

just "apt-get install scrot" and then use it from terminal

Examples:
scrot = takes instant screenshot
scrot -d x = takes screenshot after x delay (replace x with a number for seconds)
scrot -cd x = same as above, but it displays a visual countdown for you. (see my last screenshot in the screenshot thread here)

You can do "man scrot" in terminal for more variables, or refer here = http://pwet.fr/man/linux/commandes/scrot

smile.gif

P.S
Could you remove the "Hosted by" part from the thread title. Very embarassing/paiseh/malu lah. sweat.gif

This post has been edited by G-17: Mar 8 2011, 12:42 PM
TSfarkinid
post Mar 8 2011, 12:53 PM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


QUOTE(G-17 @ Mar 8 2011, 12:32 PM)
Why would I laugh at you?
» Click to show Spoiler - click again to hide... «


Are you sure your ~/bin is in your $PATH

To see what's in your current $PATH, do this in terminal;
CODE
echo $PATH


...and to add your~/bin to $PATH, do this;
CODE
PATH=$PATH:/home/xxxx/bin

Replace 'xxxx' with your user name

With regards to screenshots, I don't use ScrotWM's included screenshot script. I prefer simple scrot.
Note: scrot and scrotwm are totally different packages. the former is a screenshot taking tool and the latter is the wm.

just "apt-get install scrot" and then use it from terminal

Examples:
scrot = takes instant screenshot
scrot -d x = takes screenshot after x delay (replace x with a number for seconds)
scrot -cd x = same as above, but it displays a visual countdown for you. (see my last screenshot in the screenshot thread here)

You can do "man scrot" in terminal for more variables, or refer here = http://pwet.fr/man/linux/commandes/scrot

smile.gif

P.S
Could you remove the "Hosted by" part from the thread title. Very embarassing/paiseh/malu lah. sweat.gif
*
Yup, my path is definitely ~/bin. I checked before I cp-d the script there.

I also already have scrot. The screenshot.sh bash script uses scrot to take the picture. I can't figure out what I'm doing wrong though. Will read through man scrot. (I hope my boss doesn't realize that I'm pretending to work instead of actually working).

As for the title... NO! I like it there tongue.gif
Having your name there will give newbies comfort that they are getting info from a guru instead of just farkinid.

Edit : ok after reading thru the man. I think i got it. Attached is result

This post has been edited by farkinid: Mar 8 2011, 01:06 PM


Attached thumbnail(s)
Attached Image
G-17
post Mar 8 2011, 08:58 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
^ Wah!! ... that's a very serious looking desktop, girl!!

Now you should start theming it.
Start with your .Xdefaults
https://bbs.archlinux.org/viewtopic.php?id=51818&p=1
http://crunchbanglinux.org/forums/topic/99...ith-screenshot/

I assume you're on the default bash/dash shell (rather than zsh or ksh)
Look here: https://wiki.archlinux.org/index.php/Color_Bash_Prompt

Edit: to theme MC, look here:
http://plug-and-pray.blogspot.com/2009/09/...ders-color.html

Also try these wonderful Term Apps;

IRC: Weechat, Irssi

IM : CenterIM, Finch

RSS/Atom Feeds: Newsbeuter, Snownews, Raggle

Mail: Alpine, Mutt
Alpine is easier to set up. Mutt can be a b*tch, but is highly customizable

Browser: Elinks, W3m, Links2

Audio: MoC, MPD/Ncmpcpp, Cmus, Orpheus
I personally use MoC because of it's in-built EQ, but many people like Ncmpcpp

Video: Mplayer. use "mplayer -msgcolor -msgmodule file.extension" to get colored output like this. You can set an alias for it in your ~/.bashrc

Editor: Vim

Here's a great blog by a friend from the Arch/Ubuntu forums.
http://kmandla.wordpress.com/

This post has been edited by G-17: Mar 8 2011, 09:56 PM
Acid_RuleZz
post Mar 9 2011, 04:44 AM

ミウ ❤
*******
Senior Member
6,612 posts

Joined: Jan 2003
From: Tomorrow


Just want to share my Great Debian Tiling Wm Adventure.. hosted by G-17 tongue.gif

1. My Volume buttons won't work out of the box. I had to add this lines into .scrotwmconf to enable it.

QUOTE
program[voldown]    = amixer sset -q Master,0 5%-
bind[voldown]      = XF86AudioLowerVolume
program[volup]      = amixer sset -q Master,0 5%+
bind[volup]        = XF86AudioRaiseVolume
program[mute]      = amixer sset -q Master,0 toggle
bind[mute]          = XF86AudioMute


2. Instead of "feh --bg-scale <insertpath>" i use "sh ~/.fehbg" to change my wallpaper so i don't have to reedit the path in my startup script everytime i want to change it.

3. I had to put "cpufreq-set -g ondemand" in my startup script to set my cpu scaling to Ondemand. Default is Performance.

@farkinid
do you have dmenu installed?
TSfarkinid
post Mar 9 2011, 10:14 AM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


QUOTE(G-17 @ Mar 8 2011, 08:58 PM)
^ Wah!! ... that's a very serious looking desktop, girl!!

Now you should start theming it.
Start with your .Xdefaults
https://bbs.archlinux.org/viewtopic.php?id=51818&p=1
http://crunchbanglinux.org/forums/topic/99...ith-screenshot/

I assume you're on the default bash/dash shell (rather than zsh or ksh)
Look here: https://wiki.archlinux.org/index.php/Color_Bash_Prompt

Edit: to theme MC, look here:
http://plug-and-pray.blogspot.com/2009/09/...ders-color.html

Also try these wonderful Term Apps;

IRC: Weechat, Irssi

IM : CenterIM, Finch

RSS/Atom Feeds: Newsbeuter, Snownews, Raggle

Mail: Alpine, Mutt
Alpine is easier to set up. Mutt can be a b*tch, but is highly customizable

Browser: Elinks, W3m, Links2

Audio: MoC, MPD/Ncmpcpp, Cmus, Orpheus
I personally use MoC because of it's in-built EQ, but many people like Ncmpcpp

Video: Mplayer. use "mplayer -msgcolor -msgmodule file.extension" to get colored output like this. You can set an alias for it in your ~/.bashrc

Editor: Vim

Here's a great blog by a friend from the Arch/Ubuntu forums.
http://kmandla.wordpress.com/
*
Thanks, I like serious looking desktops. Makes me look like a serious computer geek & virgin for life tongue.gif

QUOTE(Acid_RuleZz @ Mar 9 2011, 04:44 AM)
Just want to share my Great Debian Tiling Wm Adventure.. hosted by G-17  tongue.gif

1. My Volume buttons won't work out of the box. I had to add this lines into .scrotwmconf to enable it.
2. Instead of "feh --bg-scale <insertpath>" i use "sh ~/.fehbg" to change my wallpaper so i don't have to reedit the path in my startup script everytime i want to change it.

3. I had to put "cpufreq-set -g ondemand" in my startup script to set my cpu scaling to Ondemand. Default is Performance.

@farkinid
do you have dmenu installed?
*
Yes actually, I do have dmenu. Thanks for the keyboard volume shortcuts. I was wondering how to do it but wasn't high on priority (being forced to listen to myFM everyday makes me play my music loud)
G-17
post Mar 9 2011, 01:09 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(Acid_RuleZz @ Mar 9 2011, 04:44 AM)
3. I had to put "cpufreq-set -g ondemand" in my startup script to set my cpu scaling to Ondemand. Default is Performance.

This is actually a vety good suggestion. Thanks for pointing this out.
I thought most recent versions of Debian came with cpufreq defaulting to "ondemand" via Kernel parameters. "cpufreq-info" in terminal has always showed "ondemand" being selected for most Debian installs I've done this past year or so.
Maybe it doesn't default for AMD processors... Hmmm hmm.gif

QUOTE
@farkinid
do you have dmenu installed?
Doesn't apt automatically pull in dmenu when you install the scrotwm (or dwm) package? It would be strange if it didn't, seeing as the default scrotwm.conf already has a dmenu launching entry in it, and scrotwm's bar is designed to seamlessly transition to dmenu.

___________________________________________________________________________

BTW, since this is tilingWM thread, I have some old DWM, Awesome and Xmonad configs lying around. I don't use these WMs anymore, but I can post them if anyone wants to try em out one day. I offer no support though, especially for Awesome (cos it's a pain in the a**)

Cheers.

TSfarkinid
post Mar 9 2011, 07:02 PM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


OK, you guys have been a great help. But I have to ask a really really really really noob question now. I've been trying to get
CODE
synclient Tapbutton1=1 &

to run on boot the last 4 days with no luck. What am I missing?

I'm a little confused with xinit, xsession and slim.
Acid_RuleZz
post Mar 9 2011, 08:16 PM

ミウ ❤
*******
Senior Member
6,612 posts

Joined: Jan 2003
From: Tomorrow


QUOTE(G-17 @ Mar 9 2011, 01:09 PM)
This is actually a vety good suggestion. Thanks for pointing this out.
I thought most recent versions of Debian came with cpufreq defaulting to "ondemand" via Kernel parameters. "cpufreq-info" in terminal has always showed "ondemand" being selected for most Debian installs I've done this past year or so.
Maybe it doesn't default for AMD processors... Hmmm hmm.gif

Doesn't apt automatically pull in dmenu when you install the scrotwm (or dwm) package? It would be strange if it didn't, seeing as the default scrotwm.conf already has a dmenu launching entry in it, and scrotwm's bar is designed to seamlessly transition to dmenu

Cheers.
*
1. I had to set it on Ubuntu Maverick before. No problem in Crunchbang.

2. Oh yeah i forgot about that. tongue.gif
G-17
post Mar 9 2011, 08:34 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(farkinid @ Mar 9 2011, 07:02 PM)
OK, you guys have been a great help. But I have to ask a really really really really noob question now. I've been trying to get
CODE
synclient Tapbutton1=1 &

to run on boot the last 4 days with no luck. What am I missing?

I'm a little confused with xinit, xsession and slim.
*

It's not a noob question. Nothing to be embarassed about, dear.

xinit usually means .xinitrc ..... It's a file people create to start X manually via typing "startx" in your tty upon boot.

xsession usually means /usr/share/xsession directory. here you create relevant .desktop files for GDM to pick up. If you had GDM installed before you installed scrotwm, then apt would most probably create a scrotwm.desktop entry there for you.

slim, I'm not so sure, as I've never used it before (I'm mostly a .xinitrc guy)
Maybe you can paste your slim config file here and I'll see what I can do.
You remember the script I showed a few posts above. You can try creating one and put your relevant start daemons in it like I showed you (make sure you end with the sleep and scrotwm lines) and make it executable and put it in /bin (or anywhere, actually) and then set your slim to start that script instead of the scrotwm executable.

TSfarkinid
post Mar 10 2011, 10:50 AM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


Here is slim.conf
» Click to show Spoiler - click again to hide... «


The thing is, I don't have an .xinitrc anywhere. When I try to put 1 in /home/(username)/ my boot fails. So I'm a little confused.

The command
CODE
find / -name '.xinitrc'
doesn't return any results. Also, with slim, I suspect the reason why my bootup script after slim isn't working is because slim has to be configured to boot into my custom settings. Currently, its on default. Only problem is, I don't know where to put the custom settings.
G-17
post Mar 10 2011, 11:32 AM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
@farkinid
Okay, I have a very busy day ahead of me, so I'll make this quick and will try to check in whenever I have time.

Firstly,
Do you have a file called "login" (probably a script) in your /bin? If yes, what's inside? if it contains stuff other than your personal details (username, password) can you paste the contents here (after removing your personal details, obviously)

Also, try to see if you have a /bin/bash -login /etc/X11/Xsession %session and paste contents here.

A temporary thing you can try for now;
Install "rcconf" from repos and run it (as root or sudo) and disable slim. Then create a ~/.xinitrc and put in whatever you need followed by "&" for each, except for the final exec line...

Example:
CODE
#!/bin/sh

#Enable uim at startup
export LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8

#US Keyboard
setxkbmap us &

#Touchpad Tap-2-Click
synclient Tapbutton1=1 &

#Wallpaper
feh --bg-scale /home/farkinid/wallpapers/smile.jpg &

exec scrotwm


Make executable (just in case)

Save and reboot. If it works, you should boot into a TTY and asked for your username and password. Then you launch scrotwm by typing 'startx'

if it fails, from tty, delete the ~/.xinitrc, run rcconf again and enable back slim and reboot, and you should go back to square-1, and I'll try to help some more after work or during tea-time if I can escape for a bit.

Sorry if you find typos .. I'm in a rush

This post has been edited by G-17: Mar 10 2011, 11:35 AM
TSfarkinid
post Mar 10 2011, 11:51 AM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


QUOTE(G-17 @ Mar 10 2011, 11:32 AM)
@farkinid
Okay, I have a very busy day ahead of me, so I'll make this quick and will try to check in whenever I have time.

Firstly,
Do you have a file called "login" (probably a script) in your /bin? If yes, what's inside? if it contains stuff other than your personal details (username, password) can you paste the contents here (after removing your personal details, obviously)

Also, try to see if you have a /bin/bash -login /etc/X11/Xsession %session and paste contents here.

A temporary thing you can try for now;
Install "rcconf" from repos and run it (as root or sudo) and disable slim. Then create a ~/.xinitrc and put in whatever you need followed by "&" for each, except for the final exec line...

Example:
CODE
#!/bin/sh

#Enable uim at startup
export LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8

#US Keyboard
setxkbmap us &

#Touchpad Tap-2-Click
synclient Tapbutton1=1 &

#Wallpaper
feh --bg-scale /home/farkinid/wallpapers/smile.jpg &

exec scrotwm


Make executable (just in case)

Save and reboot. If it works, you should boot into a TTY and asked for your username and password. Then you launch scrotwm by typing 'startx'

if it fails, from tty, delete the ~/.xinitrc, run rcconf again and enable back slim and reboot, and you should go back to square-1, and I'll try to help some more after work or during tea-time if I can escape for a bit.

Sorry if you find typos .. I'm in a rush
*
No worries. Take your time. The laptop is working fine. Its just the little things what I want changed. I'm not in a rush. Have a good day and stop embedding little hentai references in the "[code]" boxes tongue.gif
G-17
post Mar 11 2011, 08:44 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
@farkinid
Sorry for the delay.
Did you try what I posted previously, and did it work?
Any other developments?


Added on March 12, 2011, 9:16 pmOn a side note, I'm posting some of my old configs from other tiling WMs, in case anyone wants to play with em.

This one is for AwesomeWM 3.4.4.
Awesome uses Lua, whic I find very tedious. Plus it tends to change syntax from version to version, so what you see here (3.4.4) might not work for later version. I've lost interest in AwesomeWM, tbh, it tries too hard to be a DE, and it has other "features" that I'm not too fond of... I think it should be renamed AwfulWM, honestly.

Anyways, enough ranting, here's my old ~/.config/awesome/rc.lua

I offer no support whatsoever. If you have questions, search Google or the Awesome/Debian/Ubuntu/Arch forums. I can't be bothered with the sh*t WM anymore, an I take no responsibility over anything that happens.

Pastebin with syntax highlighting = http://pastebin.com/xZNcm76R

Same posted below without highlighting;

CODE
— Standard awesome library
   require("awful")
   require("awful.autofocus")
   require("awful.rules")
   — Theme handling library
   require("beautiful")
   — Notification library
   require("naughty")

   — Load Debian menu entries
   require("debian.menu")

   — {{{ Variable definitions
   — Themes define colours, icons, and wallpapers
   beautiful.init("/usr/share/awesome/themes/default/theme.lua")
   — This is used later as the default terminal and editor to run.
   terminal = "urxvtc"
   editor = os.getenv("EDITOR") or "gvim"
   editor_cmd = terminal .. " -e " .. editor
   — editor_cmd = gvim

   awful.util.spawn(os.getenv('HOME').."/scripts/")

   — Default modkey.
   — Usually, Mod4 is the key with a logo between Control and Alt.
   — If you do not like this or do not have such a key,
   — I suggest you to remap Mod4 to another key using xmodmap or other tools.
   — However, you can use another modifier like Mod1, but it may interact with others.
   modkey = "Mod4"

   — Table of layouts to cover with awful.layout.inc, order matters.
   layouts =
   {
   awful.layout.suit.floating,
   awful.layout.suit.tile,
   awful.layout.suit.tile.left,
   awful.layout.suit.tile.bottom,
   awful.layout.suit.tile.top,
   awful.layout.suit.fair,
   awful.layout.suit.fair.horizontal,
   awful.layout.suit.spiral,
   awful.layout.suit.spiral.dwindle,
   awful.layout.suit.max,
   awful.layout.suit.max.fullscreen,
   awful.layout.suit.magnifier
   }
   — }}}

   — { Tags
   — Define a tag table which hold all screen tags.
   tags = {}
   for s = 1, screen.count() do
   — Each screen has its own tag table.
   tags[s] = awful.tag({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, s, layouts[1])
   end
   — }

   — {{{ Menu
   — Create a laucher widget and a main menu
   myawesomemenu = {
   { "manual", terminal .. " -e man awesome" },
   { "edit config", editor_cmd .. " " .. awful.util.getdir("config") .. "/rc.lua" },
   { "restart", awesome.restart },
   { "quit", awesome.quit }
   }

   mymainmenu = awful.menu({ items = { { "Terminal", terminal },
   { "Firefox", ("firefox") }, { "Home", ("thunar") },
   { "Chromium", ("chrome") },
   { "Thunderbird", ("thunderbird") },
   { "awesome", myawesomemenu, beautiful.awesome_icon },
   { "Debian", debian.menu.Debian_menu.Debian },
   { "Exit", ("/home/moogerfooger/.config/awesome/exit") }
   }
   })
   awful.util.spawn(os.getenv("PATH"))

   awful.util.spawn_with_shell("urxvtd -q -o -f")
   awful.util.spawn_with_shell("mocp -S")
   awful.util.spawn_with_shell("gnome-setting-deamon")
   awful.util.spawn_with_shell("xbindkeys")
   awful.util.spawn_with_shell("xcompmgr")
   awful.util.spawn_with_shell("volwheel")
   awful.util.spawn_with_shell("nm-applet")
   —awful.util.spawn_with_shell("feh —bg-scale /home/moogerfooger/pic/dusk.png")
   awful.util.spawn_with_shell("/home/moogerfooger/.config/conky/start.sh")
   awful.util.spawn_with_shell("fcitx -d")

   mylauncher = awful.widget.launcher({ image = image(beautiful.awesome_icon),
   menu = mymainmenu })
   — }}}

   — {{{ Wibox
   — Create a textclock widget
   mytextclock = awful.widget.textclock({ align = "right" })

   — Create a systray
   mysystray = widget({ type = "systray" })

   — Create a wibox for each screen and add it
   mywibox = {}
   mypromptbox = {}
   mylayoutbox = {}
   mytaglist = {}
   mytaglist.buttons = awful.util.table.join(
   awful.button({ }, 1, awful.tag.viewonly),
   awful.button({ modkey }, 1, awful.client.movetotag),
   awful.button({ }, 3, awful.tag.viewtoggle),
   awful.button({ modkey }, 3, awful.client.toggletag),
   awful.button({ }, 4, awful.tag.viewnext),
   awful.button({ }, 5, awful.tag.viewprev)
   )
   mytasklist = {}
   mytasklist.buttons = awful.util.table.join(
   awful.button({ }, 1, function (c)
   if not c:isvisible() then
   awful.tag.viewonly(c:tags()[1])
   end
   client.focus = c
   c:raise()
   end),
   awful.button({ }, 3, function ()
   if instance then
   instance:hide()
   instance = nil
   else
   instance = awful.menu.clients({ width=250 })
   end
   end),
   awful.button({ }, 4, function ()
   awful.client.focus.byidx(1)
   if client.focus then client.focus:raise() end
   end),
   awful.button({ }, 5, function ()
   awful.client.focus.byidx(-1)
   if client.focus then client.focus:raise() end
   end))

   for s = 1, screen.count() do
   — Create a promptbox for each screen
   mypromptbox[s] = awful.widget.prompt({ layout = awful.widget.layout.horizontal.leftright })
   — Create an imagebox widget which will contains an icon indicating which layout we're using.
   — We need one layoutbox per screen.
   mylayoutbox[s] = awful.widget.layoutbox(s)
   mylayoutbox[s]:buttons(awful.util.table.join(
   awful.button({ }, 1, function () awful.layout.inc(layouts, 1) end),
   awful.button({ }, 3, function () awful.layout.inc(layouts, -1) end),
   awful.button({ }, 4, function () awful.layout.inc(layouts, 1) end),
   awful.button({ }, 5, function () awful.layout.inc(layouts, -1) end)))
   — Create a taglist widget
   mytaglist[s] = awful.widget.taglist(s, awful.widget.taglist.label.all, mytaglist.buttons)

   — Create a tasklist widget
   mytasklist[s] = awful.widget.tasklist(function(c)
   return awful.widget.tasklist.label.currenttags(c, s)
   end, mytasklist.buttons)

   — Create the wibox
   mywibox[s] = awful.wibox({ position = "top", screen = s })
   — Add widgets to the wibox - order matters
   mywibox[s].widgets = {
   {
   mylauncher,
   mytaglist[s],
   mypromptbox[s],
   layout = awful.widget.layout.horizontal.leftright
   },
   mylayoutbox[s],
   mytextclock,
   s == 1 and mysystray or nil,
   mytasklist[s],
   layout = awful.widget.layout.horizontal.rightleft
   }
   end
   — }}}

   — { Mouse bindings
   root.buttons(awful.util.table.join(
   awful.button({ }, 3, function () mymainmenu:toggle() end),
   awful.button({ }, 4, awful.tag.viewnext),
   awful.button({ }, 5, awful.tag.viewprev)
   ))
   volbar.widget:buttons(awful.util.table.join(
   awful.button({ }, 1, function () exec("kmix") end),
   — awful.button({ }, 2, function () exec("amixer -q sset Master toggle") end),
   — awful.button({ }, 4, function () exec("amixer -q sset PCM 2dB+", false) end),
   — awful.button({ }, 5, function () exec("amixer -q sset PCM 2dB-", false) end)
   )) — Register assigned buttons
   volwidget:buttons(volbar.widget:buttons())
   — }

   — {{{ Key bindings
   globalkeys = awful.util.table.join(
   awful.key({ modkey, }, "Left", awful.tag.viewprev ),
   awful.key({ modkey, }, "Right", awful.tag.viewnext ),
   awful.key({ modkey, }, "Escape", awful.tag.history.restore),

   awful.key({ modkey, }, "j",
   function ()
   awful.client.focus.byidx( 1)
   if client.focus then client.focus:raise() end
   end),
   awful.key({ modkey, }, "k",
   function ()
   awful.client.focus.byidx(-1)
   if client.focus then client.focus:raise() end
   end),
   awful.key({ modkey, }, "w", function () mymainmenu:show(true) end),

   — Layout manipulation
   awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end),
   —dmenu
   awful.key({modkey }, "p", function()
   awful.util.spawn_with_shell( "exe=‘dmenu_path | dmenu -nf ’#888888' -nb '#222222' -sf '#ffffff' -sb '#285577'` && exec $exe")
   end),

   awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( -1) end),
   awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative( 1) end),
   awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative(-1) end),
   awful.key({ modkey, }, "u", awful.client.urgent.jumpto),
   awful.key({ modkey, }, "Tab",
   function ()
   awful.client.focus.history.previous()
   if client.focus then
   client.focus:raise()
   end
   end),

   — Standard program
   awful.key({ modkey, }, "Return", function () awful.util.spawn(terminal) end),
   awful.key({ modkey, "Control" }, "r", awesome.restart),
   awful.key({ modkey, "Shift" }, "q", awesome.quit),

   awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end),
   awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end),
   awful.key({ modkey, "Shift" }, "h", function () awful.tag.incnmaster( 1) end),
   awful.key({ modkey, "Shift" }, "l", function () awful.tag.incnmaster(-1) end),
   awful.key({ modkey, "Control" }, "h", function () awful.tag.incncol( 1) end),
   awful.key({ modkey, "Control" }, "l", function () awful.tag.incncol(-1) end),
   awful.key({ modkey, }, "space", function () awful.layout.inc(layouts, 1) end),
   awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(layouts, -1) end),

   — Prompt
   awful.key({ modkey }, "r", function () mypromptbox[mouse.screen]:run() end),

   awful.key({ modkey }, "x",
   function ()
   awful.prompt.run({ prompt = "Run Lua code: " },
   mypromptbox[mouse.screen].widget,
   awful.util.eval, nil,
   awful.util.getdir("cache") .. "/history_eval")
   end)
   )

   clientkeys = awful.util.table.join(
   awful.key({ modkey, }, "f", function (c) c.fullscreen = not c.fullscreen end),
   awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end),
   awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle ),
   awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end),
   awful.key({ modkey, }, "o", awful.client.movetoscreen ),
   awful.key({ modkey, "Shift" }, "r", function (c) c:redraw() end),
   awful.key({ modkey, }, "n", function (c) c.minimized = not c.minimized end),
   awful.key({ modkey, }, "m",
   function (c)
   c.maximized_horizontal = not c.maximized_horizontal
   c.maximized_vertical = not c.maximized_vertical
   end)
   )

   — Compute the maximum number of digit we need, limited to 9
   keynumber = 0
   for s = 1, screen.count() do
   keynumber = math.min(9, math.max(#tags[s], keynumber));
   end

   — Bind all key numbers to tags.
   — Be careful: we use keycodes to make it works on any keyboard layout.
   — This should map on the top row of your keyboard, usually 1 to 9.
   for i = 1, keynumber do
   globalkeys = awful.util.table.join(globalkeys,
   awful.key({ modkey }, "#" .. i + 9,
   function ()
   local screen = mouse.screen
   if tags[screen][i] then
   awful.tag.viewonly(tags[screen][i])
   end
   end),
   awful.key({ modkey, "Control" }, "#" .. i + 9,
   function ()
   local screen = mouse.screen
   if tags[screen][i] then
   awful.tag.viewtoggle(tags[screen][i])
   end
   end),
   awful.key({ modkey, "Shift" }, "#" .. i + 9,
   function ()
   if client.focus and tags[client.focus.screen][i] then
   awful.client.movetotag(tags[client.focus.screen][i])
   end
   end),
   awful.key({ modkey, "Control", "Shift" }, "#" .. i + 9,
   function ()
   if client.focus and tags[client.focus.screen][i] then
   awful.client.toggletag(tags[client.focus.screen][i])
   end
   end))
   end

   clientbuttons = awful.util.table.join(
   awful.button({ }, 1, function (c) client.focus = c; c:raise() end),
   awful.button({ modkey }, 1, awful.mouse.client.move),
   awful.button({ modkey }, 3, awful.mouse.client.resize))

   — Set keys
   root.keys(globalkeys)
   — }}}

   — { Rules
   awful.rules.rules = {
   — All clients will match this rule.
   { rule = { },
   properties = { border_width = beautiful.border_width,
   border_color = beautiful.border_normal,
   focus = true,
   keys = clientkeys,
   buttons = clientbuttons } },
   { rule = { class = "MPlayer" },
   properties = { floating = true } },
   { rule = { class = "pinentry" },
   properties = { floating = true } },
   { rule = { class = "gimp" },
   properties = { floating = true } },
   { rule = { class = "Kicad" },
   properties = { floating = true } },
   { rule = { class = "Dia" },
   properties = { floating = true } },
   { rule = { class = "Feh" },
   properties = { floating = true } },
   { rule = { class = "gpicview" },
   properties = { floating = true } },
   — Set Firefox to always map on tags number 2 of screen 1.
   — { rule = { class = "Firefox" },
   — properties = { tag = tags[1][2] } },
   }
   — }

   — {{{ Signals
   — Signal function to execute when a new client appears.
   client.add_signal("manage", function (c, startup)
   — Add a titlebar
   — awful.titlebar.add(c, { modkey = modkey })

   — Enable sloppy focus
   c:add_signal("mouse::enter", function(c)
   if awful.layout.get(c.screen) ~= awful.layout.suit.magnifier
   and awful.client.focus.filter(c) then
   client.focus = c
   end
   end)

   if not startup then
   — Set the windows at the slave,
   — i.e. put it at the end of others instead of setting it master.
   — awful.client.setslave(c)

   — Put windows in a smart way, only if they does not set an initial position.
   if not c.size_hints.user_position and not c.size_hints.program_position then
   awful.placement.no_overlap(c)
   awful.placement.no_offscreen(c)
   end
   end
   end)

   client.add_signal("focus", function(c) c.border_color = beautiful.border_focus end)
   client.add_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
   — }}}


This post has been edited by G-17: Mar 12 2011, 09:18 PM
TSfarkinid
post Mar 14 2011, 01:47 PM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


Sorry G-17, I've been really swamped with work the past week. Haven't tried it yet. Will give it a go coming weekend.


Added on March 16, 2011, 11:29 amHi G-17,

I've tried rcconf... unfortunately it didn't work. It said unable to write to... uh... cna't remember what. Permission denied. And yes i did sudo when i ran it. Also, I don't dare delete xinitrc. I don't know whats gonna happen if i delete it.

Will try using pure CLI to run it. However, for the other things, there is a 'login' in /bin but its unreadable via nano. Its got alot of funky characters with a 'cat /bin/login'.

Running '/bin/bash -login /etc/X11/Xsession %session' results in Xsession: Unable to launch "%session" X session --- "xsession" not found; falling back to default session.

Conundrum

This post has been edited by farkinid: Mar 16 2011, 11:29 AM
Acid_RuleZz
post Mar 16 2011, 03:45 PM

ミウ ❤
*******
Senior Member
6,612 posts

Joined: Jan 2003
From: Tomorrow


QUOTE(farkinid @ Mar 14 2011, 01:47 PM)
Sorry G-17, I've been really swamped with work the past week. Haven't tried it yet. Will give it a go coming weekend.


Added on March 16, 2011, 11:29 amHi G-17,

I've tried rcconf... unfortunately it didn't work. It said unable to write to... uh... cna't remember what. Permission denied. And yes i did sudo when i ran it. Also, I don't dare delete xinitrc. I don't know whats gonna happen if i delete it.

Will try using pure CLI to run it. However, for the other things, there is a 'login' in /bin but its unreadable via nano. Its got alot of funky characters with a 'cat /bin/login'.

Running '/bin/bash -login /etc/X11/Xsession %session' results in Xsession: Unable to launch "%session" X session --- "xsession" not found; falling back to default session.

Conundrum
*
sorry for you sweat.gif sweat.gif

i've succesfully install arch into my usb and run scrotwm via slim. drool.gif

but its bloated tho.. gonna spoil more and learn about arch then start again from scratch laugh.gif
TSfarkinid
post Mar 16 2011, 03:53 PM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


QUOTE(Acid_RuleZz @ Mar 16 2011, 03:45 PM)
sorry for you  sweat.gif  sweat.gif

i've succesfully install arch into my usb and run scrotwm via slim.  drool.gif

but its bloated tho.. gonna spoil more and learn about arch then start again from scratch  laugh.gif
*
But how do you get specific types of applications to run on boot? In arch, there is alot of documentation but for Debian, there doesn't seem to be much.

Seem like Debian + SLiM is rare combination
Acid_RuleZz
post Mar 16 2011, 03:57 PM

ミウ ❤
*******
Senior Member
6,612 posts

Joined: Jan 2003
From: Tomorrow


QUOTE(farkinid @ Mar 16 2011, 03:53 PM)
But how do you get specific types of applications to run on boot? In arch, there is alot of documentation but for Debian, there doesn't seem to be much.

Seem like Debian + SLiM is rare combination
*
yeah.. in Debian i use GDM. Much easier to configure to run dual WM tongue.gif
G-17
post Mar 16 2011, 04:37 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(farkinid @ Mar 16 2011, 03:53 PM)
But how do you get specific types of applications to run on boot? In arch, there is alot of documentation but for Debian, there doesn't seem to be much.

Seem like Debian + SLiM is rare combination
*

I'm a bit confused here (I'm really tired right now... busy days)
It's strange that running rcconf under root gave a permissions error, especially since you're not actually trying to remove SLIM but just disable it. It might help if you posted the full error message.
Also, I must again stress that I'm never run SLIM on Debian before. I've always found slim to be neither here or there, if I wanted simple, I did startx and if I wanted a full-featured login manager, I'd install GDM.

Anyways, I suspect there's some problem between SLIM and the way Debian symlinks process links/chains. I'll have to do some digging later.

Debian uses SysV scripts for controlling boot, as opposed to the more simple BSD style init process that Arch uses, which is why there might not be much documentation for SLIM on Debian outside dev mailing-lists. SysV brings the advantage of flexibility, security and scalability, but the downside is it's complexity.

SysV decentralizes the startup process, with most startup scripts loaded individually and located all over the /etc directory, and explaining it to you might prove too long for this thread (and even I don't fully know all the ins and outs, tbh), considering all the run-levels I'll need to go through. For a start, most startup services/daemons/whatever *should* have a script located in /etc/init.d .... try to see if you have a one related to SLIM in there, and check the contents to see what file it looks for.

Sorry I can't really help much right now. It's been a hectic few days for me, as I have a lot of work plus a lot of close acquaintances in Japan whom I'm calling daily to check the situation. sad.gif

In the meantime, you can do some reading here:
http://www.debian.org/doc/user-manuals
Part 11 or the FAQ section might give you some idea of how stuff works in Debian (way clearer than I can explain to you, definitely), but I highly recommend you read as much of the manual as you can, particularly the FAQ and Reference sections. There's a wealth of info in there, and sometimes I go back there to refresh myself even though I've used Debian for so long. It's a complex distro, I admit, but reading those bits might give you a reason of why the devs do what they do.

Edit: Just found this. http://www.comptechdoc.org/os/linux/startupman/index.html
Looks interesting. I'll have to give it a good read when I find enough time. See, I'm no guru!! laugh.gif


Added on March 16, 2011, 4:50 pm
QUOTE(Acid_RuleZz @ Mar 16 2011, 03:45 PM)
sorry for you  sweat.gif  sweat.gif

i've succesfully install arch into my usb and run scrotwm via slim.  drool.gif

but its bloated tho.. gonna spoil more and learn about arch then start again from scratch  laugh.gif
*

LOL ... I've heard many people say many things about Arch, but "bloated" was never one of them laugh.gif ... unless you're comparing to something like Slitaz, Crux or GRML unsure.gif

Arch is pretty nice. Just keep in mind that Arch doesn't actually teach you a lot about Linux as a whole, most of the stuff in the wiki teaches you how to maintain an Arch system, so don't try applying it to other distros. Also, beware of the breakage-heaven called AUR.
I like Arch, but I wouldn't use it on a mission-critical box, mainly due to AUR and the fact that there's no clear roadmap for package signing. You should try GRML one day. It's light, fast (faster in some cases) and secure thanks to still being Debian based, plus I can have have Gnuffy's Spaceman installed on GRML for signed Arch packages. cool2.gif .... Or you should try Gentoo one day if you really wanna learn about Linux, but preferably when you're on holiday or unemployed, cos you'll be spending a lot of time. tongue.gif

This post has been edited by G-17: Mar 16 2011, 08:19 PM
TSfarkinid
post Mar 28 2011, 12:50 PM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


Just to update my adventures smile.gif

I've been reading about runlevels ALOT and I'm still not done yet. But I'm beginning to see the signs of why I can't load the mousetap script into my boot.

It might be because of rcS instead of rc.sysinit but I'm not too sure yet. But I won't change anything until I've got a decent grasp of runlevels.

Again, thanks guys. You all have been really helpful. Also my lappy smells of leet-ness now.
Acid_RuleZz
post Mar 28 2011, 11:02 PM

ミウ ❤
*******
Senior Member
6,612 posts

Joined: Jan 2003
From: Tomorrow


QUOTE(G-17 @ Mar 16 2011, 04:37 PM)
LOL ... I've heard many people say many things about Arch, but "bloated" was never one of them laugh.gif ... unless you're comparing to something like Slitaz, Crux or GRML unsure.gif
*
It was my 1st time with arch.. i installed alot of alien packages that i don't even know what its for. doh.gif But even with all that alien packages it still quite light. Arch migh be my 1st choice if i decide to move out from debian. biggrin.gif

GRML huh.. might give it a try, but i've set my eyes on Slitaz. laugh.gif
TSfarkinid
post Apr 27 2011, 04:57 PM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


Ok, its been a while since I've updated this thread. Actually, I'm looking for help.

So I'm running MoC as my music player now and I've decided I want the name and some other details of the currently playing song on my scrotwm bar.

Unfortunately, my baraction.sh doesn't seem to be working. Can anybody (I mean you G-17) kindly show me a copy of their working baraction.sh? I'll rewrite mine based on yours.
G-17
post Apr 28 2011, 05:10 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
@farkinid
Sorry for the lateness. I've been overseas for the past week and only got back today morning.

I don't use baraction.sh, and prefer to pipe good ol' conky into the scrotwm bar. Reason is; older versions of scrotwm had the bar flickering when I used baraction.sh, plus it's just easier to use conky. Note: if you havent installed conky yet, just grap the conky-cli package instead of the heavier conky-all one, since the cli version is all you need for the scrotwm bar.

You can set the scrotwm bar to pipe conky by doing
CODE
bar_action     = conky
in your scrotwm.conf

then you create a .conkyrc and place it in your /home. You don't need to specify fonts or colors, since it can only default to the font and color you specified for the scrotwm bar. Most important is that you keep all the info in 1 single line. Here's a simple example.
CODE
# Conky configuration for ScrotWM Bar

##############################################
#  Settings
##############################################
out_to_x no
background no
out_to_console yes
update_interval 1
total_run_times 0
use_spacer none
#no_buffers yes
#cpu_average_samples 1
#net_average_samples 1
TEXT
   CPU - ${cpu cpu0}.00%   RAM - ${memperc}.00%   Temperature - ${hwmon temp 1}'C   Battery - ${battery_percent BAT0}%   WiFi - ${wireless_link_qual wlan0}%   Uploads - ${upspeedf wlan0}kb/s   Downloads - ${downspeedf wlan0}kb/s

Note: the 'hwmon' part for temperature requires lm-sensors to be installed from your repo (just install and then run 'sensors-detect' as root, and answer yes to everything, and reboot). Again, make sure the line that comes after "TEXT" is all one single line (the LYN forum seems to split the lines when it gets too long)

As for MoC "Now Playing" output in conky, I've personally never done it before, but this should help:
http://blog.mindlesstechie.net/2009/01/12/...rts-moc-player/
http://crunchbanglinux.org/forums/topic/99...-in-your-conky/
In any case, try adding something like "${execpi 2 mocp -Q %title}" to your conky.
I've heard MoC support in conky is a bit buggy, though, so remember to watch your CPU load and temperatures for any memory leaks or throttled scheduling.

Apologies for not being much help with the actual baraction.sh script. Truth be told, I've only ever used dzen2 or conky in most of my tiling WMs, and I've only ever piped MPD output when it comes to wanting to show currently playing tracks. Never personally felt the need to with MoC.

Edot:
Oh, almost forgot. The ScrotWM bar can't show degree symbols ° . You might want to take note

This post has been edited by G-17: Apr 28 2011, 05:24 PM
TSfarkinid
post Apr 29 2011, 10:51 AM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


Thanks man. I will look through this over the weekend.

One day I'll post a screenie of how my lappy looks now. I finally got urxvt to work with transparency. Bwhahaha... wasted a few company hours doing that. I am proud.
G-17
post Jun 15 2011, 08:55 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
Necrobumping this thread.

If anyone's interested in trying out Ratpoison (one of the all-time great WM's, imho), here's an old config I have:

CODE
nextscreen
unmanage panel
escape C-t

#I use conky piped to dzen2. Uncomment the line bellow if you want the same.
#exec conky | dzen2 -bg '#101010' -fn -*-montecarlo-medium-r-*-*-11-*-*-*-*-*-*-* -ta r -y 0 -x 0
#exec rpws init 3 -k

# Layouts [ ] [|] [|= [-] [+]
bind F1 exec ratpoison -c "select -" -c "only" -c "next"
bind F2  exec ratpoison -c "select -" -c "only" -c "hsplit" -c "next"
bind F3 exec ratpoison -c "select -" -c "only" -c "hsplit" -c "next" -c "focusright" -c "next" -c "vsplit" -c "next"
bind F4 exec ratpoison -c "select -" -c "only" -c "vsplit" -c "next"
bind F5 exec ratpoison -c "select -" -c "only " -c "hsplit" -c next -c "vsplit" -c next -c "focusright" -c next -c "vsplit" -c "next"

banish

#uncomment this in case you want to use Caps Lock as escape. I just have it here for reference, I despise the idea
#exec xmodmap -e 'clear Lock' -e 'keycode 66 = F13'
#escape F13

#Set up the workspace stuff
gnew one
gnewbg two
gnewbg three
gnewbg four
gnewbg five
gnewbg six
gnewbg seven
gnewbg eight
gnewbg nine
gmerge default
gdelete default
#ALT + F* for workspace switching
definekey top M-F1 exec ratpoison -c "gselect 1" -c "select -" -c "only" -c "next" -c "echo one"
definekey top M-F2 exec ratpoison -c "gselect 2" -c "select -" -c "only" -c "next" -c "echo two"
definekey top M-F3 exec ratpoison -c "gselect 3" -c "select -" -c "only" -c "next" -c "echo three"
definekey top M-F4 exec ratpoison -c "gselect 4" -c "select -" -c "only" -c "next" -c "echo four"
definekey top M-F5 exec ratpoison -c "gselect 5" -c "select -" -c "only" -c "next" -c "echo five"
definekey top M-F6 exec ratpoison -c "gselect 6" -c "select -" -c "only" -c "next" -c "echo six"
definekey top M-F7 exec ratpoison -c "gselect 7" -c "select -" -c "only" -c "next" -c "echo seven"
definekey top M-F8 exec ratpoison -c "gselect 8" -c "select -" -c "only" -c "next" -c "echo eight"
definekey top M-F9 exec ratpoison -c "gselect 9" -c "select -" -c "only" -c "next" -c "echo nine"


msgwait 2
rudeness 12
set winname title
set winfmt %n %s %t
set fgcolor #6495ed
set bgcolor #040404
set font "-*-montecarlo-medium-r-*-*-11-*-*-*-*-*-*-*"
set winliststyle column
set inputwidth 400
set waitcursor 1
set padding 1 14 1 1
set fwcolor #040404
set bwcolor #191919
set barpadding 0 0
set wingravity nw
set transgravity center
set bargravity ne
set border 1
set barborder 1
set inputwidth 800


definekey top M-S-Return exec urxvt
definekey top M-m exec $(dmenu_path | dmenu -nb "#3f3f3f" -nf "#dcdccc" -sb "#1e2320" -sf "#f0dfaf" -fn '-*-montecarlo-medium-r-*-*-11-*-*-*-*-*-*-*')
bind k kill
bind R remove
bind u undo
bind d dedicate
definekey top M-Tab focusprev
definekey top M-C-Left exchangeleft
definekey top M-C-Right exchangeright
definekey top M-C-Up exchangeup
definekey top M-C-Down exchangedown
definekey top M-Left resize -20 0
definekey top M-Right resize 20 0
definekey top M-Up resize 0 20
definekey top M-Down resize 0 -20
#definekey top M-d exec "/home/gacchinko/Programs/ratinfo.sh"
definekey top M-w windows
bind o exec ratpoison -c "only" -c "set border 0"
bind v exec ratpoison -c "hsplit" -c "set border 10"
bind h exec ratpoison -c "vsplit" -c "set border 10"
bind s swap
bind n nextscreen

cocooh
post Jul 10 2011, 09:53 AM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


Still getting my workaround scrotwm laugh.gif

Pengsan sweat.gif

Attached Image
cocooh
post Jul 10 2011, 10:53 AM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


Actually sweat.gif

I wanna ask , what is the purpose of showing the bash prompt color chart sweat.gif ?

Attached Image
G-17
post Jul 10 2011, 03:07 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
@Zai
The color chart is just a means to show your terminal colorscheme People who use a lot of CLI apps usually customize the apps to suit their colorscheme as well.

For example, I see you have mocp running. Do you know that you can change it's look. Press Shift+T and you'll be able to choose themes. Also, open your ~/.moc folder and create a folder called "themes". Then, create a document and paste this inside;

CODE
# Replaces the default configuration: Slob Custom 7
background             = default default
frame                  = magenta   default    
window_title       = blue          default bold    
directory         = yellow         default    
selected_directory     = cyan       default  bold
playlist         = default       default    bold
selected_playlist     = red          default bold
file             = green       default    
selected_file         = white         default  
marked_file         = red        default  bold    
marked_selected_file    = yellow    default   bold
info             = black      default  bold  
selected_info         = white          default    
marked_info         = red        default   bold
marked_selected_info    = yellow        default    bold
status            = blue          default      
title             = red         default   bold  
state             = red           default  
current_time            = cyan    default bold
time_left         = yellow           default  bold  
total_time         = magenta          default          
time_total_frames     = magenta         default    
sound_parameters     = magenta          default    bold
legend             = default       default
disabled         = black         default    
enabled             = blue          default    bold
empty_mixer_bar         = yellow       default
filled_mixer_bar     = yellow       default    reverse
empty_time_bar          = yellow       default
filled_time_bar         = yellow       default    reverse
entry             = red           default
entry_title             = green         default
error                   = red           default    bold
message             = yellow        default    bold
plist_time              = blue         default    
and save and name the file to whatever name you want.

Then select that theme with the same Shift+T action (you can specify what theme to start with in Moc's config file. do a "man mocp" in terminal for the man page) ... cool, right?

You can basically customize all your term apps like that, though the syntax might be different depending on the app.

If you use terminals like URxvt or Xterm, your term colors are controlled by the ~/.Xdefaults file. If you prefer Gnome-terminal or xfce4-terminal, you just right click to bring up the preferences dialog for the GUI color changer (I think)

Edit: BTW, that colorscheme display script is configured tp only align properly with 3 letter words. If you use longer words (like Gaga i n your case) the horiz alignment gets screwed (look at the to line... 47m is supposed to be above the white bar)

This post has been edited by G-17: Jul 10 2011, 03:11 PM
cocooh
post Jul 10 2011, 04:17 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


@G17 , actually I'm planning to install a standalone distro just for scrotwm biggrin.gif

But I'm still in the dilemma of choosing either Aech Linux or Debian laugh.gif

Coz , while I'm using Ubuntu as the base for scrotwm , there is a significant drop in ram usage but not overall as it still runs some of the gnome settings and unnecessary processes

Im still wondering which 1 I should choose to be the base hmm.gif
G-17
post Jul 10 2011, 06:10 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
@Zai-Zai
Yeah, Ubuntu tends to bring in a LOT of unwanted dependencies. Even if you do a minimal install from it's mini.iso, it'll still pull all sorts of unwanted stuff the moment you install xorg.

Both Debian and Arch are equally good. It's just a matter of preference, really. Arch isn't as hard to install as people make it out to be. Arch-fanboys think they're experts just because they followed the guide and managed to install it, but seriously, you'll do fine as long as you're patient. Debian is probably faster to install than Arch, but it's harder to dig at the internals, since it's init-based scripts are far more complex than Arch's single rc file. Debian is more secure thanks to having signed packages, but I wouldn't call Arch insecure either. The steps the guide teaches you will encourage you to practice good security.

If you want to set-up something fast and want an out-of-the-box distro that's officially declared stable, try CrunchBang (Openbox version). It's based on Squeeze, so it's as solid as anything out there, at the expense of having an older kernel and packages. If you want something a bit more bleeding edge but still apt based, go for Aptosid Xfce. It's got the fastest installation of any distro (as long as you understand partitioning) and it's as light as an Arch install; 32bit i686 Xfce aptosid takes up around 50mb-55mb RAM at boot, a bit more if you have extra daemons/drivers loaded. You can install ScrotWM in either Crunchbang or Aptosid quite easily and switch via GDM. Edit: There's also Zenix, which is supposed to be very good. It already comes with OpenBox and AwesomeWM out-of-the-box, so you might wanna give that a try.

Of course, if you want ultimate lightness, you either do an Arch install and start X via xinitrc, or do a Debian netinstall or GRML small/medium. Nothing beats these two for lightness, though it does take some time to get a fully functioning system up and running.

The choice is yours. smile.gif

This post has been edited by G-17: Jul 10 2011, 06:16 PM
cocooh
post Jul 10 2011, 06:47 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


@G-17 hmm , apt based or pacman sleep.gif

Still can't decide laugh.gif

If let's say I choose to install via netinstall , what are packages that is necessary to be installed but at the same time , maintaining the lightweightness to it biggrin.gif ?

Kinda worry I've missed some important packages laugh.gif
G-17
post Jul 10 2011, 07:51 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
@Zai

Well, it all depends on your needs and hardware

For starters, to build ScrotWM after you do a netinstall, you basically need;


Note: I use su for root operations. If you prefer sudo, I trust you know how to install and configure sudo and a sudoers list. I'll also use nano for the editor since it already comes with a minimal netnstall (I think) and I'm not sure if ou know how to use Vim or not.

As root:
First, edit your /etc/apt/sources.list and make it something like this. This is almost a "bare minimum" list of sources.

CODE
su
nano /etc/apt/sources.list



Have it look something like this;
CODE
## Official Debian Repositories:
deb http://ftp.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.debian.org/debian/ testing main contrib non-free
deb http://security.debian.org/ testing/updates main
deb-src http://security.debian.org/ testing/updates main
## Debian Multimedia
deb http://www.debian-multimedia.org testing main
## Google Linux Repositories:
deb http://dl.google.com/linux/deb/ testing non-free main

I added the Google sources for you just in case you want Chromium. I recommend Testing for you since you're coming from Ubuntu, but if you want something even more cutting-edge, change all the "testing" words to "unstable"

Then
CODE
apt-get update
apt-get dist-upgrade


After this, you should have an official Debian Testing/Wheezy basic installation.

Assuming all updates are successful, reboot from console with
CODE
shutdown -r now


After the restart, we'll install the basic xorg headers and stuff you'll need for ScrotWM
Go back to root user again;
CODE
su


Then;
CODE
apt-get install libx11-dev libxrandr-dev libxt-dev
apt-get install xserver-xorg-core xorg gcc make[code]

Then the ScrotWM stuff;
[code]apt-get install scrotwm xfonts-terminus rxvt-unicode-256color xterm scrot feh


To start ScrotWM, you must create a .xinitrc file.
exit root (Ctrl+D), then
CODE
nano ~/.xinitrc


you should have a bare minimum of this to launch scrotwm;
CODE
#!/bin/sh
#gnome-power-manager &
#xfce4-power-manager &
#xgamma -rgamma 0.8 -ggamma 0.8 -bgamma 0.7 &
#xset s off &
xsetroot -solid "#333333" &
xsetroot -cursor_name left_ptr &
setxkbmap us &
#synclient TapButton1=1 &
#synclient VertEdgeScroll=1 &
#synclient VertTwoFingerScroll=1 &
#synclient HorizTwoFingerScroll=1 &
#xscreensaver -no-splash &
urxvtd &
exec scrotwm

Note: You'll see a lot of lines commented out (has a # in the beginning of line). That's because these lines are optional for an installation, and require the related apps. You're free to install them if desired. For example, if you decide to install gnome-power-manager, then remove the # from the related line in the .xinitrc.

Then you just do this to start X
CODE
startx


For a better explanation, check out the Debian and Arch wiki's pages on Xinitrc and Scrotwm
http://wiki.debian.org/Xinitrc
https://wiki.archlinux.org/index.php/Xinitrc
https://wiki.archlinux.org/index.php/Scrotwm

Achtung!!
Remember, this is just a very basic setup. I didn't include instructions on wireless drivers cos I dunno what hardware you have. In any case, since you're using ScrotWM and don't have a systray, you're probably better of with wicd (wicd-curses in terminal) to handle your wireless connections after you've installed your necessary wireless drivers (if required) Also note that you'll need to install gtk2-engines for GUI apps like Firefox or Thunar/PCmanFM (file managers). I recommend you don't install Nautilus as a file manager cos it likes to take over many system tasks for you and will unecessarily bloat up your gconf.

This post has been edited by G-17: Jul 10 2011, 07:55 PM
cocooh
post Jul 10 2011, 09:58 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Jul 10 2011, 07:51 PM)
@Zai

Well, it all depends on your needs and hardware

For starters, to build ScrotWM after you do a netinstall, you basically need;
Note: I use su for root operations. If you prefer sudo, I trust you know how to install and configure sudo and a sudoers list. I'll also use nano for the editor since it already comes with a minimal netnstall (I think) and I'm not sure if ou know how to use Vim or not.

As root:
First, edit your /etc/apt/sources.list and make it something like this. This is almost a "bare minimum" list of sources.

CODE
su
nano /etc/apt/sources.list



Have it look something like this;
CODE
## Official Debian Repositories:
deb http://ftp.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.debian.org/debian/ testing main contrib non-free
deb http://security.debian.org/ testing/updates main
deb-src http://security.debian.org/ testing/updates main
## Debian Multimedia
deb http://www.debian-multimedia.org testing main
## Google Linux Repositories:
deb http://dl.google.com/linux/deb/ testing non-free main

I added the Google sources for you just in case you want Chromium. I recommend Testing for you since you're coming from Ubuntu, but if you want something even more cutting-edge, change all the "testing" words to "unstable"

Then
CODE
apt-get update
apt-get dist-upgrade


After this, you should have an official Debian Testing/Wheezy basic installation.

Assuming all updates are successful, reboot from console with
CODE
shutdown -r now


After the restart, we'll install the basic xorg headers and stuff you'll need for ScrotWM
Go back to root user again;
CODE
su


Then;
CODE
apt-get install libx11-dev libxrandr-dev libxt-dev
apt-get install xserver-xorg-core xorg gcc make[code]

Then the ScrotWM stuff;
[code]apt-get install scrotwm xfonts-terminus rxvt-unicode-256color xterm scrot feh


To start ScrotWM, you must create a .xinitrc file.
exit root (Ctrl+D), then
CODE
nano ~/.xinitrc


you should have a bare minimum of this to launch scrotwm;
CODE
#!/bin/sh
#gnome-power-manager &
#xfce4-power-manager &
#xgamma -rgamma 0.8 -ggamma 0.8 -bgamma 0.7 &
#xset s off &
xsetroot -solid "#333333" &
xsetroot -cursor_name left_ptr &
setxkbmap us &
#synclient TapButton1=1 &
#synclient VertEdgeScroll=1 &
#synclient VertTwoFingerScroll=1 &
#synclient HorizTwoFingerScroll=1 &
#xscreensaver -no-splash &
urxvtd &
exec scrotwm

Note: You'll see a lot of lines commented out (has a # in the beginning of line). That's because these lines are optional for an installation, and require the related apps. You're free to install them if desired. For example, if you decide to install gnome-power-manager, then remove the # from the related line in the .xinitrc.

Then you just do this to start X
CODE
startx


For a better explanation, check out the Debian and Arch wiki's pages on Xinitrc and Scrotwm
http://wiki.debian.org/Xinitrc
https://wiki.archlinux.org/index.php/Xinitrc
https://wiki.archlinux.org/index.php/Scrotwm

Achtung!!
Remember, this is just a very basic setup. I didn't include instructions on wireless drivers cos I dunno what hardware you have. In any case, since you're using ScrotWM and don't have a systray, you're probably better of with wicd (wicd-curses in terminal) to handle your wireless connections after you've installed your necessary wireless drivers (if required) Also note that you'll need to install gtk2-engines for GUI apps like Firefox or Thunar/PCmanFM (file managers). I recommend you don't install Nautilus as a file manager cos it likes to take over many system tasks for you and will unecessarily bloat up your gconf.
*
F**k-ing hell Ubuntu , suddenly prompt out and list down the partition errors , probably sectors problem

Not gonna go back again mad.gif

Gonna go for Arch first and then another install of Debian Squeeze wink.gif

Wish me luck shakehead.gif

Lucky i did not store anything important on my Ubuntu partition
FlameReaper
post Jul 10 2011, 11:23 PM

I lari portable on my dude
****
Senior Member
560 posts

Joined: Oct 2008
From: On my portable dude
Just so you know cocooh: You can choose to install a base Ubuntu CLI installation and start from there. Kind of how you do an Arch Linux installation.

All you need is the *buntu Alternate CDs.

... Only to find myself installing the basic KDE workspace of all things. It's OK but somehow I feel I need the liquorix kernels because for some reason fglrx performs poorly on Ubuntu's default kernels.

This post has been edited by FlameReaper: Jul 10 2011, 11:24 PM
cocooh
post Jul 11 2011, 06:31 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


Successfully installed Debian biggrin.gif

Configuring time
TSfarkinid
post Jul 11 2011, 06:37 PM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


QUOTE(cocooh @ Jul 11 2011, 06:31 PM)
Successfully installed Debian biggrin.gif

Configuring time
*
Welcome to the club. I'm still running it on my lappy... with a little more colour though. Because G-17 insists
cocooh
post Jul 11 2011, 07:15 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


Hmm , Thunar or Pcmanfm ?

I guess both are lightweight enough biggrin.gif
G-17
post Jul 11 2011, 08:52 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(cocooh @ Jul 11 2011, 07:15 PM)
Hmm , Thunar or Pcmanfm ?

I guess both are lightweight enough biggrin.gif
*

If it's lightweight you want, the correct question should be;
QUOTE
Hmm , Midnight Commander or Ranger?

wink.gif

But if you insist on GUI bloat, try PCManFM-Mod. The guy should have a trusted Debian PPA (with keyring) up somewhere.
http://igurublog.wordpress.com/downloads/mod-pcmanfm/

Also, in case you need it;
http://sites.google.com/site/mydebiansourceslist/

This post has been edited by G-17: Jul 11 2011, 08:56 PM
cocooh
post Jul 11 2011, 09:19 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Jul 11 2011, 08:52 PM)
If it's lightweight you want, the correct question should be;

wink.gif

But if you insist on GUI bloat, try PCManFM-Mod. The guy should have a trusted Debian PPA (with keyring) up somewhere.
http://igurublog.wordpress.com/downloads/mod-pcmanfm/

Also, in case you need it;
http://sites.google.com/site/mydebiansourceslist/
*
Installed normal PCManFM biggrin.gif

Actually , how can i set .xinitrc to run on scrotwm start up ? It doesnt seems to budge sad.gif
Acid_RuleZz
post Jul 11 2011, 09:30 PM

ミウ ❤
*******
Senior Member
6,612 posts

Joined: Jan 2003
From: Tomorrow


It's documented in ArchWiki right?

scrotwm - ArchWiki
cocooh
post Jul 11 2011, 10:40 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


Nop , doesnt explain how to solve it sad.gif
G-17
post Jul 11 2011, 10:52 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
Did you remember to make it executable?

CODE
chmod +x ~/.xinitrc

Sorry if I forgot to include this previously.

If you still have problems,
Post your ~/.xinitrc here.

Also, what are you invoking to run xinitrc? ... startx?

This post has been edited by G-17: Jul 11 2011, 10:54 PM
cocooh
post Jul 11 2011, 11:07 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Jul 11 2011, 10:52 PM)
Did you remember to make it executable?

CODE
chmod +x ~/.xinitrc

Sorry if I forgot to include this previously.

If you still have problems,
Post your ~/.xinitrc here.

Also, what are you invoking to run xinitrc? ... startx?
*
=_= its already executable

Well sweat.gif i'm not good at anything , inside my xinitrc is empty , so i just added these :

exec /home/willeosoeurs/.scrotwm.sh

sweat.gif
G-17
post Jul 11 2011, 11:14 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(cocooh @ Jul 11 2011, 11:07 PM)
=_= its already executable

Well  sweat.gif  i'm not good at anything , inside my xinitrc is empty , so i just added these :

exec /home/willeosoeurs/.scrotwm.sh

sweat.gif
*
And what is inside your .scrotwm.sh?

You shouldn't need to use a script to launch scrotwm, since .xinitrc is already a script in itself.
Look at the past long post I made for you with the .xinitrc section?

Technically, if you installed the scrotwm executable to a folder in your $PATH (which is most likely if you got scrotwm via apt), all you need to launch it is a "exec scrotwm" in your xinitrc.

Again, look at the long post above (or previous page) ... the example ~/.xinitrc I put for you there should give you a clue on what you need inside.
cocooh
post Jul 11 2011, 11:15 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Jul 11 2011, 11:14 PM)
And what is inside your .scrotwm.sh?

You shouldn't need to use a script to launch scrotwm, since .xinitrc is already a script in itself.
Look at the past long post I made for you with the .xinitrc section?

Technically, if you installed the scrotwm executable to a folder in your $PATH (which is most likely if you got scrotwm via apt), all you need to launch it is a "exec scrotwm" in your xinitrc.

Again, look at the long post above (or previous page) ... the example ~/.xinitrc I put for you there should give you a clue on what you need inside.
*
These :

CODE
#!/bin/bash

#Power Settings
#xfce4-power-manager &

#Wallpaper
#feh --bg-scale /home/farkinid/wallpapers/Packy-X-Bota-Yaoi-Hentai.jpg &

#US keymap
#setxkbmap us &

#Thunar File Manager Hot-plugging/Mounting
#thunar --daemon &

#Touchpad
#synclient TapButton1=1 &
#synclient VertEdgeScroll=1 &
#synclient HorizEdgeScroll=1 &

#Screensaver
#xscreensaver -no-splash &

#network
nm-applet &

sleep .2
scrotwm


sweat.gif


Added on July 11, 2011, 11:16 pmUpdate : damn == i tot it was meant for another sh file , it seems to be included in xinitrc ?

This post has been edited by cocooh: Jul 11 2011, 11:16 PM
G-17
post Jul 11 2011, 11:19 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
@zai
Waah!! ... you just copy-pasted the past example I put for farkinid?! ... that was just an example, bro!!

Okay, nvm

make sure your ~/.xinitrc contains this;

CODE
#!/bin/sh
#gnome-power-manager &
#xfce4-power-manager &
#xgamma -rgamma 0.8 -ggamma 0.8 -bgamma 0.7 &
#xset s off &
xsetroot -solid "#333333" &
xsetroot -cursor_name left_ptr &
setxkbmap us &
synclient TapButton1=1 &
#synclient VertEdgeScroll=1 &
#synclient VertTwoFingerScroll=1 &
#synclient HorizTwoFingerScroll=1 &
#xscreensaver -no-splash &
urxvtd &
exec scrotwm


Try to start it first (startx) and see if you can successfully launch ScrotWM ... if scotwm launches, try to open a terminal with Mod + Shift + Enter (Mod key is either Alt or Windows key, depending on your conf), and try Mod + P to launch dmenu (a small menu on top, which can launch other apps) ..

This post has been edited by G-17: Jul 11 2011, 11:20 PM
cocooh
post Jul 11 2011, 11:24 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Jul 11 2011, 11:19 PM)
@zai
Waah!! ... you just copy-pasted the past example I put for farkinid?! ... that was just an example, bro!!

Okay, nvm

make sure your ~/.xinitrc contains this;

CODE
#!/bin/sh
#gnome-power-manager &
#xfce4-power-manager &
#xgamma -rgamma 0.8 -ggamma 0.8 -bgamma 0.7 &
#xset s off &
xsetroot -solid "#333333" &
xsetroot -cursor_name left_ptr &
setxkbmap us &
synclient TapButton1=1 &
#synclient VertEdgeScroll=1 &
#synclient VertTwoFingerScroll=1 &
#synclient HorizTwoFingerScroll=1 &
#xscreensaver -no-splash &
urxvtd &
exec scrotwm


Try to start it first (startx) and see if you can successfully launch ScrotWM ... if scotwm launches, try to open a terminal with Mod + Shift + Enter (Mod key is either Alt or Windows key, depending on your conf), and try Mod + P to launch dmenu (a small menu on top, which can launch other apps) ..
*
hmm , scrotwm launches beautifully biggrin.gif now im gonna try whether the xinitrc works sweat.gif

Btw , the configuration from that evilwm , the bold window border looks nice laugh.gif I wonder if scrotwm can do that shocking.gif
G-17
post Jul 11 2011, 11:36 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(cocooh @ Jul 11 2011, 11:24 PM)
hmm , scrotwm launches beautifully biggrin.gif now im gonna try whether the xinitrc works  sweat.gif

Btw , the configuration from that evilwm , the bold window border looks nice  laugh.gif  I wonder if scrotwm can do that  shocking.gif
*

Can, but not your version. The one in the Debian repos (even Unstable repos) is a bit old, but considered stable. You can specify phat borders in the newer version built from source of synched from CVS. I suggest you avoid that until you're familiar with basic ScrotWM/tiling behaviour.

As for .xinitrc, you see the xsetroot3 blah-blah #333333 thing I put for you? that basically gives you a 20% grey background. If you want your own wallpaper, you'll need to install feh (apt-get), then comment out the xsetroot bg line (put a # in the beginning) and then replace a line with the feh variable (see the feh line in your scrotwm.sh... something like that). The synclient lines control your touchpad behaviour (twofinger scroll only works on touchpads that support multitouch) ... see here for more = http://wiki.debian.org/SynapticsTouchpad (only if your touchpad is Synaptics). other stuff like power managers, you have to decide yourself what you prefer and install it (xfce4-power-manager is lighter, though I'm not sure if HAL still has problems with it or not)) and then uncomment the corresponding line in the .xinitrc.

cocooh
post Jul 11 2011, 11:41 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Jul 11 2011, 11:36 PM)
Can, but not your version. The one in the Debian repos (even Unstable repos) is a bit old, but considered stable. You can specify phat borders in the newer version built from source of synched from CVS. I suggest you avoid that until you're familiar with basic ScrotWM/tiling behaviour.

As for .xinitrc, you see the xsetroot3 blah-blah #333333 thing I put for you? that basically gives you a 20% grey background. If you want your own wallpaper, you'll need to install feh (apt-get), then comment out the xsetroot bg line (put a # in the beginning) and then replace a line with the feh variable (see the feh line in your scrotwm.sh... something like that). The synclient lines control your touchpad behaviour (twofinger scroll only works on touchpads that support multitouch) ... see here for more = http://wiki.debian.org/SynapticsTouchpad (only if your touchpad is Synaptics). other stuff like power managers, you have to decide yourself what you prefer and install it (xfce4-power-manager is lighter, though I'm not sure if HAL still has problems with it or not)) and then uncomment the corresponding line in the .xinitrc.
*
Everything works fine there , ive tried and run the script , but weird is

xinitrc wont even load when i login to scrotwm doh.gif

Not only that , my mocp theme wont save sweat.gif revert back to default sweat.gif
G-17
post Jul 11 2011, 11:48 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
No, if you manage to start scrotwm, then your xinitrc is loading it just fine. What script are you talking about? ... you don't need the scrotwm.sh if you already use xinitrc.

Also, you need to specify the mocp theme you want in the mocp config file.... Do "man mocp" in terminal for a man page, or go here = http://moc.daper.net/node/87

I need to sleep... we continue tomorrow after work... if I survive.

This post has been edited by G-17: Jul 11 2011, 11:49 PM
cocooh
post Jul 11 2011, 11:53 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Jul 11 2011, 11:48 PM)
No, if you manage to start scrotwm, then your xinitrc is loading it just fine. What script are you talking about? ... you don't need the scrotwm.sh if you already use xinitrc.

Also, you need to specify the mocp theme you want in the mocp config file....  Do "man mocp" in terminal for a man page, or go here = http://moc.daper.net/node/87

I need to sleep... we continue tomorrow after work... if I survive.
*
Haha thx biggrin.gif

Actually , im talking about the autorun of nm-applet and feh ive included inside xinitrc , it wont run sweat.gif

Thx for the mocp biggrin.gif
Acid_RuleZz
post Jul 12 2011, 03:28 AM

ミウ ❤
*******
Senior Member
6,612 posts

Joined: Jan 2003
From: Tomorrow


QUOTE(cocooh @ Jul 11 2011, 11:53 PM)
Haha thx biggrin.gif

Actually , im talking about the autorun of nm-applet and feh ive included inside xinitrc , it wont run  sweat.gif

Thx for the mocp biggrin.gif
*
nm-applet? time to use wicd-curses brows.gif

btw to make feh set your default background every logon, just put this in your .xinitrc after you've set it in feh.
CODE
sh ~/.fehbg &

cocooh
post Jul 12 2011, 06:53 AM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(Acid_RuleZz @ Jul 12 2011, 03:28 AM)
nm-applet? time to use wicd-curses  brows.gif

btw to make feh set your default background every logon, just put this in your .xinitrc after you've set it in feh.
CODE
sh ~/.fehbg &

*
I was noob enough to know that GDM does not start from xinitrc anymore doh.gif

Created a .desktop and put it inside xsessions folder which will run my script all at once thumbup.gif

wicd-curses doesn works for me sad.gif weird
Acid_RuleZz
post Jul 12 2011, 10:00 AM

ミウ ❤
*******
Senior Member
6,612 posts

Joined: Jan 2003
From: Tomorrow


QUOTE(cocooh @ Jul 12 2011, 06:53 AM)
I was noob enough to know that GDM does not start from xinitrc anymore  doh.gif

Created a .desktop and put it inside xsessions folder which will run my script all at once  thumbup.gif

wicd-curses doesn works for me sad.gif weird
*
U didn't tell u're using GDM. sweat.gif
Wicd didn't work? U're using network-manager package?
G-17
post Jul 12 2011, 10:09 AM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
@Zai
I thought you wanted a lightweight system. Why did you install GDM? O_o ... SOunds like you're trying to turn your lightweight Debian netinstall back into Gnome Debian/Ubuntu again. >_<

What kind of connection do you have? Is it a 3G USB dongle thing?
If not, can you tell us why wicd-curses didn't work? Also, NM-applet requites a systray, which Scrotwm doesn't support. (the ScrotWM dev, Marco's philosophy = if scripters don't need it, it's bullshit, so I won't support it, which is why ScrotWM doesn't have support for systrays ... and I agree with it 100%, btw)

I heard there's some sort of CLI frontend for Network manager, but I'm not sure. There's also some app for those 3G USB modems. If you use one of those, let me know and I'll hunt down my friend in IRC and ask him what he uses.
cocooh
post Jul 12 2011, 10:20 AM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Jul 12 2011, 10:09 AM)
@Zai
I thought you wanted a lightweight system. Why did you install GDM? O_o ... SOunds like you're trying to turn your lightweight Debian netinstall back into Gnome Debian/Ubuntu again. >_<

What kind of connection do you have? Is it a 3G USB dongle thing?
If not, can you tell us why wicd-curses didn't work? Also, NM-applet requites a systray, which Scrotwm doesn't support. (the ScrotWM dev, Marco's philosophy = if scripters don't need it, it's bullshit, so I won't support it, which is why ScrotWM doesn't have support for systrays ... and I agree with it 100%, btw)

I heard there's some sort of CLI frontend for Network manager, but I'm not sure. There's also some app for those 3G USB modems. If you use one of those, let me know and I'll hunt down my friend in IRC and ask him what he uses.
*
I need help here cry.gif

Debian help me install gnome by itself hmm.gif

How am i gonna remove it fully without affecting nm-applet yawn.gif ? Coz my modem only give access to nm-applet sweat.gif

HELP shocking.gif !!!!!!!!! HELP HELP HELP
cocooh
post Jul 12 2011, 07:44 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Jul 12 2011, 10:09 AM)
@Zai
I thought you wanted a lightweight system. Why did you install GDM? O_o ... SOunds like you're trying to turn your lightweight Debian netinstall back into Gnome Debian/Ubuntu again. >_<

What kind of connection do you have? Is it a 3G USB dongle thing?
If not, can you tell us why wicd-curses didn't work? Also, NM-applet requites a systray, which Scrotwm doesn't support. (the ScrotWM dev, Marco's philosophy = if scripters don't need it, it's bullshit, so I won't support it, which is why ScrotWM doesn't have support for systrays ... and I agree with it 100%, btw)

I heard there's some sort of CLI frontend for Network manager, but I'm not sure. There's also some app for those 3G USB modems. If you use one of those, let me know and I'll hunt down my friend in IRC and ask him what he uses.
*
Really having a problem here sweat.gif

wicd can only connect to my eth but not wlan shocking.gif

an excerpt of the wicd.log :

CODE
2011/07/12 19:38:01 :: trying to automatically connect to...HausOfGaga
2011/07/12 19:38:01 :: Connecting to wireless network HausOfGaga
2011/07/12 19:38:05 :: Putting interface down
2011/07/12 19:38:05 :: Releasing DHCP leases...
2011/07/12 19:38:05 :: Setting false IP...
2011/07/12 19:38:06 :: Autoconnecting...
2011/07/12 19:38:06 :: Autoconnecting...
2011/07/12 19:38:09 :: Stopping wpa_supplicant
2011/07/12 19:38:09 :: Flushing the routing table...
2011/07/12 19:38:09 :: Putting interface up...
2011/07/12 19:38:11 :: Attempting to authenticate...
2011/07/12 19:38:12 :: Running DHCP with hostname xxx
2011/07/12 19:38:32 :: err, wlan0: timed out


Its weird that it is running DHCP with hostname since i did not set it so shocking.gif

Really need help here
Acid_RuleZz
post Jul 12 2011, 08:48 PM

ミウ ❤
*******
Senior Member
6,612 posts

Joined: Jan 2003
From: Tomorrow


your network manager has stop completely?
cocooh
post Jul 12 2011, 08:54 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(Acid_RuleZz @ Jul 12 2011, 08:48 PM)
your network manager has stop completely?
*
Yup , i killed it to test the standalone wicd icon_rolleyes.gif

But it wont connect sad.gif
Acid_RuleZz
post Jul 12 2011, 09:02 PM

ミウ ❤
*******
Senior Member
6,612 posts

Joined: Jan 2003
From: Tomorrow


Wifi right? Coz i got no experience with 3G dongle all those things. sweat.gif
This is my setting in Wicd.
user posted image

cocooh
post Jul 12 2011, 09:09 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(Acid_RuleZz @ Jul 12 2011, 09:02 PM)
Wifi right? Coz i got no experience with 3G dongle all those things. sweat.gif
This is my setting in Wicd.
user posted image

*
Hmm , so we must include static ip as well ? shocking.gif
Acid_RuleZz
post Jul 12 2011, 09:20 PM

ミウ ❤
*******
Senior Member
6,612 posts

Joined: Jan 2003
From: Tomorrow


U're using DHCP or Static? Man.. i'm bad at teaching doh.gif
cocooh
post Jul 12 2011, 09:23 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(Acid_RuleZz @ Jul 12 2011, 09:20 PM)
U're using DHCP or Static? Man.. i'm bad at teaching doh.gif
*
sweat.gif nt sure la
G-17
post Jul 12 2011, 09:43 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
@Zai
Sorry mate. I had a busy day at work and couldn't check back in here.
How's everything? Mind giving a status report on the current setup/installation you have. Is the Gnome libs problem solved?

Regarding your wicd problem, first tell us what kind of internet you have (DSL, Streamyx, USB3G, Maxis... etc). Then tell us what kind of wireless chipset you have.

Can Wicd see your modem or not? ... or you mean WICD cannot start?
cocooh
post Jul 12 2011, 09:59 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Jul 12 2011, 09:43 PM)
@Zai
Sorry mate. I had a busy day at work and couldn't check back in here.
How's everything? Mind giving a status report on the current setup/installation you have. Is the Gnome libs problem solved?

Regarding your wicd problem, first tell us what kind of internet you have (DSL, Streamyx, USB3G, Maxis... etc). Then tell us what kind of wireless chipset you have.

Can Wicd see your modem or not? ... or you mean WICD cannot start?
*
Ok biggrin.gif Ive installed sLim , sleek thumbup.gif

Hmm , gonna remove everything gnome out of my debian soon after i fix this wicd problem laugh.gif

Im using Streamyx now , and my wireless is RTL8187B

Wicd can detect everything nicely , ive just edited my config similar to Acid but altered abit - still cant , stuck at Authentication

rclxub.gif
G-17
post Jul 12 2011, 10:13 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(cocooh @ Jul 12 2011, 09:59 PM)
Ok biggrin.gif Ive installed sLim , sleek  thumbup.gif

Hmm , gonna remove everything gnome out of my debian soon after i fix this wicd problem  laugh.gif

Im using Streamyx now , and my wireless is RTL8187B

Wicd can detect everything nicely , ive just edited my config similar to Acid but altered abit - still cant , stuck at Authentication

rclxub.gif
*

Aah .. so your wireless is functioning and can see your router/modem, but you just can't connect to it. Your connection is DHCP, so you you can leave stuff like IP, Netmash and Gateway under the Statip IP section blank (note, I'm talking about wicd-curses ... dunno about the GUI version). Authentication failure usually means a wrong passphrase (make sure you know whether your router uses WEP, WPA or WPA2 and change accordingly. Might be a channel clog as well, you could try setting to a different channel on your router settings.

cocooh
post Jul 12 2011, 10:13 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Jul 12 2011, 10:13 PM)
Aah .. so your wireless is functioning and can see your router/modem, but you just can't connect to it. Your connection is DHCP, so you you can leave stuff like IP, Netmash and Gateway under the Statip IP section blank (note, I'm talking about wicd-curses ... dunno about the GUI version). Authentication failure usually means a wrong passphrase (make sure you know whether your router uses WEP, WPA or WPA2 and change accordingly. Might be a channel clog as well,  you could try setting to a different channel on your router settings.
*
Hmm , DHCP , trying now shocking.gif What should i write on the DHCP column ? sweat.gif
G-17
post Jul 12 2011, 10:19 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(cocooh @ Jul 12 2011, 10:13 PM)
Hmm , DHCP , trying now  shocking.gif  What should i write on the DHCP column ?  sweat.gif
*

Huh? ... I don't see any DHCP column in wicd-curses. It should be just set to "automatic" . If it's asking for DHCP hostname, then give your system hostname (if your term prompt is zai@cocooh, means your hostname = cocooh)

This post has been edited by G-17: Jul 12 2011, 10:19 PM
cocooh
post Jul 12 2011, 10:34 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Jul 12 2011, 10:19 PM)
Huh? ... I don't see any DHCP column in wicd-curses. It should be just set to "automatic" . If it's asking for DHCP hostname, then give your system hostname (if your term prompt is zai@cocooh, means your hostname = cocooh)
*
No luck sad.gif
Acid_RuleZz
post Jul 12 2011, 10:37 PM

ミウ ❤
*******
Senior Member
6,612 posts

Joined: Jan 2003
From: Tomorrow


^ Authentication failed?
cocooh
post Jul 12 2011, 10:40 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(Acid_RuleZz @ Jul 12 2011, 10:37 PM)
^ Authentication failed?
*
The first attempt before i change the settings to DCHP is Access Point Authentication failed

Now it writes wlan0 timeout mad.gif
G-17
post Jul 12 2011, 10:42 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(cocooh @ Jul 12 2011, 10:34 PM)
No luck sad.gif
*

What kind of encryption do you use (set in your router, not computer) .... WEP or WPA1/2
If it's WPA, check to see if you have wpa_supplicant installed.

Also, if WPA you can try manually.

In term:
CODE
# ifconfig wlan0 up
# iwconfig wlan0 essid "my_network"
# wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant.conf
# dhcpcd wlan0

replace "wlan0" with your own (usually wlan0 is correct, but some systems default to eth1)
replace "my network" with your routers essid.

cocooh
post Jul 12 2011, 10:44 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Jul 12 2011, 10:42 PM)
What kind of encryption do you use (set in your router, not computer) .... WEP or WPA1/2
If it's WPA, check to see if you have wpa_supplicant installed.

Also, if WPA you can try manually.

In term:
CODE
# ifconfig wlan0 up
# iwconfig wlan0 essid "my_network"
# wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant.conf
# dhcpcd wlan0

replace "wlan0" with your own (usually wlan0 is correct, but some systems default to eth1)
replace "my network" with your routers essid.
*
WEP sweat.gif
G-17
post Jul 12 2011, 11:29 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(cocooh @ Jul 12 2011, 10:44 PM)
WEP  sweat.gif
*

FWIW, WEP is so insecure that it's basically the same as having no encyption at all.

Anyways, I'm not quite sure what the problem could be. It might be a problem with your particulat card's driver, it might be a wicd related problem (did you try wicd-curses in terminal instead of the normal wicd gui?), it could be an encryption issue...etc.

what does this output?
CODE
iwconfig


Also, to connect manually, try this:
CODE
iwconfig wlan0 enc blah-blah

replace wlan0 with your wireless device if necessary. replace blah-blah with your WEP encryption key.
If you can some error message, try replacing enc with "key' (without quotes)

...then
CODE
ifconfig wlan0 essid any


...and then
CODE
iwconfig wlan0 up


You should "man iwconfig" in terminal to check all it's options.

This post has been edited by G-17: Jul 12 2011, 11:31 PM
TSfarkinid
post Jul 13 2011, 11:14 AM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


Just to note, you have to check if your wireless network uses WEP Passphrase or Preshared key. wicd differentiates it. If you set wicd to Passphrase but your router is set to Preshared, then you will get an authentication failure.
G-17
post Jul 13 2011, 02:02 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
^Aah ... I overlooked that bit.
Hope Zai's still around to try it. He's been quiet for a few hours now, I'm worried he ran back to Gnome and/or *buntu already. sweat.gif
TSfarkinid
post Jul 13 2011, 04:22 PM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


QUOTE(G-17 @ Jul 13 2011, 02:02 PM)
^Aah ... I overlooked that bit.
Hope Zai's still around to try it. He's been quiet for a few hours now, I'm worried he ran back to Gnome and/or *buntu already. sweat.gif
*
LOL worried....

At least its still linux. If he said he is going back to Windows or :gasp: OSX, then somebody better stop him quick.

But he might have messed up all the configs with all the codes being thrown around. I think its better to put everything to default 1st. Wireless is usually dynamic addresses (dhcp assigned). This is because if you assign it as static, you'll have problems at starbucks/coffeebeans/oldkopitiam for sure.
cocooh
post Jul 13 2011, 04:25 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


LOL -- i never go back to ubuntu

Was busy finishing my slides last night laugh.gif sry

here , iwconfig


lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11bg ESSID:off/any
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=27 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:6469-6E67-3932-3132-3330-3130-33
Power Management:off

pan0 no wireless extensions.

Hmm , i guess everyones modem is passphrase ?


Added on July 13, 2011, 4:37 pmUpdate : even if i connect to wireless manually via urxvt with commands ~ still give me timeout when i typed dhcpcd wlan0

But it seems no error with : iwconfig wlan0 essid "HausOfGaga" key "s:xxxxx"

sweat.gif

@farkinid , Any how i can revert the settings back to normal ? sweat.gif

This post has been edited by cocooh: Jul 13 2011, 04:37 PM
TSfarkinid
post Jul 13 2011, 04:59 PM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


QUOTE(cocooh @ Jul 13 2011, 04:25 PM)
@farkinid , Any how i can revert the settings back to normal ?  sweat.gif
*
I assume that you are using a tiling WM. So everything is command line right?

I don't think there is a revert to default button, so you'll have to manually undo everything you have done so far. Once that is done you can check and see if you are having the authentication problem again. If you aren't but yet still can't get connected, I suggest d/l-ing aircrack-ng to get your wireless card associated with the wireless network.

Aircrack won't fix your problem but it might help testing if your wireless card has problems associating with the network. There might be an easier method to check for association problems but I've always just used aircrack. Also if it does get associated, you can try wireshark analysis to find out what packets are being thrown back and forth.
Acid_RuleZz
post Jul 13 2011, 07:49 PM

ミウ ❤
*******
Senior Member
6,612 posts

Joined: Jan 2003
From: Tomorrow


Static IP also failed?
cocooh
post Jul 13 2011, 08:10 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(Acid_RuleZz @ Jul 13 2011, 07:49 PM)
Static IP also failed?
*
yup shocking.gif
TSfarkinid
post Jul 14 2011, 12:19 AM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


QUOTE(Acid_RuleZz @ Jul 13 2011, 07:49 PM)
Static IP also failed?
*
It doesn't sound like a problem in acquiring network address. The 3 main parts of connecting to a wireless network are
  1. Association
  2. Authentication
  3. Acquisition

At this point, the only thing we know is that Authentication already fails. Acquisition doesn't come into the picture yet. Therefore, need to check the 1st 2.
cocooh
post Jul 14 2011, 02:36 AM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


== Finally !!!

Reinstalled Debian with XFCE4 atm

Now gonna install Scrotwm biggrin.gif

Although i experience frequent disconnection with the Wicd from first few try , its much stable now (I guess laugh.gif )

Loads to tweak
cocooh
post Jul 14 2011, 04:34 AM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


Finally , Goo is back with scrotwm laugh.gif

Attached Image

Though , im still figuring out how to control the brightness hmm.gif

FIXED : Controlling the brightness using xbacklight laugh.gif

This post has been edited by cocooh: Jul 14 2011, 04:47 AM
G-17
post Jul 14 2011, 09:22 AM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
Good to hear you're solving issues by yourself. Best way to learn. smile.gif

Those weird A things in your scrotbar. Unfortunately, ScrotWM doesn't seem to recognize UTF-8 symbols (like degrees or boxes). You often get those weird A things if you use them. modify your conkyrc or baraction.sh accordingly.
cocooh
post Jul 14 2011, 09:23 AM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Jul 14 2011, 09:22 AM)
Good to hear you're solving issues by yourself. Best way to learn. smile.gif

Those weird A things in your scrotbar. Unfortunately, ScrotWM doesn't seem to recognize UTF-8 symbols (like degrees or boxes). You often get those weird A things if you use them. modify your conkyrc or baraction.sh accordingly.
*
DAMM shakehead.gif

not only it becomes like this but the whole system font becomes like this

user posted image

sweat.gif Need help here

My font aliasing seems to have problem
G-17
post Jul 14 2011, 10:00 AM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
@Zai
So it's not just chromium but other GTK/GUI apps as well?

Okay, first try this.

Check to see if you have a .fonts.conf file in your home folder (enable hidden files in your file manager). If you don't have it, create it. If you already have it, make a backup and keep it somewhere safe.

Then, in an empty .fonts.conf, put these contents in and save. I'll give you 3 separate configs. Try em all and see which one fits you best.

Type1:
CODE
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font" >
 <edit mode="assign" name="autohint" >
  <bool>false</bool>
 </edit>
</match>
<match target="font" >
 <edit mode="assign" name="rgba" >
  <const>rgb</const>
 </edit>
</match>
<match target="font" >
 <edit mode="assign" name="hinting" >
  <bool>true</bool>
 </edit>
</match>
<match target="font" >
 <edit mode="assign" name="hintstyle" >
  <const>hintslight</const>
 </edit>
</match>
<match target="font" >
 <edit mode="assign" name="antialias" >
  <bool>true</bool>
 </edit>
</match>
</fontconfig>


Type2:
CODE
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font" >
 <edit mode="assign" name="autohint" >
  <bool>true</bool>
 </edit>
</match>
<match target="font" >
 <edit mode="assign" name="rgba" >
  <const>none</const>
 </edit>
</match>
<match target="font" >
 <edit mode="assign" name="hinting" >
  <bool>false</bool>
 </edit>
</match>
<match target="font" >
 <edit mode="assign" name="hintstyle" >
  <const>hintnone</const>
 </edit>
</match>
<match target="font" >
 <edit mode="assign" name="antialias" >
  <bool>true</bool>
 </edit>
</match>
</fontconfig>


Type3:
CODE
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="font" >
<edit mode="assign" name="autohint"> <bool>true</bool></edit>
<edit mode="assign" name="hinting"> <bool>false</bool></edit>
<edit mode="assign" name="lcdfilter"> <const>lcddefault</const></edit>
<edit mode="assign" name="hintstyle"> <const>hintslight</const></edit>
<edit mode="assign" name="antialias"> <bool>true</bool></edit>
<edit mode="assign" name="rgba"> <const>rgb</const></edit>
</match>

<match target="font">
<test name="pixelsize" qual="any" compare="more"><double>15</double></test>
<edit mode="assign" name="lcdfilter"><const>lcdlight</const></edit>
<edit mode="assign" name="hintstyle"><const>hintnone</const></edit></match>

<match target="font">
<test name="weight" compare="more"><const>medium</const></test>
<edit mode="assign" name="hintstyle"><const>hintnone</const></edit>
<edit mode="assign" name="lcdfilter"><const>lcdlight</const></edit></match>

<match target="font">
<test name="slant" compare="not_eq"><double>0</double></test>
<edit mode="assign" name="hintstyle"><const>hintnone</const></edit>
<edit mode="assign" name="lcdfilter"><const>lcdlight</const></edit></match>

</fontconfig>


Note: You'll need to restart X for each different setting to take effect.

This post has been edited by G-17: Jul 14 2011, 10:01 AM
cocooh
post Jul 14 2011, 10:10 AM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Jul 14 2011, 10:00 AM)
@Zai
So it's not just chromium but other GTK/GUI apps as well?

Okay, first try this.

Check to see if you have a .fonts.conf file in your home folder (enable hidden files in your file manager). If you don't have it, create it. If you already have it, make a backup and keep it somewhere safe.

Then, in an empty .fonts.conf, put these contents in and save. I'll give you 3 separate configs. Try em all and see which one fits you best.

Type1:
CODE
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font" >
 <edit mode="assign" name="autohint" >
  <bool>false</bool>
 </edit>
</match>
<match target="font" >
 <edit mode="assign" name="rgba" >
  <const>rgb</const>
 </edit>
</match>
<match target="font" >
 <edit mode="assign" name="hinting" >
  <bool>true</bool>
 </edit>
</match>
<match target="font" >
 <edit mode="assign" name="hintstyle" >
  <const>hintslight</const>
 </edit>
</match>
<match target="font" >
 <edit mode="assign" name="antialias" >
  <bool>true</bool>
 </edit>
</match>
</fontconfig>


Type2:
CODE
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font" >
 <edit mode="assign" name="autohint" >
  <bool>true</bool>
 </edit>
</match>
<match target="font" >
 <edit mode="assign" name="rgba" >
  <const>none</const>
 </edit>
</match>
<match target="font" >
 <edit mode="assign" name="hinting" >
  <bool>false</bool>
 </edit>
</match>
<match target="font" >
 <edit mode="assign" name="hintstyle" >
  <const>hintnone</const>
 </edit>
</match>
<match target="font" >
 <edit mode="assign" name="antialias" >
  <bool>true</bool>
 </edit>
</match>
</fontconfig>


Type3:
CODE
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="font" >
<edit mode="assign" name="autohint"> <bool>true</bool></edit>
<edit mode="assign" name="hinting"> <bool>false</bool></edit>
<edit mode="assign" name="lcdfilter"> <const>lcddefault</const></edit>
<edit mode="assign" name="hintstyle"> <const>hintslight</const></edit>
<edit mode="assign" name="antialias"> <bool>true</bool></edit>
<edit mode="assign" name="rgba"> <const>rgb</const></edit>
</match>

<match target="font">
<test name="pixelsize" qual="any" compare="more"><double>15</double></test>
<edit mode="assign" name="lcdfilter"><const>lcdlight</const></edit>
<edit mode="assign" name="hintstyle"><const>hintnone</const></edit></match>

<match target="font">
<test name="weight" compare="more"><const>medium</const></test>
<edit mode="assign" name="hintstyle"><const>hintnone</const></edit>
<edit mode="assign" name="lcdfilter"><const>lcdlight</const></edit></match>

<match target="font">
<test name="slant" compare="not_eq"><double>0</double></test>
<edit mode="assign" name="hintstyle"><const>hintnone</const></edit>
<edit mode="assign" name="lcdfilter"><const>lcdlight</const></edit></match>

</fontconfig>


Note: You'll need to restart X for each different setting to take effect.
*
no luck sweat.gif
G-17
post Jul 14 2011, 10:14 AM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
Also,
If you're still not satisfied with that, you can try installing a patched version of libcairo2.

The safest way is to add mozilla sources. Details found here: http://mozilla.debian.net/
Remember to choose the correct type for your install (Squeeze, testing, unstable) and select either 'release' or 'beta' for the version. Also make sure to authenticate and import keyrings (be safe, it's the Debian way).

Then, as root (or sudo) do:
CODE
apt-get update
apt-get install libcairo2


Restart X.

Note: I'm not 100% sure about Chrome/Chromium font rendering, but it does improve the fonts for all other GTK/QT/GUI apps. I read somewhere that Chrome had some issues with rendering, but that was long ago.

Edit:
Ah, almost forgot. Some websites will only display their stoopid Ariel or Helvetica nonsense correctly only if you have that msttcorefonts package installed.
CODE
apt-get install msttcorefonts


This post has been edited by G-17: Jul 14 2011, 10:34 AM
cocooh
post Jul 14 2011, 10:47 AM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


@G-17 , using iPad to reply u

Formatting it again o.o

Something wrong with my settings , son gonna hate dpkg-reconfigure locales , it broke my install

Fix : FIXED all my font with smoothing and some scripts here and there laugh.gif

Finally !!!

This post has been edited by cocooh: Jul 14 2011, 02:38 PM
cocooh
post Jul 14 2011, 02:43 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


Update :

This is weird , when my HDD drives were loaded , all my fonts are ok

But when my windows partition fails to load , all my fonts become weird shocking.gif

hmm.gif Fishy

FIX : It seems that i cant make slim load from xinitrc , it will make my fonts go haywire

This post has been edited by cocooh: Jul 14 2011, 03:07 PM
G-17
post Jul 14 2011, 03:07 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(cocooh @ Jul 14 2011, 02:43 PM)
This is weird , when my HDD drives were loaded , all my fonts are ok

But when my windows partition fails to load , all my fonts become weird  shocking.gif
*

Huh? blink.gif
I don't see why your partitions would affect your font rendering. It's probably something to do with you .xinitrc/SLIM or GDM (plus the script you're launching scrotwm with)

Try adding this line to the beginning of your start script or your .xinitrc

CODE
# Merge X resources from ~/.Xdefaults
[ -f $HOME/.Xdefaults ] && xrdb $HOME/.Xdefaults &


Also, make sure to change this line in your ~/.Xdefaults
CODE
Xft*antialias:          true


This post has been edited by G-17: Jul 14 2011, 03:09 PM
cocooh
post Jul 14 2011, 03:14 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Jul 14 2011, 03:07 PM)
Huh?  blink.gif
I don't see why your partitions would affect your font rendering. It's probably something to do with you .xinitrc/SLIM or GDM (plus the script you're launching scrotwm with)

Try adding this line to the beginning of your start script or your .xinitrc

CODE
# Merge X resources from ~/.Xdefaults
[ -f $HOME/.Xdefaults ] && xrdb $HOME/.Xdefaults &


Also, make sure to change this line in your ~/.Xdefaults
CODE
Xft*antialias:          true

*
Actually , if i make slim load from xinitrc , my fonts will go haywire , if i make slim read XSession , my fonts are a beauty but of course it will not auto load my xinitrc
G-17
post Jul 14 2011, 03:18 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(cocooh @ Jul 14 2011, 03:14 PM)
Actually , if i make slim load from xinitrc , my fonts will go haywire , if i make slim read XSession , my fonts are a beauty but of course it will not auto load my xinitrc
*

When you say xsession, you mean GDM loading scrotwm.desktop, right?
Post the contents or /usr/share/xsessions/Scrotwm or Scrotwm.desktop here.

This post has been edited by G-17: Jul 14 2011, 03:18 PM
cocooh
post Jul 14 2011, 03:35 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Jul 14 2011, 03:18 PM)
When you say xsession, you mean GDM loading scrotwm.desktop, right?
Post the contents or /usr/share/xsessions/Scrotwm or Scrotwm.desktop here.
*
Im using Slim sweat.gif

it loads from /etc/X11/Xsessions instead of GDM's default one

I managed to add ck-launch-session into here :

login_cmd exec ck-launch-session /bin/bash -login /etc/X11/Xsession %session

But Idk how to make it auto load my .xinitrc script

IMO , if i put the command ~/.xinitrc infront of it , my font might go back to the weird mode again sweat.gif

Edit : ck-launch-session is to fix my windows partition not being mounted

This post has been edited by cocooh: Jul 14 2011, 03:37 PM
G-17
post Jul 14 2011, 03:45 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
@Zai
I don't use Slim (I just "startx" from tty or XDM on some comps), so I'm not the best person help you there. Post your slim.conf for me to take a look. also read here for info = https://wiki.archlinux.org/index.php/SLiM

For now, you can try changing that line to:
login_cmd exec ck-launch-session /home/zai/.xinitrc
to see if it works (replace "zai" with your user name)

Edit: I have another appointment coming up soon, so I might not be able to reply till later in the night.

This post has been edited by G-17: Jul 14 2011, 03:48 PM
cocooh
post Jul 14 2011, 03:49 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


slim.conf :

» Click to show Spoiler - click again to hide... «


Edit : actually ive tried both .xinitrc and xsession boot up

.xinitrc will make my font go haywire while xsession wont give me autostart my conky , feh etc etc

sweat.gif i'll try to find some solution to this

Update: Fixed by adding sessionstart_cmd /home/willeosoeurs/.xinitrc into slim.conf

With this , it will load XSession and then autorun my .xinitrc biggrin.gif

Thanks everyone for helping a troublesome me in getting my scrotwm running biggrin.gif

Now ive got an Pure Scrotwm biggrin.gif without Gnome laugh.gif

Special thanks to G-17 , farkinid and Acid_Rulez laugh.gif

thumbup.gif

rclxm9.gif

notworthy.gif

This post has been edited by cocooh: Jul 14 2011, 04:09 PM
G-17
post Jul 14 2011, 05:00 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
@Zai.
Good to know you found a solution. Though I still don't understand why you people like Slim so much when a simple StartX or configuring XDM is so much easier (and nicer... I find Slim a tad ugly, tbh)

Anyways, congrats on your first Debian + TilingWM install.
Now lets see how long you can survive without a systray laugh.gif
TSfarkinid
post Jul 14 2011, 05:01 PM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


QUOTE(G-17 @ Jul 14 2011, 05:00 PM)
@Zai.
Good to know you found a solution. Though I still don't understand why you people like Slim so much when a simple StartX or configuring XDM is so much easier (and nicer... I find Slim a tad ugly, tbh)

Anyways, congrats on your first Debian + TilingWM install.
Now lets see how long you can survive without a systray laugh.gif
*
Can't be that bad. I've been using Debian + Tiling WM since this thread began and I don't miss the systray.
cocooh
post Jul 14 2011, 05:08 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Jul 14 2011, 05:00 PM)
@Zai.
Good to know you found a solution. Though I still don't understand why you people like Slim so much when a simple StartX or configuring XDM is so much easier (and nicer... I find Slim a tad ugly, tbh)

Anyways, congrats on your first Debian + TilingWM install.
Now lets see how long you can survive without a systray laugh.gif
*
I can dump that systray away shocking.gif

Coz i got Wicd biggrin.gif

This post has been edited by cocooh: Jul 14 2011, 05:09 PM
cocooh
post Jul 15 2011, 02:50 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


Im back with more questions laugh.gif

Debian as i understand now has 3 fork , stable , testing and unstable

Im running Debian stable right now nod.gif but if i wanted to upgrade to testing , i need to change my source list from squeeze - stable to wheezy - testing only ?

Any other things to be done ?

And i've heard that i need to upgrade my kernel as well , some even have problem loading X after upgrading Squeeze to Wheezy shocking.gif
TSfarkinid
post Jul 15 2011, 03:05 PM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


QUOTE(cocooh @ Jul 15 2011, 02:50 PM)
Im back with more questions laugh.gif

Debian as i understand now has 3 fork , stable , testing and unstable

Im running Debian stable right now  nod.gif but if i wanted to upgrade to testing , i need to change my source list from squeeze - stable to wheezy - testing only ?

Any other things to be done ?

And i've heard that i need to upgrade my kernel as well , some even have problem loading X after upgrading Squeeze to Wheezy  shocking.gif
*
I can't remember what its called but all debian testing has the same codename. (Just a nice "did you know?" kinda thing).

Anyways, after you change your /etc/apt/sources.list just run
CODE
sudo apt-get upgrade

It should change everything for you automatically and break just about everything too tongue.gif
cocooh
post Jul 15 2011, 03:16 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(farkinid @ Jul 15 2011, 03:05 PM)
I can't remember what its called but all debian testing has the same codename. (Just a nice "did you know?" kinda thing).

Anyways, after you change your /etc/apt/sources.list just run
CODE
sudo apt-get upgrade

It should change everything for you automatically and break just about everything too tongue.gif
*
sweat.gif worried about breaking though , especially the kernel part
TSfarkinid
post Jul 15 2011, 03:18 PM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


QUOTE(cocooh @ Jul 15 2011, 03:16 PM)
sweat.gif worried about breaking though , especially the kernel part
*
Uh , well... I was exaggerating. The kernel itself should break but you might have some library mismatches. I've never actually moved to testing before so I can't comment too much.

However, I have done a kernel upgrade using the method i mentioned. No problems.
cocooh
post Jul 15 2011, 03:23 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(farkinid @ Jul 15 2011, 03:18 PM)
Uh , well... I was exaggerating. The kernel itself should break but you might have some library mismatches. I've never actually moved to testing before so I can't comment too much.

However, I have done a kernel upgrade using the method i mentioned. No problems.
*
Hmm , might wanna stay tight if so sweat.gif Ive done so much to configure and im too scared to just break it off like that shakehead.gif
TSfarkinid
post Jul 15 2011, 03:27 PM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


QUOTE(cocooh @ Jul 15 2011, 03:23 PM)
Hmm , might wanna stay tight if so  sweat.gif Ive done so much to configure and im too scared to just break it off like that  shakehead.gif
*
I say go for it. Just image your drive/partition 1st. Then if it really goes bad, just put back the image. I do that with my servers actually.
cocooh
post Jul 15 2011, 04:21 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(farkinid @ Jul 15 2011, 03:27 PM)
I say go for it. Just image your drive/partition 1st. Then if it really goes bad, just put back the image. I do that with my servers actually.
*
How to actually image my drive blink.gif
TSfarkinid
post Jul 15 2011, 04:42 PM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


Ok drive imaging is cloning the drive. I've used a couple before but clonezilla is definitely 1 of the better ones imho. Its pretty fast. 7 hours to clone 1.5TB

Also, its based on debian so you should have no problems adapting to it in case anything goes wrong (not that anything has ever gone wrong). Just burn the ISO into CD or put it into a pendrive (which is what I do) and boot from it. Then follow the menus and you'll be fine. Also, prepare 1 external drive.

http://clonezilla.org/


cocooh
post Jul 15 2011, 05:05 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(farkinid @ Jul 15 2011, 04:42 PM)
Ok drive imaging is cloning the drive. I've used a couple before but clonezilla is definitely 1 of the better ones imho. Its pretty fast. 7 hours to clone 1.5TB

Also, its based on debian so you should have no problems adapting to it in case anything goes wrong (not that anything has ever gone wrong). Just burn the ISO into CD or put it into a pendrive (which is what I do) and boot from it. Then follow the menus and you'll be fine. Also, prepare 1 external drive.

http://clonezilla.org/
*
Cool shocking.gif Thx notworthy.gif
G-17
post Jul 15 2011, 05:46 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
@Farkinid & Zai
It's actually "apt-get dist-upgrade" for when you upgrade from Squeeze to Wheezy (Testing) or Sid (Unstable). apt-get upgrade alone won't cut it. Also note that the first time you dist-upgrade after changing sources, it's recommended you do it outside X, preferably inside an administrative init level (init 3 is usually enough)

Zai... Yup, all you have to do is change Squeeze to Testing in your sources.list
You can also have a hybrid of Stable, Testing and Unstable on the same install if you understand apt-pinning, but it might sound a bit too demanding to someone new to Debian.

Also note that a dist-upgrade after converting sources from Squeeze to Testing might not bring in a newer kernel. You might have to "apt-cache search linux-headers" and "apt-cache search linux-image" and manually install them the first time round. Not 100% sure since I haven't run Debian via a Stable netinstall image in a while (I prefer GRML)

Additional notes: Unstable has long since depreciated HAL in favour of Udev, but I'm not quite sure of Squeeze or Testing. Do pay attention to apt-output.

This post has been edited by G-17: Jul 15 2011, 05:48 PM
cocooh
post Jul 15 2011, 05:53 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


[quote=G-17,Jul 15 2011, 05:46 PM]@Farkinid & Zai
It's actually "apt-get dist-upgrade" for when you upgrade from Squeeze to Wheezy (Testing) or Sid (Unstable). apt-get upgrade alone won't cut it. Also note that the first time you dist-upgrade after changing sources, it's recommended you do it outside X, preferably inside an administrative init level (init 3 is usually enough)

Zai... Yup, all you have to do is change Squeeze to Testing in your sources.list
You can also have a hybrid of Stable, Testing and Unstable on the same install if you understand apt-pinning, but it might sound a bit too demanding to someone new to Debian.

Also note that a dist-upgrade after converting sources from Squeeze to Testing might not bring in a newer kernel. You might have to "apt-cache search linux-headers" and "apt-cache search linux-image" and manually install them the first time round. Not 100% sure since I haven't run Debian via a Stable netinstall image in a while (I prefer GRML)

Additional notes: Unstable has long since depreciated HAL in favour of Udev, but I'm not quite sure of Squeeze or Testing. Do pay attention to apt-output.


This post has been edited by cocooh: Jul 16 2011, 09:56 PM
cocooh
post Jul 16 2011, 09:57 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


Is there any other way to increase it ?

Alsa is full sweat.gif
G-17
post Jul 16 2011, 11:00 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
^Increase what? Volume?
Run "alsamixer" in terminal and first make sure your Master and PCM are both turned up. Maybe other options like Front and Headphone as well.

Also, your previous post? ... why just quote me without saying anything? o.O

This post has been edited by G-17: Jul 16 2011, 11:04 PM
cocooh
post Jul 17 2011, 04:05 AM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Jul 16 2011, 11:00 PM)
^Increase what? Volume?
Run "alsamixer" in terminal and first make sure your Master and PCM are both turned up. Maybe other options like Front and Headphone as well.

Also, your previous post? ... why just quote me without saying anything? o.O
*
Did some wrong editing ==

Nvm bout that laugh.gif
cocooh
post Aug 1 2011, 08:58 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


Hmm , is there any terminal based web browser which shows images as well ?

Links2 doesn show images in my urxvt sad.gif

Or is there any configs that i have missed laugh.gif ?
G-17
post Aug 1 2011, 09:47 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(cocooh @ Aug 1 2011, 08:58 PM)
Hmm , is there any terminal based web browser which shows images as well ?

Links2 doesn show images in my urxvt sad.gif

Or is there any configs that i have missed laugh.gif ?
*
Start it with "links2 -g" ... kinda ugly, though (Ive never bothered finding out whether it can be customized or not)

There also w3m, which you can compile with image support, though it's a bit weird sometimes.

user posted image

On Debian, just "apt-get install w3m w3m-img"

cocooh
post Aug 1 2011, 09:53 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Aug 1 2011, 09:47 PM)
Start it with "links2 -g" ... kinda ugly, though (Ive never bothered finding out whether it can be customized or not)

There also w3m, which you can compile with image support, though it's a bit weird sometimes.

user posted image

On Debian, just "apt-get install w3m w3m-img"
*
Ahh , looks weird with links2 (ugly actually sweat.gif )

But the thing is , links2 in urxvt does not support mouse clicking other than ESC menu's

Or its meant to be like that ?
G-17
post Aug 1 2011, 10:04 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(cocooh @ Aug 1 2011, 09:53 PM)
Ahh , looks weird with links2 (ugly actually  sweat.gif )

But the thing is , links2 in urxvt does not support mouse clicking other than ESC menu's

Or its meant to be like that ?
*

Not sure. I haven't used it in a while. I mainly use elinks for my term www browser and uzbl or jumanji for my gui one, with aether chromium or ff as a fallback in case pages don't render properly.

cocooh
post Aug 1 2011, 10:05 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Aug 1 2011, 10:04 PM)
Not sure. I haven't used it in a while. I mainly use elinks for my term www browser and uzbl or jumanji for my gui one, with aether chromium or ff as a fallback in case pages don't render properly.
*
hmm jumanji hmm.gif

i'll stick to links2 for now laugh.gif quite easy to use nod.gif
TSfarkinid
post Aug 2 2011, 11:06 AM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


I don't get it, why use terminal based browser? The "normal" browsers are really powerful. Its not just for websurfing.
cocooh
post Aug 2 2011, 11:29 AM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(farkinid @ Aug 2 2011, 11:06 AM)
I don't get it, why use terminal based browser? The "normal" browsers are really powerful. Its not just for websurfing.
*
Finding alternative option to replace Chrome (just in case) tongue.gif

Now im eager to try evilwm blink.gif

But i need more studying bout this wm rclxub.gif
G-17
post Aug 2 2011, 01:53 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(farkinid @ Aug 2 2011, 11:06 AM)
I don't get it, why use terminal based browser? The "normal" browsers are really powerful. Its not just for websurfing.
*
I agree. Most of the intrawebs is heavy on graphics. Using a curses browser is just too much of a compromise most of the time. They're great (better tha gui, in fact) for browsing mailing lists and text-heavy bbs or the ocassional streamlined news site, but that's about it, tbh.
You can have elinks/links2/links pipe images out to feh for image viewing, but most would probably find that cumbersome. Speaking of which, I hope someone at Google releases some source code for G+ so that we can get a lightweight CLI client for it. It's a great service, but I'm fed up of all those animated circles and bubbles. Way too heavy for a netbook.

@farkinid
Didn't have much luck yesterday with the ATI SDK, which was expected since I'm missing a lot of ATI/AMD related libraries, not to mention the actual ATI hardware. Will try on another rig later.




QUOTE(cocooh @ Aug 2 2011, 11:29 AM)
Finding alternative option to replace Chrome (just in case) tongue.gif

Now im eager to try evilwm  blink.gif

But i need more studying bout this wm  rclxub.gif
*

If it's webkit, try Midori or Uzbl.
Uzbl is currently what I use nowadays on my Debian boxes (Jumanji on Arch boxes since AUR has it).
Tbh, if your hardware is recent, the new Firefox builds from the Mozilla Debian repo are excellent, particularly the Unstable, beta and Aurora daily snapshots.
http://mozilla.debian.net/

Regarding EvilWM, it's actually one of the simplest WMs around. Just install it, and the "man evilwm" in a term for all the info you need.
It's not for everyone, though. Some say it's too minimal.

cocooh
post Aug 2 2011, 01:55 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Aug 2 2011, 01:53 PM)
I agree. Most of the intrawebs is heavy on graphics. Using a curses browser is just too much of a compromise most of the time. They're great (better tha gui, in fact) for browsing mailing lists and text-heavy bbs or the ocassional streamlined news site, but that's about it, tbh.
You can have elinks/links2/links pipe images out to feh for image viewing, but most would probably find that cumbersome. Speaking of which, I hope someone at Google releases some source code for G+ so that we can get a lightweight CLI client for it. It's a great service, but I'm fed up of all those animated circles and bubbles. Way too heavy for a netbook.

@farkinid
Didn't have much luck yesterday with the ATI SDK, which was expected since I'm missing a lot of ATI/AMD related libraries, not to mention the actual ATI hardware. Will try on another rig later.
If it's webkit, try Midori or Uzbl.
Uzbl is currently what I use nowadays on my Debian boxes (Jumanji on Arch boxes since AUR has it).
Tbh, if your hardware is recent, the new Firefox builds from the Mozilla Debian repo are excellent, particularly the Unstable, beta and Aurora daily snapshots.
http://mozilla.debian.net/

Regarding EvilWM, it's actually one of the simplest WMs around. Just install it, and the "man evilwm" in a term for all the info you need.
It's not for everyone, though. Some say it's too minimal.
*
As minimal as possible laugh.gif

Gonna try to customize it when i got time for it
TSfarkinid
post Aug 2 2011, 02:49 PM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


QUOTE(G-17 @ Aug 2 2011, 01:53 PM)
@farkinid
Didn't have much luck yesterday with the ATI SDK, which was expected since I'm missing a lot of ATI/AMD related libraries, not to mention the actual ATI hardware. Will try on another rig later.
*
Hey man, thanks alot. I really don't want you to waste your time on this though. I can power through it myself. Just gotta set aside some time. I asked here just to see if anybody has any experience thats all.

Also, the SDK won't work without the hardware because it needs to talk to non-free drivers. 1 of the really strange errors I got was when I had non-free drivers installed and working perfectly but the SDK refused to recognize my hardware.
cocooh
post Aug 2 2011, 03:58 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


@G-17

Hmm , about wm's

Evilwm vs Subtle

Which is much easier to be config and to use ?

hmm.gif
cocooh
post Aug 4 2011, 10:59 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


To make tiling even more fun and easy to be customize , i've compiled everything in this thread into one PDF file laugh.gif

Thx to G-17 n Farkinid laugh.gif

And also everyone else laugh.gif

Click me to download

And it is open source laugh.gif

Source file

I will update the pdf if there is any changes

Any mischief in the information written in the pdf do tell me ohmy.gif

This post has been edited by cocooh: Aug 4 2011, 11:41 PM
Acid_RuleZz
post Aug 5 2011, 12:34 PM

ミウ ❤
*******
Senior Member
6,612 posts

Joined: Jan 2003
From: Tomorrow


^ +1 rep.. oh wait.. wrong forum.

btw, anyone managed to run scrotwm and OB with SLIM?. cry.gif
cocooh
post Aug 5 2011, 12:39 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(Acid_RuleZz @ Aug 5 2011, 12:34 PM)
^ +1 rep.. oh wait.. wrong forum.

btw, anyone managed to run scrotwm and OB with SLIM?.  cry.gif
*
Here laugh.gif wad happened ?

How do you start with ? xinit or xsession ?

This post has been edited by cocooh: Aug 5 2011, 12:39 PM
TSfarkinid
post Aug 5 2011, 03:37 PM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


QUOTE(Acid_RuleZz @ Aug 5 2011, 12:34 PM)
^ +1 rep.. oh wait.. wrong forum.

btw, anyone managed to run scrotwm and OB with SLIM?.  cry.gif
*
I'm running Scrot with SLIM... i can tell you, its a little nightmarish. But i finally got it to work on Debian.
G-17
post Aug 5 2011, 08:33 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(farkinid @ Aug 2 2011, 02:49 PM)
Hey man, thanks alot. I really don't want you to waste your time on this though. I can power through it myself. Just gotta set aside some time. I asked here just to see if anybody has any experience thats all.

Also, the SDK won't work without the hardware because it needs to talk to non-free drivers. 1 of the really strange errors I got was when I had non-free drivers installed and working perfectly but the SDK refused to recognize my hardware.
*
I still haven't been able to get my hands on an AMD/ATI GFX based rig yet. Actually, I'm kinda curious on the SDKs as well, just for the sake of being up-to-date on the matter. it's embarassing how often I get asked about ATI stuff and have no answer for anyone. sad.gif
Sadly the only piace of hardware I have that has ATI gfx is this 7-8 yr old Acer Aspire laptop, and it seems the old proprietary drivers for that are all incompatible with the current Xorg as well as the SDK..... it only works with the open source driver, and with very limited functionality at that.

Your errors sound like a symlinking problem to me, btw. Can't help further as of right now, but that's my prelim assessment/guesstimate.


Added on August 5, 2011, 8:38 pm

QUOTE(cocooh @ Aug 2 2011, 03:58 PM)
@G-17

Hmm , about wm's

Evilwm vs Subtle

Which is much easier to be config and to use ?

hmm.gif
*

Sorry for totally missing this question. Subtle and Evil are totally different beats. Evil, as you might realize by now, is extremely light and minimal, while Subtle is more full featured (though still pretty light).

Not quite sure how well Subtle works with the current Debian. It depends and is configured in Ruby, which was a bit of a mess on Debian when I last tried it (not surprising as it was the time all the branches came out of a frozen state right after the Squeeze official release). I personally have only tried Subtle with Arch and Slackware.

Subtle is heavily dependent on tagging, so unless you find the time to configure it to make use of tags and gravities, you might not get the best use out of it. Knowledge in Ruby (one of my fave languages, btw) definitely helps.I think it's a pretty decent WM, reason I don't use it now is because it's not minimal enough for me, and it's a bit too ... uhm ... widgety.

I have some old configs if you need em, though they'll probably require some level of editing to fit your workflow. I'll post a scrot in the desktop for you to take a look.

This post has been edited by G-17: Aug 5 2011, 08:41 PM
cocooh
post Aug 5 2011, 08:44 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Aug 5 2011, 08:33 PM)
I still haven't been able to get my hands on an AMD/ATI GFX based rig yet. Actually, I'm kinda curious on the SDKs as well, just for the sake of being up-to-date on the matter. it's embarassing how often I get asked about ATI stuff and have no answer for anyone. sad.gif
Sadly the only piace of hardware I have that has ATI gfx is this 7-8 yr old Acer Aspire laptop, and it seems the old proprietary drivers for that are all incompatible with the current Xorg as well as the SDK..... it only works with the open source driver, and with very limited functionality at that.

Your errors sound like a symlinking problem to me, btw. Can't help further as of right now, but that's my prelim assessment/guesstimate.


Added on August 5, 2011, 8:38 pm

Sorry for totally missing this question. Subtle and Evil are totally different beats. Evil, as you might realize by now, is extremely light and minimal, while Subtle is more full featured (though still pretty light).

Not quite sure how well Subtle works with the current Debian. It depends and is configured in Ruby, which was a bit of a mess on Debian when I last tried it (not surprising as it was the time all the branches came out of a frozen state right after the Squeeze official release). I personally have only tried Subtle with Arch and Slackware.

Subtle is heavily dependent on tagging, so unless you find the time to configure it to make use of tags and gravities, you might not get the best use out of it. Knowledge in Ruby (one of my fave languages, btw) definitely helps.I think it's a pretty decent WM, reason I don't use it now is because it's not minimal enough for me, and it's a bit too ... uhm ... widgety.

I have some old configs if you need em, though they'll probably require some level of editing to fit your workflow. I'll post a scrot in the desktop for you to take a look.
*
Ahh laugh.gif thx

I was thinking of trying it coz it looks challenging (& cute with those icons) laugh.gif

Thinking whether or not to install Arch for that
G-17
post Aug 5 2011, 09:02 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(cocooh @ Aug 5 2011, 08:44 PM)
Ahh  laugh.gif  thx

I was thinking of trying it coz it looks challenging (& cute with those icons)  laugh.gif

Thinking whether or not to install Arch for that
*
Gaah!! .. I hate those icons (they're called sublets, btw).
As for Arch, try it if you want. It might prove a good learning experience, though seriously I'd recommend Slackware or Crux if you really wanna learn Linux, and then maybe go with Gentoo, Sorcerer or LFS in future.

This post has been edited by G-17: Aug 5 2011, 09:02 PM
Acid_RuleZz
post Aug 6 2011, 12:18 AM

ミウ ❤
*******
Senior Member
6,612 posts

Joined: Jan 2003
From: Tomorrow


QUOTE(farkinid @ Aug 5 2011, 03:37 PM)
I'm running Scrot with SLIM... i can tell you, its a little nightmarish. But i finally got it to work on Debian.
*
I can config Scrotwm or Openbox with SLIM but not both of them. I want an option to select which WM to choose at login pretty much like GDM.
cocooh
post Aug 6 2011, 12:53 AM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Aug 5 2011, 09:02 PM)
Gaah!! .. I hate those icons (they're called sublets, btw).
As for Arch, try it if you want. It might prove a good learning experience, though seriously I'd recommend Slackware or Crux if you really wanna learn Linux, and then maybe go with Gentoo, Sorcerer or LFS in future.
*
QUOTE(Acid_RuleZz @ Aug 6 2011, 12:18 AM)
I can config Scrotwm or Openbox with SLIM but not both of them. I want an option to select which WM to choose at login pretty much like GDM.
*
@G-17 shocking.gif Gentoo , building packages need aloott of work laugh.gif

Arch will be nice

@Acid ya need to change it to use xsession in order to select , or add a few lines in .xinitrc might do the trick hmm.gif

CODE
# The following variable defines the session which is started if the user doesn't explicitly select a session
# Source: http://svn.berlios.de/svnroot/repos/slim/trunk/xinitrc.sample

DEFAULT_SESSION=twm

case $1 in
kde)
exec startkde
;;
xfce4)
exec startxfce4
;;
icewm)
icewmbg &
icewmtray &
exec icewm
;;
wmaker)
exec wmaker
;;
blackbox)
exec blackbox
;;
*)
exec $DEFAULT_SESSION
;;
esac


Did u try adding these ?
Acid_RuleZz
post Aug 6 2011, 04:40 AM

ミウ ❤
*******
Senior Member
6,612 posts

Joined: Jan 2003
From: Tomorrow


^ yeah i did.. but its not working.
cocooh
post Aug 6 2011, 10:51 AM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(Acid_RuleZz @ Aug 6 2011, 04:40 AM)
^ yeah i did.. but its not working.
*
hmm , can u post your xinitrc and slim.conf ?
Acid_RuleZz
post Aug 6 2011, 05:19 PM

ミウ ❤
*******
Senior Member
6,612 posts

Joined: Jan 2003
From: Tomorrow


.xinitrc
CODE
[SPOILER]#!/bin/bash
exec ck-launch-session dbus-launch openbox-session

set +fp /usr/share/fonts/local
xset fp rehash[/SPOILER]


slim.conf
CODE
[SPOILER]# Path, X server and arguments (if needed)
# Note: -xauth $authfile is automatically appended
default_path        /bin:/usr/bin:/usr/local/bin
default_xserver     /usr/bin/X
xserver_arguments -nolisten tcp vt07

# Commands for halt, login, etc.
halt_cmd            /sbin/shutdown -h now
reboot_cmd          /sbin/shutdown -r now
console_cmd         /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
#suspend_cmd        /usr/sbin/suspend

# Full path to the xauth binary
xauth_path         /usr/bin/xauth

# Xauth file for server
authfile           /var/run/slim.auth


# Activate numlock when slim starts. Valid values: on|off
# numlock             on

# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
# hidecursor          false

# This command is executed after a succesful login.
# you can place the %session and %theme variables
# to handle launching of specific commands in .xinitrc
# depending of chosen session and slim theme
#
# NOTE: if your system does not have bash you need
# to adjust the command according to your preferred shell,
# i.e. for freebsd use:
# login_cmd           exec /bin/sh - ~/.xinitrc %session
login_cmd           exec /bin/bash -login ~/.xinitrc %session

# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with
# sessreg. You can use the %user variable
#
# sessionstart_cmd some command
# sessionstop_cmd some command

# Start in daemon mode. Valid values: yes | no
# Note that this can be overriden by the command line
# options "-d" and "-nodaemon"
# daemon yes

# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions            xfce4,icewm,wmaker,blackbox

# Executed when pressing F11 (requires imagemagick)
screenshot_cmd      import -window root /slim.png

# welcome message. Available variables: %host, %domain
welcome_msg         Welcome to %host

# Session message. Prepended to the session name when pressing F1
# session_msg         Session:

# shutdown / reboot messages
shutdown_msg       The system is halting...
reboot_msg         The system is rebooting...

# default user, leave blank or remove this line
# for avoid pre-loading the username.
default_user        xacid9

# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
#focus_password      no

# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature
auto_login          yes


# current theme, use comma separated list to specify a set to
# randomly choose from
current_theme       default

# Lock file
lockfile            /var/lock/slim.lock

# Log file
logfile             /var/log/slim.log[/SPOILER]


cocooh
post Aug 6 2011, 10:25 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(Acid_RuleZz @ Aug 6 2011, 05:19 PM)
.xinitrc
CODE
[SPOILER]#!/bin/bash
exec ck-launch-session dbus-launch openbox-session

set +fp /usr/share/fonts/local
xset fp rehash[/SPOILER]


slim.conf
CODE
[SPOILER]# Path, X server and arguments (if needed)
# Note: -xauth $authfile is automatically appended
default_path        /bin:/usr/bin:/usr/local/bin
default_xserver     /usr/bin/X
xserver_arguments -nolisten tcp vt07

# Commands for halt, login, etc.
halt_cmd            /sbin/shutdown -h now
reboot_cmd          /sbin/shutdown -r now
console_cmd         /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
#suspend_cmd        /usr/sbin/suspend

# Full path to the xauth binary
xauth_path         /usr/bin/xauth

# Xauth file for server
authfile           /var/run/slim.auth
# Activate numlock when slim starts. Valid values: on|off
# numlock             on

# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
# hidecursor          false

# This command is executed after a succesful login.
# you can place the %session and %theme variables
# to handle launching of specific commands in .xinitrc
# depending of chosen session and slim theme
#
# NOTE: if your system does not have bash you need
# to adjust the command according to your preferred shell,
# i.e. for freebsd use:
# login_cmd           exec /bin/sh - ~/.xinitrc %session
login_cmd           exec /bin/bash -login ~/.xinitrc %session

# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with
# sessreg. You can use the %user variable
#
# sessionstart_cmd some command
# sessionstop_cmd some command

# Start in daemon mode. Valid values: yes | no
# Note that this can be overriden by the command line
# options "-d" and "-nodaemon"
# daemon yes

# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions            xfce4,icewm,wmaker,blackbox

# Executed when pressing F11 (requires imagemagick)
screenshot_cmd      import -window root /slim.png

# welcome message. Available variables: %host, %domain
welcome_msg         Welcome to %host

# Session message. Prepended to the session name when pressing F1
# session_msg         Session:

# shutdown / reboot messages
shutdown_msg       The system is halting...
reboot_msg         The system is rebooting...

# default user, leave blank or remove this line
# for avoid pre-loading the username.
default_user        xacid9

# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
#focus_password      no

# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature
auto_login          yes
# current theme, use comma separated list to specify a set to
# randomly choose from
current_theme       default

# Lock file
lockfile            /var/lock/slim.lock

# Log file
logfile             /var/log/slim.log[/SPOILER]

*
I will look through this once i get back from gathering rclxub.gif sorry for late inspect of this

Whole day being busy installing and tweaking my Archie to be parallel with my Debian 6 install laugh.gif

Im'ma new Arch Linux user reporting myself
G-17
post Aug 6 2011, 11:33 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
Looks like I'm too late. I was gonna recommend Zai to install Parabola instead. biggrin.gif

Anyways, I hope your Arch install goes well. It's a great distro ( just with a f*cked up community full of lonely, bitter people who think Arch = girlfriend..... similar case to an otaku masturbating to a 2D anime girl, basically) tongue.gif

Try to stick to the main repos first until you get familiar with the updates and such. Don't jump into Yaourt and AUR straight away (unless you really need to)

This post has been edited by G-17: Aug 6 2011, 11:34 PM
cocooh
post Aug 7 2011, 02:57 AM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


@Acid_RuleZz

After some tiring and f**k*ng hard of configuring Slim in Arch , ive succeeded to make it boot from xinitrc beautifully

Make sure your .xinitrc looks like this :

CODE
# The following variable defines the session which is started if the user doesn't explicitly select a session
# Source: http://svn.berlios.de/svnroot/repos/slim/trunk/xinitrc.sample

DEFAULT_SESSION=openbox-session

case $1 in
evilwm)
xsetroot -solid "#333333" &
xsetroot -cursor_name left_ptr &
#setxkbmap us &
synclient TapButton1=1 &
synclient VertEdgeScroll=1 &
synclient VertTwoFingerScroll=1 &
feh --bg-scale /home/willeosoeurs/Pictures/Random/AmazingART/wallpaper-475682.jpg &
xcompmgr -cCfF -t-11 -l-12 -r8.8 -o1 -D4 &
thunar --daemon &
conky &
urxvtd -q -o -f &
xbacklight -70 &
xbindkeys &
exec evilwm
;;
xfce4)
exec startxfce4
;;
icewm)
icewmbg &
icewmtray &
exec icewm
;;
wmaker)
exec wmaker
;;
blackbox)
exec blackbox
;;
*)
#xsetroot -solid "#333333" &
#xsetroot -cursor_name left_ptr &
#setxkbmap us &
synclient TapButton1=1 &
synclient VertEdgeScroll=1 &
synclient VertTwoFingerScroll=1 &
feh --bg-scale /home/willeosoeurs/Pictures/Random/AmazingART/wallpaper-475682.jpg &
xcompmgr -cCfF -t-11 -l-12 -r8.8 -o1 -D4 &
thunar --daemon &
urxvtd -q -o -f &
xbacklight -70 &
exec $DEFAULT_SESSION
;;
esac



#synclient HorizTwoFingerScroll=1 &

#xbacklight -70 &
#xbindkeys &

#xcompmgr and brightness
#xcompmgr -c -t-5 -l-5 -r4.2 -o.55 &


#xscreensaver -no-splash &
#thunar --daemon &

#exec scrotwm

#for evilwm
#xbindkeys &
#exec /usr/bin/evilwm -term urxvt -snap 10 -bw 3 -fg grey

#for evilwm
#evilwm -term rxvt -snap 10 -bw 2 -fg gold


lets assume evilwm as scrotwm and openbox as your default

make sure that the exec of a window manager located at the most end after all the apps for startup

After that , please edit your slim.conf to look like this

CODE
# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions            openbox,evilwm


This will make sure pressing F1 will redirect slim.conf's to be linked with xinitrc's

I know im bad with explanation , do ask question if i didn explain it clearly laugh.gif

Edit , idk why my xinitrc looks bad there , pls dl the xinitrc from here : http://ompldr.org/vOXNhNw/.xinitrc



This post has been edited by cocooh: Aug 9 2011, 07:29 PM
cocooh
post Aug 9 2011, 07:29 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


Loads of wm's biggrin.gif

» Click to show Spoiler - click again to hide... «



Added on August 9, 2011, 7:36 pm@G-17

Any comments on these wm's ? tongue.gif

Need your opinion about it biggrin.gif

wmii

xmonad

dwm

musca



This post has been edited by cocooh: Aug 9 2011, 07:36 PM
G-17
post Aug 9 2011, 08:22 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
@Zai

60% of that long list of WMs available via pacman or yaourt are either broken or have been depreciated, fyi.... half of them probably don't even work with newer versions of Xorg and Xlib/XCB.
That's actually my main problem with Arch sources/package-maintainers. Their style is much like Malaysian commercial property developers .... know how to build, don't know how to maintain, and becomes a garbage dump as a result (cough... AUR... cough)

wmii - Probably most modular of all tiling wm. Scriptable in any language, though recommended configuration should be in either bash/dash or ruby on rails. Needs a lot of work to get working just right. Personally, I don't really like the curved-edged windecs it employs, though that's a purely a subjective issue. If interested, find a user called sunaku over at the Archtard forums. He's been using wmii since the time of the dinosaurs. Needs quite a lot of config files to work just right, and it's a manual tiler fyi.

xmonad - My ex-favourite WM. I used to used Xmonad for a long time before I discovered ScrotWM (Many people call ScrotWM a Xmonad-Lite, btw). Requires some proficiency in HAskell, so I wouldn't recommend it if you don't know the language. Arguably the most full-featured tiling WM out there, with the most documentation. Pretty big compared to other wms (requires the Haskell compiler) and can be a pain for newbies. Xmobar is recommended as a panel, though I personally prefer dzen2. There should be a thread with configs in the Archnerd forum if you're interested. The Gentoo forums are a better place for xmonad stuff, imho. Also try the xmonad site.

dwm - Another old favourite. I still have it installed, in fact. Coded and configured in C. To get the best out of it, you'll need a lot of patches (search for dwm-sprinkles). It's codebase has gotten rather messy in recent years, but it's still one of the most configurable WMs out there. Reloading configs requires modifying the config.h file and recompiling (not a simple restart like Scrotwm or Openbox), so you'll either have to do that or creat a script that recompiles and restarts it for you.

musca - Great manual tiler, but I think the project died. Heard it was forked by someone and renamed, but I'm not 100% sure. Very light (as light as ScrotWM, in fact). Editing source requires knowledge in C, but configuring is in plain English and quite simple (also has the benefit of having startup apps in the same config). No panel, so probably requires conky or dzen2 to get the best use out of it.

I have some old configs for Xmonad, Musca and Dwm lying around on an external HD somewhere and can paste them later if you want, though it's also good to explore forums and teh main sites to get a better idea of their usage. The server in my mom's house has wmii installed, so I can remotely grab some configs from there as well. Let me know.

This post has been edited by G-17: Aug 9 2011, 08:27 PM
cocooh
post Aug 9 2011, 08:51 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Aug 9 2011, 08:22 PM)
@Zai

60% of that long list of WMs available via pacman or yaourt are either broken or have been depreciated, fyi.... half of them probably don't even work with newer versions of Xorg and Xlib/XCB.
That's actually my main problem with Arch sources/package-maintainers. Their style is much like Malaysian commercial property developers .... know how to build, don't know how to maintain, and becomes a garbage dump as a result (cough... AUR... cough)

wmii - Probably most modular of all tiling wm. Scriptable in any language, though recommended configuration should be in either bash/dash or ruby on rails. Needs a lot of work to get working just right. Personally, I don't really like the curved-edged windecs it employs, though that's a purely a subjective issue. If interested, find a user called sunaku over at the Archtard forums. He's been using wmii since the time of the dinosaurs. Needs quite a lot of config files to work just right, and it's a manual tiler fyi.

xmonad - My ex-favourite WM. I used to used Xmonad  for a long time before I discovered ScrotWM (Many people call ScrotWM a Xmonad-Lite, btw). Requires some proficiency in HAskell, so I wouldn't recommend it if you don't know the language. Arguably the most full-featured tiling WM out there, with the most documentation. Pretty big compared to other wms (requires the Haskell compiler) and can be a pain for newbies. Xmobar is recommended as a panel, though I personally prefer dzen2. There should be a thread with configs in the Archnerd forum if you're interested. The Gentoo forums are a better place for xmonad stuff, imho. Also try the xmonad site.

dwm - Another old favourite. I still have it installed, in fact. Coded and configured in C. To get the best out of it, you'll need a lot of patches (search for dwm-sprinkles). It's codebase has gotten rather messy in recent years, but it's still one of the most configurable WMs out there. Reloading configs requires modifying the config.h file and recompiling (not a simple restart like Scrotwm or Openbox), so you'll either have to do that or creat a script that recompiles and restarts it for you.

musca - Great manual tiler, but I think the project died. Heard it was forked by someone and renamed, but I'm not 100% sure. Very light (as light as ScrotWM, in fact). Editing source requires knowledge in C, but configuring is in plain English and quite simple (also has the benefit of having startup apps in the same config). No panel, so probably requires conky or dzen2 to get the best use out of it.

I have some old configs for Xmonad, Musca and Dwm lying around on an external HD somewhere and can paste them later if you want, though it's also good to explore forums and teh main sites to get a better idea of their usage. The server in my mom's house has wmii installed, so I can remotely grab some configs from there as well. Let me know.
*
ahh nice thumbup.gif was thinking on which wm to play with right now

G-17 , hw bout awesome and wmfs ? Any comment about it blink.gif

It seems that quite alot of people use awesome second to xmonad

This post has been edited by cocooh: Aug 9 2011, 08:52 PM
G-17
post Aug 9 2011, 08:53 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(cocooh @ Aug 9 2011, 08:51 PM)
G-17 , hw bout awesome ? Any comment about it  blink.gif
*

Awful!!
I hate its guts!! ... don't ask me anything about that WM or Lua, you infidel!!

mad.gif tongue.gif

cocooh
post Aug 9 2011, 08:54 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Aug 9 2011, 08:53 PM)
Awful!!
I hate its guts!! ... don't ask me anything about that WM or Lua, you infidel!!

mad.gif  tongue.gif
*
shocking.gif den den

wad bout wmfs

tongue.gif
G-17
post Aug 9 2011, 09:11 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
@Zai

WMFS
Read post #955 on this page
http://forum.lowyat.net/topic/1637124/+940#
Specifically my reply to farkinid. I mention WMFS in it.

I actually like WMFS quite a lot, though I had a problem with it. Same issue as with post #177 on this page: https://bbs.archlinux.org/viewtopic.php?id=110714&p=8
Dunno if it's been resolved yet or not in newer builds. I haven't had much time to play around with WMs much these days.
cocooh
post Aug 9 2011, 09:26 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Aug 9 2011, 09:11 PM)
@Zai

WMFS
Read post #955 on this page
http://forum.lowyat.net/topic/1637124/+940#
Specifically my reply to farkinid. I mention WMFS in it.

I actually like WMFS quite a lot, though I had a problem with it. Same issue as with post #177 on this page: https://bbs.archlinux.org/viewtopic.php?id=110714&p=8
Dunno if it's been resolved yet or not in newer builds. I haven't had much time to play around with WMs much these days.
*
Ahh ok laugh.gif
cocooh
post Aug 11 2011, 02:23 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


@G-17

Havin a scrotum problem here cry.gif

Ive installed the scrotwm cvs and it does not display my font properly from the above bar

No matter how it is (switch using scrotwmrc from your configs or any else's) , it displays weird font rendering cry.gif

How can i solve this icon_question.gif

It seems related to my Debian install where if i start scrotwm from xinitrc , the fonts will go haywire but if it start with Xsession , it renders smoothly shakehead.gif

icon_question.gif
TSfarkinid
post Aug 11 2011, 05:23 PM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


Guys, I can't remember (and for some reason my google-fu has failed me today) but how do i configure an application to load in a specific workspace.

Eg. Alt + f starts firefox but i want it to start in workspace number 4.

I did this when I 1st started this adventure but I forgot how now.
G-17
post Aug 11 2011, 05:50 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
@Farkinid

You didn't mention what WM you're on. I assume ScrotWM?

FYI, you need to be using at least 0.9.32 to be able to initiate Autorun functions (see man page of the latest version)

I'm afraid the version in the Debian repos is a few versions older (stability = geezer-old apps), and no maintainer seems to want to add the newer versions to Unstable or Experimental.

THe only way is to sync with CVS or compile from source. If you do intend to take that path, then it's best you quit X and totally purge scrotwm first (remember, purge, not just a simple remove... and remember to backup your ~/.scrotwm.conf first), before compiling the source version (get 0.9.33). Reason is because apt, as you might realize by now) puts executables in /usr/bin while make-install puts it in /usr/local/bin, so it's best not to confuse your symlinks. After you do that, just cp the new included /etc/scrotwm.conf to ~/.scrotwm.conf and make the necessary changes. Do not paste your old config, as that will break some of the functionality and possibly cause scrot to crash. Just use it as reference while editing the new config.

If you just want to use the current version, then the only way is to open FF in workspace 4 when you first start Scrotwm. That way, it'll open there again until you quit Scrotwm.

Did I misunderstand your question?

This post has been edited by G-17: Aug 11 2011, 05:55 PM
TSfarkinid
post Aug 11 2011, 05:59 PM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


QUOTE(G-17 @ Aug 11 2011, 05:50 PM)
@Farkinid

You didn't mention what WM you're on. I assume ScrotWM?

FYI, you need to be using at least 0.9.32 to be able to initiate Autorun functions (see man page of the  latest version)

I'm afraid the version in the Debian repos is a few versions older (stability = geezer-old apps), and no maintainer seems to want to add the newer versions to Unstable or Experimental.

THe only way is to sync with CVS or compile from source. If you do intend to take that path, then it's best you quit X and totally purge scrotwm first (remember, purge, not just a simple remove... and remember to backup your ~/.scrotwm.conf first), before compiling the source version (get 0.9.33). Reason is because apt, as you might realize by now) puts executables in /usr/bin while make-install puts it in /usr/local/bin, so it's best not to confuse your symlinks. After you do that, just cp the new included /etc/scrotwm.conf to ~/.scrotwm.conf and make the necessary changes. Do not paste your old config, as that will break some of the functionality and possibly cause scrot to crash. Just use it as reference while editing the new config.

If you just want to use the current version, then the only way is to open FF in workspace 4 when you first start Scrotwm. That way, it'll open there again until you quit Scrotwm.

Did I misunderstand your question?
*
Yeah I'm using ScrotWM. I read a long time ago that in the scrotwm.conf, its possible to put the following :-
CODE
program[Fireforx]=firefox
bind[Firefox]= MOD+f <insert additional switches here>

So when I press mod+f, firefox opens in anohter workspace. Not in the workspace im at.
G-17
post Aug 11 2011, 05:59 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
@Zai
I dunno, cos I don't use slim.

Only suggestion I can give is to try forcing a merge-xrdb command by putting a line into your .xinitrc (or whatever start file that useless slim uses)

Try this;
CODE
xrdb -merge .Xdefaults


or this;

CODE
[ -f $HOME/.Xdefaults ] && xrdb $HOME/.Xdefaults



Added on August 11, 2011, 6:06 pm
@farkinid
QUOTE(farkinid @ Aug 11 2011, 05:59 PM)
Yeah I'm using ScrotWM. I read a long time ago that in the scrotwm.conf, its possible to put the following :-
CODE
program[Fireforx]=firefox
bind[Firefox]= MOD+f <insert additional switches here>

So when I press mod+f, firefox opens in anohter workspace. Not in the workspace im at.
*

Hmm ... I have to say I've never attempted that. I could ask teh dev for you, but then he'd just yell at me saying "Don't go helping Linux people!!" or "tell her to grab the newest version!!" sweat.gif

Maybe
CODE
bind[Firefox]= MOD+f mvws_4


O_o? Seriously, I have no clue.
You've now officially surpassed me, so I should be the one asking you for help tongue.gif

This post has been edited by G-17: Aug 11 2011, 06:09 PM
cocooh
post Aug 11 2011, 07:16 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(farkinid @ Aug 11 2011, 05:23 PM)
Guys, I can't remember (and for some reason my google-fu has failed me today) but how do i configure an application to load in a specific workspace.

Eg. Alt + f starts firefox but i want it to start in workspace number 4.

I did this when I 1st started this adventure but I forgot how now.
*
shocking.gif hmm , ive never did that in Scrotwm

I didn remember that Scrotwm has that feature as well hmm.gif

But i know that subtle and wmfs can open specific application on specific "workspaces" nod.gif

@g-17 still cant work sad.gif

I guess scrot hates me cry.gif

This post has been edited by cocooh: Aug 11 2011, 07:42 PM
G-17
post Aug 11 2011, 10:24 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
@Zai
What fonts render incorrectly? What about terminus? and are you using the full iso codes?
Show me a screenshot?

....and scrotwm 0.9.32 and later can open apps in set workspaces, fyi ... see the man page

This post has been edited by G-17: Aug 11 2011, 10:25 PM
cocooh
post Aug 11 2011, 10:36 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Aug 11 2011, 10:24 PM)
@Zai
What fonts render incorrectly? What about terminus? and are you using the full iso codes?
Show me a screenshot?

....and scrotwm 0.9.32 and later can open apps in set workspaces, fyi ... see the man page
*
sweat.gif Uninstalled it , gonna install another version of it from the repo

How/What is full iso codes ?
G-17
post Aug 11 2011, 11:14 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
@zai
Iso code is something like this :

-*-terminus-medium-r-normal-*-12-120-72-72-c-60-iso8859-1

Basically, you open Xfontsel and get font iso codes. Download xfont and restart x
cocooh
post Aug 11 2011, 11:19 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Aug 11 2011, 11:14 PM)
@zai
Iso code is something like this :

-*-terminus-medium-r-normal-*-12-120-72-72-c-60-iso8859-1

Basically, you open Xfontsel and get font iso codes. Download xfont and restart x
*
Yup , i used the codes and no luck shocking.gif

hmm.gif Fishy
cocooh
post Aug 11 2011, 11:26 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


@G-17

Ive dumped awesome off my trying list tongue.gif

Idk why a small wm will pull such a load of deps , especially when cairo-xb something something wanna replace my default one shocking.gif

Reading from their wiki , idt its a wm , it looks full fledged , notification and stuff shocking.gif

Oh mai shakehead.gif

doh.gif
G-17
post Aug 11 2011, 11:26 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
It's probably a SLIM problem if the xsession works fine.
I can't check now ... I'm typing on my phone in a boring cafe drinking lousy coffee
Try checking the ArchWiki's ScrotWM page.

Will check again for you tomorrow

Edit:
Yeah, AwfulWM uses LUA so it depends on cairo to draw widgets and stuff like that

This post has been edited by G-17: Aug 11 2011, 11:28 PM
cocooh
post Aug 11 2011, 11:27 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Aug 11 2011, 11:26 PM)
It's probably a SLIM problem if the xsession works fine.
I can't check now ... I'm typing on my phone in a boring cafe drinking lousy coffee

Will check again for you tomorrow
*
Oh mai thx laugh.gif

shakehead.gif Hating awesome

If i install it , imma say bye bye to my minimal archey shakehead.gif
G-17
post Aug 12 2011, 04:51 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(cocooh @ Aug 11 2011, 11:27 PM)
Oh mai thx  laugh.gif

shakehead.gif Hating awesome

If i install it , imma say bye bye to my minimal archey  shakehead.gif
*

Well, to be fair, Awesome is still pretty minimal by most people's standards. Bloat is usually defined by stuff you don't need or use. In that sense, I'd go as far as saying that even Subtle is considered "heavy" if one doesn't actually do any work on Ruby.

Basically, if you really wanna be a bauhausian-zen-minimalist-elitist-douche, it's only C that you'll need. Anything else is useless. tongue.gif

Maybe that's why ScrotWM doesn't like Zai. It detected too much useless crap installed on your system. laugh.gif

This post has been edited by G-17: Aug 12 2011, 04:53 PM
cocooh
post Aug 12 2011, 04:52 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Aug 12 2011, 04:51 PM)
Well, to be fair, Awesome is still pretty minimal by most people's standards. Bloat is usually defined by stuff you don't need or use. In that sense, I'd go as far as saying that even Subtle is considered "heavy" if one doesn't actually do any work on Ruby.

Basically, if you really wanna be a bauhausian-zen-minimalist-elitist-douche, it's only C that you'll need. Anything else is useless. laugh.gif
*
FTW , evilwm is d best laugh.gif

As well as wmfs , ive tried it , it has tagging and nice tiling modes

Love these 2 laugh.gif
cocooh
post Aug 29 2011, 12:50 AM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


Be Lucky WM

Weird name but , a new tiling manager after catwm biggrin.gif
G-17
post Aug 29 2011, 01:34 AM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
^Haha!! I know where you saw that. El Mariachi's using my .Xdefaults, btw tongue.gif

You think that's a weird name? Try Herbstluftwm

How do you even pronounce that?! laugh.gif

P.S
Zai, can you do me a favor?
Quote el mariachi and tell him this;
"The person you got the term colorscheme from says he made a simple vim colorscheme upon your request. It's up in the place you asked for it. He apologizes for the delay coz he doesn't check there very often."

This post has been edited by G-17: Aug 29 2011, 01:46 AM
cocooh
post Aug 29 2011, 12:47 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(G-17 @ Aug 29 2011, 01:34 AM)
^Haha!! I know where you saw that. El Mariachi's using my .Xdefaults, btw tongue.gif

You think that's a weird name? Try Herbstluftwm

How do you even pronounce that?! laugh.gif

P.S
Zai, can you do me a favor?
Quote el mariachi and tell him this;
"The person you got the term colorscheme from says he made a simple vim colorscheme upon your request. It's up in the place you asked for it. He apologizes for the delay coz he doesn't check there very often."
*
ya sure u wan me to quote tongue.gif ?
fJok3R
post Nov 8 2011, 08:24 PM

Regular
******
Senior Member
1,419 posts

Joined: Apr 2010
necro bumping this thread, got a question to ask,

my screenshot

i can't get my conky output to be aligned to the right, the screenshot it's centerly aligned i guess. been going through the man page but nothing works

here's my conkyrc if it helps

CODE
out_to_x no
out_to_console yes
update_interval 1.0
total_run_times 0
use_spacer none
TEXT
Kernel: ${kernel} | CPU: ${cpu cpu0}.00% |  RAM: ${memperc}.00% |  Temperature: ${hwmon 1 temp 1}'C |  Uptime: ${uptime_short} |  Battery: ${battery_percent BAT0}% | IP: ${addr eth0} | Downloads: ${downspeedf eth0}kbps | Uploads: ${upspeedf eth0}kbps | Root: ${fs_free /} | Home: ${fs_free /home/fake} | Storage: ${fs_free /mnt/storage}


edit: 2nd prob, it seems that the conky output is not really updated every sec, is it just me or something is wrong?

This post has been edited by fJok3R: Nov 8 2011, 08:24 PM
cocooh
post Nov 8 2011, 08:54 PM

✔ Awesomeness ✔
*******
Senior Member
2,789 posts

Joined: Jul 2010
From: Silicon Valley


QUOTE(fJok3R @ Nov 8 2011, 08:24 PM)
necro bumping this thread, got a question to ask,

my screenshot

i can't get my conky output to be aligned to the right, the screenshot it's centerly aligned i guess. been going through the man page but nothing works

here's my conkyrc if it helps

CODE
out_to_x no
out_to_console yes
update_interval 1.0
total_run_times 0
use_spacer none
TEXT
Kernel: ${kernel} | CPU: ${cpu cpu0}.00% |  RAM: ${memperc}.00% |  Temperature: ${hwmon 1 temp 1}'C |  Uptime: ${uptime_short} |  Battery: ${battery_percent BAT0}% | IP: ${addr eth0} | Downloads: ${downspeedf eth0}kbps | Uploads: ${upspeedf eth0}kbps | Root: ${fs_free /} | Home: ${fs_free /home/fake} | Storage: ${fs_free /mnt/storage}


edit: 2nd prob, it seems that the conky output is not really updated every sec, is it just me or something is wrong?
*
update interval should be 1 , not 1.0

Weird thing though, i see no problem with your conky config hmm.gif

EDIT : try delete any empty space at the end of your conky config

This post has been edited by cocooh: Nov 8 2011, 08:56 PM
G-17
post Nov 8 2011, 09:54 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
@fJok3R
Answering your 2nd query first:
Zai is correct. Change it to 1. Also, to be safe and avoid bar flickering, make sure the "bar_delay" in your ~/.scrotwm.conf is the same number as your conky's update_interval (change both to 2 if you get too much flickering)

Now, about your 1st question. ScrotWM's bar is basically a terminal disguised as a bar. You can't right-align your conky or barstatus script. What you can do is estimate a full conky bar and press space a few times at the beginning of the conky line. It still won't be completely aligned to the right, but when everything is maxed out (as in cpu, network speeds...etc) you'll have it all aligned to the right side.

Another solution is to pipe conky to the dzen2 bar and overlay itself on top of the unused section of your scrotwm bar. Not exactly elegant, but you'll have perfectly right-aligned readings, plus you'll be able to use as many colors as you want.
See my post (gutterslob) here for a short tutorial:
http://crunchbanglinux.org/forums/post/126199/#p126199

Hope this helps.
Cheers

This post has been edited by G-17: Nov 8 2011, 09:55 PM
fJok3R
post Nov 8 2011, 10:41 PM

Regular
******
Senior Member
1,419 posts

Joined: Apr 2010
@cocooh and G-17,

thanks, already change the update interval. gosh, totally forgot to uncomment the bar_delay in scrotw.conf, now everything working perfectly. the output is updated correctly. thanks again

 

Change to:
| Lo-Fi Version
0.1006sec    0.41    7 queries    GZIP Disabled
Time is now: 15th December 2025 - 07:25 AM