Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
1st PC build. Is this correct? Also suggest good software!
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
koopdi
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2011
Posts: 97

PostPosted: Tue Mar 19, 2013 1:56 am    Post subject: Reply with quote

Did a genkernel with efi stub support. Boots from efi shell 2.0 with -
fs1:>kernel.efi root=/dev/sda2 initrd=/initramfs

where fs1 is the 500mb fat32 partition containing kernel.efi and initramfs on it's root, as opposed to /efi/boot/
should work either way but I don't see the reason for having my kernel anywhere else but the root of the /boot partition.

Created a startup.nsh -
Code:
fs1:
kernel.efi root=/dev/sda2 initrd=/initramfs


Added Shellx64.efi to the efi boot menu. -
boot add 0 fs1:\Shellx64.efi "Gentoo"

Now the Gentoo kernel is loaded with the correct parameters automatically.
Back to top
View user's profile Send private message
koopdi
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2011
Posts: 97

PostPosted: Sat Mar 23, 2013 8:01 am    Post subject: Reply with quote

Troubleshooting usb wifi - ralink 3572 chipset -
continued in separate thread...
Back to top
View user's profile Send private message
koopdi
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2011
Posts: 97

PostPosted: Fri Mar 29, 2013 2:59 am    Post subject: Reply with quote

Solved the WIFI issue.

Now running Awesome WM. I installed DWM but the default config made no sense to me. Windows kept getting stuck in floating mode everytime I tried to resize them...resizing could only be done relative to the top left corner - it works but it's not very elegant and is slightly less functional. I'm way more familiar with C family languages than lua so it should be easier to customize than awesome. Perhaps I'll give monster a try later too.

Trying to use luakit but it doesn't work how I want it to. I can't find much documentation. The archlinux wiki is good. I just want to be able to open links in new windows by clicking. Reading the *.lua files doesn't provide much clarity. I guess I should spend the time to learn lua script.

Also it would be nice to have ALL menus bars at the edges of my screens rather than the top/bottom. There is more screen real estate on the left/right sides, I understand that strings are often printed on menus and in english strings go from left to right. Still, I have no trouble reading a string printed top to bottom, for vertical presentation.
Back to top
View user's profile Send private message
koopdi
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2011
Posts: 97

PostPosted: Fri Mar 29, 2013 5:22 am    Post subject: Reply with quote

okay, I found the docs -- the :help command! I had no idea, wow.
This is really excellent. There are several changes I need to make right away.

Copied the configs from /etc/xdg/luakit to ~/.config/luakit :twisted:

Thanks to ganesha on irc for cluing me in.

And to masonl for showing me how to spawn a new window.

in ~/.configs/lua/binds.lua
Code:
    -- Open link in new window when Ctrl-clicked.
    but({"Control"}, 1, "Open link under mouse cursor in new window.",
        function (w, m)
            local uri = w.view.hovered_uri
            if uri then
                window.new{uri}
            end
        end),


and so that it works well with awesome WM, I added a rule to make sure the new window opens with the slave tiles (because I use this to spawn lots of tiles from a master window)

~/.config/awesome/rc.lua
Code:
--- {{{ Rules
awful.rules.rules = {
    -- All clients will match this rule.

    -- Start windows as slave
    { rule = { class = "luakit" }, properties = { }, callback = awful.client.setslave },

-- example rules
-- {{{
    { 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 } },
    -- Set Firefox to always map on tags number 2 of screen 1.
    -- { rule = { class = "Firefox" },
    --   properties = { tag = tags[1][2] } },
-- }}}
}
-- }}}


I remember back in the day, using MyIE as a wrapper for internet explorer, enabling tabs and other stuff. I thought, wow! This is the future. This is what all power users and regular users will want. Sure enough, all major browsers are now tabbed.

I don't think I'll be using tabs much anymore, :P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum