And as you can see in my thumbnail it would be nice to have different sized tiles. The 40 or so sites I have that would fit on the right with a mix of only using a fav icon and having the title would be an incredibly useful addition for me. but, I really would like to be able to have my dynamically updated sites on the left taking up much of the screen but have a band on the right which works as a more organized and vertical bookmarks toolbar. five selected tiles may represent your top five visited sites in a last week) But, if you can, I'd like some changes to make it more flexible.ġ) Allow for different sized tiles tiles on the same page.Ģ) Make moving these differently shaped entitles work with drag and drop with a "snap to grid" option like on the Windows Desktopģ) Allow tiles (delimited space of any size) to be simple URLs / FavIcons and not dynamically updated pages (more like book marks tool bar).Ĥ) Allow for separation elements used to partition space.ĥ) Allow for dynamic updating of what's in a tile (i.e. The same should hopefully be applicable for the other programs.This is the best speed dial type extension out there. With this we can select the window that has exactly "Navigator.Firefox" as VM_CLASS wmctrl -Fxa Navigator.Firefox || firefox & All firefox windows will have VM_CLASS "Navigator.Firefox" as can be seen by running wmctrl -lx while firefox is running $ wmctrl -lxĠx03ba3d43 3 gnome-terminal.Gnome-terminal pilot TerminalĠx04c000bc 0 Navigator.Firefox pilot Group #1 - Speed Dial - Mozilla Firefox With -x, wmctrl will operate on the VM_CLASS of a window, which will typically have a unique value per program. Other windows than firefox windows could potentially contain that string in their title, so we should find a more reliable way of identifying the right window in this case. Secondly, if no windows match, wmctrl will do nothing and exit with a non-zero (false) exit status, in which case we can assume the program is not running, and start it instead. That is, move to the workspace it's in, bring it to the front and give it focus. Wmctrl -a 'Mozilla Firefox' will find a window containing "Mozilla Firefox" in its title, and "activate" it. Just running vlc & instead will likely be more correct.īad shell advice is unfortunately commonplace on the internet.įrom your problem description, what you want the result to be is that the program is run if it isn't already running, and if it is running, bring that window to the front, and give it focus. If there are more than one process matching "vlc", vlc & will not be run. If there are no processes matching "vlc", and if there are exactly one process matching "vlc". Some of the shell code from that source doesn't do what it claims to do mainly the type that goes: if then (vlc &) fi This only happens sometimes.Ĭould anyone help me to edit this script to fix this misbehaviour? ( Source of the script which I modified.) As problem remains that it doesn't put Firefox in the foreground when it is already running. ) and add an adress like about:blank it solves the problem partly. So, when I modify the command in the script ( config =. *** Preventing external load of chrome: URI into browser window. firefox chrome://speeddial/content/speeddial.xul - Firefox doesn't open:.(!) firefox about:blank - Firefox opens with an additional new, blank tab.firefox about:startpage - Firefox opens with an additional new tab with the preconfigured startpage.firefox - Firefox opens as configured in Preferences ( Show my windows and tabs from last time).What happens when Firefox is not running and I start firefox in a terminal? firefox chrome://speeddial/content/speeddial.xul (which is the adress of the Speeddial startpage) - nothing happens.(!) firefox about:blank - a new tab in Firefox opens with my personal startpage ( Speeddial).firefox about:startpage - a new tab in Firefox opens with the preconfigured startpage. What happens when Firefox is running and I start firefox in a terminal? lircrc as follows: begin vlcĬonfig = if then (vlc &) fiĬonfig = if then (firefox &) fiĬonfig = if then (me-tv &) fiĮverything works fine with it - except switching to Firefox: When Firefox is running and I press the red button it switches the mode (as it should) and opens a second window/instance of Firefox (as it should not).Įdit → Preferences → Tabs → Open new windows in a new tab instead is already enabled: To switch between different modes I edited. I set up lirc to control my PC with a remote.
0 Comments
Leave a Reply. |