Welcome Guest ( Log In | Register )

4 Pages  1 2 3 > » Bottom

Outline · [ Standard ] · Linear+

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

views
     
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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

4 Pages  1 2 3 > » Top
 

Change to:
| Lo-Fi Version
0.0293sec    0.99    7 queries    GZIP Disabled
Time is now: 18th December 2025 - 01:57 PM