Pengsan
The Great Tiling WM Adventure + Some Wireless Stuf, Hosted by G-17
The Great Tiling WM Adventure + Some Wireless Stuf, Hosted by G-17
|
|
Jul 10 2011, 09:53 AM
Return to original view | Post
#1
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,789 posts Joined: Jul 2010 From: Silicon Valley |
|
|
|
|
|
|
Jul 10 2011, 10:53 AM
Return to original view | Post
#2
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,789 posts Joined: Jul 2010 From: Silicon Valley |
|
|
|
Jul 10 2011, 04:17 PM
Return to original view | Post
#3
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,789 posts Joined: Jul 2010 From: Silicon Valley |
@G17 , actually I'm planning to install a standalone distro just for scrotwm
But I'm still in the dilemma of choosing either Aech Linux or Debian 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 |
|
|
Jul 10 2011, 06:47 PM
Return to original view | Post
#4
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,789 posts Joined: Jul 2010 From: Silicon Valley |
@G-17 hmm , apt based or pacman
Still can't decide 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 Kinda worry I've missed some important packages |
|
|
Jul 10 2011, 09:58 PM
Return to original view | Post
#5
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,789 posts Joined: Jul 2010 From: Silicon Valley |
QUOTE(G-17 @ Jul 10 2011, 07:51 PM) @Zai F**k-ing hell Ubuntu , suddenly prompt out and list down the partition errors , probably sectors problemWell, 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. Not gonna go back again Gonna go for Arch first and then another install of Debian Squeeze Wish me luck Lucky i did not store anything important on my Ubuntu partition |
|
|
Jul 11 2011, 06:31 PM
Return to original view | Post
#6
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,789 posts Joined: Jul 2010 From: Silicon Valley |
Successfully installed Debian
Configuring time |
|
|
|
|
|
Jul 11 2011, 07:15 PM
Return to original view | Post
#7
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,789 posts Joined: Jul 2010 From: Silicon Valley |
Hmm , Thunar or Pcmanfm ?
I guess both are lightweight enough |
|
|
Jul 11 2011, 09:19 PM
Return to original view | Post
#8
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
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; Installed normal PCManFM 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/ Actually , how can i set .xinitrc to run on scrotwm start up ? It doesnt seems to budge |
|
|
Jul 11 2011, 10:40 PM
Return to original view | Post
#9
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,789 posts Joined: Jul 2010 From: Silicon Valley |
Nop , doesnt explain how to solve it
|
|
|
Jul 11 2011, 11:07 PM
Return to original view | Post
#10
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
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? =_= its already executableCODE 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? Well exec /home/willeosoeurs/.scrotwm.sh |
|
|
Jul 11 2011, 11:15 PM
Return to original view | Post
#11
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
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? These : 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. 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 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 |
|
|
Jul 11 2011, 11:24 PM
Return to original view | Post
#12
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,789 posts Joined: Jul 2010 From: Silicon Valley |
QUOTE(G-17 @ Jul 11 2011, 11:19 PM) @zai hmm , scrotwm launches beautifully 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) .. Btw , the configuration from that evilwm , the bold window border looks nice |
|
|
Jul 11 2011, 11:41 PM
Return to original view | Post
#13
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
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. Everything works fine there , ive tried and run the script , but weird isAs 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. xinitrc wont even load when i login to scrotwm Not only that , my mocp theme wont save |
|
|
|
|
|
Jul 11 2011, 11:53 PM
Return to original view | Post
#14
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
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. Haha thx 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. Actually , im talking about the autorun of nm-applet and feh ive included inside xinitrc , it wont run Thx for the mocp |
|
|
Jul 12 2011, 06:53 AM
Return to original view | Post
#15
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
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 I was noob enough to know that GDM does not start from xinitrc anymore 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 & Created a .desktop and put it inside xsessions folder which will run my script all at once wicd-curses doesn works for me |
|
|
Jul 12 2011, 10:20 AM
Return to original view | Post
#16
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,789 posts Joined: Jul 2010 From: Silicon Valley |
QUOTE(G-17 @ Jul 12 2011, 10:09 AM) @Zai I need help here 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. Debian help me install gnome by itself How am i gonna remove it fully without affecting nm-applet HELP |
|
|
Jul 12 2011, 07:44 PM
Return to original view | Post
#17
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,789 posts Joined: Jul 2010 From: Silicon Valley |
QUOTE(G-17 @ Jul 12 2011, 10:09 AM) @Zai Really having a problem here 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. wicd can only connect to my eth but not wlan 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 Really need help here |
|
|
Jul 12 2011, 08:54 PM
Return to original view | Post
#18
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,789 posts Joined: Jul 2010 From: Silicon Valley |
|
|
|
Jul 12 2011, 09:09 PM
Return to original view | Post
#19
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,789 posts Joined: Jul 2010 From: Silicon Valley |
|
|
|
Jul 12 2011, 09:23 PM
Return to original view | Post
#20
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,789 posts Joined: Jul 2010 From: Silicon Valley |
|
| Change to: | 0.0293sec
0.99
7 queries
GZIP Disabled
Time is now: 18th December 2025 - 01:57 PM |