Welcome Guest ( Log In | Register )

10 Pages « < 2 3 4 5 6 > » Bottom

Outline · [ Standard ] · Linear+

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

views
     
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

10 Pages « < 2 3 4 5 6 > » Top
 

Change to:
| Lo-Fi Version
0.0524sec    0.85    6 queries    GZIP Disabled
Time is now: 17th December 2025 - 09:35 PM