tag:blogger.com,1999:blog-73273299373260791602024-03-12T16:44:47.597-07:00Linux StuffUnknownnoreply@blogger.comBlogger35125tag:blogger.com,1999:blog-7327329937326079160.post-81837379697035141512023-06-05T23:57:00.013-07:002023-10-10T02:24:56.267-07:00Ubuntu 23.04<p>Welcome to my personal Ubuntu 23.04 setup guide.</p><p>In this guide, I will share the GNOME extensions that I personally find useful, along with some minor tweaks that enhance my Ubuntu experience. </p><div style="line-height: 1.38; margin-bottom: 6pt; margin-top: 20pt;"><h2 style="line-height: 1.38; margin-bottom: 6pt; margin-top: 18pt;">My list of GNOME extensions</h2><div style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;"><span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space-collapse: preserve;">One of the benefits of using the GNOME shell as the default graphical shell on Ubuntu is that we now have the ability to use </span><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space-collapse: preserve;"><a href="https://extensions.gnome.org/">GNOME extensions</a></span><span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space-collapse: preserve;">, which can modify the behaviour of the GNOME shell. However, it is important to be aware that these extensions are </span><span style="font-family: "arial"; font-size: 11pt; font-weight: 700; vertical-align: baseline; white-space-collapse: preserve;">not</span><span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space-collapse: preserve;"> developed by the official GNOME team but by third-party developers. From my own experience, using such extensions can sometimes lead to an unbootable system. Nevertheless, I have found a list of extensions that are compatible with the latest version of GNOME shell and they are quite useful.</span><br /><span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space-collapse: preserve;"><br /></span><span style="font-family: "arial";"><span style="font-size: 14.6667px; white-space-collapse: preserve;">But first, if you want to get GNOME extensions, then you have to install the following:</span></span><br /><div style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">sudo apt install gnome-shell-extensions</div></div><span>and</span><br /><pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">sudo apt install chrome-gnome-shell</pre><span>Now you are ready to install my recommended list of extensions: </span><span><br /></span><br /><ul style="margin-bottom: 0pt; margin-top: 0pt; text-align: left;"><li><span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space-collapse: preserve;"><a href="https://extensions.gnome.org/extension/1237/somafm-internet-radio/">SomaFM internet radio</a></span></li><ul><li>This small extension adds a SomaFM internet radio player to the top panel of the Ubuntu desktop and it includes the ability to select favorites.</li><li>To install, first open the terminal an denter the following command to install the required packages:<br /><pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">sudo apt install python3-gi gstreamer1.0-tools gir1.2-gstreamer-1.0 gir1.2-gst-plugins-base-1.0 gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-plugins-bad gstreamer1.0-libav gstreamer1.0-fdkaac git</pre></li><li>Then use these commands:<br /><pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">git clone 'http://github.com/alireza6677/somafm-radio-gnome-ext'
cd somafm-radio-gnome-ext
cp -r 'SomaFm-Radio@alireza6677.gmail.com' ~/.local/share/gnome-shell/extensions/SomaFm-Radio@alireza6677.gmail.com</pre></li><li>Then manually edit the "metadata.json"-file:<br /><pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;"><span style="color: #639af2; font-family: menlo, monaco, monospace;"><span style="font-size: 14.4px;">gnome-text-editor ~/.local/share/gnome-shell/extensions/SomaFm-Radio\@alireza6677.gmail.com/metadata.json</span></span></pre></li><ul><li>Add the proper shell-version (e.g. 44)</li><li>Save</li></ul><li>Finally, log out of your session, use the keyborad shortcut "alt+F2" and type in "r" and press Enter, or simply reboot your system</li><li>Activate the extension on the extensions page for the <a href="https://extensions.gnome.org/extension/1237/somafm-internet-radio/">SomaFM internet radio</a></li><li>Enjoy</li></ul><li><a href="https://extensions.gnome.org/extension/570/todotxt/">Todo.txt</a></li><ul><li>Create and manage a TODO list in the top panel</li></ul><li><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space-collapse: preserve;"><a href="https://extensions.gnome.org/extension/2/move-clock/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; text-wrap: nowrap;">Frippery Move Clock</a></span></li><ul><li>It simply moves the clock/date/calendar to the right in the top panel. I have gotten used to have all of my apps to the right of the top panel</li></ul><li><a href="https://extensions.gnome.org/extension/750/openweather/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; white-space: pre;">OpenWeather</a></li><ul><li>A simple weather app embedded in the top panel, highly configurable</li></ul><li><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space-collapse: preserve;"><a href="https://extensions.gnome.org/extension/355/status-area-horizontal-spacing/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; text-wrap: nowrap;">Status Area Horizontal Spacing</a></span></li><ul><li>There is a lot of horizontal spacing between the icons in the top panel, this extensions reduces the space between each app, which is neat</li></ul><li><a href="https://extensions.gnome.org/extension/1194/show-desktop-button/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; white-space: pre;">Show Desktop Button</a></li><ul><li>Adds a show desktop button in the upper left corner of the screen</li><li>I usually change the indicator position to be "far left" in the extension settings</li></ul></ul><div><ul style="margin-bottom: 0pt; margin-top: 0pt; text-align: left;"><li>Pomodoro</li><ul><li>A productivity tool for time-boxing yourself<b><br /></b></li><li><b>First</b> install these packages through the terminal (sudo dpkg -i gnome-shell-pomodoro[...]):<br /></li><ul><li><a href="https://launchpad.net/ubuntu/+archive/primary/+files/gnome-shell-pomodoro-data_0.18.0-0.1_all.deb">gnome-shell-pomodoro-data_0.18.0-0.1_all</a></li></ul><ul><li><a href="https://launchpad.net/ubuntu/+archive/primary/+files/gnome-shell-pomodoro_0.18.0-0.1_amd64.deb">gnome-shell-pomodoro_0.18.0-0.1</a></li><li><a href="https://launchpad.net/ubuntu/+archive/primary/+files/gnome-shell-pomodoro-dbgsym_0.18.0-0.1_amd64.ddeb">gnome-shell-pomodoro-dbgsym_0.18.0-0.1_amd64</a></li><ul><li>rename the file-extension, so it is named ".deb" instead of ".ddeb"</li></ul></ul><li><b>Install the following dependencies:</b><br /><pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">sudo apt install meson gettext valac pkg-config desktop-file-utils appstream-util libappstream-glib-dev libglib2.0-dev gsettings-desktop-schemas-dev gobject-introspection libgirepository1.0-dev libsqlite3-dev libgom-1.0-dev libgstreamer1.0-dev libgtk-3-dev libcanberra-dev libpeas-dev libjson-glib-dev gnome-shell-pomodoro</pre></li><li>Then <b>relog</b> <i>or</i> <b>reboot</b></li><li><b>Then</b> go and enable the extension: <a href="https://extensions.gnome.org/extension/53/pomodoro/">Pomodoro</a></li><ul><li>If it is not working, then you installed the dependencies first, fix this with: sudo apt install gnome-shell-pomodoro</li></ul></ul></ul></div><div style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;"><h2 style="line-height: 1.38; margin-bottom: 6pt; margin-top: 18pt;">Minor tweaks</h2><h3>Gnome tweaks</h3>Two things slightly annoy me about the default behavior of the dash to dock extension, the first being that when I re-select an item on the dock then the item doesn't minimize, which can by fixed through the terminal:<br /><div style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;"><pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'</pre>The other issue I have with the dock, is that I can't cycle through a list of opened items with my scroll-wheel, e.g. if I have opened multiple folders or browsers. This can also be fixed through the terminal:<br /><pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">gsettings set org.gnome.shell.extensions.dash-to-dock scroll-action 'cycle-windows'</pre>Then I also like the following tweak, where I enable the weekdate in the desktop calendar:<br /><div style="font-weight: 400; line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;"><pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">gsettings set org.gnome.desktop.calendar show-weekdate true</pre>And finally I also like to enable the weekday in the gnome clock:<br /></div></div></div></div><pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; font-weight: 400; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">gsettings set org.gnome.desktop.interface clock-show-weekday true</pre><h3>Right-click create untitled document</h3>I love to have the ability to right-click anywhere I like, and be able to create a new file. This behaviour was removed in Ubuntu 18.04. We can reenable this ability, by adding a new template, like this:<br /><div style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;"><pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">touch ~/Templates/"Untitled Document"</pre></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7327329937326079160.post-68764121683136064912021-01-24T10:08:00.013-08:002023-06-05T23:19:28.559-07:00Ubuntu 20.10<p> </p><div style="line-height: 1.38; margin-bottom: 6pt; margin-top: 20pt; text-align: left;">
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; font-size: 11pt; white-space: pre-wrap;">This is my personal Ubuntu 20.10 setup guide, it includes GNOME extensions that I like and minor tweaks. </span></div><h2 style="line-height: 1.38; margin-bottom: 6pt; margin-top: 18pt;">
My list of GNOME extensions</h2>
<div style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">One of the benefits of using the GNOME shell as the default graphical shell on Ubuntu, is that we now have the ability to use </span><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/">GNOME extensions</a></span><span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">, which can modify the behaviour of the GNOME shell - BUT be aware that the extensions are </span><span style="font-family: "arial"; font-size: 11pt; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;">not</span><span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"> developed by the official GNOME team, but by third party developers, which I have experience myself, can lead to a unbootable system. I have however found a list of extensions that both are compatible with the latest version of GNOME shell and they are quite useful.</span><br />
<span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><br /></span>
<span style="font-family: "arial";"><span style="font-size: 14.6667px; white-space: pre-wrap;">But first, if you want to get GNOME extensions, then you have to install the following:</span></span><br />
<div style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">
sudo apt install gnome-shell-extensions</div>
</div>
<b style="font-weight: normal;">and</b><br />
<pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">sudo apt install chrome-gnome-shell</pre>
<b style="font-weight: normal;">Now you are ready to install my recommended list of extensions: </b><br />
<b style="font-weight: normal;"><br /></b>
<br />
<ul style="margin-bottom: 0pt; margin-top: 0pt; text-align: left;"><li><span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/extension/1237/somafm-internet-radio/">SomaFM internet radio</a></span></li><ul><li>A small extensions that adds a SomaFM internet radio player in the
top panel of the desktop, it includes the ability to select favorites.</li><li><i><u>First install these packages:</u></i> </li><ul><li>sudo
apt-get install python3-gi gstreamer1.0-tools gir1.2-gstreamer-1.0
gir1.2-gst-plugins-base-1.0 gstreamer1.0-plugins-good
gstreamer1.0-plugins-ugly gstreamer1.0-plugins-bad gstreamer1.0-libav gstreamer1.0-fdkaac git <br /></li></ul><li>Then use these commands: <br /></li><ul><li>git clone 'http://github.com/alireza6677/somafm-radio-gnome-ext'</li><li>cd somafm-radio-gnome-ext</li><li>cp -r 'SomaFm-Radio@alireza6677.gmail.com' ~/.local/share/gnome-shell/extensions/SomaFm-Radio@alireza6677.gmail.com</li></ul><li>Then manually edit the "metadata.json"-file:</li><ul><li>gnome-text-editor ~/.local/share/gnome-shell/extensions/SomaFm-Radio\@alireza6677.gmail.com/metadata.json</li><ul><li>Add the proper shell-version (e.g. 44)</li><li>Save</li></ul></ul><li>Finally logout, use "alt+F2" and the r-command or reboot</li><li>Activate the extension on the extensions page for the <a href="https://extensions.gnome.org/extension/1237/somafm-internet-radio/">SomaFM internet radio</a></li><li>Enjoy</li></ul><li><a href="https://extensions.gnome.org/extension/570/todotxt/">Todo.txt</a></li><ul><li>Create and manage a TODO list in the top panel</li></ul><li><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/extension/800/remove-dropdown-arrows/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; white-space: pre;">Remove Dropdown Arrows</a></span></li><ul><li>It removes the dropdown arrows from apps that have that in the top panel.</li></ul><li><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/extension/2/move-clock/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; white-space: pre;">Frippery Move Clock</a></span></li><ul><li>It simply moves the clock/date/calendar to the right in the top
panel. I have gotten used to have all of my apps to the right of the top
panel.</li></ul><li><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/extension/1128/hide-activities-button/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; white-space: pre;">Hide Activities Button</a></span></li><ul><li>I hides the activities button. I find this button quite useless, as I hit the ‘super-key’ when I want to see my activities.</li></ul><li><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/extension/750/openweather/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; white-space: pre;">OpenWeather</a></span></li><ul><li>A simple weather app embedded in the top panel, highly configurable.</li></ul><li><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/extension/355/status-area-horizontal-spacing/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; white-space: pre;">Status Area Horizontal Spacing</a></span></li><ul><li>There is a lot of horizontal spacing between the icons in the top
panel, this extensions reduces the space between each app, which is
neat.</li></ul><li><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/extension/1031/topicons/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; white-space: pre;">TopIcons Plus</a></span></li><ul><li>Used for displaying the icon of legacy apps in the top panel.</li></ul><li><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/extension/1194/show-desktop-button/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; white-space: pre;">Show Desktop Button</a></span></li><ul><li>Adds a show desktop button in the upper left corner of the screen.</li></ul><li><a href="https://extensions.gnome.org/extension/905/refresh-wifi-connections/">Refresh Wifi Connections</a></li><ul><li>Adds a WiFi refresh button to the manual network selection in the top panel.</li></ul></ul>
<div>
<ul style="margin-bottom: 0pt; margin-top: 0pt; text-align: left;"><li><a href="https://extensions.gnome.org/extension/657/shelltile/">ShellTile</a></li><ul><li>A tiling window extension, which allows you to snap an application
to quarters of screen, very handy if you are using applications which do
not allow this behavior, such as Discord.</li><ul><li><span style="color: #e06666;"><b>Minor tweak:</b> </span>Disable 'grouping edge tiling' of windows in settings</li></ul></ul><li>Pomodoro</li><ul><li>A productivity tool for time-boxing yourself<b> <br /></b></li><li><b>First</b> install these packages through the terminal (sudo dpkg -i gnome-shell-pomodoro[...]): <br /></li><ul><li><a href="https://launchpad.net/ubuntu/+archive/primary/+files/gnome-shell-pomodoro-data_0.18.0-0.1_all.deb">gnome-shell-pomodoro-data_0.18.0-0.1_all</a></li></ul><ul><li><a href="https://launchpad.net/ubuntu/+archive/primary/+files/gnome-shell-pomodoro_0.18.0-0.1_amd64.deb">gnome-shell-pomodoro_0.18.0-0.1</a></li><li><a href="https://launchpad.net/ubuntu/+archive/primary/+files/gnome-shell-pomodoro-dbgsym_0.18.0-0.1_amd64.ddeb">gnome-shell-pomodoro-dbgsym_0.18.0-0.1_amd64</a></li><ul><li>rename the file-extension, so it is named ".deb" instead of ".ddeb"</li></ul></ul><li><b>Install the following dependencies:</b></li><ul><li>sudo apt-get install meson gettext valac pkg-config desktop-file-utils appstream-util libappstream-glib-dev libglib2.0-dev gsettings-desktop-schemas-dev gobject-introspection libgirepository1.0-dev libsqlite3-dev libgom-1.0-dev libgstreamer1.0-dev libgtk-3-dev libcanberra-dev libpeas-dev libjson-glib-dev gnome-shell-pomodoro</li></ul><li>Then <b>relog</b> <i>or</i> <b>reboot</b></li><li><b>Then</b> go and enable the extension: <a href="https://extensions.gnome.org/extension/53/pomodoro/">Pomodoro</a><br /></li></ul></ul>
</div>
<div>
<br /></div>
<div style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<h2 style="line-height: 1.38; margin-bottom: 6pt; margin-top: 18pt;">
Minor tweaks</h2>
<h3>
Gnome tweaks</h3>
Two things slightly annoy me about the default
behavior of the dash to dock extension, the first being that when I
re-select an item on the dock then the item doesn't minimize, which can
by fixed through the terminal:<br />
<div style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'</pre>
The other issue I have with the dock, is that I can't cycle through a
list of opened items with my scroll-wheel, e.g. if I have opened
multiple folders or browsers. This can also be fixed through the
terminal:
<br />
<pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">gsettings set org.gnome.shell.extensions.dash-to-dock scroll-action 'cycle-windows'</pre>
</div>
<h3><span style="font-size: small;"><span style="font-weight: 400;">Then I also like the following tweak, where I enable the weekdate in the desktop calendar:</span></span><br style="font-size: medium; font-weight: 400;" /><div style="font-size: medium; font-weight: 400; line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;"><pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">gsettings set org.gnome.desktop.calendar show-weekdate true</pre></div></h3><h3>Right-click create untitled document </h3>
I love to have the ability
to right-click anywhere I like, and be able to create a new file. This
behaviour was removed in Ubuntu 18.04. We can reenable this ability, by
adding a new template, like this:<br />
<div style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">touch ~/Templates/"Untitled Document"</pre>
</div>
<h3>
Legacy applications as startup applications</h3>
While I really enjoy the <a href="https://extensions.gnome.org/extension/1031/topicons/">TopIcons Plus</a>
GNOME extension, there is seemingly a visibility issue when adding a
legacy application to the list of startup application of the session
(gnome-session-properties), this is due to the legacy applications
starting before the GNOME extension, this can be fixed by adding a
slight delay to the app in question, like this:<br />
<pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">sh -c "sleep 10; exec clementine"</pre>
And if I want it to start the application to tray, then I will use:<br />
<pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">sh -c "sleep 10; exec hexchat --minimize=2"</pre>
<div>
<pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">telegram-desktop -startintray</pre>
<h3>DVD codecs</h3><div style="text-align: left;">First ensure that we have added the multiverse repository<br />
</div><pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">sudo add-apt-repository multiverse</pre>Then install the package<br />
<pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">sudo apt-get install libdvd-pkg</pre>Lastly reconfigure the package<br />
<pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">sudo dpkg-reconfigure libdvd-pkg</pre>Relog or reboot if it is not already working.</div><div><br /><h3>Handle lid switch</h3>
If you like me like to close your laptop lid,
but do not want your machine to go into hibernation, then you will need
to edit the following file: logind.conf<br />
<pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">sudo gedit /etc/systemd/logind.conf</pre>
Change "#HandleLidSwitch=hibernate" (around line 24) to "HandleLidSwitch=ignore" and be sure to remove the hashtag: <b>#</b><br />
Save and lastly you need to reboot the systemd service:<br />
<pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">systemctl restart systemd-logind.service</pre>
</div>
</div>
</div>
<h3>
Firefox hardware acceleration</h3>
Firefox does not come with hardware
acceleration enabled per default, so you might experience some screen
tearing as I did. You can test if you have it or not, by watching this
youtube video: <a href="https://www.youtube.com/watch?v=0RvIbVmCOxg">https://www.youtube.com/watch?v=0RvIbVmCOxg</a><br />
<br />
In order to fix this, you must enable hardware acceleration in the browser. Open a new window and type this in the addressbar: <br />
<pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">about:config</pre>
Then search after this:<br />
<pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">layers.acceleration.force-enabled</pre>
Change it from <i>false</i> to <i>true</i>. <b>Close</b> <b>Firefox</b> and start it again. You should now have eliminated your screen tearning. Feel free to watch the youtube video again.<br />
<br />
<h3>
SyncMaster913n</h3>
If you are using a old panel like me, then you
might run into some issues, such as Ubuntu not correctly identifying
your screens resolution (1024x768 vs 1280x1024) nor brightness (1 (too
much) vs 0.85). We can fix our issues with xrandr.<br />
<br />
<b>Screen resolution fix</b> <br />
Firstly we need to identify our mode. Run the following command in the terminal:<br />
<pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">cvt 1280 1024</pre>
Notice the <b>Modeline</b>, it should look something like this:<br />
<pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">Modeline "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync</pre>
<i><b>Note:</b>
If you specify the refresh rate (_60.00), then you will run into a wall
with multiple games. For example Minecraft will complain about "No
OpenGL context found in the current thread" on Minecraft version 1.12.2
(openjdk version "1.8.0_x"). So remove that part.</i><br />
<br />
Now
create the mode without the refresh rate with xrandr (change the "mode"
with the setting current for your screen, see the line above):<br />
<pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">xrandr --newmode "1280x1024" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync</pre>
Then add the mode with xrandr:<br />
<pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">xrandr --addmode DVI-0 1280x1024"</pre>
Go
to settings and check that you can change to your new resolution. If it
works, then we want to automatically apply this change on boot. Open
your gnome session properties by using the following command in the
terminal:<br />
<pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">gnome-session-properties</pre>
Then
finally add a new item in the gnome session properties, give it a name
of your choice (e.g. Resolution fix) and add the following code as the
command (again remember to use your own mode):<br />
<pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">/bin/bash -c "sleep 10 && xrandr --newmode "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync && xrandr --addmode DVI-0 1280x1024_60.00"</pre>
<u><i>Note:</i></u> We are letting our script sleep for 10 seconds, so our session is fully started before we apply our fix.<br />
<br />
<b>Brightness fix</b><br />
Firstly, if you are using <i>Night Light</i>,
then that will negate everything we are doing, so either go ahead and
disable that or don't apply this fix. Run the following command in the
terminal:<br />
<pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">xrandr --output DVI-0 --brightness 0.85</pre>
If
it works, then we are ready to add this on boot as well (a good test,
is looking at a word document, page seperation). Open your gnome session
properties by using the following command in the terminal:<br />
<pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">gnome-session-properties</pre>
Then add a new item, give it a name of your choice (e.g. Brightness fix) and then add the following code as the command:<br />
<pre style="background: none 0% 0% repeat scroll rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">/bin/bash -c "xrandr --output DVI-0 --brightness 0.85"</pre>
<u><i>Note:</i></u>
We are letting our script sleep for 15 seconds, so our session is fully
started before we apply our fix. And in order to let the first xrandr
command finish.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7327329937326079160.post-90852660879730075702020-04-03T08:18:00.002-07:002020-04-03T08:23:05.477-07:00Ubuntu 20.04 LTS<div style="line-height: 1.38; margin-bottom: 6pt; margin-top: 20pt;">
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; font-size: 11pt; white-space: pre-wrap;">This is my personal Ubuntu 20.04 LTS setup guide, it includes my initial impressions, programs I like, GNOME extensions and minor tweaks.</span></div>
<h2 dir="ltr" style="line-height: 1.38; margin-bottom: 6pt; margin-top: 18pt;">
Initial impressions:</h2>
<span style="font-family: "arial";">Going to edit this later on.<i edit="" future="" in="" the="" this="" will=""><br /></i></span>
<br />
<h2 dir="ltr" style="line-height: 1.38; margin-bottom: 6pt; margin-top: 18pt;">
My list of programs</h2>
<span style="font-family: "arial";">Going to edit this later on.</span><br />
<h2 dir="ltr" style="line-height: 1.38; margin-bottom: 6pt; margin-top: 18pt;">
My list of GNOME extensions</h2>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">One of the benefits of using the GNOME shell as the default graphical shell on Ubuntu, is that we now have the ability to use </span><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/">GNOME extensions</a></span><span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">, which can modify the behaviour of the GNOME shell - BUT be aware that the extensions are </span><span style="font-family: "arial"; font-size: 11pt; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;">not</span><span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"> developed by the official GNOME team, but by third party developers, which I have experience myself, can lead to a unbootable system. I have however found a list of extensions that both are compatible with the latest version of GNOME shell and they are quite useful.</span><br />
<span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><br /></span>
<span style="font-family: "arial";"><span style="font-size: 14.6667px; white-space: pre-wrap;">But first, if you want to get GNOME extensions, then you have to install the following:</span></span><br />
<div style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">
sudo apt install gnome-shell-extensions</div>
</div>
<b style="font-weight: normal;">and</b><br />
<pre style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">sudo apt install chrome-gnome-shell</pre>
<b style="font-weight: normal;">Now you are ready to install my recommended list of extensions: </b><br />
<b style="font-weight: normal;"><br /></b>
<br />
<ul style="margin-bottom: 0pt; margin-top: 0pt;">
<li><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/extension/1237/somafm-internet-radio/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; white-space: pre;">SomaFM internet radio</a></span></li>
<ul>
<li>A small extensions that adds a SomaFM internet radio player in the
top panel of the desktop, it includes the ability to select favorites.</li>
</ul>
<li><a href="https://extensions.gnome.org/extension/570/todotxt/">Todo.txt</a></li>
<ul>
<li>Create and manage a TODO list in the top panel</li>
</ul>
<li><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/extension/800/remove-dropdown-arrows/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; white-space: pre;">Remove Dropdown Arrows</a></span></li>
<ul>
<li>It removes the dropdown arrows from apps that have that in the top panel.</li>
</ul>
<li><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/extension/2/move-clock/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; white-space: pre;">Frippery Move Clock</a></span></li>
<ul>
<li>It simply moves the clock/date/calendar to the right in the top
panel. I have gotten used to have all of my apps to the right of the top
panel.</li>
</ul>
<li><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/extension/1128/hide-activities-button/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; white-space: pre;">Hide Activities Button</a></span></li>
<ul>
<li>I hides the activities button. I find this button quite useless, as I hit the ‘super-key’ when I want to see my activities.</li>
</ul>
<li><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/extension/750/openweather/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; white-space: pre;">OpenWeather</a></span></li>
<ul>
<li>A simple weather app embedded in the top panel, highly configurable.</li>
</ul>
<li><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/extension/355/status-area-horizontal-spacing/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; white-space: pre;">Status Area Horizontal Spacing</a></span></li>
<ul>
<li>There is a lot of horizontal spacing between the icons in the top
panel, this extensions reduces the space between each app, which is
neat.</li>
</ul>
<li><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/extension/1031/topicons/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; white-space: pre;">TopIcons Plus</a></span></li>
<ul>
<li>Used for displaying the icon of legacy apps in the top panel.</li>
</ul>
<li><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/extension/1194/show-desktop-button/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; white-space: pre;">Show Desktop Button</a></span></li>
<ul>
<li>Adds a show desktop button in the upper left corner of the screen.</li>
</ul>
<li><a href="https://extensions.gnome.org/extension/905/refresh-wifi-connections/">Refresh Wifi Connections</a></li>
<ul>
<li>Adds a WiFi refresh button to the manual network selection in the top panel.</li>
</ul>
</ul>
<div>
<ul style="margin-bottom: 0pt; margin-top: 0pt;">
<li><a href="https://extensions.gnome.org/extension/657/shelltile/">ShellTile</a></li>
<ul>
<li>A tiling window extension, which allows you to snap an application
to quarters of screen, very handy if you are using applications which do
not allow this behavior, such as Discord.</li>
<ul>
<li><span style="color: #e06666;"><b>Minor tweak:</b> </span>Disable 'grouping edge tiling' of windows in settings</li>
</ul>
</ul>
</ul>
</div>
<div>
<br /></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<h2 dir="ltr" style="line-height: 1.38; margin-bottom: 6pt; margin-top: 18pt;">
Minor tweaks</h2>
<h3>
Gnome tweaks</h3>
Two things slightly annoy me about the default
behavior of the dash to dock extension, the first being that when I
re-select an item on the dock then the item doesn't minimize, which can
by fixed through the terminal:<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<pre style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'</pre>
The other issue I have with the dock, is that I can't cycle through a
list of opened items with my scroll-wheel, e.g. if I have opened
multiple folders or browsers. This can also be fixed through the
terminal:
<br />
<pre style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">gsettings set org.gnome.shell.extensions.dash-to-dock scroll-action 'cycle-windows'</pre>
</div>
<h3>
Right-click create untitled document </h3>
I love to have the ability
to right-click anywhere I like, and be able to create a new file. This
behaviour was removed in Ubuntu 18.04. We can reenable this ability, by
adding a new template, like this:<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<pre style="background: rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">touch ~/Templates/"Untitled Document"</pre>
</div>
<h3>
Legacy applications as startup applications</h3>
While I really enjoy the <a href="https://extensions.gnome.org/extension/1031/topicons/">TopIcons Plus</a>
GNOME extension, there is seemingly a visibility issue when adding a
legacy application to the list of startup application of the session
(gnome-session-properties), this is due to the legacy applications
starting before the GNOME extension, this can be fixed by adding a
slight delay to the app in question, like this:<br />
<pre style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">sh -c "sleep 10; exec clementine"</pre>
And if I want it to start the application to tray, then I will use:<br />
<pre style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">sh -c "sleep 10; exec hexchat --minimize=2"</pre>
<div>
<pre style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">telegram-desktop -startintray</pre>
<h3>
Handle lid switch</h3>
If you like me like to close your laptop lid,
but do not want your machine to go into hibernation, then you will need
to edit the following file: logind.conf<br />
<pre style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">sudo gedit /etc/systemd/logind.conf</pre>
Change "#HandleLidSwitch=hibernate" (around line 24) to "HandleLidSwitch=ignore" and be sure to remove the hashtag: <b>#</b><br />
Save and lastly you need to reboot the systemd service:<br />
<pre style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">systemctl restart systemd-logind.service</pre>
</div>
</div>
</div>
<h3>
Firefox hardware acceleration</h3>
Firefox does not come with hardware
acceleration enabled per default, so you might experience some screen
tearing as I did. You can test if you have it or not, by watching this
youtube video: <a href="https://www.youtube.com/watch?v=0RvIbVmCOxg">https://www.youtube.com/watch?v=0RvIbVmCOxg</a><br />
<br />
In order to fix this, you must enable hardware acceleration in the browser. Open a new window and type this in the addressbar: <br />
<pre style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">about:config</pre>
Then search after this:<br />
<pre style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">layers.acceleration.force-enabled</pre>
Change it from <i>false</i> to <i>true</i>. <b>Close</b> <b>Firefox</b> and start it again. You should now have eliminated your screen tearning. Feel free to watch the youtube video again.<br />
<br />
<h3>
SyncMaster913n</h3>
If you are using a old panel like me, then you
might run into some issues, such as Ubuntu not correctly identifying
your screens resolution (1024x768 vs 1280x1024) nor brightness (1 (too
much) vs 0.85). We can fix our issues with xrandr.<br />
<br />
<b>Screen resolution fix</b> <br />
Firstly we need to identify our mode. Run the following command in the terminal:<br />
<pre style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">cvt 1280 1024</pre>
Notice the <b>Modeline</b>, it should look something like this:<br />
<pre style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">Modeline "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync</pre>
<i><b>Note:</b>
If you specify the refresh rate (_60.00), then you will run into a wall
with multiple games. For example Minecraft will complain about "No
OpenGL context found in the current thread" on Minecraft version 1.12.2
(openjdk version "1.8.0_x"). So remove that part.</i><br />
<br />
Now
create the mode without the refresh rate with xrandr (change the "mode"
with the setting current for your screen, see the line above):<br />
<pre style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">xrandr --newmode "1280x1024" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync</pre>
Then add the mode with xrandr:<br />
<pre style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">xrandr --addmode DVI-0 1280x1024"</pre>
Go
to settings and check that you can change to your new resolution. If it
works, then we want to automatically apply this change on boot. Open
your gnome session properties by using the following command in the
terminal:<br />
<pre style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">gnome-session-properties</pre>
Then
finally add a new item in the gnome session properties, give it a name
of your choice (e.g. Resolution fix) and add the following code as the
command (again remember to use your own mode):<br />
<pre style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">/bin/bash -c "sleep 10 && xrandr --newmode "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync && xrandr --addmode DVI-0 1280x1024_60.00"</pre>
<u><i>Note:</i></u> We are letting our script sleep for 10 seconds, so our session is fully started before we apply our fix.<br />
<br />
<b>Brightness fix</b><br />
Firstly, if you are using <i>Night Light</i>,
then that will negate everything we are doing, so either go ahead and
disable that or don't apply this fix. Run the following command in the
terminal:<br />
<pre style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">xrandr --output DVI-0 --brightness 0.85</pre>
If
it works, then we are ready to add this on boot as well (a good test,
is looking at a word document, page seperation). Open your gnome session
properties by using the following command in the terminal:<br />
<pre style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">gnome-session-properties</pre>
Then add a new item, give it a name of your choice (e.g. Brightness fix) and then add the following code as the command:<br />
<pre style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">/bin/bash -c "xrandr --output DVI-0 --brightness 0.85"</pre>
<u><i>Note:</i></u>
We are letting our script sleep for 15 seconds, so our session is fully
started before we apply our fix. And in order to let the first xrandr
command finish.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7327329937326079160.post-82692090643512795612019-01-30T07:40:00.003-08:002022-06-08T12:17:23.629-07:00Wolfenstein: Enemy Territory 2.60b on Ubuntu 18.04 (and 22.04)<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0aPWJ13_hXNwPsQgoFyxTpF9-deFB00SkTgohbk2IzSK3HRejgvu7m3Ae49jqa_VMZrHWmVaYnG5WGN6AkhmDMOkJT4BfekSNu8wUMeQV4Mvhv7xpr1dcQIu6Z2y0du67iV7XNNYHFNk/s1600/Enemy_Territory.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5679719791002206722" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0aPWJ13_hXNwPsQgoFyxTpF9-deFB00SkTgohbk2IzSK3HRejgvu7m3Ae49jqa_VMZrHWmVaYnG5WGN6AkhmDMOkJT4BfekSNu8wUMeQV4Mvhv7xpr1dcQIu6Z2y0du67iV7XNNYHFNk/s320/Enemy_Territory.jpg" style="cursor: pointer; display: block; height: 240px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; margin: 0px auto 10px; text-align: center; width: 320px;" /></a><br />
<div>
<br /></div>
<div>
<br />
If you are using 64-bit, then it is recommended to install the following file:<br />
<blockquote class="tr_bq">
sudo apt-get install libglu1-mesa:i386 libSDL1.2debian:i386</blockquote>
You can download the game from the terminal using this command:<br />
<blockquote class="tr_bq">
wget -c https://ftp.gwdg.de/pub/misc/ftp.idsoftware.com/idstuff/et/linux/et-linux-2.60.x86.run</blockquote>
And then we make the downloaded file executable:
<br />
<blockquote class="tr_bq">
wget -c https://ftp.gwdg.de/pub/misc/ftp.idsoftware.com/idstuff/et/linux/et-linux-2.60-update.x86.run</blockquote>
And then we make the downloaded file executable:<br />
<blockquote class="tr_bq">
chmod +x et-linux-2.60.x86.run</blockquote>
<blockquote class="tr_bq">
chmod +x et-linux-2.60-update.x86.run</blockquote>
And we run the file with admin rights <br />
<blockquote class="tr_bq">
sudo ./et-linux-2.60.x86.run</blockquote>
Now you should see a enemy territory icon in your menu
.<br />
<blockquote class="tr_bq">
sudo ./et-linux-2.60-update.x86.run</blockquote>
And now your game is up to date.<br />
<br />
Enjoy <br />
<br />
<span style="font-size: large;"><span style="color: #b45f06;">If you have sound problems</span></span><br />
<br /></div>
<div>
A
lot of Ubuntu users can't get the old classic Wolfenstein ET to work
with sound, but I have good news - I know a fix that works every time.</div>
<div>
<br /></div>
First of all we need to go fetch the file we need, run this command in the terminal:<br />
<br />
<blockquote>
wget
-q -O - http://nullkey.kapsi.fi/et-sdl-sound/et-sdl-sound.gz | gzip -d
> et-sdl-sound && chmod a+x et-sdl-sound</blockquote>
<div>
(IF you can't download the file due to the server being down, then you can get my modified version from <a href="https://drive.google.com/open?id=1HHNlatbUxPyCI1NxzuFpGDyRJb1SnTL8">here</a>)(Still remember to use "chmod a+x et-sdl-sound")<br />
<br /></div>
<div>
then we need to edit the file from the old <i>alsa sound</i> system to our new <i>pulse sound</i> system:</div>
<div>
<br /></div>
<div>
<blockquote>
sudo gedit /home/yourusername/et-sdl-sound</blockquote>
</div>
<div>
<br /></div>
<div>
Go to line 40 and the change the line from this:</div>
<div>
<br /></div>
<div>
<blockquote>
SDL_AUDIODRIVER="<span style="font-weight: bold;">alsa</span>"</blockquote>
</div>
<div>
<br /></div>
<div>
to this:</div>
<div>
<blockquote>
SDL_AUDIODRIVER="<span style="font-weight: bold;">pulse</span>"</blockquote>
and also add this:</div>
<div>
<div>
<blockquote>
LIBSDL="/usr/lib/i386-linux-gnu/libSDL-1.2.so.0.11.4"</blockquote>
</div>
</div>
<div>
save the file and close and then you need to make a symbol link, so you can play the game:</div>
<br />
<blockquote>
/home/yourusername//et-sdl-sound</blockquote>
<br />
<span><span><span style="color: black; font-size: large;"><span style="color: #b45f06;">If you can't type in the game (keyboard issue)</span></span><br style="color: black; font-size: medium;" /><br style="color: black; font-size: medium;" />If you can't type inside the game, then you need to disable "shifted keys". Edit the /.etwolf/etmain/etconfig.cfg-file and change "seta in_shiftedkeys" from "0" to "1" (line 365).</span></span><div><span><span><br /></span></span><div><span style="font-size: large;"><span style="color: #b45f06;">If you want to change the screen resolution</span></span><br /><br />
Wolfenstein ET is not exactly a new game and you might want to change the resolution so it fits your screen.<br />
<br />
You will need to create a new file and name it autoexec.cfg and it should contain the following:<br />
<br />
<blockquote class="tr_bq">
set name ^$Playername<br />
bind "i" dropclip<br />
bind "k" kill<br />
bind "rightarrow" "vsay Thanks"<br />
bind "," say_team ^3Please Wait...^4Bar is Recharging!<br />
bind "leftarrow" say ^WMy^1 HP^W is now [s]<br />
bind "downarrow" say Thanks for the ^1Revive! [r]<br />
bind "uparrow" vsay Welcome<br />
bind "h" toggle cg_draw2d<br />
bind "p" toggle cg_atmosphericEffects<br />
bind "m" vsay EnemyDisguised<br />
bind "ins" vsay Thanks<br />
bind "del" vsay Cheer<br />
bind "home" vsay_team FollowMe<br />
set cg_fov "120"<br />
seta com_soundMegs "64"<br />
seta snaps "40"<br />
seta rate "25000" // was 16000<br />
seta com_hunkMegs "250"<br />
seta r_customwidth "1366"<br />
seta r_customheight "768"<br />
seta r_fullscreen "1"<br />
seta r_mode "-1"<br />
seta cg_drawFPS "1" //DISPLAY FRAMES PER SECOND<br />
seta cg_drawGun "1" //DISPLAY SELECTED WEAPON<br />
seta com_zoneMegs "64"<br />
seta s_volume "0.9"<br />
seta s_musicvolume "0"<br />
seta s_khz "22"<br />
seta s_bits "16"<br />
seta s_channels "2"<br />
vid_restart</blockquote>
Insert the above and also remember to change "Playername" to your playername in the game.<br />
<br />
<blockquote class="tr_bq">
gedit ~/.etwolf/etmain/autoexec.cfg </blockquote>
<br />
and you will also need to change a line in your playerfile to allow your user to use the custom screen resolution, do that with:<br />
<br />
<blockquote class="tr_bq">
gedit ~/.etwolf/etmain/profiles/Playername/ </blockquote>
<br />
If you don't have a profile yet, then open the game and make one. Change "seta r_mode" from the default value to "-1" save the file and close it.<br />
<br />
That is it<br />
<br />
I hope it works for you, enjoy.</div></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7327329937326079160.post-91725250634110543352018-05-02T13:58:00.000-07:002020-04-03T08:19:55.525-07:00Ubuntu 18.04 LTS<div style="line-height: 1.38; margin-bottom: 6pt; margin-top: 20pt;">
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; font-size: 11pt; white-space: pre-wrap;">This is my personal Ubuntu 18.04 LTS setup guide, it includes my initial impressions, programs I like, GNOME extensions and minor tweaks.</span></div>
<h2 dir="ltr" style="line-height: 1.38; margin-bottom: 6pt; margin-top: 18pt;">
Initial impressions:</h2>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; font-size: 11pt; white-space: pre-wrap;">Ubuntu 18.04 LTS offers a new installation type: Minimal install. This new type avoids the bloatware that normally comes with Ubuntu, such as the office suite LibreOffice, shotwell, transmission, thunderbird etc. I quite like this new mode, as I normally either manually remove the apps I don’t use, or I simply leave them on the drive, thus wasted space. </span></div>
<span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><br /></span>
<span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">Recently I have been using GNOME 16.04 LTS as my primary OS, empowered by the </span><span style="font-family: "arial"; font-size: 11pt; font-style: italic; vertical-align: baseline; white-space: pre-wrap;">dash to dock</span><span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"> GNOME extension, which coincidentally offers a look and feel that is pretty much identical to the new Ubuntu LTS. This is mainly due to the fact that Canonical, the company behind Ubuntu, decided to discontinue their custom graphical shell </span><span style="font-family: "arial"; font-size: 11pt; font-style: italic; vertical-align: baseline; white-space: pre-wrap;">Unity</span><span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"> and adopted the GNOME shell, which is the graphical shell that have been used on the native GNOME desktop environment since version 3, which was released back in 2011. They also added a custom version of </span><span style="font-family: "arial"; font-size: 11pt; font-style: italic; vertical-align: baseline; white-space: pre-wrap;">dash to dock</span><span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"> GNOME extension to make it look and feel more like the discontinued Unity application launcher. So on a personal note: nothing new under the sun.</span><br />
<span style="font-family: "arial"; font-size: 11pt; white-space: pre-wrap;"><br /></span>
<span style="font-family: "arial"; font-size: 11pt; white-space: pre-wrap;">Ubuntu also had plans to change the default display server from X11 to Wayland in this latest LTS, alas that did not happen, but they did however include the Wayland option from the cog on the login screen - the new goal is to make it the default display server in the next LTS - in Ubuntu 20.04 LTS.</span><br />
<h2 dir="ltr" style="line-height: 1.38; margin-bottom: 6pt; margin-top: 18pt;">
My list of programs</h2>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; font-size: 11pt; white-space: pre-wrap;">I have a long list of program I simply adore and a few new ones I am trying out.</span></div>
<span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><br /></span>
<span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">Because I used the Ubuntu Minimal install, I didn’t get the default music manager Rhythmbox, and I wanted to try something new, so I have instead installed Clementine in order to see if it is as good as people make it up to be, I was sold by the Dropbox and Google Drive media streaming capabilities. I am using Hexchat as my IRC client, which I use primarily to communicate to the open source project I am a part of. I am using Discord as my gaming chat client, Slack as my work chat client and Telegram as my private chat client. I am currently using the Chrome Browser for everyday browsing, and the Tor browser for private browsing. I am using VNC Viewer as a tool to get remove desktop access over my Raspberry Pi 3. I have also installed a pomodoro performance timer, which I can enable when I need to stay focused. And to stay focused while I type, I use FocusWriter. I use Visual Studio Code, the insider build, as my default lightweight text editor, and I also use it for .Net development, where I am current developing a ASP.NET Core MVC project for my Raspberry Pi 3. Currently I use </span><span style="font-family: "arial"; font-size: 11pt; font-style: italic; vertical-align: baseline; white-space: pre-wrap;">Cake</span><span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"> as my build, test and deployment tool, mainly due to the nice metrics it offers of each phase. I use Git as a version control tool and GitLab as my global free private repository of choice. I use Open Broadcaster Software as my default screen recorder tool.</span><br />
<span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><br /></span>
<span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">I also have latest stable version of Wine installed, which allows me to play windows games, as I simply adore the turn based strategy game Heroes of Might and Magic 3 Complete (so it includes all of the expansion packs - which can be found for a steal on </span><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="http://gog.com/">GOG.com</a></span><span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"> (remember to download BOTH files and that the location is not the default one)) - I also use the non-official fan made </span><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://sites.google.com/site/heroes3hd/">HD addon</a></span><span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">, where I am offered a greater resolution, game bug fixes and a very functional online multiplayer lobby and a ingame online chat client with the ability to add friends - quite awesome!</span><br />
<h2 dir="ltr" style="line-height: 1.38; margin-bottom: 6pt; margin-top: 18pt;">
My list of GNOME extensions</h2>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">One of the benefits of using the GNOME shell as the default graphical shell on Ubuntu, is that we now have the ability to use </span><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/">GNOME extensions</a></span><span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">, which can modify the behaviour of the GNOME shell - BUT be aware that the extensions are </span><span style="font-family: "arial"; font-size: 11pt; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;">not</span><span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"> developed by the official GNOME team, but by third party developers, which I have experience myself, can lead to a unbootable system. I have however found a list of extensions that both are compatible with the latest version of GNOME shell and they are quite useful.</span><br />
<span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><br /></span>
<span style="font-family: "arial";"><span style="font-size: 14.6667px; white-space: pre-wrap;">But first, if you want to get GNOME extensions, then you have to install the following:</span></span><br />
<div style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">
sudo apt install gnome-shell-extensions</div>
</div>
<b style="font-weight: normal;">and</b><br />
<pre style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">sudo apt install chrome-gnome-shell</pre>
<b style="font-weight: normal;">Now you are ready to install my recommended list of extensions: </b><br />
<b style="font-weight: normal;"><br /></b>
<br />
<ul style="margin-bottom: 0pt; margin-top: 0pt;">
<li><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/extension/1237/somafm-internet-radio/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; white-space: pre;">SomaFM internet radio</a></span></li>
<ul>
<li>A small extensions that adds a SomaFM internet radio player in the top panel of the desktop, it includes the ability to select favorites.</li>
</ul>
<li><a href="https://extensions.gnome.org/extension/570/todotxt/">Todo.txt</a></li>
<ul>
<li>Create and manage a TODO list in the top panel</li>
<ul>
<li><span style="color: #e06666;"><b>Not working on Ubuntu 19.10</b></span></li>
</ul>
</ul>
<li><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/extension/1036/extensions/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; white-space: pre;">Extensions</a></span></li>
<ul>
<li>An overview of the extensions installed, with the ability to enable and disable and edit the settings of the individual extensions - this can also be achieved from the GNOME tweak tool, but I find it more handy.</li>
</ul>
<li><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/extension/800/remove-dropdown-arrows/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; white-space: pre;">Remove Dropdown Arrows</a></span></li>
<ul>
<li>It removes the dropdown arrows from apps that have that in the top panel.</li>
</ul>
<li><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/extension/2/move-clock/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; white-space: pre;">Frippery Move Clock</a></span></li>
<ul>
<li>It simply moves the clock/date/calendar to the right in the top panel. I have gotten used to have all of my apps to the right of the top panel.</li>
</ul>
<li><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/extension/1128/hide-activities-button/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; white-space: pre;">Hide Activities Button</a></span></li>
<ul>
<li>I hides the activities button. I find this button quite useless, as I hit the ‘super-key’ when I want to see my activities.</li>
</ul>
<li><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/extension/1295/google-earth-wallpaper/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; white-space: pre;">Google Earth Wallpaper</a></span></li>
<ul>
<li>An awesome extensions which auto-shuffles through selected locations on earth and displays them as your desktop background. You are able to enable a time interval, if you should download them etc.</li>
</ul>
<li><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/extension/750/openweather/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; white-space: pre;">OpenWeather</a></span></li>
<ul>
<li>A simple weather app embedded in the top panel, highly configurable.</li>
</ul>
<li><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/extension/355/status-area-horizontal-spacing/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; white-space: pre;">Status Area Horizontal Spacing</a></span></li>
<ul>
<li>There is a lot of horizontal spacing between the icons in the top panel, this extensions reduces the space between each app, which is neat.</li>
</ul>
<li><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/extension/1031/topicons/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; white-space: pre;">TopIcons Plus</a></span></li>
<ul>
<li>Used for displaying the icon of legacy apps in the top panel.</li>
</ul>
<li><span style="color: #1155cc; font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://extensions.gnome.org/extension/1194/show-desktop-button/" style="font-family: Arial; font-size: 11pt; text-decoration-line: none; white-space: pre;">Show Desktop Button</a></span></li>
<ul>
<li>Adds a show desktop button in the upper left corner of the screen.</li>
<ul>
<li><span style="color: #e06666;"><b>Ubuntu 19.04 fix: </b></span>sed -i 's/global.screen/global.workspace_manager/g' ~/.local/share/gnome-shell/extensions/show-desktop-button@amivaleo/extension.js</li>
</ul>
</ul>
<li><a href="https://extensions.gnome.org/extension/905/refresh-wifi-connections/">Refresh Wifi Connections</a></li>
<ul>
<li>Adds a WiFi refresh button to the manual network selection in the top panel.</li>
</ul>
</ul>
<div>
<ul style="margin-bottom: 0pt; margin-top: 0pt;">
<li><a href="https://extensions.gnome.org/extension/657/shelltile/">ShellTile</a></li>
<ul>
<li>A tiling window extension, which allows you to snap an application to quarters of screen, very handy if you are using applications which do not allow this behavior, such as Discord.</li>
<ul>
<li><span style="color: #e06666;"><b>Minor tweak:</b> </span>Disable 'grouping edge tiling' of windows in settings</li>
</ul>
</ul>
</ul>
</div>
<ul style="margin-bottom: 0pt; margin-top: 0pt;"><ul>
</ul>
</ul>
<div>
<br /></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<h2 dir="ltr" style="line-height: 1.38; margin-bottom: 6pt; margin-top: 18pt;">
Minor tweaks</h2>
<h3>
Gnome tweaks</h3>
Two things slightly annoy me about the default behavior of the dash to dock extension, the first being that when I re-select an item on the dock then the item doesn't minimize, which can by fixed through the terminal:<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<pre style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'</pre>
The other issue I have with the dock, is that I can't cycle through a
list of opened items with my scroll-wheel, e.g. if I have opened
multiple folders or browsers. This can also be fixed through the
terminal:
<br />
<pre style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">gsettings set org.gnome.shell.extensions.dash-to-dock scroll-action 'cycle-windows'</pre>
</div>
<h3>
Right-click create untitled document </h3>
I love to have the ability to right-click anywhere I like, and be able to create a new file. This behaviour was removed in Ubuntu 18.04. We can reenable this ability, by adding a new template, like this:<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<pre style="background: rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: menlo, monaco, monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">touch ~/Templates/"Untitled Document"</pre>
</div>
<h3>
Legacy applications as startup applications</h3>
While I really enjoy the <a href="https://extensions.gnome.org/extension/1031/topicons/">TopIcons Plus</a> GNOME extension, there is seemingly a visibility issue when adding a legacy application to the list of startup application of the session (gnome-session-properties), this is due to the legacy applications starting before the GNOME extension, this can be fixed by adding a slight delay to the app in question, like this:<br />
<pre style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">sh -c "sleep 10; exec clementine"</pre>
And if I want it to start the application to tray, then I will use:<br />
<pre style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">sh -c "sleep 10; exec hexchat --minimize=2"</pre>
<div>
<pre style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">telegram-desktop -startintray</pre>
<h3>
Handle lid switch</h3>
If you like me like to close your laptop lid, but do not want your machine to go into hibernation, then you will need to edit the following file: logind.conf<br />
<pre style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">sudo gedit /etc/systemd/logind.conf</pre>
Change "#HandleLidSwitch=hibernate" (around line 24) to "HandleLidSwitch=ignore" and be sure to remove the hashtag: <b>#</b><br />
Save and lastly you need to reboot the systemd service:<br />
<pre style="background: rgb(252 , 252 , 252); border-color: rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(239 , 239 , 239) rgb(2 , 176 , 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; color: #639af2; font-family: "menlo" , "monaco" , monospace; font-size: 0.9rem; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;">systemctl restart systemd-logind.service</pre>
</div>
</div>
</div>
<br />
<h3>
XPS 15 9570 </h3>
<div>
You might experience static noise from your speakers when there is no sound playing. Use the following command to fix that issue:</div>
<div>
<pre style="background: rgb(252, 252, 252); border-color: rgb(239, 239, 239) rgb(239, 239, 239) rgb(239, 239, 239) rgb(2, 176, 239); border-radius: 0.1875rem; border-style: solid; border-width: 1px 1px 1px 5px; box-sizing: inherit; height: auto; line-height: 1.15; margin-bottom: 1.7em; margin-left: 0.3em; margin-top: 1.7em; overflow-wrap: normal; overflow: auto; padding: 0.938rem; word-break: normal;"><span style="color: #639af2; font-family: "menlo" , "monaco" , monospace;"><span style="font-size: 14.4px;">sudo echo -e '\n# Disable snd-hda-intel power saving\noptions snd-hda-intel power_save=0 power_save_controller=N\n' | sudo tee -a /etc/modprobe.d/alsa-base.conf</span></span></pre>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7327329937326079160.post-69708509711434789352014-05-23T07:22:00.000-07:002014-05-23T07:22:09.612-07:00Ubuntu 14.04<br />
<span style="color: #3d85c6; font-size: large;"><span style="font-weight: bold;">Essential files</span></span><br />
It is important to make sure that the system is up-to-date before trying to install new packages.<span style="font-weight: bold;"><br /></span><br />
<blockquote>
sudo apt-get update && sudo apt-get upgrade</blockquote>
<blockquote>
sudo
apt-get install ubuntu-restricted-extras xchat gftp vlc wine
gimp p7zip-full ntfs-config gparted
openjdk-6-jre icedtea-netx icedtea6-plugin kolourpaint4 cheese ktorrent -y</blockquote>
<span style="color: #3d85c6; font-size: large;"><span style="font-weight: bold;">Recommended Games</span></span><br />
<blockquote>
sudo apt-get install frozen-bubble nexuiz supertuxkart freedink-engine neverball fillets-ng tmw -y</blockquote>
<span style="color: #3d85c6; font-size: large;"><span style="font-weight: bold;">Nvidia - Getting the graphic card to work</span></span><br />
<br />
There have been some problems with the proprietary nvidia driver, to make it work you should install the following, unless you are using a Optimus enabled card, then use the guide below.<br />
<blockquote class="tr_bq">
sudo apt-get install linux-source</blockquote>
<blockquote class="tr_bq">
sudo apt-get install linux-headers-generic</blockquote>
<blockquote class="tr_bq">
sudo apt-get install nvidia-current-updates</blockquote>
<span style="color: #3d85c6; font-size: large;"><span style="font-weight: bold;">Nvidia - Getting the graphic card to work (Optimus)</span></span> <br />
<br />It works out of the box in the latest version of Ubuntu, but you might want to change from the Nouveau driver (open source) to the latest Nvidia driver (proprietary, tested). You can do that by clicking super and searching after additional drivers.<br />
<br />
You can switch between the Intel and Nvidia card from the nvidia xserver settings under "Prime profiles". You can find the nvidia settings menu by clicking "super" and searching after it.<br />
<br />
<span style="color: #3d85c6; font-size: large;"><span style="font-weight: bold;">Recommended applications</span></span><br />
<br />
<a href="http://www.dropbox.com/">Dropbox</a> - It is a cloud storage with 2GB free space.<br />
<a href="http://www.skype.com/intl/da/get-skype/on-your-computer/linux/">Skype</a> - Allows the user to make voice and video calls and chat over the internet<br />
<a href="http://www.desura.com/install">Desura</a> - A linux alternative to the windows based Steam client.<br />
I can recommend the open source version called Desurium <br />
<br />
<blockquote class="tr_bq">
sudo add-apt-repository ppa:makson96/desurium-stable<br />
sudo apt-get update<br />
sudo apt-get install desurium</blockquote>
<br />
<a href="http://store.steampowered.com/browse/linux/">Steam</a> - The official steam client is now working nativly on Linux and offers a ton of great games, it is easier to download from the homepage if you don't have a ubuntu account.<br />
<br />
<span style="color: #3d85c6; font-size: large;"><span style="font-weight: bold;">DVD codecs</span></span><br />
<br />
Some DVDs come with landcode restrictions, to make sure you can play all of your DVDs, then you should do the following:<br />
<br />
<blockquote>
sudo rm /etc/apt/sources.list.d/medibuntu.list</blockquote>
<blockquote>
curl ftp://ftp.videolan.org/pub/debian/videolan-apt.asc | sudo apt-key add -</blockquote>
<blockquote>
echo "deb ftp://ftp.videolan.org/pub/debian/stable ./" | sudo tee /etc/apt/sources.list.d/libdvdcss.list</blockquote>
<blockquote>
sudo apt-get update</blockquote>
<blockquote>
sudo apt-get install libdvdcss2</blockquote>
<br />
<span style="color: #45818e; font-size: large;"><b>Get Netflix</b></span><br />
<br />
In order to get netflix to work in firefox, you will need to install pipelight. (silverlight for linux)<br />
<blockquote>
sudo apt-add-repository ppa:pipelight/stable</blockquote>
<blockquote>
sudo apt-get update</blockquote>
<blockquote>
sudo apt-get install pipelight-multi</blockquote>
<blockquote>
sudo pipelight-plugin --enable silverlight</blockquote>
Then download this user agent overrider and set your browser version as internet explorer 11: <a href="https://addons.mozilla.org/en-US/firefox/addon/user-agent-overrider/">https://addons.mozilla.org/en-US/firefox/addon/user-agent-overrider/ </a><br />
<br />
<span style="color: #3d85c6; font-size: large;"><b>Get Texmaker</b></span><br />
When installing texmaker, then you will need to install texlive-full as well to get all of the dependencies installed<b>:</b><br />
<blockquote>
sudo apt-get install texlive-full texmaker</blockquote>
<br />
<span style="color: #3d85c6; font-size: large;"><b>Backspace action in Nautilus </b></span><br />
<br />
If you want to enable Nautilus backspace action, then you need to open the nautilus accels file<br />
<blockquote class="tr_bq">
sudo gedit ~/.config/nautilus/accels</blockquote>
and manually add the line at the very end (without ; ), like this:<br />
<blockquote class="tr_bq">
</blockquote>
<blockquote class="tr_bq">
(gtk_accel_path "<actions>/ShellActions/Up" "BackSpace")</actions> </blockquote>
save and then use: killall nautilusUnknownnoreply@blogger.com0tag:blogger.com,1999:blog-7327329937326079160.post-83441757737804661932013-10-17T20:22:00.000-07:002013-10-17T20:24:22.982-07:00Ubuntu 13.10 Guide<br />
<span style="color: #3d85c6; font-size: large;"><span style="font-weight: bold;">Essential files</span></span><br />
It is important to make sure that the system is up-to-date before trying to install new packages.<span style="font-weight: bold;"><br /></span><br />
<blockquote>
sudo apt-get update && sudo apt-get upgrade</blockquote>
<blockquote>
sudo
apt-get install ubuntu-restricted-extras xchat gftp vlc wine
gimp p7zip-full ntfs-config gparted
openjdk-6-jre icedtea-netx icedtea6-plugin kolourpaint4 cheese ktorrent -y</blockquote>
<span style="color: #3d85c6; font-size: large;"><span style="font-weight: bold;">Recommended Games</span></span><br />
<blockquote>
sudo apt-get install frozen-bubble nexuiz supertuxkart freedink-engine neverball fillets-ng tmw -y</blockquote>
<span style="color: #3d85c6; font-size: large;"><span style="font-weight: bold;">Nvidia - Getting the graphic card to work</span></span><br />
<br />
There have been some problems with the proprietary nvidia driver, to make it work you should install the following, unless you are using a Optimus enabled card, then use the guide below.<br />
<blockquote class="tr_bq">
sudo apt-get install linux-source</blockquote>
<blockquote class="tr_bq">
sudo apt-get install linux-headers-generic</blockquote>
<blockquote class="tr_bq">
sudo apt-get install nvidia-current-updates</blockquote>
<span style="color: #3d85c6; font-size: large;"><span style="font-weight: bold;">Nvidia - Getting the graphic card to work (Optimus)</span></span> <br />
<br />
There have been some problems with the nvidia driver for <b>Optimus enabled </b>graphic cards. To get your card up and running you should enable the <span class="st"><i>Canonical Partner</i> repositories</span> and then do the following in the terminal:<br />
<blockquote class="tr_bq">
sudo apt-get update</blockquote>
<blockquote class="tr_bq">
sudo apt-get install bumblebee bumblebee-nvidia</blockquote>
To test if your intel card is running like it should, then you should install glxgears: <br />
<blockquote class="tr_bq">
sudo apt-get install mesa-utils</blockquote>
<blockquote class="tr_bq">
glxgears </blockquote>
And then compare the frames per second of the intel card with with the performance of the bumblebee (nvidia) optirun mode:<br />
<blockquote class="tr_bq">
optirun glxgears</blockquote>
<br />
<span style="color: #3d85c6; font-size: large;"><span style="font-weight: bold;">Recommended applications</span></span><br />
<br />
<a href="http://www.dropbox.com/">Dropbox</a> - It is a cloud storage with 2GB free space. <b><i>NOTE</i></b>: It is recommended to install Dropbox through the ubuntu software center to avoid the "connecting..."-bug<br />
<a href="http://www.skype.com/intl/da/get-skype/on-your-computer/linux/">Skype</a> - Allows the user to make voice and video calls and chat over the internet, <span style="color: #b45f06;">if you have installed the proprietary Nvidia driver</span>, then you might have a segfault error. To fix the error, then you should do the following:<br />
<br />
<blockquote class="tr_bq">
sudo mv /usr/bin/skype /usr/bin/skype-bin<br />
sudo apt-get install gksu<br />
gksu gedit /usr/bin/skype</blockquote>
<br />
and then paste the following<br />
<br />
<blockquote class="tr_bq">
#!/bin/sh<br />
export LD_PRELOAD=<wbr></wbr>/usr/lib/<wbr></wbr>i386-linux-<wbr></wbr>gnu/mesa/<wbr></wbr>libGL.so.<wbr></wbr>1<br />
exec skype-bin "$@"</blockquote>
<br />
And then fix the perms.<br />
<br />
<blockquote class="tr_bq">
sudo chmod 0755 /usr/bin/skype</blockquote>
<br />
<a href="http://www.desura.com/install">Desura</a> - A linux alternative to the windows based Steam client.<br />
I can recommend the open source version called Desurium <br />
<br />
<blockquote class="tr_bq">
sudo add-apt-repository ppa:makson96/desurium-stable<br />
sudo apt-get update<br />
sudo apt-get install desurium</blockquote>
<br />
<a href="http://store.steampowered.com/browse/linux/">Steam</a> - The official steam client is now working nativly on Linux and offers a ton of great games, it is easier to download from the homepage if you don't have a ubuntu account.<br />
<br />
<span style="color: #3d85c6; font-size: large;"><span style="font-weight: bold;">DVD codecs</span></span><br />
<br />
Some DVDs come with landcode restrictions, to make sure you can play all of your DVDs, then you should do the following:<br />
<br />
<blockquote>
sudo
wget http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list
--output-document=/etc/apt/sources.list.d/medibuntu.list</blockquote>
<blockquote>
sudo apt-get update</blockquote>
<blockquote>
sudo apt-get --yes --allow-unauthenticated install medibuntu-keyring</blockquote>
<br />
<span style="color: #b45f06;"><span style="font-weight: bold;"><span style="font-style: italic;">For 32-bit</span></span></span><br />
<blockquote>
sudo apt-get install w32codecs libdvdcss2</blockquote>
<span style="color: #b45f06;"><span style="font-weight: bold;"><span style="font-style: italic;">For 64-bit</span></span></span><br />
<blockquote>
sudo apt-get install w64codecs libdvdcss2</blockquote>
<br />
<span style="color: #45818e; font-size: large;"><b>Get Netflix</b></span><br />
<br />
There is not yet a native Netflix client but it might come to the Linux platform sometime soon as they have decided to make the switch from Microsoft Silverlight to HTML5, but till then you can use this solution.<br />
<blockquote>
sudo apt-add-repository ppa:ehoover/compholio</blockquote>
<blockquote>
sudo apt-get update && sudo apt-get install netflix-desktop</blockquote>
<span style="color: #3d85c6; font-size: large;"><b>Get Texmaker</b></span><br />
When installing texmaker, then you will need to install texlive-full as well to get all of the dependencies installed<b>:</b><br />
<blockquote>
sudo apt-get install texlive-full texmaker</blockquote>
<br />
<span style="color: #3d85c6; font-size: large;"><b>Backspace action in Nautilus </b></span><br />
<br />
If you want to enable Nautilus backspace action, then you need to open the nautilus accels file<br />
<br />
<blockquote class="tr_bq">
sudo gedit ~/.config/nautilus/accels</blockquote>
<br />
and manually add the line at the very end (without ; ), like this:<br />
<br />
<blockquote class="tr_bq">
</blockquote>
<blockquote class="tr_bq">
(gtk_accel_path "<actions>/ShellActions/Up" "BackSpace")</actions></blockquote>
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-7327329937326079160.post-25073947112570966512013-04-26T04:26:00.001-07:002013-04-26T04:30:45.569-07:00Wolfenstein on Ubuntu 13.04<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0aPWJ13_hXNwPsQgoFyxTpF9-deFB00SkTgohbk2IzSK3HRejgvu7m3Ae49jqa_VMZrHWmVaYnG5WGN6AkhmDMOkJT4BfekSNu8wUMeQV4Mvhv7xpr1dcQIu6Z2y0du67iV7XNNYHFNk/s1600/Enemy_Territory.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5679719791002206722" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0aPWJ13_hXNwPsQgoFyxTpF9-deFB00SkTgohbk2IzSK3HRejgvu7m3Ae49jqa_VMZrHWmVaYnG5WGN6AkhmDMOkJT4BfekSNu8wUMeQV4Mvhv7xpr1dcQIu6Z2y0du67iV7XNNYHFNk/s320/Enemy_Territory.jpg" style="cursor: pointer; display: block; height: 240px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 320px;" /></a><br />
<div>
<br /></div>
<div>
<br />
If you are using 64-bit, then it is recommended to install the ia32-libs:<br />
<br />
<blockquote class="tr_bq">
sudo apt-get install ia32-libs</blockquote>
<br />
You can download the game from the terminal using this command:<br />
<br />
<blockquote class="tr_bq">
wget -c http://ftp.games.skynet.be/pub/wolfenstein/et-linux-2.60.x86.run</blockquote>
And then we make the downloaded file executable:<br />
<br />
<blockquote class="tr_bq">
chmod +x et-linux-2.60.x86.run</blockquote>
<br />
And we run the file with admin rights <br />
<br />
<blockquote class="tr_bq">
sudo ./et-linux-2.60.x86.run</blockquote>
Now you should see a enemy territory icon in your menu.<br />
<br />
Enjoy <br />
<br />
<span style="font-size: large;"><span style="color: #b45f06;">If you have sound problems</span></span><br />
<br /></div>
<div>
A
lot of Ubuntu users can't get the old classic Wolfenstein ET to work
with sound, but I have good news - I know a fix that works every time.</div>
<div>
<br /></div>
First of all we need to go fetch the file we need, run this command in the terminal:<br />
<br />
<blockquote>
wget
-q -O - http://nullkey.kapsi.fi/et-sdl-sound/et-sdl-sound.gz | gzip -d
> et-sdl-sound && chmod a+x et-sdl-sound</blockquote>
<div>
<br /></div>
<div>
then we need to edit the file from the old <i>alsa sound</i> system to our new <i>pulse sound</i> system:</div>
<div>
<br /></div>
<div>
<blockquote>
sudo gedit /home/yourusername/et-sdl-sound</blockquote>
</div>
<div>
<br /></div>
<div>
Go to line 40 and the change the line from this:</div>
<div>
<br /></div>
<div>
<blockquote>
SDL_AUDIODRIVER="<span style="font-weight: bold;">alsa</span>"</blockquote>
</div>
<div>
<br /></div>
<div>
to this:</div>
<div>
<br /></div>
<div>
<blockquote>
SDL_AUDIODRIVER="<span style="font-weight: bold;">pulse</span>"</blockquote>
</div>
<div>
<br /></div>
<div>
save the file and close and then you need to make a symbol link, so you can play the game:</div>
<br />
<blockquote>
/home/yourusername//et-sdl-sound</blockquote>
<br />
<br />
I hope it works for you, enjoy.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7327329937326079160.post-83704839679826903302013-04-15T10:33:00.000-07:002013-10-17T20:24:33.994-07:00Ubuntu 13.04 Guide<br />
<span style="color: #3d85c6; font-size: large;"><span style="font-weight: bold;">Essential files</span></span><br />
It is important to make sure that the system is up-to-date before trying to install new packages.<span style="font-weight: bold;"><br /></span><br />
<blockquote>
sudo apt-get update && sudo apt-get upgrade</blockquote>
<blockquote>
sudo
apt-get install ubuntu-restricted-extras xchat gftp vlc wine
gimp p7zip-full ntfs-config gparted
openjdk-6-jre icedtea-netx icedtea6-plugin kolourpaint4 cheese ktorrent -y</blockquote>
<span style="color: #3d85c6; font-size: large;"><span style="font-weight: bold;">Recommended Games</span></span><br />
<blockquote>
sudo apt-get install frozen-bubble nexuiz supertuxkart freedink-engine neverball fillets-ng tmw -y</blockquote>
<span style="color: #3d85c6; font-size: large;"><span style="font-weight: bold;">Nvidia - Getting the graphic card to work</span></span><br />
<br />
There have been some problems with the proprietary nvidia driver, to make it work you should install the following, unless you are using a Optimus enabled card, then use the guide below.<br />
<blockquote class="tr_bq">
sudo apt-get install linux-source</blockquote>
<blockquote class="tr_bq">
sudo apt-get install linux-headers-generic</blockquote>
<blockquote class="tr_bq">
sudo apt-get install nvidia-current-updates</blockquote>
<span style="color: #3d85c6; font-size: large;"><span style="font-weight: bold;">Nvidia - Getting the graphic card to work (Optimus)</span></span> <br />
<br />
There have been some problems with the nvidia driver for <b>Optimus enabled </b>graphic cards. To get your card up and running you should install the following:<br />
<blockquote class="tr_bq">
sudo add-apt-repository ppa:bumblebee/stable</blockquote>
<blockquote class="tr_bq">
sudo apt-get update</blockquote>
<blockquote class="tr_bq">
sudo apt-get install bumblebee bumblebee-nvidia</blockquote>
To test if your intel card is running like it should, then you should install glxgears: <br />
<blockquote class="tr_bq">
sudo apt-get install mesa-utils</blockquote>
<blockquote class="tr_bq">
glxgears </blockquote>
And then compare the frames per second of the intel card with with the performance of the bumblebee (nvidia) optirun mode:<br />
<blockquote class="tr_bq">
optirun glxgears</blockquote>
<span style="color: #b45f06;"><i><b>If glxgears not working</b></i></span><br />
If it is not working then it is most likely due to a bug with the BusID in your bumblebee xorg config file or you have perhaps forgotten to install the mesa-utils.<br />
<br />
Open the terminal and write <br />
<blockquote class="tr_bq">
lspci | grep VGA</blockquote>
You should see something like <br />
<blockquote class="tr_bq">
<b>02:00.0</b> VGA compatible controller: NVIDIA Corporation"</blockquote>
Take a note of the first part as that is your BusID: <b>02:00.0.</b><br />
<br />
Then add it to your config file:<br />
<blockquote class="tr_bq">
sudo gedit /etc/bumblebee/xorg.conf.nvidia</blockquote>
Go find <b># BusID "PCI:02:00:0</b> and make the code active by removing the comment symbol, also known as a hashtag: #<br />
and remember to change the BusID so it fits with your card.<br />
<br />
Then restart your pc or reload bumblebee and test glxgears again.<br />
<br />
<span style="color: #3d85c6; font-size: large;"><span style="font-weight: bold;">Recommended applications</span></span><br />
<br />
<a href="http://www.dropbox.com/">Dropbox</a> - It is a cloud storage with 2GB free space. <b><i>NOTE</i></b>: It is recommended to install Dropbox through the ubuntu software center to avoid the "connecting..."-bug<br />
<a href="http://www.skype.com/intl/da/get-skype/on-your-computer/linux/">Skype</a> - Allows the user to make voice and video calls and chat over the internet, <span style="color: #b45f06;">if you have installed the proprietary Nvidia driver</span>, then you might have a segfault error. To fix the error, then you should do the following:<br />
<br />
<blockquote class="tr_bq">
sudo mv /usr/bin/skype /usr/bin/skype-bin<br />
sudo apt-get install gksu<br />
gksu gedit /usr/bin/skype</blockquote>
<br />
and then paste the following<br />
<br />
<blockquote class="tr_bq">
#!/bin/sh<br />
export LD_PRELOAD=<wbr></wbr>/usr/lib/<wbr></wbr>i386-linux-<wbr></wbr>gnu/mesa/<wbr></wbr>libGL.so.<wbr></wbr>1<br />
exec skype-bin "$@"</blockquote>
<br />
And then fix the perms.<br />
<br />
<blockquote class="tr_bq">
sudo chmod 0755 /usr/bin/skype</blockquote>
<br />
<a href="http://www.desura.com/install">Desura</a> - A linux alternative to the windows based Steam client.<br />
I can recommend the open source version called Desurium <br />
<br />
<blockquote class="tr_bq">
sudo add-apt-repository ppa:makson96/desurium-stable<br />
sudo apt-get update<br />
sudo apt-get install desurium</blockquote>
<br />
<a href="http://store.steampowered.com/browse/linux/">Steam</a> - The official steam client is now working nativly on Linux and offers a ton of great games, it is easier to download from the homepage if you don't have a ubuntu account.<br />
<br />
<span style="color: #3d85c6; font-size: large;"><span style="font-weight: bold;">DVD codecs</span></span><br />
<br />
Some DVDs come with landcode restrictions, to make sure you can play all of your DVDs, then you should do the following:<br />
<br />
<blockquote>
sudo
wget http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list
--output-document=/etc/apt/sources.list.d/medibuntu.list</blockquote>
<blockquote>
sudo apt-get update</blockquote>
<blockquote>
sudo apt-get --yes --allow-unauthenticated install medibuntu-keyring</blockquote>
<br />
<span style="color: #b45f06;"><span style="font-weight: bold;"><span style="font-style: italic;">For 32-bit</span></span></span><br />
<blockquote>
sudo apt-get install w32codecs libdvdcss2</blockquote>
<span style="color: #b45f06;"><span style="font-weight: bold;"><span style="font-style: italic;">For 64-bit</span></span></span><br />
<blockquote>
sudo apt-get install w64codecs libdvdcss2</blockquote>
<br />
<span style="color: #45818e; font-size: large;"><b>Get Netflix</b></span><br />
<br />
There is not yet a native Netflix client but it might come to the Linux platform sometime soon as they have decided to make the switch from Microsoft Silverlight to HTML5, but till then you can use this solution.<br />
<blockquote>
sudo apt-add-repository ppa:ehoover/compholio</blockquote>
<blockquote>
sudo apt-get update && sudo apt-get install netflix-desktop</blockquote>
<span style="color: #3d85c6; font-size: large;"><b>Get Texmaker</b></span><br />
When installing texmaker, then you will need to install texlive-full as well to get all of the dependencies installed<b>:</b><br />
<blockquote>
sudo apt-get install texlive-full texmaker</blockquote>
<br />
<span style="color: #3d85c6; font-size: large;"><b>Backspace action in Nautilus </b></span><br />
<br />
If you want to enable Nautilus backspace action, then you need to open the nautilus accels file and manually add the line, like this:<br />
<br />
<blockquote class="tr_bq">
sudo gedit ~/.config/nautilus/accels</blockquote>
<blockquote class="tr_bq">
(gtk_accel_path "/ShellActions/Up" "BackSpace") </blockquote>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7327329937326079160.post-5655123529563111232012-10-25T10:22:00.001-07:002013-10-17T20:24:42.349-07:00Ubuntu 12.10 Guide<br />
<span style="font-weight: bold;">Essential files:</span><br />
<br />
<blockquote>
sudo apt-get update && sudo apt-get upgrade</blockquote>
<blockquote>
sudo apt-get install ubuntu-restricted-extras xchat gftp vlc wine flashplugin-installer gimp p7zip-full audacity ntfs-config gparted miro openjdk-6-jre icedtea-netx icedtea6-plugin kolourpaint4 chromium-browser cheese indicator-weather ktorrent -y</blockquote>
<br />
<span style="font-weight: bold;">Recommended Games</span><br />
<blockquote>
<br />
sudo apt-get install frozen-bubble nexuiz supertuxkart freedink-engine neverball fillets-ng tmw -y<br />
<br /></blockquote>
<span style="font-weight: bold;">Nvidia - Getting the graphic card to work</span><br />
<br />
There have been some problems with the proprietary nvidia driver, to make it work you should install the following<br />
<br />
<blockquote class="tr_bq">
sudo apt-get install linux-source</blockquote>
<blockquote class="tr_bq">
sudo apt-get install linux-headers-generic</blockquote>
<blockquote class="tr_bq">
sudo apt-get install nvidia-current-updates</blockquote>
<br />
<span style="font-weight: bold;">Recommended applications</span><br />
<br />
<a href="http://www.dropbox.com/">Dropbox</a> - It is a cloud storage with 2GB free space. <b><i>NOTE</i></b>: It is recommended to install Dropbox through the ubuntu software center to avoid the "connecting..."-bug<br />
<a href="http://www.skype.com/intl/da/get-skype/on-your-computer/linux/">Skype</a> - Allows the user to make voice and video calls and chat over the internet.<br />
<a href="http://www.desura.com/install">Desura</a> - a linux alternative to the windows based Steam client. (It is worth mentioning even though we might see a Linux steam client this year)<br />
<br />
<span style="font-weight: bold;">DVD codecs</span><br />
<br />
This should work out of the box with VLC (sudo apt-get install vlc), if is doesn't then use the following code:<br />
<br />
<blockquote>
sudo wget http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list --output-document=/etc/apt/sources.list.d/medibuntu.list</blockquote>
<br />
<blockquote>
sudo apt-get -q update</blockquote>
<br />
<blockquote>
sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring</blockquote>
<br />
<blockquote>
sudo apt-get -q update</blockquote>
<br />
<br />
<span style="font-weight: bold;"><span style="font-style: italic;">For 32-bit</span></span><br />
<blockquote>
sudo apt-get install w32codecs libdvdcss2</blockquote>
<br />
<br />
<span style="font-weight: bold;"><span style="font-style: italic;">For 64-bit</span></span><br />
<blockquote>
sudo apt-get install w64codecs libdvdcss2</blockquote>
Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-7327329937326079160.post-81102932927094029182012-08-04T08:17:00.001-07:002012-08-04T08:20:10.195-07:00Wolfenstein on Ubuntu 12.04<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0aPWJ13_hXNwPsQgoFyxTpF9-deFB00SkTgohbk2IzSK3HRejgvu7m3Ae49jqa_VMZrHWmVaYnG5WGN6AkhmDMOkJT4BfekSNu8wUMeQV4Mvhv7xpr1dcQIu6Z2y0du67iV7XNNYHFNk/s1600/Enemy_Territory.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5679719791002206722" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0aPWJ13_hXNwPsQgoFyxTpF9-deFB00SkTgohbk2IzSK3HRejgvu7m3Ae49jqa_VMZrHWmVaYnG5WGN6AkhmDMOkJT4BfekSNu8wUMeQV4Mvhv7xpr1dcQIu6Z2y0du67iV7XNNYHFNk/s320/Enemy_Territory.jpg" style="cursor: pointer; display: block; height: 240px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 320px;" /></a><br />
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
A lot of Ubuntu users can't get the old classic Wolfenstein ET to work with sound, but I have good news - I know a fix that works every time.</div>
<div>
<br /></div>
First of all we need to go fetch the file we need, run this command in the terminal:<br />
<br />
<blockquote>
wget -q -O - http://nullkey.kapsi.fi/et-sdl-sound/et-sdl-sound.gz | gzip -d > et-sdl-sound && chmod a+x et-sdl-sound</blockquote>
<div>
<br /></div>
<div>
then we need to edit the file from the old <i>alsa sound</i> system to our new <i>pulse sound</i> system:</div>
<div>
<br /></div>
<div>
<blockquote>
sudo gedit /home/yourusername/et-sdl-sound</blockquote>
</div>
<div>
<br /></div>
<div>
Go to line 40 and the change the line from this:</div>
<div>
<br /></div>
<div>
<blockquote>
SDL_AUDIODRIVER="<span style="font-weight: bold;">alsa</span>"</blockquote>
</div>
<div>
<br /></div>
<div>
to this:</div>
<div>
<br /></div>
<div>
<blockquote>
SDL_AUDIODRIVER="<span style="font-weight: bold;">pulse</span>"</blockquote>
</div>
<div>
<br /></div>
<div>
save the file and close and then you need to make a symbol link, so you can play the game:</div>
<br />
<blockquote>
/home/yourusername//et-sdl-sound</blockquote>
<br />
<br />
I hope it works for you, enjoy.<br />
<br />
<b>OBS</b>: you will need the following 32-libs if you use the 64-bit version of ubuntu
<blockquote>
sudo apt-get install ia32-libs</blockquote>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7327329937326079160.post-41673512672251567292012-05-14T19:36:00.004-07:002012-10-25T10:11:14.917-07:00Ubuntu 12.04 Guide<span style="font-weight: bold;">Essentielle filer:</span><br />
<br />
<blockquote>
sudo apt-get update && sudo apt-get upgrade</blockquote>
<br />
<blockquote>
sudo apt-get install ubuntu-restricted-extras xchat gftp vlc wine flashplugin-installer gimp p7zip-full audacity ntfs-config gparted miro kolourpaint4 chromium-browser cheese indicator-weather ktorrent -y<br />
<br /></blockquote>
<br />
<br />
<span style="font-weight: bold;">Anbefalede spil</span><br />
<blockquote>
<br />
sudo apt-get install frozen-bubble nexuiz supertuxkart freedink-engine neverball fillets-ng tmw -y<br />
<br /></blockquote>
<br />
<br />
<span style="font-weight: bold;">Anbefalede programmer</span><br />
<br />
<a href="http://www.dropbox.com/">Dropbox</a> - en smart cloud service<br />
<a href="http://www.skype.com/intl/da/get-skype/on-your-computer/linux/">Skype</a> - Giver adgang til stemme/video-opkald og chat over internettet.<br />
<a href="http://www.desura.com/install">Desura</a> - et linux alternativ til Steam.<br />
<br />
<span style="font-weight: bold;">DVD codec</span><br />
<br />
Dette burde virke med VLC (sudo apt-get install vlc), hvis ikke så benyt følgende kode:<br />
<br />
<blockquote>
sudo wget http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list --output-document=/etc/apt/sources.list.d/medibuntu.list</blockquote>
<br />
<blockquote>
sudo apt-get -q update</blockquote>
<br />
<blockquote>
sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring</blockquote>
<br />
<blockquote>
sudo apt-get -q update</blockquote>
<br />
<br />
<span style="font-weight: bold;"><span style="font-style: italic;">For 32-bit</span></span><br />
<blockquote>
sudo apt-get install w32codecs libdvdcss2</blockquote>
<br />
<br />
<span style="font-weight: bold;"><span style="font-style: italic;">For 64-bit</span></span><br />
<blockquote>
sudo apt-get install w64codecs libdvdcss2</blockquote>
<br />
<span style="font-style: italic;"><span style="font-weight: bold;">Anbefalede tutorials</span></span><br />
<br />
<a href="http://linux-nerd.blogspot.com/2011/05/dosbox-ubuntu.html">Dosbox guide</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7327329937326079160.post-77166053312127360092011-11-27T08:43:00.000-08:002011-11-27T08:53:39.802-08:00Wolfenstein ET fix for Ubuntu 11.10<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0aPWJ13_hXNwPsQgoFyxTpF9-deFB00SkTgohbk2IzSK3HRejgvu7m3Ae49jqa_VMZrHWmVaYnG5WGN6AkhmDMOkJT4BfekSNu8wUMeQV4Mvhv7xpr1dcQIu6Z2y0du67iV7XNNYHFNk/s1600/Enemy_Territory.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0aPWJ13_hXNwPsQgoFyxTpF9-deFB00SkTgohbk2IzSK3HRejgvu7m3Ae49jqa_VMZrHWmVaYnG5WGN6AkhmDMOkJT4BfekSNu8wUMeQV4Mvhv7xpr1dcQIu6Z2y0du67iV7XNNYHFNk/s320/Enemy_Territory.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5679719791002206722" /></a><br /><div><br /></div><div><br /></div><div><br /></div><div>A lot of Ubuntu users can't get the old classic Wolfenstein ET to work with sound, but I have good news - I know a fix that works every time.</div><div><br /></div>First of all we need to go fetch the file we need, run this command in the terminal:<br /><br /><blockquote>wget -q -O - http://nullkey.kapsi.fi/et-sdl-sound/et-sdl-sound.gz | gzip -d > et-sdl-sound && chmod a+x et-sdl-sound</blockquote><div><br /></div><div>then we need to edit the file from the old <i>alsa sound</i> system to our new <i>pulse sound</i> system:</div><div><br /></div><div><blockquote>sudo gedit /home/yourusername/et-sdl-sound</blockquote></div><div><br /></div><div>Go to line 40 and the change the line from this:</div><div><br /></div><div><blockquote><div>SDL_AUDIODRIVER="<span style="font-weight:bold;">alsa</span>"</div></blockquote></div><div><br /></div><div>to this:</div><div><br /></div><div><blockquote><div>SDL_AUDIODRIVER="<span style="font-weight:bold;">pulse</span>"</div></blockquote></div><div><br /></div><div>save the file and close and then you need to make a symbol link, so you can play the game:</div><br /><blockquote>/home/yourusername//et-sdl-sound</blockquote><br /><br />I hope it works for you, enjoy.Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-7327329937326079160.post-15294189136701198212011-11-15T05:38:00.000-08:002011-11-15T05:48:32.773-08:00The Difficult 2nd Bundle<div style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8tpeECeKFxs5RynxbXkz8INMZ2KHMaiOjsmAXnmFfwVxxqTwNDpAP8-hdQA9TTuAze6bj-ELHHXR_6ZiI7iqZiJIQKZYXqP6MVRWHdRmjgsLnwmWMXSzKyCYW4CeT3l7WWkNs9FvbgIY/s1600/diff2nd.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img style="cursor:pointer; cursor:hand;width: 200px; height: 200px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8tpeECeKFxs5RynxbXkz8INMZ2KHMaiOjsmAXnmFfwVxxqTwNDpAP8-hdQA9TTuAze6bj-ELHHXR_6ZiI7iqZiJIQKZYXqP6MVRWHdRmjgsLnwmWMXSzKyCYW4CeT3l7WWkNs9FvbgIY/s1600/diff2nd.jpg" border="0" alt="" /></a></div><div><br /></div>Der er små 2timer tilbage af denne fantastiske bundle, så er det nu eller aldrig:<br /><br /><a href="http://www.indieroyale.com/">http://www.indieroyale.com/</a><br /><br />Har prøvet spillene både på Desura (Linux) og på Steam (Windows) og de virker som de skal.<br />Kan varmt anbefale denne bundle som bestemt er langt mere værd end de 3.29€ (24,49DKK) man giver for det.<br /><br />Når man køber denne bundle som <b>Linux bruger</b> kan man se frem til tar.gz-fil/desura keys til:<br />1. Scoregasm<br />2. Irukandji<br />3. Bullet Candy Perfect<br /><i><b>samt soundtrack til:</b></i><br />1. NightSky<br />2. Fate of the World<br />3. Scoregasm<br /><br /><b>SAMT</b> disse spil når de kommer til Linux:<br />1. Ben There, Dan That!<br />2. Time Gentlemen, Please!<br />3. NightSky<br />4. Fate of the World<br /><br />Så skynd jer!<div><br /></div><div>Hvis i ikke nåede det, så har jeg måske et plaster til såret, folkene bag indieroyale har nemlig annonceret følgende bundles:</div><div><br /></div><div><div><b>The Really Big Bundle - 24. november</b></div><div><b>The Alpha Bundle - 8. december</b></div><div><b>The Xmas Bundle - 21. december</b></div></div><div><b><br /></b></div><div><b>GLÆD JER!</b></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7327329937326079160.post-19871000148761251932011-11-14T04:05:00.000-08:002011-11-27T08:54:56.606-08:00Ubuntu 11.10 Guide<span style="font-weight:bold;">Essentielle filer:</span><br /><br /><blockquote><br />sudo apt-get install ubuntu-restricted-extras xchat gftp vlc wine flashplugin-installer gimp p7zip-full audacity ntfs-config gparted miro kolourpaint4 chromium-browser cheese indicator-weather ktorrent -y<br /><br /></blockquote><br /><br /><span style="font-weight:bold;">Anbefalede spil</span><br /><blockquote><br />sudo apt-get install frozen-bubble nexuiz supertuxkart freedink-engine neverball fillets-ng tmw -y<br /><br /></blockquote><br /><br /><span style="font-weight:bold;">Anbefalede programmer</span><br /><br /><a href="http://www.dropbox.com/">Dropbox</a> - en smart cloud service<br /><a href="http://www.skype.com/intl/da/get-skype/on-your-computer/linux/">Skype</a> - Giver adgang til stemme/video-opkald og chat over internettet.<br /><a href="http://www.desura.com/install">Desura</a> - et linux alternativ til Steam.<br /><br /><span style="font-weight:bold;">DVD codec</span><br /><br />Dette burde virke med VLC (sudo apt-get install vlc), hvis ikke så benyt følgende kode:<br /><br /><blockquote>sudo wget http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list --output-document=/etc/apt/sources.list.d/medibuntu.list<br /></blockquote><br /><blockquote>sudo apt-get -q update<br /></blockquote><br /><blockquote>sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring<br /></blockquote><br /><blockquote>sudo apt-get -q update<br /></blockquote><br /><br /><span style="font-weight:bold;"><span style="font-style:italic;">For 32-bit</span></span><br /><blockquote>sudo apt-get install w32codecs libdvdcss2<br /></blockquote><br /><br /><span style="font-weight:bold;"><span style="font-style:italic;">For 64-bit</span></span><br /><blockquote>sudo apt-get install w64codecs libdvdcss2<br /></blockquote><br /><span style="font-style: italic;"><span style="font-weight: bold;">Anbefalede tutorials</span></span><br /><br /><a href="http://linux-nerd.blogspot.com/2011/05/dosbox-ubuntu.html">Dosbox guide</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7327329937326079160.post-57595578366834546182011-05-27T10:56:00.000-07:002011-05-27T11:09:56.847-07:00Dosbox Ubuntu<div style="text-align: center;"><br /></div><span style="font-weight:bold;"><div style="text-align: center;"><span class="Apple-style-span">Dosbox guide</span></div></span><div><b><br /></b></div><div><span></span><b><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMOn1gJKYHOHvQbpazB3P72GSVzhqFT6ytQiQahYe7l1cSBP1mwH_xOHjE-XFBMeJ6jLNZTyGR2DSnupPjChS89lRRGG-SiZTqIOjvdCHD0eW2oXUpcX_UWdw1QhIqzJdwmwCpcswSzNM/s320/9oEA0zL1.jpeg" style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5611457561860068770" /></b><br />Dosbox er et herligt program der muliggøre det en at spille ens gamle DOS-spil.<br /><br />For at installere pakken kan man søge efter den i Ubuntu's Softwarecenter, eller bruge terminalen<br /><br /><blockquote>sudo apt-get install dosbox -y</blockquote><br /><br />Som standard har dosbox "Z:" som start rodmappe og engelsk tastatur layout, dog er dette noget vi kan ændre.<br /><br />For at ændre keyboard layouted til dk<br /><br /><blockquote>KEYB dk</blockquote><br /><br />For at bruge programmet skal vi "mounte" vores spille mappe<br /><br /><blockquote>mount c /home/dit-brugernavn/sti-til-spil-mappe/</blockquote><br /><br />For at lave C om til den nye rodmappe<br /><br /><blockquote>C:</blockquote><br /><br />Dog bliver alle disse instillinger glemt når programmet lukkes ned.<br /><br />Det kan vi fikse ved at ændre lidt i konfig filen for dosbox, vi skal først finde konfig-filen<br /><br /><blockquote>/home/dit-brugernavn/.dosbox/</blockquote><br /><br />I den mappe ligger der en fil der hedder <span style="font-style:italic;">dosbox-0.74.conf</span><br /><br />Inde i den fil skal man finde:<br /><br /><blockquote>keyboardlayout=auto</blockquote><br /><br />Ændre det til<br /><br /><blockquote>keyboardlayout=dk</blockquote><br /><br />Derefter skal man finde autoexec og tilføje<br /><br /><blockquote>mount c /home/dit-brugernavn/sti-til-spil-mappe/<br />C:</blockquote><br /><br />Gem og nyd at det hele virker.<br /><br />For at få fuld skærm skal man trykke på <span style="font-style:italic;">alt+enter</span></div><div><span style="font-style:italic;"><br /></span></div><div><span>Hvis man ikke selv har DOS-spil liggende, kan man hente dem gratis og lovligt her:</span></div><div><span><br /></span></div><div><span><a href="http://www.abandonia.com/">http://www.abandonia.com</a></span></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7327329937326079160.post-26050367804552478232011-04-26T05:36:00.000-07:002011-05-02T23:02:31.863-07:00Ubuntu 11.04 Guide<span style="font-weight:bold;">Essentielle filer:</span><br /><br /><blockquote><br />sudo apt-get install ubuntu-restricted-extras xchat gftp vlc k3b qbittorrent wine flashplugin-installer gimp p7zip-full audacity ntfs-config gparted miro kolourpaint4 chromium-browser cheese indicator-weather -y<br /><br /></blockquote><br /><br /><span style="font-weight:bold;">Anbefalede spil</span><br /><blockquote><br />sudo apt-get install frozen-bubble nexuiz supertuxkart freedink-engine neverball fillets-ng tmw -y<br /><br /></blockquote><br /><br /><span style="font-weight:bold;">Anbefalede programmer</span><br /><br /><a href="http://www.dropbox.com/">dropbox</a><br /><a href="http://www.skype.com/intl/da/get-skype/on-your-computer/linux/">skype</a><br /><br /><span style="font-weight:bold;">DVD codec</span><br /><br />Dette burde virke med VLC (sudo apt-get install vlc), hvis ikke så benyt følgende kode:<br /><br /><blockquote>sudo wget http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list --output-document=/etc/apt/sources.list.d/medibuntu.list<br /></blockquote><br /><blockquote>sudo apt-get -q update<br /></blockquote><br /><blockquote>sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring<br /></blockquote><br /><blockquote>sudo apt-get -q update<br /></blockquote><br /><br /><span style="font-weight:bold;"><span style="font-style:italic;">For 32-bit</span></span><br /><blockquote>sudo apt-get install w32codecs libdvdcss2<br /></blockquote><br /><br /><span style="font-weight:bold;"><span style="font-style:italic;">For 64-bit</span></span><br /><blockquote>sudo apt-get install w64codecs libdvdcss2<br /></blockquote><br /><br /><span style="font-weight:bold;">Minecraft/Danske Bank fix i Chromium/Chrome/Firefox (64-bit testet):</span><br /><br /><br />Installer sun java via følgende kommando: <blockquote>sudo apt-get install sun-java6-jdk sun-java6-plugin sun-java6-fonts</blockquote><br /><br />Hvis du bruger <span style="font-weight:bold;">Chromium/Chrome</span> så indtast følgende i browserens adressebar: about:plugins<br /><br />find følgende og deaktiver:<br /><br /><blockquote>icedTea NPR Web Browser Plugin (using IcedTea6 1.9.2 (6b20-1.9.2-0ubuntu2)<br /></blockquote><br /><br />genstart browseren og nyd derefter: <a href=" http://minecraft.net/game/"> minecraft</a> og <a href="http://www.danskebank.dk/da-dk/Pages/default.aspx">danskebank</a> igen.<br /><br />Hvis du bruger <span style="font-weight:bold;">Firefox</span> skal du blot afinstallere icedtea:<br /><br /><blockquote><br />sudo apt-get remove openjdk-6-jre icedtea-netx icedtea6-plugin</blockquote><br /><br />enjoyUnknownnoreply@blogger.com0tag:blogger.com,1999:blog-7327329937326079160.post-74360881053211645902011-04-18T06:36:00.001-07:002011-04-18T06:37:31.409-07:00Wolfenstein ET sound fix Ubuntu 10.10Run this command in the terminal:<br /><br />wget -q -O - http://nullkey.kapsi.fi/et-sdl-sound/et-sdl-sound.gz | gzip -d > et-sdl-sound && chmod a+x et-sdl-sound<br /><br />and then make a symbol link to the file<br /><br />/pathtothefile//et-sdl-sound<br /><br />should be in this path:<br /><br />/home/yourusername//et-sdl-sound<br /><br />enjoy.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7327329937326079160.post-46849271777785325152011-04-12T03:33:00.000-07:002011-04-12T04:43:58.302-07:00The Humble Frozenbyte Bundle<a href="http://img819.imageshack.us/img819/5580/humbleindiebundle3.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 273px;" src="http://img819.imageshack.us/img819/5580/humbleindiebundle3.png" border="0" alt="" /></a><br /><br />Insider info on the Humble Indie Bundle 3 (The Humble Frozenbyte Bundle)<br /><br />The following games will be included:<br /><br />1) Trine<br />2) Shadowgrounds<br />3) Shadowgrounds - Survivor<br />4) Jack Claw (unfinished game) - only for windows<br />5) Splot (preorder)<br /><br />you can also get a preview here:<br /><a href="https://www.youtube.com/watch?v=ZaM6LHC_uXA">https://www.youtube.com/watch?v=ZaM6LHC_uXA</a><br /><br />You should soon be able to see the video and buy the game on their official page:<br /><br /><a href="http://www.humblebundle.com/">http://www.humblebundle.com/</a><br /><br />EDIT: <br />The game will be out today 17:00GMT <br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://img849.imageshack.us/img849/6199/confirmed.png"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 256px; height: 238px;" src="http://img849.imageshack.us/img849/6199/confirmed.png" border="0" alt="" /></a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7327329937326079160.post-15062929613056169842011-04-08T01:04:00.001-07:002011-04-08T01:05:10.480-07:0011.04 Countdown<a href="http://www.ubuntu.com/"><img src="http://www.ubuntu.com/countdown/banner4.png" border="0" width="180" height="150" alt="The next version of Ubuntu is coming soon"></a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7327329937326079160.post-40417403743365568762010-10-10T23:57:00.000-07:002011-01-22T08:35:36.267-08:00Ubuntu 10.10 Setup<span style="font-weight:bold;">Essentielle filer:</span>
<br />
<br /><blockquote>sudo apt-get install ubuntu-restricted-extras xchat amarok libxine1-ffmpeg gftp vlc k3b ktorrent wine dragonplayer flashplugin-installer gimp p7zip-full audacity ntfs-config gparted miro gnome-mplayer kolourpaint4 chromium-browser frozen-bubble nexuiz cheese -y
<br /></blockquote>
<br />
<br /><span style="font-weight:bold;">Anbefalede programmer:</span>
<br />
<br /><a href="http://www.dropbox.com/">dropbox</a>
<br /><a href="http://www.skype.com/intl/da/get-skype/on-your-computer/linux/">skype</a>
<br />
<br /><span style="font-weight:bold;">DVD codec</span>
<br />
<br />Dette burde virke med VLC (sudo apt-get install vlc), hvis ikke så benyt følgende kode:
<br />
<br /><blockquote>sudo wget http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list --output-document=/etc/apt/sources.list.d/medibuntu.list
<br /></blockquote>
<br /><blockquote>sudo apt-get -q update
<br /></blockquote>
<br /><blockquote>sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring
<br /></blockquote>
<br /><blockquote>sudo apt-get -q update
<br /></blockquote>
<br />
<br /><span style="font-weight:bold;"><span style="font-style:italic;">For 32-bit</span></span>
<br /><blockquote>sudo apt-get install w32codecs libdvdcss2
<br /></blockquote>
<br />
<br /><span style="font-weight:bold;"><span style="font-style:italic;">For 64-bit</span></span>
<br /><blockquote>sudo apt-get install w64codecs libdvdcss2
<br /></blockquote>
<br />
<br />Mere kommer senere.<div>
<br /></div><div><span><span><span class="Apple-style-span" >TESTLISTEN</span></span></span>
<br /><div>
<br /></div><div><b>Minecraft fix i Chromium/Chrome (64-bit testet)</b></div><div>
<br /></div><div>Installer sun java via følgende kommando: sudo apt-get install sun-java6-jdk</div><div>
<br /></div><div>derefter åben Chromium og indtast følgende: about:plugins</div></div><div>
<br /></div><div>find følgende og deaktiver:</div><div>
<br /></div><div><meta equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 12px; color: rgb(160, 160, 160); "><span class="plugin-name" dir="ltr" jscontent="name" jstcache="7" style="font-weight: bold; ">icedTea NPR Web Browser Plugin (using IcedTea6 1.9.2 (6b20-1.9.2-0ubuntu2))</span> <span jsdisplay="enabledMode == 'disabledByUser'" content="pluginDisabled" jstcache="11">(Disabled)</span></span></div><div><span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 12px; color: rgb(160, 160, 160); "><span jsdisplay="enabledMode == 'disabledByUser'" content="pluginDisabled" jstcache="11">
<br /></span></span></div><div>luk browseren og hop ind på <a href="http://minecraft.net/game/">http://minecraft.net/game/</a> og se at det nu virker.</div><div>
<br /></div><div>(takket være <span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 12px; font-weight: bold; ">Java(TM) Plug-in 1.6.0_22</span>)</div><div>
<br /></div><div>enjoy</div><meta equiv="content-type" content="text/html; charset=utf-8"><meta equiv="content-type" content="text/html; charset=utf-8"><meta equiv="content-type" content="text/html; charset=utf-8">Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7327329937326079160.post-39335816188770805492010-08-19T12:31:00.000-07:002010-09-05T01:04:27.062-07:00Dropbox<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://lovemynokia.com/wp-content/uploads/2010/07/dropbox.png"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 352px; height: 353px;" src="http://lovemynokia.com/wp-content/uploads/2010/07/dropbox.png" border="0" alt="" /></a><br />Dropbox er et smart og gratis program, hvor du kan synkronisere dine filer online og på tværs af computere.<br /><br />Du får 2GB gratis plads som bruger af dropbox, og du kan få ydligere 250MB pr. person der joiner via dit link (op til 8GB) - du får også ydligere 250MB hvis du benytter dig af mit link.<br /><br />For at blive medlem og få 2.25GB "Cloud" skal du blot trykke på det nedenstående link:<br /><br /><a href="https://www.dropbox.com/referrals/NTc0MjY3MzQ5">http://www.dropbox.com/</a><br /><br />Features:<br /><br />2GB cloud fra start (250MB pr. person der joiner op til 8GB).<br />Hvis din pc går ned, har du nu en sikkerheds kopi af dine vigtige dokumenter og filer.<br />Det virker på PC,Mac og Linux. (Crossplatform)<br />Hvis du ved en fejl sletter en fil i dropbox/din "cloud" mappe, så kan du gendanne den på internettet.<br />Du kan logge ind på din account via en browser<br />DET ER GRATIS!<br /><br />Håber at du får lige så meget glæde ved det som jeg har haft. (det har reddet mig fra en uheldig eksamens situation).<br /><br />Hvis du har spørgsmål, skal du være velkommen til at skrive til mig her eller via mail.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7327329937326079160.post-26358538207411820252010-08-07T03:24:00.000-07:002010-08-07T04:20:15.096-07:00OneConf<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://cdn.bitelia.com/files/2010/06/dd1111111121112.png"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 200px; height: 200px;" src="http://cdn.bitelia.com/files/2010/06/dd1111111121112.png" border="0" alt="" /></a><br />Jeg vil gerne lige hurtigt fortælle om den mest markante ændring i Ubuntu 10.10, nemlig OneConf.<br /><br />Kort beskrevet: Kender smerten ved at skulle manuelt geninstallere dine foretrukne programmer, importere program indstillinger og konfigurere det hele som du gerne vil have det skal se ud og være, efter hver frigivelse af en ny version af Ubuntu?<br /><br />Alt dette prøver OneConf nemlig at gøre bod på, ved at OneConf er et program der gemmer alle disse infomationer ude i "clouden/skyen", hvilket vil sige at dine præferencer er gemt på nettet og hvis du skulle få lyst til at flytte dem over på en anden PC/eller at din pc går i stykker, så kan du finde dem sådan udenvidere ved at logge ind.<br /><br />Dette tror jeg virkelig på kan lokke flere til platformen, nu kan man endelig få en 100% ren installation hver gang man skifter version, UDEN at man skal tvinges ud i at bruge en hel dag på at lave distroet om som man gerne vil have det.<br /><br />Ideen med OneConf er dog ikke færdigudviklet, man kunne foreksempel integrere programmet i Ubuntu installeren, hvor man kunne logge ind i ens Ubuntu One Cloud og vælge hvilken version af præferencer man ville have installeret på ens PC, på den måde ville alle ens præferencer være i brug INDEN man startede Ubuntu op for første gang.<br /><br />På den måde kan man spare tid, og undgå først at logge ind i ens cloud og dernæst vente på at den synkronisere/downloader ens præferencer.<br /><br />Her for et stykke tid siden skrev jeg en lille artikel der hed "<a href="http://linux-nerd.blogspot.com/2010/04/prisen-vi-skal-betale.html">Prisen vi skal betale</a>", problemformuleringen var ,,<span style="font-style:italic;">For at linux kan slå igennem, kræver det at folk kan få adgang til proprietær, kommerciel og lukket software.</span>"<br /><br />løsningen var ,,<span style="font-style:italic;">Den bedste mulighed for at sælge software ville være at lave en kommerciel sektion under "Ubuntu Softwarecenter", med undersektioner så som de har nu; "Spil", "Grafik" etc., da det er den mest udbredte linux distro (udgivelse), senere hen kan andre distroer adoptere konceptet</span>"<br /><br />Netop dette er faktisk det eneste OneConf ikke kan synkronisere og geninstallere for os da Ubuntu ikke tilbyder dette igennem deres "Ubuntu Softwarecenter", dette er også det eneste fremtidige Ubuntu brugere vil blive irriteret over, hvis vi ikke fikser dette problem.<br /><br />Udover at dette ville være smart at gøre set i lyset af OneConf, så skal vi også huske denne pointe: "<span style="font-style:italic;">De penge går til udviklerne, og jo flere udviklere der ser linux som en potentiel markeds mulighed, jo flere udviklere kommer der til platformen - og jo bredere understyttelse vil vi få, og jo flere populære programmer vi har, jo flere forbrugere i privaten vil se os som et reelt alternativ til Windows og Apple's Mac.</span><br />"<br /><br />Potentialet er stort og forventninger herfra er bestemt ikke små og er også sikker på at det nok skal blive et program alle Ubuntu brugere vil få glæde af, og måske andre brugere i fremtiden.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7327329937326079160.post-64097429442210496552010-05-25T06:01:00.000-07:002010-06-02T17:03:20.966-07:00Ubuntu 10.04 SetupEr ny til Ubuntu, eller er du bare træt af at skulle lede efter alle dine programmer ved formatering af Ubuntu?<br /><br />Hvis du er, så har jeg en god nyhed til dig, jeg har nemlig lavet en kort og simpel guide til hvordan du kan få klaret dine problemer i en fart.<br /><br />___________________________________________________________<br />___________________________________________________________<br /><br /><span style="font-weight: bold;">Forarbejde</span><br /><br />For at sikre dig at du henter fra den hurtigste server, skal du gå under: System -->Administration-->Software kilder-->Hent fra-->Andet<br /><br />Kan varmt anbefale serveren fra tyskland der hedder: http://ftp.hosteurope.de/mirror/achive.ubuntu.com<br /><br />___________________________________________________________<br />___________________________________________________________<br /><br /><span style="font-weight: bold;">Installation af essentielle filer til systemet.</span><br /><br />Her vil jeg senere beskrive hvad koden gør i detaljer, men kort beskrevet installere koden alle de nødvendige filer - såsom Java, Flash, Musik afspiller.<br /><br />Du skal åbne din terminal og indsætte følgende kode, du vil måske blive spurgt om din adgangskode, som du selvfølgelig bare skal indtaste.<br /><br /><blockquote>sudo apt-get update && sudo apt-get upgrade -y</blockquote><br /><blockquote> sudo apt-get install ubuntu-restricted-extras xchat amarok libxine1-ffmpeg gftp vlc k3b ktorrent wine dragonplayer flashplugin-installer gimp p7zip-full audacity ntfs-config gparted -y<br /></blockquote>___________________________________________________________<br />___________________________________________________________<br /><br /><span style="font-weight: bold;">Åbning af spærrede sider</span><br /><br />Måske har din udbyder blokeret visse sider, for at åbne op for adgangen igen, skal du blot bruge denne kode.<br /><br /><blockquote>sudo apt-get install resolvconf<br /></blockquote><br /><blockquote> sudo gedit /etc/resolvconf/resolv.conf.d/base<br /></blockquote>Efter du har indtastet overstående kode, vil der poppe en blank side op, som du skal udfylde med følgende information og derefter trykke på gem:<br /><blockquote> #Generated by NetworkManager<br />nameserver 208.67.222.222<br />nameserver 208.67.220.220<br /></blockquote>___________________________________________________________<br />___________________________________________________________<br /><br /><span style="font-weight: bold;">Installation af Wolfenstein: Enemy Territory</span><br /><br />For at installere Wolfenstein: Enemy Territory, skal du åbne terminalen, og indtaste følgende kode:<br /><blockquote> cd Skrivebord<br /><br />wget -c http://download.hirntot.org/misc/et-linux-2.60.x86.run<br /><br />chmod +x et-linux-2.60.x86.run<br /><br />sudo sh et-linux-2.60.x86.run<br /></blockquote><span style="font-weight: bold;">OBS ->></span> KUN hvis lyden ikke virker, skal du bruge følgende kode.<br /><blockquote> sudo gedit /etc/init.d/et-sound<br /></blockquote>Her vil der poppe en blank side op, som du skal udfylde med følgende tekst:<br /><blockquote> #!/bin/sh<br />#Bug in Wolfenstein ET<br />echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss<br />echo "et.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss </blockquote><br />Så burde lyden virke, og for at få lyden til at virke automatisk, uden at skulle skrive hele koden hver eneste gang, efter du har haft den slukket, skal du bruge følgende kode:<br /><blockquote> sudo chmod 755 /etc/init.d/et-sound<br /><br />sudo update-rc.d et-sound defaults<br /><br />sudo /etc/init.d/et-sound start<br /></blockquote>___________________________________________________________<br /><div>___________________________________________________________<br /><br /><span style="font-weight: bold;"></span><span style="font-weight: bold;">Strømstyring</span><br /><br />Hvis du er træt af at din skærm går i sort hele tiden, skal du installere BUM:<br /><br /><blockquote>sudo apt-get install bum</blockquote><br />Vil redigere i strømstyringen (BUM), skal du gå under System --> Indstillinger --> Strømstyring.<br /><br />Eller gå under System --> Indstillinger<br />___________________________________________________________<br />___________________________________________________________<br /><br /><span style="font-weight: bold;">MSN Messenger klon</span><br /><br />Hvis du vil have den bedste MSN klon på markedet, så skal du hente Mercury MSN fra:<br /><br />http://mercury.im<br /><br />I Ubuntu 10.04 virker mercury-tray ikonet ikke, for at få det til at virke, skal du bruge alltray:<br /><br /><blockquote>sudo apt-get install alltray</blockquote><br />Det virker på følgende måde: alltray mercury<br />___________________________________________________________<br />___________________________________________________________<br /><br /><span style="font-weight: bold;">Firefox plugins og treaks</span><br /><br />Hvis du har firefox, er her en liste over plugins du måske lige står og mangler.<br /><br /><a href="https://addons.mozilla.org/da/firefox/addon/2410">Xmarks</a> (få dine bookmarkes med dig overalt - med et simpelt plugin)<br /><a href="https://addons.mozilla.org/da/firefox/addon/11047">Youtube to mp3</a> (lav youtube videoerne om til mp3-filer)<br /><a href="https://addons.mozilla.org/da/firefox/addon/446">Mediaplayerconnectivity</a> (bestem selv hvilken media player der bliver brugt til en lang række programmer)<br /><a href="http://toolbar.google.com/T4/intl/da/">Google toolbar</a> (en toolbar der indeholder søgebar, avanceret markerings værktøj etc.)<br /><br />Hvis du gerne vil have din backspace action tilbage i firefox, skal du gøre følgende:<br /><br />1. Åben Firefox<br />2. Tast 'about:config' i søgefeltet<br />3. Søg efter backspace<br />4. Ændre værdien fra '2' til '0'<br /><br />Hvis du gerne vil speede din søgetid lidt op, skal du gøre følgende:<br /><br />1. Åben Firefox<br />2. Tast 'about:config' i søgefeltet<br />3. Søg efter pipelining<br />4. Ændre værdien fra '4' til '10'<br /><br />Hvis du virkelig keder dig, skal du gøre følgende:<br /><br />1. Åben Firefox<br />2. Tast 'about:robots' i søgefeltet<br />___________________________________________________________<br />___________________________________________________________<br /><br /><span style="font-weight: bold;">Partiation af disk</span><br /><br />Hvis du skal partitonere din disk, kan jeg varmt anbefale gparted:<br /><br /><blockquote>sudo apt-get install gparted</blockquote><br />_________________________________________________________<br />___________________________________________________________<br /><br /><span style="font-weight: bold;">Aktivering af genstart af x-serveren<br /><br /></span><blockquote>sudo /etc/init.d/gdm restart<br /></blockquote>___________________________________________________________<br />___________________________________________________________<br /><br /><span style="font-weight: bold;">Minimeringsknap af et program/ Tray ikon</span><br /><br /><br />Hvis du gerne vil minimere et program, der ikke har nogen minimize knap, skal du hente alltray:<br /><br /><blockquote>sudo apt-get install alltray<br /></blockquote><br />for at få programmet minimeret, skal du bare skrive 'alltray programnavnet'<br />___________________________________________________________<br />___________________________________________________________<br /><br /><span style="font-weight: bold;">Installation af Savage 2</span><br /><br />Først skal du hente Savage 2 og gemme filen på dit skrivebord<br /><br /><a href="http://savage2.s2games.com/download.php">http://savage2.s2games.com/download.php</a><br /><br />Derefter skal du indtaste følgende kode i terminalen:<br /><blockquote> mkdir ~/.Games<br />cd ~/Skrivebord<br />chmod +x Savage2Install-1.5.0-i686.bin<br />./Savage2Install-1.5.0-i686.bin<br /></blockquote><br />HUSK at gemme spillet i: /home/DITBRUGERNAVN/.Games/Savage2<br /><br />OBS. Hvis du bruger 64bit skal du blot bytte Savage2Install-1.5.0-i686.bin ud med Savage2Install-1.5.0-x86_64.bin<br /><br />HVIS du får denne fejl: Fatal Error: OpenGL 2.1 not available error.<br />Skal du gøre følgene:<br /><blockquote> cd ~/.Games/Savage2<br />./dedicated_server.sh<br />./savage2_update.bin<br /></blockquote>Når du kører './dedicated_server.sh', skal du lade den stå i ca. 10min<br /><br />Herefter kan du finde spillet under: Programmer --> Spil --> Savage 2<br /><br />___________________________________________________________<br />___________________________________________________________<br /><br /><span style="font-weight: bold;">Installation af specielle desktops effekter</span><br /><br />Hvis du gerne vil have specielle desktops effekter, skal du bruge følgende program:<br /><br /><blockquote>sudo apt-get install compizconfig-settings-manager<br /></blockquote><br />det kan findes under: System --> Indstillinger --> CompizConfig Settings Manager<br />___________________________________________________________<br />___________________________________________________________<br /><br /><span style="font-weight: bold;">Temperatur/Fan checker</span><br /><br />Hvis du gerne vil holde øje med din CPU og GPUs temperatur eller din blæseres hastighed, skal du benytte følgende kode:<br /><br /><blockquote>sudo apt-get install sensors-applet lm-sensors xsensors</blockquote><br />og herefter skal du benytte denne kode, der regitrere hvad dit bundkort kan måle:<br /><br /><blockquote>sudo sensors-detect</blockquote><br />Herefter skal du genstarte computeren, og derefter kan du enten:<br /><br />1. Tilføje CPU/GPU/FAN overvågeren i dit panel ved at højre klikke og vælge 'tilføj til panel' --> 'Hardware sensors Monitor'.<br /><br />Eller<br /><br />2. Du kan finde programmet under 'Programmer' --> 'Systemværktøjer' --> X sensor<br />___________________________________________________________<br />___________________________________________________________<br /><div><br /></div><div><b>MMS downloader</b></div><div><b><br /></b></div><div><b><span class="Apple-style-span" style="font-weight: normal;"><blockquote>sudo apt-get install mimms<br /></blockquote></span></b></div><div><br />Åben terminalen og skriv; mimms URL</div><div><br /></div><div>Dit download bliver gemt i din hjemmemappe.<br />___________________________________________________________<br />___________________________________________________________<br /><br /><span style="font-weight: bold;">Java (hvis det ikke virker med sun java)</span><br /><br /><blockquote>sudo apt-get install icedtea6-plugin</blockquote>___________________________________________________________<br />___________________________________________________________<br /><br /><span style="font-weight: bold;">MS-paint erstatning</span><br /><br /><blockquote>sudo apt-get install kolourpaint4<br /></blockquote></div><div>___________________________________________________________<br />___________________________________________________________</div><div><br /></div><div><span style="font-weight: bold; ">Unetbootin</span><br /><br />Lav en bootbar USBpen eller boot fra en ISO-fil.<br /><br /><blockquote>sudo apt-get install unetbootin</blockquote><div><br /></div><div>OBS: For at lave en boot-USB-pind, kan man også blot bruge Startdisket-opretter, der ligger under: System --> Administration --> Startdisket-opretter.</div>___________________________________________________________<br />___________________________________________________________<br /><br /><br /><br /><br /><span style="color: rgb(255, 0, 0);">TESTLISTEN</span><br /><br /><br /><br />___________________________________________________________<br />___________________________________________________________<br /><br /><span style="font-weight:bold;">HVIS Playdeb er nede</span><br /><br />Hvis Playdeb serveren er nede (det er den lige pt.), så kan man benytte sig af følgende trick:<br /><br />Gå under "System--->Administration-->Softwarekilder"<br />"Softwarekilder" har et faneblad der hedder "Anden software", klik på den.<br />under "Anden software" ligger der en eller 2 kilder med "Getdeb" i navnet, fjern dem og tilføj istedet:<br /><br /><blockquote>deb http://mirrors.dotsrc.org/getdeb/ubuntu lucid-getdeb games</blockquote><br /><br />og<br /><br /><blockquote>deb-src http://mirrors.dotsrc.org/getdeb/ubuntu lucid-getdeb games</blockquote><br /><br /><br />luk "Softwarekilder", men genindlæs ikke - du skal istedet åbne terminalen og installere følgende nøgle:<br /><br /><blockquote>sudo apt-key adv --recv-keys --keyserver pgp.mit.edu 46D7E7CF</blockquote><br /><br />og til sidst skal du blot benytte dig af:<br /><br /><blockquote>sudo apt-get update</blockquote><br /><br />så er det hele sat op, men det fikser desværre ikke getdebs hjemmeside, så du kan ikke se en oversigt over hvad de har liggende der længere, dog kan du godt se hvad der er på denne "erstatnings-server" hvis du går under: "Programmer --> Ubuntu Software center" og udvider "Hent Software" - og kigger under getdeb.<br /><br />denne løsning/serveren virker selvfølgelig også efter Playdeb serveren igen er oppe.<br />___________________________________________________________<br />___________________________________________________________<br /><br /><span style="font-weight: bold; color: rgb(255, 0, 0);">Virtual Box</span><br /><br />http://www.virtualbox.org/wiki/Linux_Downloads<br />Nu med dx9 support, 3D/2D support - for både 32 og 64bit<br />___________________________________________________________<br />___________________________________________________________<br /><br /><span style="font-weight: bold; color: rgb(255, 0, 0);">Boxee</span><br /><br />Hvis du har et 32bit system, skal du blot lave en bruger på hjemmesiden nedenunder og hente programmet.<br /><br />http://www.boxee.tv<br /><br />Hvis du har 64bit skal du gøre følgende<br /><br /><blockquote>wget <a href="http://taurinocerveza.com/scripts/getlibs-all.deb">http://taurinocerveza.com/scripts/getlibs-all.deb</a></blockquote><blockquote><br />sudo dpkg -i getlibs-all.deb</blockquote><blockquote><br />wget <a href="http://apt.boxee.tv/dists/jaunty/main/binary-i386/Packages.gz" target="_blank">http://apt.boxee.tv/dists/jaunty/main/binary-i386/Packages.gz</a></blockquote><blockquote><br />zcat Packages.gz | grep Filename</blockquote><blockquote><br />wget <a href="http://apt.boxee.tv/dists/intrepid/test/binary-i386/boxee-0.9.11.5777.deb" target="_blank">http://apt.boxee.tv/dists/intrepid/test/binary-i386/boxee-0.9.11.5777.deb</a></blockquote><blockquote><br />sudo dpkg -i --force-all boxee-0.9.11.5777.deb</blockquote><blockquote><br />getlibs /opt/boxee/Boxee</blockquote><blockquote><br />sudo apt-get install lib32nss-mdns</blockquote>___________________________________________________________<br />___________________________________________________________<b><br /></b><br /><span style="font-weight: bold;">Få en ren Ubuntu (Fjern Kubuntu og Xubuntu)</span><br /><br />Besøg følgende hjemmeside: <a href="http://www.psychocats.net/ubuntu/puregnome">http://www.psychocats.net/ubuntu/puregnome</a><br />(testet med 10.04 - virker)<br />___________________________________________________________<br />___________________________________________________________<br /><br /><span style="font-weight: bold;">Få magt over Igoogle med et smart plugin i Firefox.</span><br /><br />https://addons.mozilla.org/en-US/firefox/addon/10113<div>___________________________________________________________<br />___________________________________________________________<br /><br /></div><div><b>Hent Google Chrome til Linux:</b></div><div><br /></div><div>http://www.google.com/chrome/eula.html?hl=da</div><div><br /></div><div>vælg herefter Ubuntu 32bit eller 64bit - alt efter hvad du bruger.</div><div><div>___________________________________________________________<br />___________________________________________________________<br /><br /></div><div><b>Få magt over Igoogle med et smart plugin til Google Chrome.</b></div><div><br /></div><div>https://chrome.google.com/extensions</div><div>https://chrome.google.com/extensions/detail/dlibebadhejgpjggjfijjgnomljihpeb<br /><br />___________________________________________________________<br />___________________________________________________________<br /><br /><span style="font-weight: bold;">Fix til et Intel Corporation 82801H lydkort - 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)</span><br /><br /><blockquote>sudo gedit /etc/modprobe.d/alsa-base.conf</blockquote><br />ændre teksten fra: options snd-hda-intel power_save=10 power_save_controller=N<br />til: # options snd-hda-intel power_save=10 power_save_controller=N<br /><br />genstart og så burde lyden virke.<br />___________________________________________________________<br />___________________________________________________________<br /><br /><span style="font-weight: bold;">FIX til flash fokusering</span><br /><br />Hvis du ikke kan trykke på knappen inde i flash-applet'et på en vilkårlig side i firefox/chrome, så findes der følgende løsning:<br /><br />åben terminalen og indsæt<br /><blockquote>sudo gedit /usr/lib/nspluginwrapper/i386/linux/npviewer<br /></blockquote>og herefter<br /><blockquote>#!/bin/sh<br />TARGET_OS=linux<br />TARGET_ARCH=i386<br />export GDK_NATIVE_WINDOWS=1<br />. /usr/lib/nspluginwrapper/noarch/npviewer</blockquote>genstart firefox/chrome og nu virker det.<br />___________________________________________________________<br />___________________________________________________________<br /><br /></div><div><b>Oxygen Cursor Theme</b></div><div><b><br /></b></div><div><blockquote>sudo apt-get install oxygen-cursor-theme</blockquote></div><div>___________________________________________________________<br />___________________________________________________________<span style="color: rgb(51, 102, 255);"><br /></span></div></div></div></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7327329937326079160.post-71119292478908716962010-05-23T12:24:00.000-07:002010-05-24T15:58:05.776-07:00Media Play på Samsung (UE46C6005RW)Dette er en guide til hvordan man får "Media Play-funktionen" til at virke på en Samsung 6005-tv skærm på Ubuntu 10.04, den vil måske endda virke til andre skærme og versioner af Ubuntu.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgY7VFtZ_ObWS6ezfSSyMcp4zuwFmJDZjFBUguznF1ilZjEXZHdaQKOz1MtnizitXk0roB-sekSahyphenhyphenLwclzxxbDJ3DayxQKYxr9tqpqP7SUXNwpVuZxS2bSjcSwc6Y1VVUOQgYilrCeP8M/s1600/01_UE46C7705_medium.jpg"><img style="cursor:pointer; cursor:hand;width: 300px; height: 300px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgY7VFtZ_ObWS6ezfSSyMcp4zuwFmJDZjFBUguznF1ilZjEXZHdaQKOz1MtnizitXk0roB-sekSahyphenhyphenLwclzxxbDJ3DayxQKYxr9tqpqP7SUXNwpVuZxS2bSjcSwc6Y1VVUOQgYilrCeP8M/s320/01_UE46C7705_medium.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5474974639271415890" /></a><br /><br />Desværre driller koden så jeg er blevet tvunget til at publicere min guide via google docs.<br /><br /><a href="http://docs.google.com/Doc?docid=0AdkkjBdzl-KDZGQ4YnRyM2JfMTE0cjJndDZ0dDM&hl=en">http://docs.google.com/Doc?docid=0AdkkjBdzl-KDZGQ4YnRyM2JfMTE0cjJndDZ0dDM&hl=en</a><br /><br /><br /><br />Kendte problemer:<br /><br />Hvis du ser mere end en "MediaTomb" under Samsungs Media Play, skal du benytte dig af følgende kommando i terminalen:<br /><br />sudo killall mediatomb<br /><br />For at starte programmet<br /><br />sudo /etc/init.d/mediatomb start<br /><br />For at bruge programmet<br /><br />http://localhost:49152/Unknownnoreply@blogger.com0